body {
    overflow-x: hidden;
}

:root {
    --font2: 'Bebas Neue', cursives;

}

.nav-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    background-color: var(--grey);
    width: 40%;
    position: fixed;
    bottom: 0px;
    right: 0px;
    height: 100vh;
    transform: translateX(100%);
    transition: transform 0.5s ease-in;
    z-index: 999;
}

.nav-links li {
    list-style: none;
    margin: 10px;
    opacity: 0;
    z-index: -19;

}

.nav-links a {
    text-decoration: none;
    letter-spacing: 3px;
    font-size: 3vmax;
    font-family: var(--logofont);
    color: var(--orange);
    transition: all 0.4s ease-in;
}

.nav-links a:hover {
    font-size: 3.2vmax;
    color: rgb(168, 168, 168);
}

/* .burger {
    display: block;
    padding: 10px;
    z-index: 1;
    cursor: pointer;
    position: fixed;
    bottom: 36vh;
    left: -115px;
    width: 200px;
    height: 200px;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.350);
    border-radius: 50%;
    transition: all 1s ease;
} */

.burger {
    position: fixed;
    display: block;
    padding: 10px;
    z-index: 100;
    cursor: pointer;
    background-color: var(--grey);
    border-radius: 50%;
    width: fit-content;
    height: fit-content;
    top: 6vh;
    left: 80vw;
    justify-content: center;
    border-radius: 50%;
    transition: all 1s ease;
    z-index: 1001;
}

.burger:hover {
    background-color: black;
}

.burger div {
    position: relative;
    top: 0%;
    left: 0%;
    width: 25px;
    height: 3px;
    margin: 5px;
    background-color: var(--orange);
    transition: all 1s ease;
}

.line1 {
    transform: rotate(0deg) translate(0px, 0px);
}

.line3 {
    transform: rotate(0deg) translate(0px, 0px)
}


/* .line2{
    opacity: 0;
} */

/* Navigation transform class used by nav class which is the main class*/
.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);
}

@media (max-width:850px) and (min-width:600px) {
    .burger {
        background-color: rgba(0, 0, 0, 0.350);
    }

    .burger:hover{
        background-color: rgba(0, 0, 0, 0.350);
    }
    .burger:active {
        background-color: black;    
    }

    .nav-links {
        width: 100%;
        background-color: rgba(0, 0, 0, 0.900);
    }

}

@media (max-width:600px) {

    .nav-links {
        width: 100%;
        position: fixed;
        opacity: 0.9;
    }

    .nav-links a{
        font-size: 3vmax;
    }

    .nav-active {
        transform: translateX(0%);
    }


    .burger {
        top: 92vh;
        left: 80vw;
    }

}