@font-face {
    font-family: 'SofiaPro';
    src: url('fuentes/SofiaPro-Regular.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'SofiaPro';
    src: url('fuentes/SofiaPro-Light.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'SofiaPro';
    src: url('fuentes/SofiaPro-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
* {
    --blanco: #fff;
    --negro: #000;
    --celeste: #027FC2;
    --celeste-claro: #85BAC6;
    --amarillo: #F1CF25;
    --azul-oscuro: #080717;
    margin: 0;
    padding: 0;
    font-family: 'SofiaPro', sans-serif;
}

h1{
    margin-block: 0.67em;
}

::selection {
    background: var(--celeste-claro);
    color: var(--blanco);
}

:root{
    background: var(--blanco) !important;
}

html{
    background: var(--blanco);
    font-size: 16px;
}

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: 'SofiaPro', sans-serif;
    font-size: 1rem;
}

body > section {
    max-width: 1330px;
}


header{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 0 ;
    height: 70px;
}

.menu{
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.15);
    background: var(--blanco);
}

header > p,
header > .llamada{
    border: 1px solid var(--amarillo);
    transition: all 0.2s ease;
    padding: 15px 20px;
    box-sizing: border-box;
    border-radius: 5px;
    font-weight: 700;
    color: var(--negro);
    font-size: 1rem;
    cursor: pointer;
    background: var(--amarillo);
    text-align: center;
    text-decoration: none;
}

header > p:hover,
header > .llamada:hover{
    background: var(--blanco);
    color: var(--amarillo);
}

header > #movil,
header > #icono-movil,
footer > nav > #logo-movil{
    display: none;
}

header > .logo-menu{
    text-decoration: none;
    z-index: 1100;
}

header > .logo-menu > img{
    cursor: pointer;
    aspect-ratio: 146/49;
}

header > #escritorio{
    display:flex;
    align-items: center;
    justify-content: flex-start;
    width: 68%;
    max-width: 1300px;
}

header > #escritorio > ul{
    list-style: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    width: 100%;
}

header > #escritorio > ul > li{
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    line-height: 1.7rem;
    margin: 0px 25px;
}

header > #escritorio > ul > li > a,
header > #escritorio > ul > li > p{
    font-weight: 600;
    font-size: 1rem;
    color: var(--blanco);
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all .5s ease;
    border-bottom: 3px solid rgba(0, 0, 0, 0);
    padding-bottom: 0;
}

header > #escritorio > ul > li > p{
    cursor: pointer;
}

.menu > #escritorio > ul > li > a,
.menu > #escritorio > ul > li > p{
    color: var(--negro);
}

header > #escritorio > ul > li > a:hover,
header > #escritorio > ul > li > p:hover{
    color: var(--amarillo);
    border-bottom: 3px solid var(--amarillo);
}

.menu > #escritorio > ul > li > a:hover,
.menu > #escritorio > ul > li > p:hover{
    color: var(--celeste);
    border-bottom: 3px solid var(--celeste);
}


footer{
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: var(--azul-oscuro);
    padding-top: 20px;
}

footer > nav{
    width: 90%;
    max-width: 1300px;
    padding-top: 20px;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding-bottom: 110px;
}

footer > nav > #logo-escritorio-footer{
    width: 50px;
    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: 35%;
    min-width: 140px;
    margin-right: 4px;
}



footer > nav > div > p{
    font-weight: 500;
    font-size: 1rem;
    color: var(--blanco);
    text-align: left;
    margin-bottom: 5px;
    line-height: 1.7rem;
    cursor: pointer;
}

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(--amarillo);
}

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: .8rem;
    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) {
    header > #escritorio{
        width: 65%;
    }
    header > #escritorio > ul > li > a, 
    header > #escritorio > ul > li > p{
        font-size: .9em;
    }
}


/*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) {
    header{
        flex-direction: column;
        align-items: center;
        height: 100px;
        padding-bottom: 10px;
    }
    header > .llamada{
        display: none;
    }
    header > .logo-menu{
        margin-right: 0;
        margin-bottom: 0;
    }
    header > #escritorio{
        width: 95%;
    }
    header > #escritorio > ul{
        justify-content: center;
    }
    header > #escritorio > ul > li > a, 
    header > #escritorio > ul > li > p{
        font-size: .85rem;
    }
    header > a > img{
        width: 145px;
    }
}



/*Relaciones de aspecto movil*/
/*relacion general*/
@media screen and (max-width: 750px) {
    header > #escritorio,
    footer > nav > #logo-escritorio-footer,
    header > .llamada{
        display: none;
    }

    header{
        justify-content: space-between;
        padding: 10px 0;
    }

    header > a > img{
        width: 145px;
    }

    header > .logo-menu{
        display: flex;
        margin-left:25px;
        z-index: 1100;
        width: 25%;
    }
    
    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.25rem;
        margin: 5px 0;
    }

    header > #icono-movil{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        width: 2rem;
        height: 1.35rem;
        border: 0;
        background: transparent;
        z-index: 1100;
        margin-right: 5%;
    }
    header > #icono-movil > span{
        background: var(--blanco);
        height: 4px;
        width: 95%;
        border-radius: 10px;
        transition: all 0.2s ease;
        transform-origin: left;
    }

    .menu > #icono-movil > span{
        background: var(--negro);
    }

    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 > 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 > span{
        position: initial;
        font-size: .75rem;
        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);
    }
    
}*/