
nav{
    position: absolute;
    top: 30px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    font-family: 'Spartan', sans-serif;
    font-weight: 400;
    font-size: .8rem;
    width: 100%;
}

.stick{
    position: fixed;
    top: -1px;
}

.logo{
    padding: 1.2rem 1.6rem;
    height: 70px;
    width: auto;
    cursor: pointer;
}

.inNav{
    position: absolute;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    border: solid 5px white;
    border-top: solid 5px white;
    border-radius: 0 0 25px 25px;
    overflow: hidden;
    background-color: #5a5989;
}

.openNav{
    animation: openNav 1s ease forwards;
}
@keyframes openNav{
    from{
        width: 103.2px;
    }
    to{
        width: 70%;
    }
}

.closeNav{
    animation: closeNav 1s ease forwards;
}
@keyframes closeNav{
    from{
        width: 70%;
    }
    to{
        width: 103.2px;
    }
}

.openBarL,
.openBarR{
    position: absolute;
    width: 45%;
    display: flex;
    justify-content: space-evenly;
    cursor: pointer;
}

.openBarL{
    left: 0;
}

.openBarR{
    right: 0;
}

.openBarL > a,
.openBarR > a{
    transition: .5s ease;
}

.openBarL > a:hover,
.openBarR > a:hover{
    transform: scale(1.2);
}

.opaOn{
    opacity: 0;
}

.aniNavOpen{
    animation: navLOpen .5s .8s ease forwards;
}

@keyframes navLOpen{
    0%{
        display: flex;
        opacity: 0;
    }
    100%{
        display: flex;
        opacity: 1;
        pointer-events: all;
    }
}

.aniNavClose{
    animation: navLClose 0s ease forwards;
}

@keyframes navLClose{
    from{
        opacity: 0;
    }
    to{
        opacity: 0;
        pointer-events: none;
    }
}

/*_____ Responsive 480px -> 959px _____*/

@media screen and (max-width: 959px){
    @keyframes openNav{
        from{
            width: 103.2px;
        }
        to{
            width: 95%;
        }
    }

    @keyframes closeNav{
        from{
            width: 95%;
        }
        to{
            width: 103.2px;
        }
    }

    .inNav{
        border-radius: 0;
    }

    nav{
        font-size: .7rem;
    }
}

/*_____ Responsive 0px -> 479px _____*/

@media screen and (max-width: 479px){
    .openBarL,
    .openBarR{
        flex-direction: column;
        align-items: center;
    }

    .openBarL > a,
    .openBarR > a{
        margin: 1vw 0;
    }
}
