

nav {
    /*background-color: #4f44;*/
    /*background-color: #484f46;*/
    /*background-color: #5D4954;*/
    /*background-color: #cbcbcb;*/
    position: fixed;
    width: 100%;
    background-color: #519861;
    color: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 8vh;
    z-index: 9999;
}

.logo {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.4rem;
    letter-spacing: 5px;
}

.nav-links {
    display: flex;
    justify-content: space-around;
    width: 70%;
}
.nav-links li {
    list-style: none;
    padding-right: 4px;
}
.nav-links a {
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 3px;
    /*font-weight: bold;*/
    font-size: 1.4rem;
    transition: 0.3s;
}
.nav-links a:hover{
    color: #204228;
    /*opacity: 0.6*/
}

.burger {
    display: none;
    cursor: pointer;
}
.burger div{
    background-color: #ffffff;
    width: 25px;
    height: 3px;
    margin: 5px;
    border-radius: 1px;
    transition: all 0.5s ease;
}

@media screen and (max-width: 872px){
    body {
        overflow-x: hidden;
    }
    .nav-links {
        position: absolute;
        right: 0px;
        top: 8vh;
        height: 92vh;
        max-width: 64vw;
        /*background-color: #cbcbcb;*/
        background-color: #519861;
        display: flex;
        flex-direction: column;
        align-items: center;
        border-radius: 3px;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
    }
    .nav-links li {
        opacity: 0;
    }
    .burger {
        display: block;
    }
}
@media screen and (max-width: 1024px){
    .nav-links {
        max-width: 67vw;
    }
}
@media screen and (min-width: 1024px){
    .logo {
        font-size: 2rem;
    }
}


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

@keyframes navLinkFade{
    from{
        opacity: 0;
        transform: translateX(50px);
    }
    to{
        opacity: 1;
        transform: translateX(0px);
    }
}
.toggle .line1{
    transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2{
    opacity: 0;
}
.toggle .line3{
    transform: rotate(45deg) translate(-5px, -6px);
}
