@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');

:root {
        --fondo-principal: #F5F3E7;
        --fondo-secciones: #DCEFD8;
        --texto-principal: #2F3E2F;
        --titulos: #2E7D32;
        --subtitulos: #6D4C41;
        --boton-primario: #4CAF50;
        --boton--primario: #388E3C;
        --boton-secundario: #81D4FA;
        --boton-hover-secundario:#4FC3F7 ;
        --border-lineas: #BDBDBD;
        --enlaces:#388E3C ;
        --enlaces-hover:#1B5E20 ;
        --fondo-footer: #4E342E ;
        --texto-footer: #FAF3E0;
        --sombra-sutil: rgba(0, 0, 0, 0.1) ;
        --radius: 12px;
}

/* - - - - - - - - - Pantalla de carga  - - - - - - - - - */
/* Animación de aparición suave */
.fade-in {
    opacity: 0;
    animation: fadeIn 1.5s ease-in-out forwards;
}


@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.pantalla-carga {
    position: fixed;
    z-index: 9999;
    width: 100%;
    height: 100vh;
    background: linear-gradient(to top, #d6c068, #e07c2a, #d6ad24);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease-out;
}

.contenedor-sol {
    position: relative;
    width: 300px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sol {
    position: absolute;
    width: 100px;
    height: 100px;
    bottom: 120px;
    border-radius: 50%;
    background: radial-gradient(circle at center, #ffeb3b 0%, #fdd835 60%, #fbc02d 100%);
    overflow: hidden;
    box-shadow: 0 0 30px 10px #ffeb3b;
    transition: all 2s ease-in-out;
}

.relleno {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to top, #fffde7, #fff176, #ffeb3b);
    transition: height 0.2s ease-in;
}

    
/* - - - - - - - - - HEADER - - - - - - - - - */
* {
    margin: 0;
    padding: 0;
    font-family: "Nunito Sans", sans-serif;
    scroll-behavior: smooth;
}

header{
    width: 100%;
    height: 100vh;

    font-family: "Federo", sans-serif;
    text-shadow: 2px 2px 5px var(--sombra-sutil);
    text-align: center;
    align-content: center;
    font-size: 4.5em;
    color: var(--texto-footer);

    
    background-image: linear-gradient(rgba(0, 0, 0, 0.048), rgba(0, 0, 0, 0.685)), url(imagenes/cartel-intihuasi.jpeg);
    backdrop-filter: blur(10px);
    background-size:cover;
    background-position: 50%;
}

.button-header {
    border-radius: 13px;
    width: 9em;
    height: 3em;
    border: 0px;

    background-color: #0000005d;
}

.button-header a {
    text-decoration: none;
    color: var(--border-lineas);
    font-size: 1.3em;
}

.button-header:hover {
    transform: scale(1.1);
    transition: .6s;
    background-color: #ffffff;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.655);
}

.button-header:hover a {
    transform: scale(1.1);
    transition: .2s;
    color: #000000;
}
/* - - - - - - - - - BODY - - - - - - - - - */
.ola {
    margin: 0;
    padding: 0;
}
body {
    background-color: #f1f1f1 ;
    margin: 0;
    padding: 0;
    
    width: 100%;
}


/*- - - - - - - - - - - - - CONTEINER PRESENTACION- - - - - - - - - - - - -*/


.conteiner-imagenes {
    width: auto;
    min-height: 100vh;
    height: fit-content;

    margin: auto;
    padding-top: 20px;
    padding-bottom: 40px;
    text-align: center;
    align-content: center;
    justify-content: center;

    background-color: #d6d6d6;
}

.conteiner-imagenes hr{
    width: 27%;
    margin: auto;
    height: 3px;
    color: var(--texto-principal);
    background-color: var(--texto-principal);
    border-radius: 10px;
    margin-top: 12px;
    margin-bottom: 22px;
}

.conteiner-imagenes h2 {
    font-size: 1.5em;
}

#imagenPlaca{
    width: 27em;
    height: 25em;

    border-radius: 20px;
    object-fit: cover;
}

#imagen {
    width: 23em;
    height: 27em;

    
    backdrop-filter: blur(10px);
    background-size: cover;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.655);
    border-radius: 20px;
    margin: auto 10px;

    display: inline-block;

    gap: 10px;
}

