nav{
    position: fixed;
    display: flex;
    justify-content: space-between;
    padding: 0 3rem;
    align-items: center;
    text-transform: uppercase;
    height: 9vh;
    width: 100vw;
    letter-spacing: .1rem;
    z-index: 1000;
    transition: all .3s ease;
    border-bottom: 2px solid white;
}

.scrolled {
    height: 7.5vh;
    /* background: rgba(0, 17, 44, .85) */
    background: rgba(0, 0, 0, 0.6);
    border-bottom: none;
}

.nav-logo{
    color: white;
    font-size: 1.6rem;
    text-decoration: none;
    height: auto;
}

.nav-logo{
    vertical-align: middle;
}

.nav-logo img{
    height: 2rem;
    transition: all .3s ease;
    vertical-align: middle;
}

.scrolled .nav-logo img{
    height: 1.7rem;
}

.nav-links{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 80%;    
}

@media screen and (max-aspect-ratio: 1/1){
    nav{
        padding: 0 2rem 0 1rem;
    }
}

.nav-links li{
    list-style: none;
    margin: 0 1.3rem;
}

#simulation-btn {
    border: 2px solid white;
    border-radius: 3rem;
    padding: 0 .5rem;
}

.nav-links a{
    /* color: rgb(0, 42, 104); */
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-weight: 700;
    font-size: .9rem;
    transition: all .3s ease;
    font-family: 'Roboto', sans-serif !important;
    font-weight: 500 !important;
}

.nav-links a:hover{
    color: rgb(206, 206, 206);
}

.nav-link::after {
    content: '';
    display: block;
    background: rgb(255, 255, 255);
    width: 0;
    height: 2px;
    transform: translateY(4px);
    transition: .5s all ease;
}
.active-section::after {
    width: 100%;
}

.burger{
    display: none;
    cursor: pointer;
}
.burger div{
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: all .3s ease;
}



@media screen and (max-aspect-ratio: 10/7){

    .nav-links{
        position: absolute;
        right: 0px;
        height: 93vh;
        top: 7vh;
        background-color: rgba(0, 0, 0, .85);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding-top: 2rem;

        width: 50%;
        transform: translateX(100%);
        transition: transform .5s ease-in;
        z-index: 100;
    }
    .nav-links li{
        opacity: 0;
        width: 80%;
    }
    #simulation-btn a {
        padding: .5rem;
    }
    .nav-links li a{
        display: block;
        padding: 2rem 0 2rem 1rem;
        width: 100%;
        height: 100%;
        font-size: 1rem;
    }
    .burger{
        display: block;
    }
    
}
.nav-top-active{
    background: black;
}
.nav-active{
    transform: translateX(0%);
}

.toggle .line1{
    transform: rotate(-45deg) translate(-5px,6px);
}
.toggle .line2{
    opacity: 0;
}
.toggle .line3{
    transform: rotate(45deg) translate(-5px,-6px);
}

@keyframes navLinkFade{
    from{
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
