html, body {
    height: 100%;
    width: 100%;
    background: #000;
    margin: 0;
    padding: 0;
    font-family: monospace;
    font-size: 16px;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
}

.root {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    background-color: #000;
    color: #fff;
}

.hidden {
    display: none !important;
}

canvas {
    border: 8px solid white;
    box-sizing: border-box;
    width: 100%;
    height: auto;
}

#settings-container {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

#settings-container h2 {
    background: rgba(0, 0, 0, 1);
}

.settings-controls {
    font-size: x-large;
    display: flex;
    flex-direction: column;
    width: 250px;
    min-height: 320px;
    justify-content: space-between;
    background: rgba(0, 0, 0, 1);
}

button, select {
    padding: 8px;
}

input[type="checkbox"] {
    height: 24px;
    width: 24px;
}

h2 {
    font-size: 4em;
}

@media (min-aspect-ratio: 4/3) {
    canvas {
        height: 100%;
        width: auto;
    }
}

@media (max-aspect-ratio: 3/4) {
    canvas {
        height: 100vw;
        width: auto;
        transform: rotate3d(0, 0, 1, -90deg);
    }
}
