.sidebar{
    width: 86vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: fixed;
    left: -100%;
    top: 0;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(40px);
    padding-left: 20px;
}

.sidebar .contents{
    width: 100%;
    height: calc(100vh - var(--header-height));
    position: relative;
    padding-top: calc(var(--header-height) + 2rem);
}

a{
    text-decoration: none;
    font-size: 16px;
}

.sidebar .menu{
    display: flex;
    flex-direction: column;
    height: 40px;
    font-size: 16px;
    color: var(---textColor);
}

.sub_menu{
    display: flex;
    flex-direction: column;
    padding-left: 20px;
    margin-left: 6px;
    position: relative;
}

.sub_menu .border{
    position: absolute;
    background-color: var(---textColor);
    width: 1.5px;
    left: 0;
    height: 160px;
}
.menu.active{
    font-weight: bold;
    color: var(---colorOnSecondary);
}

.sidebar.shw{
    animation: slide_in_right .4s forwards;
}

@keyframes slide_out_right{
    100%{
        left: -100%;
    }
}

@keyframes slide_in_right{
    100%{
        left: 0;
    }
}

.sidebar .toggle{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: .5rem;
    position: absolute;
    bottom: 2.2rem;
    left: 0;
}
