#navbar{
    width: 100%;
    height: 90px;
    position: absolute;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    z-index: 100;
    font-size: 18px;
}

#navbar-menu{
    display: flex;
    width: 350px;
    align-items: center;
    justify-content: space-around;
}
.navbar-item{
    display: inline-block;
    list-style: none;
    list-style-position: inside;
    font-weight: bold;
}

.navbar-icon{
    vertical-align: middle;
    height: 25px;
}

#navbar-logo{
    height: 60px;
    margin-left: 20px;
}

#hamburger{
    width: 40px;
    height: 30px;
    position: relative;
    cursor: pointer;
    display: none;
    /* overflow: hidden; */
}

.hamburger-line{
    width: 100%;
    height: 5px;
    border-radius: 5px;
    position: absolute;
    background-color: white;
    /* transform-origin: left; */
    transition: all .3s ease-out;
}

#l1{
    top: 0;
}

#l2{
    top: 12.5px;
    left: 0;
}

#l3{
    top: 25px;
}

.open-hamburger #l1{
    transform: rotate(135deg);
    top: 12.5px;
}

.open-hamburger #l2{
    left: -50px;
    opacity: 0;
}

.open-hamburger #l3{
    transform: rotate(-135deg);
    top: 12.5px;
}

#responsive-navbar{
    display: none;
    width: 100px;
    background-color: black;
    height: 100vh;
    position: absolute;
    right: 0;
    /* top: 80px; */
    z-index: 50;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .3s ease-out;


}

#responsive-navbar-menu{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 100px;
    height: 220px;
    padding: 0;
}

.responsive-navbar-item{
    /* display: block; */
    list-style: none;
    list-style-position: inside;
    color: white;
    font-weight: bold;
    width: 100%;
    text-align: center;
}

#responsive-nav-check{
    display: none;
}
#responsive-nav-check:checked + #responsive-navbar{
    /* display: block; */
    transform: scaleX(1);
}

#overlay{
    display: none;
    background-color: RGBA(42,70,111,0.07);
    position: absolute;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 45;
}

#responsive-nav-check:checked ~ #overlay{
    display: block;
}


.hide-overflow{
    overflow: hidden;
}

@media screen and (max-width:500px) {
    .navbar-item{
        display: none;
    }

    #hamburger{
        display: block;
        margin-right: 30px;
    }

    #navbar-menu{
        width: auto;
    }

    #responsive-navbar{
        display: block;
    }
}

@media screen and (min-width:500px) {
    #overlay{
        display: none !important;
    }
}

@media screen and (max-width:300px) {
    #navbar-logo{
        height: 50px;
    }
}

