*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Baloo Tamma 2', cursive;
}



nav{
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 8vh;
    background-color: #3c3d3c;
    color: #fff;
}

.logo{
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 22px;
}

.nav-links{
    display: flex;
    width: 60%;
    justify-content: space-around;
}

.nav-links a{
    color: #fff;
    letter-spacing: 3px;
    text-decoration: none;
}

.nav-links li {
    list-style: none;
}

.burger{
    display: none;
}

.burger div{
    width: 25px;
    height: 2px;
    background-color: #fff;
    margin: 4px;
    transition: all 0.3s ease;
}

@media screen and (max-width: 768px){

    body{
        overflow-x: hidden;
    }

    .nav-links{
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background-color: #3c3d3c;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 70%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in-out;
        opacity: 0.9;
    }

    .nav-links li{
        opacity:0;
    }

    .burger{
        display: block;
        position: absolute;
        right: 20px;
        cursor: pointer;
    }
}

.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(-4px,5px);
}

.toggle .line2{
    opacity: 0;
}

.toggle .line3{
    transform: rotate(45deg) translate(-4px,-5px);
}