#navbar{
    z-index: 800;
    position: fixed;
    left: 0;
    top: 0;
    height: 70px;
    background-color: var(--color3);
    box-shadow: var(--box-shadow1);

}

#navbar-container{
    height: 100%;

    justify-content: space-between;
}

/* LOGO */
#logo{
    max-width: 200px;
    width: 100%;
}

/* MENU */
#menu-block{
    max-width: 800px;
    width: 100%;
    height: 100%;
    overflow-x: auto;
}

#menu{
    width: 100%;
    height: 100%;
    gap: 20px;

    justify-content: space-between;
}

.list{
    width: fit-content;
    height: 100%;
}

.link{
    width: fit-content;
    height: 100%;
    text-align: center;
    padding: 0 10px;
    transition: background-color .2s ease;
    font-size: calc(var(--font-size) * 1);
    font-weight: 500;
    color: var(--color1);
}

#list-between{
    margin: 0 -10px;
    min-width: 2px;
    height: 50%;
    background-color: var(--color1);
}


@media (hover: hover) and (pointer: fine){
    .link:hover{
        background-color: var(--color4-hover);
    }
}




/* MENU ICON */
#hamburger-block{
    display: none;
    width: fit-content;
    height: 100%;
    cursor:pointer;
}
#hamburger{
    display:flex;
    flex-direction:column;
    width:70px;
    transform: scale(0.6);
}

#hamburger .hamburger-span{
    background: #fff;
    border-radius:10px;
    height:7px;
    margin: 7px 0;
    transition: .2s  cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

.hamburger-span:nth-of-type(1){
    width:50%;
}

.hamburger-span:nth-of-type(2){
    width:100%;
}

.hamburger-span:nth-of-type(3){
    width:75%;
}

input[type="checkbox"]{
    display:none;
}

input[type="checkbox"]:checked ~ .hamburger-span:nth-of-type(1){
    transform-origin:bottom;
    transform:rotatez(45deg) translate(8px,0px)
}

input[type="checkbox"]:checked ~ .hamburger-span:nth-of-type(2){
    transform-origin:top;
    transform:rotatez(-45deg)
}

input[type="checkbox"]:checked ~ .hamburger-span:nth-of-type(3){
    transform-origin:bottom;
    width:50%;
    transform: translate(30px,-11px) rotatez(45deg);
}

@media screen and (min-width: 1201px) {
    #menu-block{
        display: flex !important;
    }
}


/* SMALLER DESKTOP */
@media screen and (max-width: 1200px) {
    #hamburger-block{
        display: flex;
    }    

    #menu-block{
        z-index: 800;
        display: none;
        position: absolute;
        background-color: var(--color3);
        box-shadow: var(--box-shadow1);
        right: 0;
        top: 100%;
        max-width: 400px;
        height: calc(100vh - 70px);
        overflow-x: hidden;
        overflow-y: auto;
        scrollbar-width: none;
        justify-content: flex-start;
        align-items: flex-start;
    }
    #menu-block.slideInRight{
        animation-name: slideInRight;
        animation-duration: .2s;

        -webkit-animation-name: slideInRight;
        -webkit-animation-duration: .2s;
    }
    #menu-block.slideOutRight{
        animation-name: slideOutRight;
        animation-duration: .2s;
        -webkit-animation-name: slideOutRight;
        -webkit-animation-duration: .2s;
    }
    
    #menu{
        flex-direction: column;
        justify-content: flex-start;
        margin: auto 0;
        gap: 50px;
        padding: 50px 0;
        padding-bottom: 200px;
        height: fit-content;
    }
    .list{
        width: 100%;
        min-height: 50px;
        max-height: 50px;
    }
    /* .list:first-child{
        margin-top: auto;
    }
    .list:last-child{
        margin-bottom: auto;
    } */

    #list-between{
        /* margin: 0 -10px; */
        width: 80%;
        min-height: 2px;
        max-height: 2px;
        

    }

    .link{
        width: 100%;
        height: 50px;
        justify-content: flex-start;
        padding-left: 50px;
    }
    
}


/* MOBILE */
@media screen and (max-width: 480px) {
    #menu-block{
        max-width: none;
    }
    .link{
        font-size: calc(var(--font-size) * 1.1);
    }
}