@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root{
  --bg:         #f5f1e8;
  --bg-light:   #faf8f4;

  --green:      #556b2f;
  --green-dark: #2f4f3a;
  --green-oliva: #808000;

  --text:       #1f1f1f;
  --white:      #ffffff;
  --quewhite:   #faebd7;
}

* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    /* font-family: "Montserrat", Arial, Helvetica, sans-serif; */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;

    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.16) 72%, transparent);
    /* box-shadow: 0 3px 14px rgba(0, 0, 0, 0.14); */
    transition: 0.5s;
    z-index: 100;
}

/* Muy importante para el efecto de animación */
/* nav a span { display: inline-block; } */

nav.abajo,
.navbar:hover {
    background: #000000;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.25);
    transition: 0.5s;
}

#check {
    display: none;
}

.checkbtn {
    font-size: 34px;
    color: var(--white);
    /* esto hace que el icono quede a la derecha */
    float: right;
    cursor: pointer;
    display: none;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo .enlace img {
    height: 44px;
    width: 44px;
    border-radius: 10%;
   /*  animation: animation-logo 10s ease-in-out infinite; */
}

@keyframes animation-logo {
    0% {
        transform: rotateX(0);
    }

    20% {
        transform: rotateX(180deg);
    }

    60%,
    100% {
        transform: rotateX(0);
    }
}

.logo {
    gap: 10px;
}

/* .logo a img {
    width: 50px;
    height: 50px;
} */

.names {
    display: flex;
    flex-direction: column;
    color: var(--white)
}

.main-name {
    font-weight: bold;
    font-size: 1.2rem;
    transition: 0.5s;

    /* Lo agregué */
    font-family:"Cormorant Garamond",serif;
    letter-spacing: .20em;
}

.main-name:hover {
    color: var(--green);
    transition: 0.5s;
}

.main-namesito {
    margin-top: 4px;
    color: var(--color52);
    font-size: 0.80rem;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 12px;
}

nav ul li {
    padding: 6px;
}

nav ul li a {
    position: relative;
    display: inline-block;
    padding: 6px;
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95), 0 0 9px rgba(0, 0, 0, 0.65);
}

nav ul li a:hover {
    color: var(--white);
}

/* nav.abajo ul li a {
    color: var(--color30);
} */

nav.abajo ul li a:hover {
    color: var(--white);
}

li a:after {
    content: "";
    position: absolute;
    background-color: var(--green);
    height: 4px;
    width: 0;
    left: 0;
    bottom: -10px;
    transition: 0.5s;
}

li a:hover:after {
    width: 100%;
}

li a:focus {
    color: var(--color20);
}

.navbar ul li a:focus {
    color: var(--white);
}

nav.abajo .checkbtn {
    color: var(--white);
}



/**********************************************/
/* **** Zona central de la primera página **** */
#zona1 {
    background: url(../img/fotos/foto09.webp);
    /* Es para que sea SOLO una imagen */
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    /* height: calc(100vh - 100px); */

    /* nuevo */
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    /* lo puse, porque necesitaba el boton debajo */
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}


/* ************** ANIMACIONES en bloque********** */
/* ********************************************** */
.caja {
    padding: 10px 8vw 0px;
    max-width: 100%;
    margin: 20px auto;
    text-align: center;
    font-family: 'Poppins', sans-serif;

    /* background: #9797974d; 
    border-radius: 8px; */
}

.caja h1 {
    justify-content: center;
    margin-bottom: 8px;
    color: var(--green-dark);
    text-shadow: 2px 2px 2px var(--white),
        0px 0px 20px var(--white);
    font-size: 3.25rem;
}

.caja h2 {
    color: var(--bg-light);
    text-shadow: 4px 4px 0px var(--text),
        0px 0px 10px var(--green-oliva),
        0px 0px 20px var(--green-oliva),
        0px 0px 30px var(--green-oliva);
    margin-bottom: 12px;
    font-size: 36px;
}

.lista-integrantes {
    list-style: none;
    padding: 0;
    overflow: hidden;
    /* Oculta el contenido que se desborda */
}

