/*NAVBAR*/
#navbar{
    padding: 32px 20px;
    height: 124px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#navbar .logo{
    display: block;
    width: 60px;
    height: 60px;
}
.burger-btn{
    cursor: pointer;
    height: 40px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 11;
}
#burger{
    position: relative;
    display: block;
    width: 30px;
    height: 3px;
    background: var(--black);
    -webkit-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
    border-radius: 5px;
}
#burger::before{
    content: '';
    position: absolute;
    top:-10px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--black);
    -webkit-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
    border-radius: 5px;
}
#burger::after{
    content: '';
    position: absolute;
    bottom:-10px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--black);
    -webkit-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
    border-radius: 5px;
}
.burger-btn:hover #burger:not(.active)::before{
    top:-13px;
}
.burger-btn:hover #burger:not(.active)::after{
    bottom:-13px;
}
#burger.active{
    background: transparent;
}
#burger.active::before{
    top:0;
    transform: rotate(45deg);
}
#burger.active::after{
    bottom:0;
    transform: rotate(-45deg);
}
.nav-menu{
    position: fixed;
    top: -100vh;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(255,255,255, 0.9);
    z-index: 10;
    -webkit-transition: all .55s ease-out;
    -o-transition: all .55s ease-out;
    transition: all .55s ease-out;
    overflow: hidden;
}
.nav-menu.active{
    top: 0;
}
.nav-menu ul{
    list-style: none;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 20px;
    font-family: var(--sec-font);
}
.nav-menu ul a{
    color: var(--main-color);
    font-size: 6rem;
    text-align: center;
    display: block;
    text-decoration: none;
    font-weight: bold;
    -webkit-transition: all .55s ease-out;
    -o-transition: all .55s ease-out;
    transition: all .55s ease-out;
}
.nav-menu ul a.active{
    background-image: url('../images/skills-bg.jpg');
    background-clip:text;
    -webkit-background-clip:text;
    color:rgba(0,0,0,0.1);
    animation: bg 30s infinite linear;
}
@-moz-keyframes bg{
    from{
        background-position: top left;
    }
    to{
        background-position: bottom right;

    }
}
@keyframes bg{
    0%{
        background-position: top left;
    }
    50%{
        background-position: bottom right;
    }
    100%{
        background-position: top left;
    }
}
.nav-menu ul a:hover{
    letter-spacing: 12px;
}
@media screen and (max-width: 500px) {
    .nav-menu ul a{
        font-size: 3rem;
    }
}