header .logo, .nav-links, .burger, img{
    background: #182e71;
}

div{
    box-sizing: border-box;
}

nav{
    background-color: #182e71;
    display: flex;
    justify-content:space-around;
    align-items: center;
}
.nav-links {
    display: flex;
    justify-content:space-between; /*space-around*/
    width: 75%;
    text-transform: uppercase;
    z-index: 2;
}

.nav-links a{
    color: #fff;
    background: #182e71;
    display: block;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom:2px solid transparent;
    transition:0.5s ease;
    transform: translateX(0%);
}

.nav-links a:hover{
    color:#38b8ff;
    letter-spacing: 5px;
}

.burger{
    display: none;
}

.burger div{
    width: 25px;
    height: 3px;
    margin: 5px;
    transition:all 0.5s ease;
    background: #fff;
}


@media only screen and (max-width: 1347px){/*760*/
    nav{
    justify-content: space-between;
    padding: 0 5vw;
    }

    .nav-links{
        position: fixed;
        right: 0;
        top:8vh;
        height: 200px;
        background: #182e71;
        display: flex;
        flex-direction: column;
        align-items: center; 
        justify-content: space-around;
        width: 50%;
        margin: 0;
        padding: 0;
        transform: translateX(100%);
        transition:All 0.5s ease-in;
        
    }

    .nav-links a{
        opacity: 0;
    }

    .burger{
        display: block;
    }
}

@media only screen and (max-width: 640px){
    nav{
        justify-content: space-between;
        padding: 0 5vw;
    }
}

.nav-active{
    transform: translateX(0);
}

@media only screen and (max-width: 460px){
    .nav-links{
        width: 100%;
        transition:All 0.5s ease;
    }
}


@keyframes navLinkFade{
    from{
        opacity: 0;
        transform: translateX(50px);
    }
    to{
        opacity: 1;
        transform: translateX(0);
    }
}

.toggle .line1{
    transform: rotate(-45deg) translate(-5px,6px );
}

.toggle .line2{
    opacity: 0;
}

.toggle .line3{
    transform: rotate(45deg) translate(-5px,-6px );
}