::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #F5F5F5;
    border-radius: 10px;
}

::-webkit-scrollbar {
    width: 10px;
    background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-image: -webkit-gradient(linear,
    left bottom,
    left top,
    color-stop(0.44, rgb(122, 153, 217)),
    color-stop(0.72, rgb(73, 125, 189)),
    color-stop(0.86, rgb(28, 58, 148)));
}

body {
    background-color: #333333;
    color: white;
    font-family: sans-serif;
    overflow: hidden;
}

* {
    margin: 0;
    padding: 0;
}

canvas {
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
}

#options {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #77777777;
    padding: .7rem;
}

#options > * {
    margin: .2rem 0 0 0;
}

#show_buttons {
    background: transparent;
    color: inherit;
    border: 1px solid #999;
    padding: .5rem;
}

#button_bar {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 3;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 1rem;
}

#button_bar > button {
    background: none;
    outline: none;
    border: none;
    margin: .2rem;
    padding: .2rem;
}
#button_bar > button:focus {
    outline: 1px solid aquamarine;
}


#help {
    pointer-events: none;
    text-align: justify;
    padding: 0 .5rem;
    position: absolute;
    z-index: 5;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: calc(100vw - 2rem);
    max-height: calc(100vh - 2rem);
    overflow: auto;
    height: max-content;
}

#help > h3 {
    margin-top: 1rem;
}

#help_commands {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

#copyright {
    opacity: .75;
    margin-top: 1.5rem;
    width: 100%;
    text-align: center;
}