.docs-layout {
    display: flex;
    flex-direction: row;
    z-index: 2;
    position: relative;
}

button {

    border: none;
    background: none;
    color: black;
    background: #7ee787;
    padding: 0.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.docs-nav {
    width: 80%;
    padding-block: 1rem 3rem;
    font-size: 90%;
    padding-inline: 1rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: #1a1a1a;
    position: fixed;
    box-sizing: border-box;
    height: 100vh;
    height: 100svh;
    top: 0;
    left: 0;
    overflow: scroll;
    z-index: 20;
    left: -100vw;
    -ms-overflow-style: none;
    scrollbar-width: none;
    transition: 0.5s;
}

.docs-nav.open {
    left: 0;
}

@media (min-width:800px) {
    button {
        display: none;
    }

    .docs-layout {
        padding-left: 300px;
    }

    .docs-nav {
        min-width: calc(300px - 1rem);
        max-width: min-content;
        left: 0;
    }
}

.docs-nav::-webkit-scrollbar {
    display: none;
}

.docs-nav nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-left: 1rem;
}

.docs-nav a {
    display: block;
    text-decoration: none;
}

.docs-nav em {
    color: #666;
    font-size: 80%;
    border-bottom: 1px solid #333;
    padding-bottom: 0.5rem;
}

.hot-tip {
    background-color: #7ee787;
    color: #333;
    padding: 1rem;
    font-size: 90%;
    display: inline-block;
    border-radius: 0.5rem;
    margin: 0;
}

.hot-tip code {
    color: white;
}

.hot-tip-title {
    display: block;
    margin-bottom: 0.5rem;
}