/* Fuente importadas de google */
@font-face {
    font-family: inter-light;
    src: url("../fonts/inter/Inter-Light.ttf");
}

@font-face {
    font-family: inter-medium;
    src: url("../fonts/inter/Inter-Medium.ttf");
}

@font-face {
    font-family: inter-bold;
    src: url("../fonts/inter/Inter-Bold.ttf");
}


* {
    box-sizing: border-box;
    /* La propiedad box-sizing ajusta cómo se calcula el tamaño total de un elemento, 
   incluyendo el contenido, el padding y el borde, sin cambiar su comportamiento predeterminado. */
    margin: 0;
    padding: 0;
}

body {
    font-family: inter-medium;
}


/* Estilos Header*/


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 6%;
}

header img {
    width: 90px;
}

.imagen-header {
    width: 100%;
}



/* menu navegacion */


nav a {
    margin-right: 80px;
    color: black;
    text-decoration: none;
    font-size: 1.1em;
}

nav a:last-child {
    margin-right: 0;
}

nav a:hover {
    color: #ff66e5;
}



/*   Estilos sección 2 columnas  */


h1 {
    margin-bottom: 50px;
    font-weight: medium;
    text-align: center;
    font-size: 3em;
    font-family: inter-bold;
}

.seccion-primera-2-columnas,
.seccion-segunda-3-columnas {

    margin: 2% 10% 5% 10%;
    background-color: #f9fcfb;
}

.section-1 {
    display: grid;
    align-items: center;
    justify-content: center;
    grid-template-columns: repeat(2, 1fr);
}

.section-1 img {
    width: 100%;
}

.izq p {
    padding-right: 10%;    
    font-size: 1em;
    font-family: inter-light;
    line-height: 1.5em;
    
}


.izq h2 {    
    padding-right: 10%;
    font-size: 2em;
    font-family: inter-light;
    line-height: 1.5em;
    padding-bottom: 20px;
    
}

.der p{

    padding-right: 10%;
    font-size: 1em;
    font-family: inter-light;
    line-height: 1.5em;
    padding-bottom: 20px;

}


.der h2 {
    padding :0 10%;
    font-size: 2em;
    font-family: inter-light;
    line-height: 1.2em;
    margin-bottom: 20px;
}




/* Seccion 3 columnas */

.seccion-segunda-3-columnas {
    margin: 2% 10% 5% 10%;
}

.seccion-segunda-3-columnas h2 {
    font-size: 2.5em;
    margin-top: 5%;
    margin-bottom: 3%;
    text-align: center;
    font-family: inter-bold;
}

.section-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7%;

}

.section-2 .tres {
    flex: 33%;
}

.section-2 img {
    width: 100%;
}

.section-2 h3 {
    margin-top: 20px;
    margin-bottom: 20px;
    font-family: inter-bold;
    font-size: 1.5em;
}

.section-2 p {
    font-family: inter-light;
    margin-top: 20px;
    margin-bottom: 20px;
}



.more {

    background-color: #66FFDA;
    border: none;
    padding: 5px 5px 5px 5px;
    text-decoration: none;
    color: black;
}

.more:hover {
    color: white;
    background-color: black;
}





/*   Footer    */

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: black;
    padding: 10px 6%;
    height: 300px;
}

footer img {
    width: 50px;
}

footer a {
    color: #fbfcfb;
    font-size: 1.2em;
    margin-right: 70px;

}

footer a:hover {
    color: white;
}

footer img {
    width: 90px;
}


/* Estilos tablet */

@media (max-width:920px) {


    header img {
        width: 80px;
    }

    nav a {
        margin-right: 25px;
    }

    h1 {
        font-size: 2em;
    }

    .section-1 .izq {

        font-size: 0.7em;
    }

    .tres p {
        font-size: 0.7em;
    }

    .tres h3 {
        font-size: 0.8em;
    }

    .section-1 .der {

        font-size: 0.7em;
    }

    .seccion-segunda-3-columnas h2 {
        font-size: 2em;

    }

    footer {
        padding: 2% 2%;
    }

    footer a {
        margin-right: 25px;

    }


}


/* Estilos movil */
@media (max-width:680px) {

    header {
         display: flex;
         flex-direction: column;
         justify-content: center;
         align-items: center;
         gap: 25px;   

        

    }    

    nav a {
        font-size: 0.6em;
        margin-right: 25px;
    }
    header img {
        width: 50px;
        margin: 10px;
    }

    
    .section-1 {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .section-1 h2 {
        font-size: 1.3em;
    }

    .section-1 .der {
        display: flex;
        flex-direction: column;
        gap: 25px;
        padding-left: 0;
        padding-right: 10%;
        font-size: 1em;
        font-family: inter-light;
        line-height: 1.5em;
        margin-top: 50px;
    }

    .section-1 .izq {

        font-size: 1em;
        font-family: inter-light;
        line-height: 1.5em;
    }
    


    .reverse {
        display: flex;        
        flex-direction: column-reverse;
    }



    .section-2 {
        flex-direction: column;
        align-items: center;
        /* Centra los elementos en el eje horizontal */
        gap: 25px;

    }

    .section-2 h3 {
        font-size: 1.3em;
    }

    .section-2 p {
        font-size: 1em;
    }


    footer {
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        gap: 25px;
    }

}


