/*-*- mode:css; coding:utf-8 -*-*/

html {
    font-family: monospace;
}

main {
    max-width: 480px;
}

a {
    text-decoration: none;
}

a:hover {
    font-weight: bold;
}

#gl {
    aspect-ratio: 1;
    height: 100%;
    width: 100%;
    display: block;
    border: 2px solid darkcyan;
    box-sizing: border-box;
}

#sliders {
    display: grid;
    gap: 0.5rem;
    width: 100%;
}

.control-row {
    align-items: center;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 8rem 1fr;
}

.control-row label,
.control-label {
    text-align: right;
}

input[type="range"] {
    width: 100%;
}

.spin-buttons {
    display: flex;
    gap: 0.5rem;
}

.spin-buttons button {
    appearance: none;
    box-sizing: border-box;
    width: 2.25rem;
    height: 2rem;
    padding: 0;
    border: 1px solid #888;
    border-radius: 4px;
    background-color: #f0f0f0;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.spin-buttons button:hover {
    background-color: #e5e5e5;
}

.spin-buttons button:focus-visible {
    outline: 2px solid darkcyan;
    outline-offset: 2px;
}

.spin-buttons button.active {
    font-weight: bold;
    border-width: 2px;
    border-color: darkcyan;
    background-color: #d9efee;
}
