html{
    scroll-behavior: smooth;
}
button.nav_burger{
    z-index: 1;
    position: fixed; top: 1em; right: 1em;
    display: flex; justify-content: center; align-items: center;
    width: 40px; aspect-ratio: 1/1;
    border: none;
    border-radius: .4em;
    cursor: pointer;
    transition: all .3s ease;
    box-shadow: 0 0 3px var(--primary);
}
button.nav_burger:hover{
    background-color: var(--primary);
}
button.nav_burger:hover path{
    stroke: var(--blanco);
}
button.nav_burger path{ 
    stroke: var(--primary);
}
.nav_cerrar{
    display: flex; justify-content: center; align-items: center;
    width: 25px;
    height: 25px;
    margin: .4em;
    font-family: 'Roboto';
    font-size: 1.8rem;
    font-weight: 100;
    color: var(--blanco);
    background-color: transparent;
    transform: rotate(45deg);
    cursor: pointer;
    border: none;
    transition: all .3s ease;
}
.nav_cerrar:hover{
    scale: 1.2;
    color: var(--gris);
}
.close{
    transform: translateX(100%);
}
.nav_active{
    border:1px solid turquoise; box-sizing: border-box;
}
/* =========== nav bg ===========*/
.nav_bg{
    z-index: 0;
    position: fixed; top: 0; right: 0;
    width: 20%;
    height: 100vh;
    background-color: var(--primary);
    transition: all .3s ease;
}
.botones_box{
    padding: 1em;
    font-size: 2rem;
    line-height: 1.8rem;
}
.nav_links{
    padding-bottom: .5em;
}
.nav_links a{
    font-family: 'Chango';
    color: var(--blanco);
    text-decoration: none;
}
.nav_links a:hover{
    color: var(--secundary);
}

.menu_redes a:hover{
    color: var(--secundary);
    cursor: pointer;
}
.menu_redes a{
    font-size: 1.5rem;
    text-transform: capitalize;
    color: var(--blanco);
    text-decoration: none;
    padding-bottom: .5em;
}

@media screen and (max-width: 600px) {
    button.nav_burger{ top: .8em; right: .8em;
    }
    .nav_bg{ width: 50%;}
    .nav_links{ font-size: 1.4rem; line-height: 1.4rem;} 


}