body {
    display: flex;
    flex-direction: column;
    margin: 0 10px;
    background-color: #eee;
    font-size: large;
    font-family: sans-serif;

    &.dark {
        color: #eee;
        background-color: #000;
    }
}

p{
    font-family: Georgia, 'Times New Roman', Times, serif;
}

select {
    font-size: medium;
    padding: 2px;
}

nav,
.menu {
    display: flex;
    flex-direction: column;
    margin: 5 auto;
    row-gap: 2px;
}

nav>.backbutton {
    position: absolute;
    top: 5px;
    left: 15px;
}

nav>.menubar {
    display: flex;
    gap: 2px;
    flex-direction: row;
}

.menugroup {
    padding-inline: 5px;
    padding-inline-start: 0px;
    display: flex;
    gap: 2px;

    flex-direction: row;
    background-color: #555;
    border: #777;
    border-width: 2px;
    border-style: solid;
    padding: 1px;

    & label {
        padding: 10px 20px;
        font-family: Arial;
        font-style: normal;
        text-decoration: none;
        font-size: 18px;
        text-align: center;
        color: #eee;
    }
}

button,
a.buttonlike,
label.buttonlike {
    display: inline-block;
    padding: 10px 20px;
    font-family: Arial;
    font-style: normal;
    text-decoration: none;
    font-size: 18px;
    text-align: center;
    cursor: pointer;
    outline: none;
    color: #eee;
    background-color: #1A6;
    border: none;
    border-radius: 0px;
    box-shadow: 2px 2px 0px 1px #555;
    width:max-content;

    &:disabled {
        background-color: rgb(106, 158, 135);
        color: #ddd;
    }

    &:hover:not(:disabled) {
        transform: translate(1px, 1px);
        box-shadow: 1px 1px 0px 1px #555;
    }

    &>* {
        vertical-align: middle;
    }
}

.hidden-input {
    opacity: 0;
    width: 0.1px;
    height: 0.1px;
    position: absolute;
    z-index: -1;

    &:focus+label {
        outline: 2px solid #000;
        outline-offset: 2px;
    }
}

button.selected {
    color: #fff;
    text-shadow: 0 0 2px #fff;
    /* Horizontal, Vertical, Blur, Color */
    background-color: #2C6;
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0px 1px #555;
}

button.excluded {
    color: #ddd;
    text-shadow: 0 0 2px #333;
    /* Horizontal, Vertical, Blur, Color */
    background-color: #9c1b1b;
    transform: translate(-1px, -1px);
    box-shadow: 2px 2px 0px 2px #555;
}

.hidden {
    visibility: hidden !important;
}

.collapse {
    display: none !important;
}

input[type="range" i] {
    accent-color: #2C6;
}