*{
    padding: 0;
    margin: 0;
    box-sizing: border-box !important;
    scroll-behavior: smooth;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-family: "Source Sans 3", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}
body{
    position: relative;
    max-width: 100vw;
    height: 100vh;
}
/* Animación de fade-in con retraso */
.fade-in {
    opacity: 0;
    transition: opacity 1s ease-out;
}

.fade-in-visible {
    opacity: 1;
}

/* Otras animaciones posibles: Desplazamiento desde abajo */
.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.slide-up-visible {
    opacity: 1;
    transform: translateY(0);
}

/* También puedes agregar un poco de retraso entre las animaciones */
section {
    margin-bottom: 20px; /* Espacio para que se vea el efecto de lazy load */
}


.fondo{
    width: 100vw;
    height: 1950%;
    position: absolute;
    background-position: center;
    background-repeat: repeat;
    background-size: cover;
    z-index: -1;
}
header{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1em;
    padding-top: 1.5em;
    padding-bottom: 1.5em;
}
header img{
    display: none;
}
header ul{
    display: flex;
    flex-direction: row;
    list-style: none;
    gap: 20px;
}
header ul li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
}
header ul li a:hover, header ul li a:visited{
    text-decoration: underline;
    color: white;
}

.hamburguesa {
    position: fixed;  /* Fijamos el menú en la pantalla */
    top: 0;
    right: -300px;  /* Inicialmente está oculto fuera de la pantalla */
    width: 300px;  /* Ancho del menú */
    height: 100%;  /* Ocupa toda la altura de la pantalla */
    background-color: white;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);  /* Sombra para darle profundidad */
    transition: right 0.3s ease;  /* Transición suave al mover el menú */
    z-index: 1000;  /* Asegura que el menú esté por encima de otros elementos */
    padding: 20px;  /* Espaciado interno */
    display: flex;
    flex-direction: column;  /* Items en columna */
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.hamburguesa.abierta {
    right: 0;  /* Se mueve a su posición visible al añadir la clase "abierta" */
}
.hamburguesa div{
    display: flex;
    align-items: center;
    justify-content: end;
    width: 100%;
    border-bottom: 1px solid rgb(231, 231, 231);
    color: #252525;
    height: 4rem;
    margin-bottom: 15px;
    padding-top: .5em;
    padding-bottom: .5em;
}
.hamburguesa div img{
    width: 1.2rem;
}
.hamburguesa ul{
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 15px;
}
.hamburguesa ul li{
    display: flex;
    width: 100%;
    height: 1.8rem;
}
.hamburguesa ul li a {
    color: #252525;
    text-decoration: none;
    font-size: 1.2rem;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.hamburguesa ul li a:hover,.hamburguesa ul li a:visited {
    text-decoration: underline;
    color: #252525;
}

section{
    width: 100%;
    height: calc(100% - 4.1875em);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10em;
}
#inicio{
    flex-direction: row;
}
#inicio .div-izq{
    display: flex;
    flex-direction: column;
    width: 50%;
    gap: 30px;
}
#inicio .div-izq .a-1{
    font-family: "Climate Crisis", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-family: "Gasoek One", sans-serif;
    font-weight: 200;
    /* font-style: normal;
    font-family: "Anton", sans-serif;
    font-weight: 400;
    font-style: normal; */
    text-transform: uppercase;
    color: white;
    font-size: 2.5rem;
    line-height: 1.2em;
    text-shadow: 0px 1px 4px rgba(88, 88, 88, 0.33);
    text-shadow: 0px 1px 4px rgba(92, 92, 92, 0.53);
}
#inicio .div-izq .a-2{
    color: white;
    font-size: 1.5rem;
    line-height: 1.2em;
    text-shadow: 0px 1px 4px rgba(92, 92, 92, 0.53);
}
#inicio .div-der{
    display: flex;
    width: 30%;
    align-items: center;
    justify-content: end;
}
#inicio .div-der.movil{
    display: none;
    align-items: center;
    justify-content: center;
}
#inicio .div-der img{
    width: 90%;
}

.diapositiva{
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6em;
}
/* Estilo inicial para la clase animar */
.animar {
    opacity: 0;                  /* Inicialmente invisible */
    transform: translateY(50px); /* Desplazado hacia abajo */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out; /* Transición para la animación */
}

/* Cuando el elemento es visible, se activa la animación */
.animar.visible {
    opacity: 1;                   /* El elemento se vuelve visible */
    transform: translateY(0);     /* El elemento regresa a su posición original */
}


