#left-navbar {
    position: fixed;
    top : 0;
    left: 0;
    height: 100vh;
    width: fit-content;
    background-color: var(--left-panel-bg-color);
    color: white;
    z-index: 20;
    padding : 0.5rem;
}


#detailed-menu h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

#main-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

#main-menu>div {
    display: flex;
    flex-direction: column;
    gap : 0.5rem;
    text-align: center;
}

#detailed-menu-wrapper {
    display: block;
    position: fixed;
    width: 300px;    
    top: 2vh;
    z-index: 5;
    height: 95vh;
    transition: all 0.5s;
    transform: translateX(-120%);
}

#detailed-menu {
    background-color: var(--left-panel-bg-color);
    color : var(--left-panel-text-color);
    height: 100%;
    border-radius: 5px;
}


#detailed-menu-wrapper.open{ 
    z-index: 3;
    transition: all 0.5s;
    transform: translateX(100px);
}

.left-navbar-backdrop {
    display: none;
    position: fixed;
    background-color: var(--backdrop-bg-color);
    z-index: 2;
    height: 100vh;
    width: 100vw;
    top: 0;
    left: 0;
}

.menu-content {
    display: none;
    padding : 0.5rem;
    height: 100%;
}

.menu-content ul {
    display: flex;
    flex-direction: column;
}

.menu-content .title {
    color: var(--left-panel-title-color);
    font-weight: bold;
}

.menu-content a {
    display: block;
    padding : 0.5rem;
    color: var(--left-panel-link);

}
.menu-content a:hover {
    background-color: var(--left-panel-link-bg-color);
    text-decoration: none;
}

hr {
    border-color: rgba(255, 255, 255, 0.136);
    margin: 0;
    margin-top: 0.5rem;
}

.content-body {
    flex-grow: 1;
    overflow: scroll;
}
.menu-btn {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    width: 50px;
    height: 50px;
    cursor: pointer;

}

.menu-btn:hover {
    background-color: rgba(255, 255, 255, 0.197);
}

.menu-btn.clicked {
    background-color: rgba(255, 255, 255, 0.197);
    border: none;
    outline: none;
}

.menu-btn:focus {
    outline: none;
}

.show {
    display: block;
}
.nav-logo {
    width: 60px;
}

#detailed-menu .highlight {
    color: yellow;
}

@media screen and (max-width: 600px) {
    #left-navbar {
        position: fixed;
        top : 0;
        left: 0;
        height: 60px;
        padding : 0.5rem;
        width: 100%;
    }
    #main-menu {
        flex-direction: row;
        justify-content: space-between;
    }

    #main-menu>div {
        display: flex;
        flex-direction: row;
        text-align: center;
    }

    .nav-logo {
       width: 40px;
    }
    #detailed-menu-wrapper {
        top: 70px;   
        height: calc( 100vh - 100px);
    }

    #detailed-menu-wrapper.open{ 
        transform: translateX(0);
    }


}

.nav-dropdown-divider{
    height: 1px;
    border-bottom: #888888 1px solid;
    width: 100%;
}
