.outline-nav {
    background-color: var(--bs-white);
    width: 251px;
    position: fixed;
    z-index: 10;
    top: 80px;
    left: 10px;
    overflow-x: hidden;
    overflow-y: visible;
    overflow-wrap: break-word;
    font-size: 1em;
    line-height: 1.5em;
    transition: width .35s;
    border-radius: 8px;
    border: 1px solid var(--bs-border-color);
    max-height: calc(100vh - 100px);
}

[data-bs-theme=dark] .outline-nav {
    background-color: var(--bs-body-bg);
    border: 1px solid var(--bs-light-border-subtle);
}

.outline-nav-collapsed {
    width: 55px;
}

.outline-nav-header {
    display: grid;
}

.outline-nav-header-collapsed {
    display: grid;
    grid-template-columns: 100%;
    align-items: center;
    justify-items: center;
}

.outline-menu-icon-container {
    padding: 20px 15px;
    justify-self: end;
    cursor: pointer;
    border-radius: 2em;
    align-items: start;
    color: var(--accent-color);
    font-size: 25px;
}

.outline-menu-container-collapsed {
    width: 100%;
    text-align: center;
}

    .outline-menu-container-collapsed svg {
        height: 100%;
    }

.outline-nav ul, .outline-nav li {
    text-decoration: none;
    list-style-type: none;
}

.outline-nav li span {
    cursor: pointer;
}

.outline-nav span {
    margin-bottom: 3%;
    transition: color .1s;
}

    .outline-nav span:hover {
        color: var(--accent-color2);
    }

[data-bs-theme=dark] .outline-nav span:hover {
    color: var(--bs-body-color);
}

.outline-nav li {
    color: var(--accent-color1);
}

    .outline-nav li:not(.list-head) div {
        border-bottom: none;
    }

[data-bs-theme=dark] .outline-nav li {
    color: var(--bs-secondary-color);
}

.outline-nav ul:first-child {
    margin-left: 0 !important;
    margin-block-start: 0 !important;
    padding-left: 0 !important;
}

#outline-list-root {
    transition: opacity .2s;
    margin-right: 2em;
}

.li-content {
    margin-bottom: 6%;
}

.li-title-1 {
    font-size: 1.1em;
}

.li-title-2 {
    font-size: 1em;
}

.li-title-3 {
    font-size: .9em;
}

.li-title-4 {
    font-size: .85em;
}

.li-title-5 {
    font-size: .8em;
}

.li-title-6 {
    font-size: .7em;
}

@media only screen and (max-width: 1280px) {
    .outline-nav {
        display: none;
    }
}