.imagen1 {
    background-image: linear-gradient(rgba(255, 255, 255, 0)), url(imagenes/grupo-juvenil.jpeg);
}
.imagen2 {
    background-image: linear-gradient(rgba(255, 255, 255, 0)), url(imagenes/mini-minumento.jpeg);
    background-position:center;

}
.imagen3 {
    background-image: linear-gradient(rgba(255, 255, 255, 0)), url(imagenes/arbol-plantado-hijas.jpeg);
}

#imagen:hover {
    transform: scale(1.02);
    transition: .6s;
}

.card {
    display: inline-block;
}




/*- - - - - - - - - - - - - CONTEINER SOBRE NOSOTROS - - - - - - - - - - - - -*/



.conteiner-sobre-nosotros{
    width: 100%;
    min-height: min-content;
    height: fit-content;
    background-color: #f1f1f1;

    padding-top: 50px;
}

.conteiner-sobre-nosotros hr{
    width: 27%;
    margin: auto;
    height: 3px;
    color: var(--texto-principal);
    background-color: var(--texto-principal);
    border-radius: 10px;
    margin-top: 12px;
    margin-bottom: 22px;
}

.conteiner-sobre-nosotros h2 {
    text-align: center;
    font-size: 1.5em;
}

.conteiner-sobre-nosotros p {
    align-items: center;
    justify-content: center;
    text-align: center;
}

.conteiner-sobre-nosotros .card {
    width: 100%;

    justify-items: center;
    align-items: center;
}

.conteiner-sobre-nosotros .card-left {
    display: flex;
    justify-content: left;
    align-items: center;
    text-align: left;

    gap: 50px;
    width: 80vw;
    margin: 40px;
}

.conteiner-sobre-nosotros .card-right {
    display: flex;
    justify-content: center;
    align-items: center;

    text-align: right;

    gap: 50px;
    width: 80vw;
    margin: 40px;
}

.conteiner-sobre-nosotros .card-left p {
    align-items: center;
    justify-content: center;
    text-align: left;
}
.conteiner-sobre-nosotros .card-right p {
    align-items: center;
    justify-content: center;
    text-align: right;
}

#imagenMisa {
    height: 25rem;
    width: 40em;

    object-fit: cover;
    border-radius: 15px;
}


/*- - - - - - - - - - - - - CONTEINER UBICACION - - - - - - - - - - - - -*/

.conteiner-ubicacion{
    width: 100%;
    min-height: min-content;
    height: fit-content;
    background-color: #d8d8d8;
    padding-top: 50px;
}

.conteiner-ubicacion hr{
    width: 27%;
    margin: auto;
    height: 3px;
    color: var(--texto-principal);
    background-color: var(--texto-principal);
    border-radius: 10px;
    margin-top: 12px;
    margin-bottom: 22px;
}

.conteiner-ubicacion h2 {
    text-align: center;
    font-size: 1.5em;
}

.conteiner-ubicacion p {
    align-items: center;
    justify-content: center;
    text-align: center;
}

.conteiner-ubicacion .card {
    width: 100%;

    justify-items: center;
    align-items: center;
}

.conteiner-ubicacion .card-mapa {
    display: flex;
    justify-content: left;
    align-items: center;
    text-align: left;

    gap: 50px;
    width: 80vw;
    margin: 40px;
}
.conteiner-ubicacion .card-mapa p{
    align-items: center;
    justify-content: center;
    text-align: left;

    width: 40%;
}

iframe {
    width: 60%;
    border-radius: 15px;
}


/*- - - - - - - - - - - - - FOOTER - - - - - - - - - - - - -*/




footer {
    height: min-content;
    width: 100%;

    margin: 0%;
    bottom: 0;

    background-color: var(--fondo-footer) ;
    color: var(--texto-footer);
    border-top-right-radius: 50px ;
    border-top-left-radius:50px ;

    align-content: center;
}

.footer-alto{
    text-align: center;
    align-items:start;
}

.footer-alto h1{
    padding: 16px;
}

footer hr{
    width: 27%;
    margin: auto;
    margin-bottom: 16px ;
    height: 3px;
    color: var(--texto-footer);
    background-color: var(--texto-footer);
    border-radius: 10px
}

#logo {
    width: 50px;
    height: auto;
}

