body {
    background: #111;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    gap: 2vw;
    color: #fff;
    font-family: sans-serif;
    font-size: 1.5rem;
}

canvas {
    background: #000;
    border: 2px solid #444;
}


.wrapper {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.label {
    height: 2rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.split {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.left {
    text-align: left;
    margin-left: 0;
    margin-right: auto;
    float: left;
}

.right {
    text-align: right;
    margin-left: auto;
    margin-right: 0;
    float: right;
}

.middle {
    text-align: center;
    float: none;
}

.wrapper > canvas {
    align-self: center;
}

#overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    font-family: sans-serif;
}

#overlay.hidden {
    display: none;
}

#settings-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #111;
    padding: 2rem 3rem;
    border-radius: 8px;
    min-width: 280px;
    text-align: center;
}

#settings-panel label {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    text-align: left;
}

#settings-panel label.checkbox {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

#settings-panel select,
#settings-panel input {
    margin-top: 0.25rem;
}

#start-button {
    margin-top: 1rem;
    padding: 0.75rem;
    font-size: 1rem;
    cursor: pointer;
}