.integrante {
    font-family: "Bebas Neue", sans-serif;
    background-color: var(--color70);
    color: var(--quewhite);
    padding: 10px;
    margin: 5px;
    border-radius: 50px;
    font-size: 30px;
    letter-spacing: 1.4px;
    display: block;

    animation: enbloque 8s linear infinite;
    /* tarda 10 segundos en pasar todos los nombres */
}

@keyframes enbloque {

    0%, 100% {
        /* transform: translateY(-459%);  este % es para 4 renglones*/
        transform: translateY(-236%);
    }

    25% {
        transform: translateY(0);
    }
}

.responsable {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: blue;
    text-shadow: 4px 2px 0 yellow;
}


/* ****** Animacion por renglon ******* */
/* ********** Primer renglon ********** */
div.contanier-nombres {
    width: 100%;
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
}

.nombre1 {
    color: #51c3e6;
    text-shadow: 4px 2px #ffffff;

    animation: slide-in-1 17s linear infinite;
}

@keyframes slide-in-1 {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-16%);
    }
}

/* ************* Segundo renglon *********** */
.nombre2 {
    color: #51c3e6;
    text-shadow: 4px 2px #ffffff;

    animation: slide-in-2 20s linear infinite;
}

@keyframes slide-in-2 {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-16%);
    }
}


/* ********************************** */
/* ********** Texto con Zoom ******** */
.texto-zoom {
    margin: 20px;
}

.tracking {
    text-align: center;
    font-size: 40px;
    font-weight: 600;
    color: var(--quewhite);
    text-shadow: 2px 2px 10px var(--white),
        1px 1px 20px var(--quewhite),
        1px 1px 30px var(--quewhite),
        1px 1px 40px var(--quewhite);

    animation: tracking-1 5s 1s infinite;
}

@keyframes tracking-1 {
    0% {
        letter-spacing: 1em;
        transform: translateZ(400px) translateY(130px);
        opacity: 0;
        color: blue;
    }

    40% {
        opacity: 0.6;
    }

    100% {
        transform: translateZ(0) translateY(0);
        opacity: 1;
        color: var(--green);
    }
}


/* ************************************ */
/* ******** Boton volumen si, no ****** */
.btn-sino {
    display: inline-block;
    width: 57px;
    height: 26px;
    background-color: #fa0202;
    border-radius: 15px;
    position: relative;
    cursor: pointer;
}

.btn-sino:before {
    content: '';
    position: absolute;
    width: 26px;
    height: 26px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.5s;
}

.btn-sino.active {
    background-color: #4caf50;
}

.btn-sino.active:before {
    transform: translateX(30px);
}


/* ***************************************** */
/* ********** Boton redes sociales ********* */
.btn-redes:after {
    display: inline-block;
    background: #00f5d0;
    color: var(--text);
    text-decoration: none;
    padding: 8px 30px;
    border: 1px solid #015c6e;
    border-radius: 4px 22px 4px 4px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    font-size: clamp(0.7rem, 2vw, 1rem);

    transition: 0.5s;
}

