
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

/* BODY */

body{
    background: #f4f8ff;
    color: #16345f;
}

/* PORTADA */

.portada{
    position: relative;
    width: 100%;
    height: 75vh;
    overflow: hidden;
}

.portada img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(55%);
}

.portada h1{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 70px;
    text-align: center;
    text-shadow: 0 0 20px rgba(0,0,0,0.5);
    letter-spacing: 3px;
}

/* HEADER */

header{
    background: #1b4d9b;
    padding: 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

nav{
    display: flex;
    justify-content: center;
    gap: 50px;
}

nav a{
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover{
    color: #ffd54f;
    transform: scale(1.1);
}

/* SECCIONES */

section{
    padding: 80px 10%;
}

section h2{
    font-size: 42px;
    text-align: center;
    margin-bottom: 30px;
    color: #1b4d9b;
}

section p{
    font-size: 18px;
    text-align: center;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* GALERÍAS */

.galeria-extra,
.contenedor-galeria{
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.galeria-extra img,
.contenedor-galeria img{
    width: 300px;
    height: 220px;
    object-fit: cover;
    border-radius: 20px;
    transition: 0.4s;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    border: 5px solid white;
}

.galeria-extra img:hover,
.contenedor-galeria img:hover{
    transform: translateY(-10px) scale(1.03);
}

/* ACTIVIDADES */

.actividades-contenedor{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.imagen-actividades img,
.imagen-actividades2 img{
    width: 300px;
    height: 420px;
    object-fit: cover;
    border-radius: 25px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    border: 5px solid white;
}

.lista-juegos{
    background: white;
    padding: 35px;
    border-radius: 25px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.lista-juegos ul{
    list-style: none;
}

.lista-juegos li{
    margin: 15px 0;
    font-size: 18px;
    color: #16345f;
    font-weight: 500;
}

/* TABLA */

table{
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
    overflow: hidden;
    border-radius: 20px;
    background: white;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

th{
    background: #1b4d9b;
    color: white;
    padding: 20px;
    font-size: 20px;
}

td{
    padding: 18px;
    text-align: center;
    border-bottom: 1px solid #dce6f5;
    font-size: 17px;
}

tr:hover{
    background: #edf4ff;
}

/* FRASE */

.frase{
    background: linear-gradient(135deg, #1b4d9b, #3c78d8);
    color: white;
    text-align: center;
    padding: 70px 20px;
}

.frase h3{
    font-size: 32px;
    font-weight: 500;
    line-height: 1.6;
}

/* FOOTER */

footer{
    background: #102746;
    color: white;
    text-align: center;
    padding: 25px;
    font-size: 16px;
    letter-spacing: 1px;
}

/* RESPONSIVE */

@media(max-width: 900px){

    .portada h1{
        font-size: 45px;
    }

    nav{
        gap: 20px;
        flex-wrap: wrap;
    }

    section{
        padding: 60px 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%;
    }

}