.sidebar {
    width: 100px !important;
    transition: width 0.3s;
    background-color: var(--sidebar-background);
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: fixed;
    z-index: 10000;
}

.sidebar.expanded {
    width: 238px !important;
}

.sidebar-arrow {
    width: 28px;
    height: 28px;
    position: fixed;
    top: 20px;
    left: 84px;
    z-index: 100000;
    padding: 6px;
    gap: 10px;
    border-radius: 15px;
    background: var(--color-primary-001);
    box-shadow: 0 4px 8px -2px #1018281A;
    cursor: pointer;
}

.sidebar-arrow.expanded {
    left: 222px;
}

.nav-items, .theme-items {
    flex-grow: 1;
}

.nav-items.expanded, .theme-items.expanded {
    margin-top: 0;
}

.nav-text {
    display: none;
    margin-left: 10px;
}

.sidebar.expanded .nav-text {
    display: inline;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    text-align: left;
    color: var(--color-primary-003);
}

.nav-text-active {
    color: #FFFFFF !important;
}

.theme-active {
    border-radius: 6px !important;
    background: var(--color-primary-001) !important;
}

#themeMenu .theme-margin {
    margin-left: 6px;
}


#themeMenu.expanded .theme-margin {
    margin-left: 3px;
}

.nav-margin {
    margin-top: 170px !important;
    margin-left: 5px !important;
    height: 160px;
}

.position-bottom {
    position: absolute;
    top: 54vh;
    bottom: 1vh;
    width: 80%;
}

.position-middle-nav {
    position: absolute;
    top: 33vh;
    margin-left: -5px !important;
}

.theme-row {
    cursor: pointer;
}

#themeMenu.expanded .theme-row {
    margin-left: -16px;
}

.content-margin {
    padding: 1rem max(48px, 5vw) 1rem max(148px, calc(5vw + 100px));
}

.content-margin.expanded {
    padding-left: max(286px, calc(5vw + 238px)) !important;
}
