nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100%;
    padding-top: 90px;
    color: var(--layout-font-color);
    transition: all .7s;
    text-wrap: nowrap;
    overflow-x: hidden;


}

nav ul {
    margin: 0;
    list-style: none;
}

nav ul>li {
    padding-left: 10px;
}

nav ul>li:hover {
    /* padding-left: 20px; */
    /* background-color: var(--layout-background-color-light); */
}

nav a:hover {
    color: orangered;
    color: aquamarine;
    /* background-color: rgb(82, 82, 82); */
    /* background-color: rgb(26, 26, 26); */
}

nav details {
    transition: .3s;
}

nav details li:hover {
    /* background-color: rgb(82, 82, 82); */
}

nav a {
    color: inherit;
    text-decoration: none;
}

.nav-button {
    position: fixed;
    /* display: inline; */
    top: 95px;
    left: 10px;
    background-color: var(--layout-background-color);
    z-index: 3;
    font-size: large;
    width: 50px;
    height: 40px;
    border-radius: 5px;
    color: white;
    border: 1px solid var(--layout-background-color-light);

    transition: .5s;

    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-button:hover {
    background-color: var(--layout-background-color-light);
    /* border: 1px solid rgb(158, 158, 158); */
    box-shadow: 0px 0px 1px 1px aquamarine;
}

.nav-button::after {
    /* content: "..."; */
    line-height: 9px;
}

.move-up {
    top: 30px;
    left: 220px;
    /* width: 60px;
    height: 30px; */
    background-color: var(--layout-background-color-light);
    transition: .5s;
    rotate: 0deg;
    animation: nav-button-up-animation 1s;
}

.move-down {
    top: 95px;
    left: 10px;
    /* width: 60px;
    height: 30px; */
    rotate: 180deg;
    transition: .5s;
    animation: nav-button-down-animation 1s;
}

@keyframes nav-button-up-animation {
    0% {
        opacity: 100%;
    }

    10% {
        opacity: 0%;
    }
    70% {
        opacity: 0%;
    }

    100% {
        opacity: 100%;
    }
}

@keyframes nav-button-down-animation {
    0% {
        opacity: 100%;
    }

    10% {
        opacity: 0%;
    }

    70% {
        opacity: 0%;
    }

    100% {
        /* border: 1px solid rgb158, 158, 158); */
        opacity: 100%;
    }
}

.move-up::after {
    /* content: "⁝"; */
}