
@font-face {
    font-family: 'fonta';
    src: url('../fonts/Caveat-VariableFont_wght.ttf');
}

@font-face {
    font-family: 'dolce';
    src: url('../fonts/DolceVita.ttf');
}



/*========== BASE ==========*/

*,::before,::after{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

ul{
    padding: 0;
    list-style: none;
}

a{
    text-decoration: none;
    color: white;
}

a>.fa-home{
    font-size: 2vw;
}

/*=========================*/

/*========HEADER================*/
.l-header{
    width: 100%;
    position: fixed;
    font-family: 'fonta';
    z-index: 2;
    font-size: 1.4vw;
    text-align: center;
}

.nav__menu{
    margin-right: 2%;
    line-height: 30px;
    overflow: hidden;
    transition: .5s ease!important;
    transform: translate(-100%,-100%);
    margin: 0;
    border-radius: 50%;
}

.show-menu{
    transform: translate(0%);
    border-radius: 0;
}

.nav__list{
    justify-content: center;
    text-transform: uppercase;
}

.nav__item{
    padding: 1%;
}

.nav__item>a:hover{
    color: #3187eb;
}

.nav__item ul li a,a>i{
    color: white;

}

#sub-menu{
    text-align: center;
    height: 0px;
    overflow: hidden;
    transition: .3s ease!important;
}


.nav__item ul li a:hover{
    color: #000; 
}


.bot{
    cursor: pointer;
    color: white;

}

.nav__item ul li:hover{
    background: white;
    transition: .3s linear!important;
}


.nav__link{
    transition: .3s;
}
.nav__link p{

}

.nav__toggle i{
    cursor: pointer;
    z-index: 20;
}

.nav__logo>img{
    width: 20%;
    object-fit: cover;
}

.active-link{
    color: #f0f0f0;
    border-bottom: 2px solid;
}

/*==========================================*/
.container{
    padding-top: 5%;
}

.central{
    display: grid;
    grid-template-columns: repeat(1,1fr);
    grid-row-gap:45px;
    width: 50%;
    margin: auto;
    font-family: 'lato';
}

.section:nth-child(1){
    text-align: justify;
}

.large{
    text-align: center;
    padding: 5%;
    font-size: 1.9vw;
}

.fijo{
    text-align: justify;
    font-size: 1.3vw;
}

.section{
    display: flex;
    flex-direction: column;
}

.fuente{
    font-size: .95vw;
}

.inferior{
    margin-top: 2%;
    font-size: .85vw;

}

/*=======================Queries=====================*/

@media screen and (max-width: 920px){
    .nav__toggle{
        padding: 3%;
        position: fixed;
        color: white;
        font-size: 1.4em;
        z-index: 2;
        background: rgba(20,20,20,.3);
    }
    .nav__list .fa-home{
        font-size: 1.6em;
        border: 0;
    }
    .l-header{
        width: 100%;
        font-size:.8em;

    }
    .nav__menu{
        padding-top: 4%;
        background: rgba(20,20,20,.7);
    }

    .nav__list{
        display: grid;
/*        text-align: center;*/
        width: 90%;
    }

    .nav__item{
        display: grid;
        padding: 0;
        line-height: 32px;
    }

    .active-link{
        border: 0;
    }
    .nav__item a:hover{
        background: white;
        color: black;
    }


    .central{
        display: grid;
        grid-template-columns: repeat(1,1fr);
        width: 70%;

    }

    .fijo{
        font-size: 1em;
    }

    .large{
        font-size: 1em;
    }
    
    .fijo p{
        font-size: .8em;
    }

    .fuente{
        font-size: .8em;
    }

    .inferior{
        font-size: .65em;

    }
}

@media screen and (min-width: 921px) {
    
.nav__toggle{
        display: none;
    }


    .l-header{
        width: 100%;
        font-size: 1.4vw;
    }

    .nav__menu{

        transform: translate(0%);
        border-radius: 0%;
        background: rgba(20,20,20,.5);
    }


    .nav__list{
        display: flex;
    }

    .scroll-header{
        background: rgba(20,20,20,.8);
    }

    .nav_item>.bot{
        display: none;
        color: red;
    }

    .nav_item .bot:hover{
        display: block;
    }

    .nav__item ul li:hover{
        background: white;
        transition: .3s linear!important;
    }


    .nav__link{
        transition: .3s;
    }
    
.central{
    display: grid;
    grid-template-columns: repeat(1,1fr);
    grid-row-gap:45px;
    width: 50%;
    margin: auto;
    font-family: 'lato';
}

/*
.large{
    font-size: 1.9vw;
}

.fijo{
    font-size: 1.3vw;
}

.fuente{
    font-size: .95vw;
}

.inferior{
    font-size: .85vw;

}
*/
}
