/* TODO: New style */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --background: #1a1a1a;
    --input-box: #2a2a2a;
    --button: #444;
}

html {
    color-scheme: dark;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    font-family: system-ui, -apple-system, sans-serif;
    padding: clamp(1rem, 3vw, 2rem);
    margin: 0 auto;
    background: var(--background);
    color: #fff;
    max-width: 60em;
}

h1 {
    margin-bottom: 1.5rem;
    font-size: clamp(1.5rem, 4vw, 2rem);
    text-align: center;
}

.box {
    background: var(--input-box);
    padding: clamp(0.75rem, 2vw, 1.25rem);
    border-radius: 8px;
    margin-bottom: 1rem;
}

menu {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.5rem, 2vw, 1rem);
    margin-bottom: 1rem;
    justify-content: space-between;
}

section {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

input, button {
    padding: 0.5rem;
    border: transparent;
    border-radius: 4px;
    font-size: 0.9rem;
    background: #333;
}

input {
    width: 8em;
}

input[type="color"] {
    width: 40px;
    height: 40px;
    border: none;
    cursor: pointer;
}

button {
    background: var(--button);
    cursor: pointer;
}

textarea {
    width: 100%;
    min-height: clamp(100px, 20vh, 200px);
    padding: 0.75rem;
    border: 2px solid var(--button);
    border-radius: 4px;
    resize: none;
    font-size: 0.9rem;
    background: var(--background);
}

small a {
    font-style: normal;
    text-decoration: none;
}