* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.nav {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: wrap;
    height: 100%;
    width: max-content;
}

.nav-links {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nav-links li {
    line-height: .5em;
}

.burger div {
    width: 30px;
    height: 4px;
    background-color: #FFE900;
    /* box-shadow: 2px 2px teal;*/
    margin: 5px;
}

.burger {
    display: none;
}

@media screen and (max-width: 786px) {
    .burger {
        display: block;
        height: auto;
        width: auto;
        margin-bottom: 2rem;
        cursor: pointer;
        z-index: 99;
    }
    .nav-links {
        position: absolute;
        background-color: rgb(190, 190, 190);
        left: -10px;
        padding: 20px;
        padding-top: 6rem;
        padding-bottom: 6vh;
        top: -30px;
        width: 100vw;
        justify-content: flex-start;
        border-radius: 25px;
        /*box-shadow: 20px 20px teal;*/
        transform: translateY(-200%);
        transition: transform 0.9s ease-in;
    }
    .nav-links li {
        opacity: 0;
    }
    .nav-active {
        transform: translateY(0%)
    }
}

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

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

.toggle .line2 {
    opacity: 0;
}

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