@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}
*{
    font-family: 'Roboto', sans-serif;
}
.header{
    position: fixed;
    z-index: 5;
    width: 100vw;
    display: flex;
    padding: 10px;
    color: var(--text-color-normal);
    align-items: center;
    justify-content: space-around;
    height: 80px;
}
.nav-ul li{
    list-style: none;
    display: inline-block;
    padding: 10px;
    font-size: 20px;
    cursor: pointer;
}
.nav-ul li a{
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-color-normal);
}
.nav-ul li a:hover{
    color: #3742fa;
}
.burger{
    cursor: pointer;
    display: none;
    z-index: 3;
}
.burger div{
    width: 25px;
    height: 3px;
    background-color: var(--text-color-normal);
    margin: 5px;
    border-radius: 50px;
    transition: all 0.5s ease;
}
@media screen and (max-width: 1024px){
    .nav-ul{
        width: 60%;
    }
}
@media screen and (max-width: 768px){
    .burger{
        display: block;
    }
    .nav-ul{
        position: fixed;
        right: 0px;
        top: 0px;
        margin: 0;
        height: 100vh;
        z-index: 1;
        background: var(--responsive-nav-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        width: 70vw;
        transform: translateX(200%);
        border-radius: 10px 0px 0px 10px;
    }
    .nav-ul li{
        opacity: 0;
    }
    .nav-ul li a{
        color: aliceblue;
    }
    .theme-btn{
        color: aliceblue;
    }
}
.nav-active{
    overflow: hidden;
    transition: transform 0.5s ease-in;
    transform: translateX(0%);
}
.toggle .line1{
    background-color: aliceblue;
    transform: rotate(-45deg) translate(-5px,6px);
}
.toggle .line2{
    opacity: 0;
}
.toggle .line3{
    background-color: aliceblue;
    transform: rotate(45deg) translate(-5px,-6px); 
}
.header-scrolled{
    background: var(--header-color-scrolled);
}
.header-scrolled::after{
    display: block;
    height: 20px;
    width: 100vw;
    background: var(--header-color-shadow);
    position: absolute;
    bottom: -20px;
    left: 0px;
    content: '';
}
@keyframes navLinkFade {
    from{
        opacity: 0;
        transform: translateX(100px);
    }
    to{
        opacity: 1;
        transform: translateX(0px);
    }
}