.sidebar {
    max-width: 256px;
    width: 100%;
}

.sidebar-inner {
    background-color: var(--nav-color);
    border-right: 2px solid var(--gray);
    height: 100%;
}

.sidebar-section {
    display: flex;
    flex-direction: column;

    flex: 0 0 auto;
    flex-basis: 100%;

    padding: 1rem;
}

.sidebar-element {
    display: flex;
    padding: 0.5rem;
    height: 3rem;

    justify-content: left;
    align-items: center;

    font-family: var(--main-font), sans-serif;
    color: var(--text);

    font-size: 1.25rem;
}

/* sidebar button */
.sidebar-button {
    border-radius: 0.5rem;

    cursor: pointer;
    user-select: none;
}

.sidebar-button.active, .sidebar-button:hover {
    background-color: var(--gray);
}

.sidebar-button:hover {
    transition: all 200ms ease-in-out;
}

.sidebar-button .icon img, .sidebar-element .icon img {
    width: 2rem;
    height: 2rem;
    margin: 0.5rem;
}

.sidebar-button .label, .sidebar-element .label {
    margin-left: 0.5rem;
    font-size: 1.25rem;

    display: flex;
    justify-content: start;
    align-items: center;
}

/* sidebar section */


/* save */
.last-submitted-indicator {
    font-size: 1rem;
    font-style: italic;
    color: rgba(32, 32, 32, 0.5);
    font-family: 'Outfit', sans-serif;
    line-height: normal;
    padding: 0 1rem;
}

/* sm screen */
@media only screen and (max-width: 992px) {
    .sidebar.compress {
        overflow: hidden;
        height: 0;
    }

    .sidebar {
        max-width: unset;
        width: 100%;
        flex: 1 1 auto;
        overflow: hidden;
        transition: all .2s ease-in-out;
        align-items: start;
        flex-direction: column;

        position: sticky;
        top: 4rem;
        z-index: 1000;
    }

    .sidebar-inner {
        border-right: unset;
        border-bottom: 2px solid var(--gray);
    }
}