@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

/* BODY */

body{
    background: #fff5f7;
    color: #5c2a3a;
}

/* PORTADA */

.portada{
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.portada img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(55%);
}

.contenido-portada{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.contenido-portada h1{
    font-size: 80px;
    text-shadow: 0 0 20px rgba(0,0,0,0.4);
    letter-spacing: 3px;
}

.contenido-portada h2{
    margin-top: 15px;
    font-size: 28px;
    font-weight: 400;
}

/* HEADER */

header{
    background: #d96c8a;
    padding: 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

nav{
    display: flex;
    justify-content: center;
    gap: 45px;
    flex-wrap: wrap;
}

nav a{
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover{
    color: #ffe4ec;
    transform: scale(1.08);
}

/* SECCIONES */

section{
    padding: 90px 10%;
}

section h2{
    text-align: center;
    font-size: 42px;
    color: #c94f74;
    margin-bottom: 30px;
}

section p{
    text-align: center;
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 20px;
}

/* GALERÍAS */

.galeria-extra,
.contenedor-galeria{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 40px;
}

.galeria-extra img,
.contenedor-galeria img{
    width: 300px;
    height: 220px;
    object-fit: cover;
    border-radius: 22px;
    transition: 0.4s;
    border: 5px solid white;
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.galeria-extra img:hover,
.contenedor-galeria img:hover{
    transform: translateY(-8px) scale(1.03);
}

/* DEDICATORIA */

.actividades-contenedor{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 35px;
    margin-top: 40px;
}

.imagen-actividades img,
.imagen-actividades2 img{
    width: 300px;
    height: 420px;
    object-fit: cover;
    border-radius: 25px;
    border: 5px solid white;
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.lista-juegos{
    background: white;
    padding: 40px;
    border-radius: 25px;
    max-width: 600px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.lista-juegos p{
    text-align: justify;
    color: #5c2a3a;
    font-size: 18px;
    margin-bottom: 20px;
}

/* TABLA */

table{
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
    background: white;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

th{
    background: #d96c8a;
    color: white;
    padding: 20px;
    font-size: 20px;
}

td{
    padding: 18px;
    text-align: center;
    border-bottom: 1px solid #f3d3dc;
    font-size: 17px;
}

tr:hover{
    background: #fff0f4;
}

/* FRASE */

.frase{
    background: linear-gradient(135deg, #d96c8a, #f29ab2);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.frase h3{
    font-size: 34px;
    font-weight: 500;
    line-height: 1.7;
}

/* FOOTER */

footer{
    background: #9c3d5c;
    color: white;
    text-align: center;
    padding: 25px;
    font-size: 16px;
    letter-spacing: 1px;
}

/* RESPONSIVE */

@media(max-width: 900px){

    .contenido-portada h1{
        font-size: 50px;
    }

    .contenido-portada h2{
        font-size: 22px;
    }

    section{
        padding: 70px 7%;
    }

    section h2{
        font-size: 34px;
    }

    .galeria-extra img,
    .contenedor-galeria img{
        width: 100%;
        max-width: 350px;
    }

    .imagen-actividades img,
    .imagen-actividades2 img{
        width: 100%;
        max-width: 320px;
        height: auto;
    }

    .lista-juegos{
        width: 100%;
    }

}