@import url('https://fonts.googleapis.com/css2?family=Grenze+Gotisch:wght@100..900&family=IM+Fell+English+SC&family=New+Tegomin&display=swap');
/* =========================
   GENERAL
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "IM Fell English SC", serif;
}
body {
    background-image: url(fondo2.png);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 35px;
    color: #37446b;
}
hr {
    border: none;
    height: 3.5px;
    background-color: #37446b;
    margin: 20px 0;
}
/* =========================
   ENCABEZADO
========================= */
.header {
    width: 100%;
    height: 60px;
}
.container {
    width: 100%;
}
.container .btn-menu,
.logo {
    float: left;
}
.container .btn-menu label {
    color: #37446b;
    font-size: 34px;
    cursor: pointer;
}
.logo h1 {
    color: #37446b;
    font-weight: 400;
    font-size: 34px;
    margin-left: 10px;
    margin-top: 5px;
}
.container .menu {
    float: right;
    padding-bottom: 15px;
}
.container .menu a {
    padding: 15px;
    text-decoration: none;
    color: #37446b;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    font-size: 34px;
    margin-right: 5px;
}
.container .menu a:hover {
    border-bottom: 2px solid #37446b;
    padding-bottom: 5px;
}
/* =========================
   MENÚ LATERAL
========================= */
#btn-menu {
    display: none;
}
.container-menu {
    position: fixed;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transition: all 500ms ease;
    opacity: 0;
    visibility: hidden;
}
#btn-menu:checked ~ .container-menu {
    opacity: 1;
    visibility: visible;
}
.cont-menu {
    width: 100%;
    max-width: 300px;
    background: #252f47;
    height: 100%;
    position: relative;
    transition: all 500ms ease;
    transform: translateX(-100%);
    z-index: 1001;
}
#btn-menu:checked ~ .container-menu .cont-menu {
    transform: translateX(0%);
}
body:has(#btn-menu:checked) {
    overflow: hidden;
}
.cont-menu nav {
    transform: translateY(15%);
}
.cont-menu nav a {
    display: block;
    text-decoration: none;
    padding: 20px;
    color: #7996b1;
    border-left: 5px solid transparent;
    transition: all 400ms ease;
    font-size: 24px;
}
.cont-menu nav a:hover {
    border-left: 5px solid #5d6783;
    background: #384564;
}
.cont-menu label {
    position: absolute;
    right: 5px;
    top: 10px;
    color: white;
    cursor: pointer;
    font-size: 24px;
}
/* =========================
   PRESENTACIÓN
========================= */
main {
    width: 100%;
}
.presentacion-inicial {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 80px;
}
.titulo-principal {
    font-family: "Grenze Gotisch", serif;
    font-size: 70px;
    margin: 30px 0;
}
.presentacion-inicial h2 {
    font-size: 45px;
    margin: 30px 0 15px;
}
.presentacion-inicial p {
    font-size: 25px;
    line-height: 1.5;
}
.imagen-principal {
    width: 100%;
    max-width: 700px;
    height: 400px;
    object-fit: cover;
    display: block;
    margin: auto;
    border-radius: 5px;
    box-shadow: 0 8px 20px rgba(55, 68, 107, 0.25);
    transition: transform 0.4s ease;
}
.imagen-principal:hover {
    transform: scale(1.02);
}
/* =========================
   SECCIONES DE NOTAS
========================= */
.nota {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
    margin: 80px auto;
    max-width: 1250px;
}
.nota-invertida {
    flex-direction: row-reverse;
}
.nota-texto {
    width: 48%;
}
.nota-texto .categoria {
    margin-bottom: 10px;
}
.nota-texto h2 {
    font-size: 43px;
    line-height: 1.1;
    margin-bottom: 25px;
}
.nota-texto p {
    font-size: 23px;
    line-height: 1.5;
    margin-bottom: 18px;
}
.categoria {
    font-size: 20px !important;
    letter-spacing: 2px;
    font-weight: bold;
}
/* =========================
   CARRUSEL
========================= */
.galeria-contenedor {
    width: 48%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.galeria {
    width: 100%;
    overflow: hidden;
    position: relative;
}
.galeria input {
    display: none;
}
.imagenes-galeria {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease;
}
.imagenes-galeria img {
    min-width: 100%;
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 8px 18px rgba(55, 68, 107, 0.25);
    transition: transform 0.4s ease;
}
/* GRANADEROS */
#granadero1:checked ~ .imagenes-galeria {
    transform: translateX(0);
}
#granadero2:checked ~ .imagenes-galeria {
    transform: translateX(-100%);
}
#granadero3:checked ~ .imagenes-galeria {
    transform: translateX(-200%);
}
#granadero4:checked ~ .imagenes-galeria {
    transform: translateX(-300%);
}
#granadero5:checked ~ .imagenes-galeria {
    transform: translateX(-400%);
}
/* DÍA DEL NIÑO */
#nino1:checked ~ .imagenes-galeria {
    transform: translateX(0);
}
#nino2:checked ~ .imagenes-galeria {
    transform: translateX(-100%);
}
#nino3:checked ~ .imagenes-galeria {
    transform: translateX(-200%);
}
#nino4:checked ~ .imagenes-galeria {
    transform: translateX(-300%);
}
/* MARÍA */
#maria1:checked ~ .imagenes-galeria {
    transform: translateX(0);
}
#maria2:checked ~ .imagenes-galeria {
    transform: translateX(-100%);
}
#maria3:checked ~ .imagenes-galeria {
    transform: translateX(-200%);
}
#maria4:checked ~ .imagenes-galeria {
    transform: translateX(-300%);
}
#maria5:checked ~ .imagenes-galeria {
    transform: translateX(-400%);
}
#maria6:checked ~ .imagenes-galeria {
    transform: translateX(-500%);
}
#maria7:checked ~ .imagenes-galeria {
    transform: translateX(-600%);
}
#maria8:checked ~ .imagenes-galeria {
    transform: translateX(-700%);
}
/* MARATÓN */
#maraton1:checked ~ .imagenes-galeria {
    transform: translateX(0);
}
#maraton2:checked ~ .imagenes-galeria {
    transform: translateX(-100%);
}
#maraton3:checked ~ .imagenes-galeria {
    transform: translateX(-200%);
}
#maraton4:checked ~ .imagenes-galeria {
    transform: translateX(-300%);
}
#maraton5:checked ~ .imagenes-galeria {
    transform: translateX(-400%);
}
#maraton6:checked ~ .imagenes-galeria {
    transform: translateX(-500%);
}
#maraton7:checked ~ .imagenes-galeria {
    transform: translateX(-600%);
}
/* BOTONES DEL CARRUSEL */
.controles {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}
.controles label {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #37446b;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
}
.controles label:hover {
    background: #252f47;
    transform: scale(1.1);
}
/* =========================
   VIDEOS
========================= */
.video-uniforme {
    width: 100%;
    max-width: 500px;
    height: 280px;
    object-fit: cover;
    display: block;
    border-radius: 5px;
}
/* =========================
   CEFE DAY
========================= */
.seccion-cefe {
    max-width: 1200px;
    margin: 100px auto;
    text-align: center;
}
.seccion-cefe h2 {
    font-family: "Grenze Gotisch", serif;
    font-size: 60px;
    margin: 10px 0 25px;
}
.texto-cefe {
    max-width: 900px;
    margin: auto;
    font-size: 25px;
    line-height: 1.5;
}
.actividades-cefe {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 50px 0;
}
.actividades-cefe div {
    padding: 25px;
    border-top: 3px solid #37446b;
}
.actividades-cefe h3 {
    font-size: 27px;
    margin-bottom: 15px;
}
.actividades-cefe p {
    font-size: 20px;
    line-height: 1.5;
}
/* FOTOS CEFE DAY */
.fotos-cefe {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}
.foto-cefe {
    overflow: hidden;
}
.foto-cefe img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    border-radius: 5px;
    box-shadow: 0 8px 18px rgba(55, 68, 107, 0.25);
    transition: transform 0.4s ease;
}
.foto-cefe img:hover {
    transform: scale(1.04);
}
/* =========================
   CEFERINO
========================= */
.ceferino {
    max-width: 1000px;
    margin: 100px auto;
    text-align: center;
}
.ceferino-contenido h2 {
    font-size: 45px;
    margin: 15px 0 25px;
}
.ceferino-contenido > p:not(.categoria):not(.espera) {
    font-size: 23px;
    line-height: 1.5;
    margin-bottom: 20px;
}
.ceferino .video-uniforme {
    margin: 35px auto;
}
.espera {
    font-size: 25px;
    margin-top: 20px;
}
/* =========================
   MÚSICA
========================= */
.un-dia {
    max-width: 1000px;
    margin: 100px auto;
    text-align: center;
}
.un-dia-texto h2 {
    font-size: 45px;
    margin: 15px 0 35px;
}
.un-dia-proximamente {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.un-dia-proximamente h3 {
    font-size: 32px;
}
.un-dia-proximamente p {
    font-size: 22px;
}
/* =========================
   FOOTER
========================= */
footer {
    margin-top: 100px;
    text-align: center;
}
footer p {
    font-size: 18px;
    line-height: 1.5;
    max-width: 1000px;
    margin: auto;
}
/* =========================
   TABLETS
========================= */
@media (max-width: 950px) {
    body {
        margin: 25px;
    }
    .logo h1,
    .container .menu a {
        font-size: 25px;
    }
    .container .btn-menu label {
        font-size: 28px;
    }
    .nota {
        gap: 35px;
    }
    .nota-texto h2 {
        font-size: 35px;
    }
    .nota-texto p {
        font-size: 19px;
    }
    .imagenes-galeria img {
        height: 300px;
    }
    .actividades-cefe {
        grid-template-columns: 1fr;
    }
    .fotos-cefe {
        grid-template-columns: 1fr 1fr;
    }
}
/* =========================
   CELULARES
========================= */
@media (max-width: 700px) {
    body {
        margin: 15px;
    }
    .header {
        height: auto;
        margin-bottom: 80px;
    }
    .container {
        display: flex;
        flex-direction: column;
    }
    .container .menu {
        float: none;
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }
    .container .menu a {
        font-size: 18px;
        padding: 8px;
    }
    .logo h1 {
        font-size: 24px;
    }
    .titulo-principal {
        font-size: 50px;
    }
    .imagen-principal {
        height: 280px;
    }
    .presentacion-inicial h2 {
        font-size: 34px;
    }
    .presentacion-inicial p {
        font-size: 19px;
    }
    .nota,
    .nota-invertida {
        flex-direction: column;
        gap: 35px;
        margin: 70px auto;
    }
    .nota-texto,
    .galeria-contenedor {
        width: 100%;
    }
    .nota-texto {
        text-align: center;
    }
    .nota-texto h2 {
        font-size: 34px;
    }
    .nota-texto p {
        font-size: 19px;
    }
    .imagenes-galeria img {
        height: 280px;
    }
    .video-uniforme {
        width: 100%;
        height: 250px;
    }
    .seccion-cefe {
        margin: 80px auto;
    }
    .seccion-cefe h2 {
        font-size: 45px;
    }
    .texto-cefe {
        font-size: 19px;
    }
    .actividades-cefe {
        grid-template-columns: 1fr;
    }
    .fotos-cefe {
        grid-template-columns: 1fr;
    }
    .foto-cefe img {
        height: 280px;
    }
    .ceferino-contenido h2,
    .un-dia-texto h2 {
        font-size: 35px;
    }
    .ceferino-contenido > p:not(.categoria):not(.espera),
    .un-dia-proximamente p {
        font-size: 19px;
    }
    footer p {
        font-size: 15px;
    }
}
/* =========================
   CELULARES PEQUEÑOS
========================= */
@media (max-width: 450px) {
    .header {
        margin-bottom: 120px;
    }
    .container .menu {
        flex-wrap: wrap;
    }
    .titulo-principal {
        font-size: 45px;
    }
    .imagen-principal {
        height: 230px;
    }
    .imagenes-galeria img {
        height: 230px;
    }
    .video-uniforme {
        height: 220px;
    }
    .controles {
        gap: 5px;
    }
    .controles label {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }
}
