*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 8vh;
    background-color: white;
    font-family: Arial, Helvetica,sans-serif;
}
.logo{
    color:white;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 20px;
}
.nav-links{
    display: flex;
    justify-content: space-around;
    width:50%;
}

.nav-links li{
    list-style: none;
}

.nav-links a{
    color: dodgerblue;
    text-decoration: none;
    letter-spacing: 5px;
    font-weight: bold;
    font-size: 23px;
}
.burger{
    display: none;
    cursor: pointer;
}
.burger div{
    width: 25px;
    height: 3px;
    background-color: dodgerblue;
    margin: 5px;
}
@media screen and (max-width:1024px){
    .nav-links{
        width:60%;
        color:white;
    }
}

@media screen and (max-width:768px){
    body{
        overflow-x: hidden;
        
    }
    .nav-links{
        position: absolute;
        right:0px;
        height:54vh;
        top: 11vh;
        background-color: white;
        font-size: 5px;
        display:flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width:50%;
        transform: translate(100%);
        transition: transform 0.5s ease-in;
    }
    .nav-links li{
        opacity: 1;
    }
    .burger{
        display: block;
    }
}

.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);
}

    