.btn-redes:after:before,
.btn-redes:after:after {
    content: "";
    z-index: -1;
    position: absolute;
    width: 50%;
    height: 100%;
    top: 0;
    left: -50%;
    background-color: var(--green);
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.redes {
    position: absolute;
    bottom: 6px;
}

.datos-programador {
    display: flex;
    justify-content: center;
    color: var(--white);
    text-shadow: 3px 3px 0 var(--text);
    margin-bottom: 10px;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
}

.btn-redes {
    margin-inline: 5px;
    background-color: #00f5d0;
    color: #015c6e;
    padding: 6px 20px;
    font-size: clamp(0.7rem, 2vw, 1rem);
}

.btn-redes:hover {
    color: var(--text);
    background-color: #02fcfc;
}

.redes .facebook,
.redes .linkedin {
    border-radius: 30px 8px;
}

.redes .github,
.redes .whatsapp,
.whatsapp {
    border-radius: 8px 30px;
}

.btn-redes:after:after {
    left: 100%;
}

.btn-redes:after:hover {
    color: var(--green-oliva);
}

.btn-redes:after:hover:before {
    left: 0;
}

.btn-redes:after:hover:after {
    left: 50%;
}



/*************************/
/* ******* Footer ****** */
/*************************/
.footer-container {
    width: 100%;
    height: auto;
    padding: 50px 20px 0;
    background-color: var(--green-dark);
}

.container-box {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1120px;
    margin: 0 auto;
    gap: 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    align-items: stretch;
    max-width: 1120px;
    margin: 0 auto;
}

.footer-grid > .box-footer {
    min-width: 0;
    max-width: none;
    margin: 0;
}

.box-footer {
    min-width: 220px;
    max-width: 420px;
    margin-inline: 16px;
}

.title-box {
    padding: 0 0 14px;
    color: #dbe7c9;
    font-weight: 600;
    font-size: 1.15rem;
}

/* Otros datos */
.telefono,
.direccion,
.horarios {
    margin: 8px 0px 8px;
    color: #fff9eb;
    line-height: 1.6;
}

.box-footer-qr {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.qr-footer-contenido {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#qr-contacto {
    width: 140px;
    height: 140px;
    margin: auto;
    padding: 8px;
    border-radius: 10px;
    background: var(--white);
}

#qr-contacto img,
#qr-contacto canvas {
    display: block;
    width: 124px;
    height: 124px;
}

.qr-mensaje {
    max-width: 210px;
    margin: 10px auto 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.85rem;
    line-height: 1.5;
    text-align: center;
}

.qr-mensaje:empty {
    display: none;
}

.container-terminos {
    color: rgba(255, 255, 255, 0.72);
    display: flex;
    justify-content: center;
    margin: 34px 10px 10px;
    font-size: clamp(0.8rem, 2vw, 1rem);
}

.container-terminos .terminos,
.container-terminos .creditos {
    color: rgba(255, 255, 255, 0.72);
}

.container-terminos .terminos:hover,
.container-terminos .creditos:hover {
    color: var(--white);
}

/* Linea */
footer hr {
    width: 70%;
    margin: 16px auto 0;
    border: 1px solid rgba(255, 255, 255, 0.24);
}

/* Copyright */
.copy {
    text-align: center;
    padding: 16px 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(0.65rem, 2vw, 0.85rem);
}



/**************************************/
/* ***** Media Query con 1368px ***** */
/* ********************************** */
@media (max-width: 1368px) {

}


/*************************************/
/* ***** Media Query con 1090px ***** */
@media (max-width: 1090px) {
    .navbar {
        justify-content: space-around;
        gap: 12px;
    }

    .navbar .logo {
        order: 1;
        min-width: 0;
    }

    .navbar .nav-redes {
        order: 2;
        flex-shrink: 0;
        margin: 0;
    }

    .logo .enlace img {
        height: 50px;
        width: 50px;
    }

    .main-name {
        font-size: 1.3rem;
    }

    .main-namesito {
        font-size: 0.74rem;
    }

    .checkbtn {
        display: block;
        position: static;
        order: 3;
        flex-shrink: 0;
        z-index: 110; 
    }

    .navbar ul {
        position: fixed;
        width: 100%;
        /* height: calc(100vh - 100px); */
        height: calc(100vh - 100px);
        background: rgb(29, 52, 86, 0.8);
        top: 100px;
        left: 0;
        margin: 0;
        text-align: center;
        transform: translateX(-100%);
        transition: transform 0.5s ease;
        overflow-y: auto;
        display: block;
    }

    .navbar ul li {
        display: block;
        margin: 20px 0;
        line-height: 20px;
    }

    .navbar ul li a {
        font-size: 20px;
    }

    li a:hover,
    li a.active {
        background: none;
    }

    #check:checked ~ ul {
        transform: translateX(0);
    }
}


/*************************************/
/* ***** Media Query con 866px ***** */
/* ********************************* */
@media (max-width: 866px) {
    .tracking {
        animation: tracking-1 15s 1s infinite;
        text-align: center;
        font-size: 30px;
        font-weight: 400;
        color: var(--color36);
        text-shadow: 1px 1px 10px var(--color72),
            1px 1px 20px var(--color72),
            1px 1px 30px var(--color72),
            1px 1px 40px var(--color72);

    }

    @keyframes tracking-1 {
        0% {
            letter-spacing: 0.8em;
            transform: translateZ(400px) translateY(100px);
            opacity: 0;
            color: var(--color62);
        }

        40% {
            opacity: 0.6;
        }

        100% {
            transform: translateZ(0) translateY(0);
            opacity: 1;
            color: var(--color66);
        }
    }
}



