@font-face {
    font-family: 'Montserrat';
    src: local(''),
       url('font/montserrat-v25-latin-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap
}
@font-face {
    font-family: 'Montserrat';
    src: local(''),
       url('font/montserrat-v25-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap
}
@font-face {
    font-family: 'Montserrat';
    src: local(''),
       url('font/montserrat-v25-latin-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap
}
@font-face {
    font-family: 'Montserrat';
    src: local(''),
       url('font/montserrat-v25-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap
}
* {
    --blanco: #fff;
    --negro: #2f4858;
    --fondo-footer:#505978;
    --naranja: #f0a66c;
    --naranja-claro: #f9dbc4;
    --rojo: #e1857f;
    --verde: #00745f;
    --morado: #9782e6;
    --lima: #6cc98e;
    --fondo-gris: #f7f7f7;
    --fondo-dark-mode:#0c1b25;
    --negro-texto: #555;
    --negro-formulario: #333;
    --azul: #3287c2;
    --gris-texto: #ababab;
    margin: 0;
    padding: 0
}

::selection {
    background: var(--naranja);
    color: var(--blanco);
}

:root{
    background: var(--blanco) !important;
}

html{
    background: var(--blanco);
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    box-sizing: border-box;
    background: none;
    line-height: 1.2;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}

body > section {
    max-width: 1330px;
}


header{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    transition: all 0.2s ease;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: var(--blanco);
    padding: 0 ;
    transition: all 0.2s ease;
    height: 77px;
}

.menu{
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.15);
}

header > #movil,
header > #icono-movil,
header > #logo-movil{
    display: none;
}

header > #escritorio{
    display:block;
    width: 90%;
    max-width: 1300px;
}

header > #escritorio > #logo-escritorio{
    margin-right: 50px;
    margin-top: 20px;
    text-decoration: none;
    z-index: 1100;
    float: left;
}

header > #escritorio > #logo-escritorio > img,
header > #logo-movil > img{
    aspect-ratio: 15/3;
    cursor: pointer;
}

header > #escritorio > #logo-escritorio > img{
    position: relative;
    z-index: 1100;
}

header > #escritorio > ul{
    list-style: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    margin-top: 30px;
    float: left;
}

header > #escritorio > ul > li{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 23px;
    z-index: 100;
    line-height: 1.7rem;
    padding-bottom: 22px;
}

header > #escritorio > ul > li:last-of-type{
    margin-left: 27px;
}

header > #escritorio > ul > li > p,
header > #escritorio > ul > li > a{
    font-weight: 600;
    font-size: 1em;
    color: var(--negro);
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

header > #escritorio > ul > li > p:hover,
header > #escritorio > ul > li > a:hover{
    text-decoration: underline;
    color: var(--naranja);
}


footer{
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: var(--fondo-footer);
    padding-top: 20px;
}

footer > nav{
    width: 90%;
    max-width: 1300px;
    padding-top: 40px;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding-bottom: 175px;
}

footer > nav > #logo-escritorio-footer{
    width: 75px;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 40px;
}

footer > nav > #logo-escritorio-footer > img{
    aspect-ratio: 1/1;
}

footer > nav > #logo-movil{
    display: none;
}

footer > nav > div{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 10px;
    width: 25%;
    min-width: 140px;
    margin-right: 4px;
}

footer > nav > div:first-of-type{
    width: 15%
}

footer > nav > div > p{
    font-weight: 500;
    font-size: 1rem;
    color: var(--blanco);
    text-align: left;
    margin-bottom: 5px;
    line-height: 1.7rem;
}

footer > nav > div:last-of-type > p{
    margin-bottom: 0;
}

