.handbook-page {
    width: 100vw;
    height: 100vh;
}

.handbook-menu {
    width: 250px;
    height: 100%;
    /* background-color: #fff; */
    background-color: rgba(255, 255, 255, 0.2);
    color: #000;
    /* border-right: 3px #39922c solid; */
    overflow: hidden scroll;
    /* scrollbar-color: #39922c rgba(255, 255, 255, 0.2);
    scrollbar-width: thin; */
}

@-moz-document url-prefix() {
    .handbook-menu {
        scrollbar-color: #44ab35 #556d4f;
        scrollbar-width: thin;
    }
}

/* scrollbar */
.handbook-menu::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #556D4F;
}

.handbook-menu::-webkit-scrollbar {
    width: 8px;
    background-color: transparent;
}

.handbook-menu::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #44ab35;
}

.handbook-menu::-webkit-scrollbar-thumb:hover {
    background-color: #327a27;
}

.handbook-menu::-webkit-scrollbar-thumb {
    border-radius: 10px;
}

.handbook-menu-section {
    width: 80%;
    margin: 2em auto;
    display: flex;
    flex-direction: column;
    gap: .125em;
}

.handbook-menu-section:first-child {
    margin-top: 0;
    padding-top: 4em;
}

.handbook-menu-section span {
    font-weight: 700;
    /* margin-bottom: 5%; */
    margin-left: 1em;
    font-size: 1.05em;
}

.handbook-menu-section a {
    padding: .5em 1em;
    border-radius: 10px;
    font-weight: 400;
    cursor: pointer;
    transition: all .25s ease-in-out;
    text-decoration: none;
    color: #000;
}

.handbook-menu-section a:hover {
    /* background-color: #ddd; */
    background-color: rgba(255, 255, 255, 0.3);
    /* background-color: #39922c; */
}

.handbook-menu-section a.active-section {
    /* background-color: #ddd; */
    background-color: rgba(255, 255, 255, 0.3);
    /* background-color: #39922c; */
}

.menu-dropdown {
    min-width: 15em;
    position: relative;
    margin: 2em;
    margin-bottom: 1.5em;
    display: none;
}

.menu-dropdown * {
    box-sizing: border-box;
}

.menu-select {
    /* background: #2a2f3b; */
    background-color: rgba(0, 0, 0, 0.2);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* border: 2px #2a2f3b solid; */
    border: 2px #39922c solid;
    border-radius: 0.5em;
    padding: 1em;
    cursor: pointer;
    transition: background-color .3s;
}

.menu-select-clicked {
    /* border: 2px #26489a solid; */
    /* box-shadow: 0 0 0.8em #26489a; */
    box-shadow: 0 0 0.8em #39922c;
}

.menu-select:hover {
    /* background: #323741; */
    background-color: rgba(0, 0, 0, 0.2);
}

.menu-caret {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #fff;
    transition: 0.3s;
}

.menu-caret-rotate {
    transform: rotate(180deg);
}

.menu-dropdown-content {
    list-style: none;
    padding: 0.2em 0.5em;
    margin: 16px 0;
    /* background: #323741; */
    background-color: #24531c;
    /* border: 1px #363a43 solid; */
    border: 1px #39922c solid;
    box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.2);
    border-radius: 0.5em;
    /* color: #9fa5b5; */
    color: #ddd;
    position: absolute;
    top: 3.25em;
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
    /* opacity: 0; */
    transition: 0.2s;
    z-index: 1;
    /* max-height: 50vh; */
    visibility: hidden;
    max-height: 0;
    overflow: hidden scroll;
}

.menu-dropdown-content li {
    padding: 0.7em 0.5em;
    margin: 0.3em 0;
    border-radius: 0.5em;
    cursor: pointer;
}

.menu-dropdown-active {
    background: #153111;
}

.menu-dropdown-content-open {
    max-height: 50vh;
    visibility: visible;
}

@media screen and (max-width: 480px) {
    .handbook-page {
        flex-direction: column;
    }
    
    .handbook-menu {
        display: none;
    }

    .menu-dropdown {
        display: block;
    }

    .handbook-content {
        width: 85%;
    }
}