/*************************************/
/* ***** Media Query con 858px ***** */
/*************************************/
@media (max-width: 858px) {
    .footer-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 28px;
        text-align: center;
    }

    .footer-grid .box-footer {
        width: 100%;
        min-width: 0;
        max-width: 360px;
        margin-inline: 0;
    }
}


/*************************************/
/* ***** Media Query con 600px ***** */
/*************************************/
@media (max-width:600px) {
    .integrante {
        padding: 7px;
        margin: 4px;
    }

    div.contanier-nombres {
        font-size: 3.5rem;
    }
}



/*************************************/
/* ***** Media Query con 516px ***** */
/*************************************/
@media (max-width: 516px) {
    .box-footer {
        min-width: 120px;
        margin-inline: 12px;
    }

    .title-box {
        font-size: 16px;
    }

    .box-footer p,
    .box-footer a {
        font-size: 14px;
    }

    .footer-container {
        padding: 40px 16px 0;
    }

    .container-box {
        flex-direction: column;
        align-items: center;
        gap: 28px;
        text-align: center;
    }

    .box-footer {
        width: 100%;
        min-width: 0;
        max-width: 360px;
        margin-inline: 0;
    }

    .container-terminos {
        margin: 28px 0 10px;
        padding-inline: 12px;
        line-height: 1.8;
        text-align: center;
    }

    footer hr {
        width: 82%;
    }
}




/*************************************/
/* ***** Media Query con 570px ***** */
/* ********************************* */
@media (max-width: 570px) {
    .tracking {
        text-align: center;
        font-size: 24px;
        font-weight: bold;
        color: var(--color36);
        text-shadow: 1px 1px 10px var(--color72),
            1px 1px 20px var(--color72),
            1px 1px 30px var(--color72),
            1px 1px 40px var(--color72);

        animation: tracking-1 5s 1s infinite;
    }

    @keyframes tracking-1 {
        0% {
            letter-spacing: 0.4em;
            transform: translateZ(400px) translateY(100px);
            opacity: 0;
            color: var(--color62);
        }

        40% {
            opacity: 0.6;
        }

        100% {
            transform: translateZ(0) translateY(0);
            opacity: 1;
            color: var(--color66);
        }
    }
}



/*************************************/
/* ***** Media Query con 490px ***** */
/*************************************/
@media (max-width: 490px) {
    .fa-bars {
        scale: 0.9;
    }

    .main-name {
        font-size: 1.1rem;
    }

    .main-namesito {
        font-size: 0.62rem;
    }

    .caja h1 {
        font-family: "Bebas Neue", sans-serif;
        justify-content: center;
        margin-bottom: 10px;
        font-size: 26px;
    }

    .caja h2 {
        margin-bottom: 10px;
        font-size: 16px;
    }

    .integrante {
        padding: 5px;
        margin: 2px;
        letter-spacing: 1.2px;
    }

    div.contanier-nombres {
        font-size: 2.8em;
    }

/* ************************** */
    footer {
        padding: 30px 16px 0;
    }

    footer .copyright {
        font-size: 0.74rem;
        font-stretch: normal;
    }
}



/*************************************/
/* ***** Media Query con 430px ***** */
/*************************************/
@media (max-width: 430px) {
    .logo a img {
        height: 40px;
        width: 40px;
    }

    .btn-redes {
        margin-inline: 2px;
        padding: 4px 10px;
    }
}



/*************************************/
/* ***** Media Query con 330px ***** */
/*************************************/
@media (max-width: 330px) {
    tracking {
        text-align: center;
        font-size: 20px;
        font-weight: bold;
        color: var(--color36);
        text-shadow: 1px 1px 10px var(--color72),
            1px 1px 20px var(--color72),
            1px 1px 30px var(--color72),
            1px 1px 40px var(--color72);

        animation: tracking-1 5s 11s infinite;
    }

    @keyframes tracking-1 {
        0% {
            letter-spacing: 0.3em;
            transform: translateZ(400px) translateY(100px);
            opacity: 0;
            color: var(--color62);
        }

        40% {
            opacity: 0.6;
        }

        100% {
            transform: translateZ(0) translateY(0);
            opacity: 1;
            color: var(--color66);
        }
    }
}