footer > nav > div > a,
footer > nav > div > .btn-footer{
    font-weight: 400;
    font-size: .9rem;
    color: var(--blanco);
    text-align: left;
    line-height: 1.7rem;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

footer > nav > div > a{
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

footer > nav > div > a:hover,
footer > nav > div > .btn-footer:hover{
    color: var(--naranja-claro);
}

footer > nav > div > a > p > span{
    font-weight: bold;
}

footer > nav > div > a > img{
    aspect-ratio: 20/11;
    margin-right: 10px;
}

footer > nav > span{
    color: var(--blanco);
    font-weight: 400;
    font-size: .8em;
    position: absolute;
    bottom: 30px;
    width: 100%;
    text-align: left;
    line-height: 1.7rem;
}

/*Relaciones de aspecto escritorio*/
/*anchuras superiores*/
@media screen and (min-width: 1550px) {
 
}

/*Relaciones de aspecto escritorio*/
@media screen and (min-width: 1100px) and (max-width: 1360px) {

}


/*De 1088 a 1020*/
@media screen and (min-aspect-ratio: 5/4) and (max-aspect-ratio: 4/3) and (min-width: 1100px) {
    
}

/*De 1020 a 906*/
@media screen and (min-aspect-ratio: 4/3) and (max-aspect-ratio: 3/2) and (min-width: 1100px) {
    
}

/*De 906 a 800*/
@media screen and (min-aspect-ratio: 3/2) and (max-aspect-ratio: 17/10) and (min-width: 1100px) {
    
}

/*De 800 a 680*/
@media screen and (min-aspect-ratio: 17/10) and (max-aspect-ratio: 18/9) and (min-width: 1100px) {
    
}

/*Relaciones de aspecto tablet*/
@media screen and (min-width: 750px) and (max-width: 1099px) {

    footer > nav > div:first-of-type{
        width: 12%;
    }
}



/*Relaciones de aspecto movil*/
/*relacion general*/
@media screen and (max-width: 750px) {
    header > #escritorio,
    footer > nav > #logo-escritorio-footer{
        display: none;
    }

    header{
        justify-content: space-between;
    }

    header > #logo-movil{
        display: flex;
        margin-top: 20px;
        margin-left:25px;
        z-index: 1100;
    }
    
    header > #movil{
        display: flex;
        position: fixed;
        flex-direction: column;
        top: 0;
        right: 100%;
        opacity: 0;
        background-color: rgba(239,237,233,.95);
        transition: all 0.2s ease;
        width: 100vw;
        height: 100vh;
        z-index: 1050;
    }
    
    header > #movil > ul{
        width: 100%;
        list-style: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 75px;
    }

    header > #movil > ul > li{
        width: 100%;
        box-sizing: border-box;
        padding-left: 25px;
        display: flex;
        justify-content: flex-start;
        margin: 7px 0 ;
        line-height: 1.7rem;
    }

    header > #movil > ul > li > a{
        text-decoration: none;
        color: var(--negro);
        font-weight: 600;
        font-size: 1.05em;
    }

    header > #icono-movil{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        width: 2em;
        height: 1.35em;
        border: 0;
        background: transparent;
        text-decoration: none;
        z-index: 1100;
        margin-right: 5%;
        margin-top: 25px;
    }
    header > #icono-movil > span{
        background: var(--negro);
        height: 4px;
        width: 95%;
        border-radius: 10px;
        transition: all 0.2s ease;
        transform-origin: left;
    }

    header > #icono-movil > .abierto:first-of-type{
        transform: rotate(42deg) translateY(-1px);
    }

    header > #icono-movil > .abierto:nth-of-type(2){
        opacity: 0;
    }

    header > #icono-movil > .abierto:last-of-type{
        transform: rotate(-42deg) translateY(2px);
    }
    footer > nav{
        flex-direction: column;
        align-items: center;
        padding-bottom: 7vh;
    }
    footer > nav > #logo-movil{
        display: flex;
        width: 60%;
        margin-bottom: 5vh;
        justify-content: center;
        align-items: center;
    }
    footer > nav > #logo-movil > img{
        aspect-ratio: 15/3;
    }
    footer > nav > div{
        width: 80%;
        margin-bottom: 4vh;
        padding-bottom: 2vh;
        border-bottom: 1px solid var(--blanco);
        align-items: center;
    }
    footer > nav > div:first-of-type{
        width: 80%;
    }
    footer > nav > div > a{
        text-align: center;
    }
    footer > nav > span{
        position: initial;
        font-size: .75em;
        text-align: center;
        width: 80%;
    }
}



/*De 500 a 450*/
@media screen and (max-aspect-ratio: 2/3) and (min-aspect-ratio: 3/5) and (max-width: 750px) {
    
}
/*De 450 a 375*/
@media screen and (max-aspect-ratio: 3/5) and (min-aspect-ratio: 9/18) and (max-width: 750px) {
    
}
/*De 375 a 321*/
@media screen and (max-aspect-ratio: 9/18) and (min-aspect-ratio: 9/21) and (max-width: 750px) {
    
}

/* estilos modo oscuro
@media (prefers-color-scheme: dark) {

    body {
        background: var(--negro);
    }

    header{
        background: var(--fondo-dark-mode);
    }
    
    header > #escritorio > ul > li > p,{
        color: var(--blanco);
    }
    
}*/