html, body {
    min-height: 100vh;
    width: 100%;
}

body {
    margin: 0;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: 'PT Sans', sans-serif;
}

canvas {
    padding: 24px;
    border: 4px solid black;
    box-sizing: content-box;
}

.controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 14px;
    background: white;
    border: 1px solid black;
    border-radius: 3px;
}

.controls label {
    display: flex;
    align-items: center;
    gap: 6px;
}

.controls output {
    display: inline-block;
    min-width: 2ch;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.controls button,
.controls select {
    font: inherit;
    padding: 3px 10px;
    cursor: pointer;
}

.controls input[type="color"] {
    width: 32px;
    height: 24px;
    padding: 1px;
    border: 1px solid #999;
    background: transparent;
    cursor: pointer;
}

.size-note {
    font-size: 0.8rem;
    color: #666;
    margin-left: -4px;
}

.buttoncontainer-button.disable {
    cursor: not-allowed;
    opacity: 0.5;
}

.description-header {
    width: 100%;
    max-width: 640px;
    margin: 0;
    padding: 0 4px;
    font-family: 'Vollkorn', serif;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: left;
}

.description {
    max-width: 640px;
    margin: 0;
    padding: 0 4px;
    font-size: 0.875rem;
    line-height: 1.45;
    text-align: left;
    overflow-wrap: break-word;
}

.description a {
    color: inherit;
}