.txtRedes {
    margin: 20px 0;
}
.txtRedes a{
    gap: 10em;
}

.card-redes{
    display: flex;
    gap: 50px;
    text-align: center;
    justify-content: center;
    align-items: center;
}


/* ===================== RESPONSIVE DESIGN ===================== */

/* General */


/* Encabezado */
@media (max-width: 950px) {
    header {
        font-size: 3em;
        background-position: center;
    }

    .button-header {
        width: 20%;
        height: 3em;
        margin-top: 20px;
    }
}
@media (max-width: 600px) {
    header {
        font-size: 2.2em;
    }

    .button-header {
        width: 25%;
        height: 3em;
        margin-top: 20px;
    }
    .button-header a{
        font-size: 1.1em;
    }
}
@media (max-width: 400px) {
    header {
        font-size: 1.6em;
    }
    .button-header {
        width: 30%;
    }
}
@media (max-width: 300px) {
    header {
        font-size: 1.5em;
    }

    .button-header {
        width: 40%;

    }
    .button-header a{
        font-size: 0.9em;
    }
}


/* Presentación */
@media (max-width: 1250px) {
    #imagenPlaca,
    #imagen {
        width: 20em;
        height: 24em;

    }
    .conteiner-imagenes p {
        font-size: 16px;
        margin-left: 10px;
        margin-right: 10px;
    }
    
}
@media (max-width: 1100px) {
    #imagenPlaca,
    #imagen {
        width: 17em;
        height: 21em;
    }
    .conteiner-imagenes p {
        font-size: 14px;
    }
}
@media (max-width: 950px) {
    #imagenPlaca,
    #imagen {
        width: 14em;
        height: 18em;
    }
    .conteiner-imagenes p {
        font-size: 14px;
        margin-left: 30px;
        margin-right: 30px;
    }
}
@media (max-width: 860px) {
    #imagenPlaca,
    #imagen {
        width: 22em;
        height: 26em;
        margin-top: 2em;
        margin-bottom: 1em;
        margin-left: 5em;
        margin-right: 5em;
    }
    .conteiner-imagenes p {
        font-size: 15px;
    }
}
@media (max-width: 650px) {
    #imagenPlaca,
    #imagen {
        margin-left: 3em;
        margin-right: 3em;
    }
}
@media (max-width: 500px) {
    #imagenPlaca,
    #imagen {
        width: 17em;
        height: 20em;
        margin-left: 1em;
        margin-right: 1em;
    }
}
@media (max-width: 350px) {
    #imagenPlaca,
    #imagen {
        width: 14em;
        height: 17em;
        margin-left: 1em;
        margin-right: 1em;
    }
}

/* Sobre Nosotros */
@media (max-width: 1150px) {
    .conteiner-sobre-nosotros .card-left,
    .conteiner-sobre-nosotros .card-right {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        margin: 20px auto;
    }

    .conteiner-sobre-nosotros p {
        text-align: center !important;
    }

    #imagenMisa {
        width: 90%;
        height: auto;
    }
}
@media (max-width: 1200px) {
    .conteiner-sobre-nosotros p{
        font-size: .9em;
    }
}
/* Ubicación */
@media (max-width: 1024px) {
    .conteiner-ubicacion .card-mapa {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        margin: 20px auto;
    }

    .conteiner-ubicacion .card-mapa p {
        width: 90%;
        text-align: center;
    }

    iframe {
        width: 90%;
    }
}

/* Footer */
@media (max-width: 1150px) {
    .card-redes {
        display: flex;
        gap: 0;
    }

    .txtRedes {
        font-size: 0.9em;
        text-align: center;
    }
    .card-left,
    .card-right {
        display: inline-block;
        gap: 50px;
        width: 40vw;
        margin: 30px 10px;
        align-items: center;
    }

    .card-right p,
    .card-left p {
        order: 2;
        font-size: .8em;
    }

    .card-left img,
    .card-right img {
        order: 1;
    }

    .card-redes {
        gap: 10px;
    }

}

/* Text sizes for small devices */
@media (max-width: 600px) {
    .conteiner-imagenes h2,
    .conteiner-sobre-nosotros h2,
    .conteiner-ubicacion h2 {
        font-size: 1.2em;
    }

    .footer-alto h1 {
        font-size: 1.2em;
    }
}