.diapositiva .marco{
    width: 80%;
    background: rgb(182,182,182);
    background: linear-gradient(139deg, rgba(182,182,182,0.7483368347338936) 0%, rgba(245,245,245,0.4738270308123249) 100%);
    box-shadow: 0 2px 52px #452a7c1a, inset 0 0 0 3px #fff3;
    border-radius: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5em;
    color: white;
    font-size: 1.5rem;
    line-height: 1.2em;
    flex-direction: row;
    gap: 40px;
    transition: all 0.2s ease-in-out;
}
.diapositiva .marco:hover{
    transform: scale(1.02);
    cursor: pointer;
}
.diapositiva .marco .texto{
    width: calc(50% - 20px);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.diapositiva .marco .texto .titulo{
    font-size: 2rem;
    line-height: 1.2em;
    text-shadow: 0px 1px 4px rgba(92, 92, 92, 0.53);
    font-family: "Gasoek One", sans-serif;
    font-weight: 200;
    text-transform: uppercase;
}
.diapositiva .marco .texto .parrafo{
    font-size: 1.5rem;
    line-height: 1.2em;
    text-shadow: 0px 1px 4px rgba(92, 92, 92, 0.53);
    font-weight: 500;
}
.diapositiva .marco .imagen{
    width: calc(50% - 20px);
    height: 100%;
    border-radius: 1.5em;
    
}
.diapositiva .marco .imagen img{
    width: 100%;
    height: 100%;
    border-radius: 1.5em;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    object-fit: cover;
    border: 5px solid rgb(209, 209, 209);
}

@media (max-width: 768px) {
    html{
        font-size: 80%;
    }
    header{
        justify-content: end;
        padding: 1em;
        
    }
    header img{
        right: 1rem;
        top: 1rem;
        display: block;
        cursor: pointer;
        position: fixed;
        z-index: 400;
        cursor: pointer;
    }
    header ul{
        display: none;
    }
    section{
        width: 100%;
        height: initial;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: transparent;
        padding: 1.5em;
    }
    #inicio{
        flex-direction: column;
        min-height: 100vh;
        gap: 30px;
        margin-bottom: 20rem;
    }
    #inicio .div-izq{
        width: 100%;
    }
    #inicio .div-izq .a-1{
        font-size: 2.5rem;
        line-height: 1.2em;
        text-shadow: -1px 1px 4px rgba(88, 88, 88, 0.33);
        text-shadow: 0px 1px 4px rgba(92, 92, 92, 0.43);
        text-align: center;
    }
    #inicio .div-izq .a-2{
        color: white;
        font-size: 1.5rem;
        line-height: 1.2em;
        text-shadow: 0px 1px 4px rgba(92, 92, 92, 0.53);
        text-align: center;
    }
    #inicio .div-der{
        display: none;
        width: 100%;
        align-items: center;
        justify-content: center;
    }
    #inicio .div-der img{
        width: 60%;
    }
    #inicio .div-der.movil{
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: center;
    }
    .diapositiva{
        width: 100vw;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1.5em;
        margin-bottom: 30rem;
    }
    .diapositiva .marco{
        width: 100%;
        background: rgb(182,182,182);
        background: linear-gradient(139deg, rgba(182,182,182,0.7483368347338936) 0%, rgba(245,245,245,0.4738270308123249) 100%);
        box-shadow: 0 2px 52px #452a7c1a, inset 0 0 0 3px #fff3;
        border-radius: 3em;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1.5em;
        color: white;
        font-size: 1.5rem;
        line-height: 1.2em;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .diapositiva .marco .texto{
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .diapositiva .marco .texto .titulo{
        font-size: 3rem;
        line-height: 1.2em;
        text-shadow: 0px 1px 4px rgba(92, 92, 92, 0.53);
        font-family: "Gasoek One", sans-serif;
        font-weight: 200;
        text-transform: uppercase;
    }
    .diapositiva .marco .texto .parrafo{
        font-size: 1.5rem;
        line-height: 1.2em;
        text-shadow: 0px 1px 4px rgba(92, 92, 92, 0.53);
        font-weight: 500;
    }
    .diapositiva .marco .imagen{
        width: 100%;
        height: 40%;
        border-radius: 1.5em;
        
    }
    .diapositiva .marco .imagen img{
        width: 100%;
        height: 100%;
        border-radius: 1.5em;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        object-fit: cover;
        border: 5px solid rgb(209, 209, 209);
    }
}