body {
    overflow-x: hidden;
}

:root {
    --font2: 'Jost', sans-serif;

}

.nav-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.247);
    backdrop-filter: blur(10px);
    width: 40%;
    position: fixed;
    bottom: 0px;
    left: 0px;
    height: 100vh;
    transform: translateX(-100%);
    transition: transform 0.5s ease-in;
    z-index: 2;
}

.nav-links li {
    list-style: none;
    margin: 10px;
    opacity: 0;

}

.nav-links a {
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 3px;
    font-size: 30px;
    font-family: var(--font2);
    color: white;
    transition: all 0.4s ease-in;
}

.nav-links a:hover {
    font-size: 50px;
}

.nav-links p{
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 3px;
    font-size: 30px;
    font-family: var(--font2);
    color: white;
    transition: all 0.4s ease-in;
}

.nav-links p:hover {
    font-size: 50px;
}

.burger {
    /* z-index: 10; */
    top: 3vh;
    left: 3vw;
    position: fixed;
    display: block;
    padding: 10px;
    z-index: 1;
    cursor: pointer;
    width: fit-content;
    height: fit-content;
    border: 0.5px solid rgb(88, 170, 12);
    border-radius: 50%;
    transition: all 1s ease;

}

.burger img {
    position: absolute;
    top: 16%;
    left: 16%;
    background-position: center;
    background-repeat: no-repeat;
    object-position: center;
    height: 35px;
    width: 35px;
    transition: all 1s ease-in-out;
    z-index: 5;
}

.burger {
    position: fixed;
    display: block;
    padding: 10px;
    z-index: 10;
    cursor: pointer;
    border-radius: 50%;
    width: fit-content;
    height: fit-content;

}

.burger div {
    position: relative;
    top: 0;
    left: -5%;
    width: 25px;
    height: 3px;
    margin: 5px;
    background-color: white;
    transition: all 1s ease;
}


.line1 {
    opacity: 0;
}

.line3 {
    opacity: 0;
}

.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);
    opacity: 100%;

}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
    opacity: 100%;

}

.toggle img {
    opacity: 0;

}

@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;
        bottom: 0px;
        left: 0px;
        transform: translateX(-100%);
    
    }

    .nav-active {
        transform: translateX(0%);
    }

    .line1 {
        transform: rotate(0deg) translate(0px, 0px);
  
    }

    .line3 {

        transform: rotate(0deg) translate(0px, 0px);
    }
}