nav{
    position: fixed;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--color-card);
    border: 1px solid var(--color-border);
    padding: .5rem;
    display: flex;
    flex-direction: column;
    border-radius: .75rem;
    z-index: 9;
    height: calc(75vh - 4rem);
    width: 67px;
    transition: .25s;
}

.nav-item{
    position: relative;
    text-align: center;
    width: 100%;
}
.nav-item[data-active=true] .nav-button i{
    color: var(--color-highlight);
}

.nav-dropdown{
    top: 0;
    left: calc(100% + .5rem);
    background-color: var(--color-card);
    border-radius: .5rem;
    position: absolute;
    padding: .25rem;
    width: auto;
    min-width: 150px!important;
    display: none;
    border: 1px solid var(--color-border);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: unset;
    opacity: 1!important;
    white-space: nowrap;
}
.nav-dropdown-label{
    color: rgba(213, 213, 213, 0.33);
    font-size: .75rem;
    font-weight: 600;
    text-align: center;
    display: block;
    border-bottom: 1px solid var(--color-border);
    padding: .25rem;
}
.nav-dropdown-button{
    padding: .25rem .5rem;
    font-size: 1rem;
    color: #d5d5d5 !important;
    display: block;
    text-align: left;
}
.nav-dropdown-button:hover{
    background-color: var(--color-mark);
    border-radius: .25rem;
    cursor: pointer;
    color: white!important;
}

.nav-button{
    font-size: 1.25rem;
    color: white;
    background-color: unset;
    outline: none;
    border: none;
    padding: .35rem .75rem;
    border-radius: .5rem;
    width: 100%;
    cursor: pointer;
}
.nav-button:hover{
    background-color: var(--color-mark);
}

.nav-logo{
    width: 35px;
}
.nav-logo-button{
    padding: .75rem .75rem;
}

.nav-mobile-button{
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    backdrop-filter: blur(.15rem);
    z-index: 9;
}
.nav-mobile-button a{
    padding: .75rem 1rem;
}

@media (max-width: 768px) {
    nav{
        left: -5rem;
    }
    nav.active{
        left: .5rem;
        box-shadow: 0 0 0 100rem rgba(0, 0, 0, .7);
        z-index: 99;
    }
    .nav-mobile-button{
        display: block;
    }
}
