body {
    margin: 0;

    background-color: var(--page-bg-color, var(--prune-950));
    color: var(--page-color, var(--parme-200));
}

a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

h1,
h2,
h3 {
    font-family: var(--title-font-family);
    text-wrap: balance;
}

em {
    font-family: var(--quote-font-family);
}

button {
    padding: 12px;
    font-size: 0.85rem;
    letter-spacing: 0.04em;

    background-color: var(--lime-600);
    color: var(--baltic-950);
    font-weight: 700;
    border-radius: 4px;
    border: 1px solid var(--baltic-700);
    cursor: pointer;
}

button:hover {
    opacity: 80%;
}

li {
    padding-top: 6px;
    padding-bottom: 6px;
    max-width: 800px;
}

p {
    max-width: 800px;
}

summary {
    cursor: pointer;
}

textarea {
    resize: none;
}

form {
    display: flex;
    flex-direction: column;
    align-items: start;
}

form > p {
    display: flex;
    flex-direction: column;

    margin-top: 8px;
    margin-bottom: 8px;
}

input,
textarea {
    border-radius: 5px;
    padding: 8px;
    max-width: 300px;
    font-family: var(--body-font-family);
    color: var(--prune-950);

    background-color: var(--celadon-200);
    border: none;
}

.form-error-field > input,
.form-error-field > textarea {
    border: 2px var(--red) solid;
}

.form-error-list {
    display: flex;
    flex-direction: column;
}

.form-error-message {
    font-size: 0.8rem;
    color: var(--red);
}

.form-error-message::before {
    content: "• ";
}

label {
    font-family: var(--body-font-family);
    padding-bottom: 4px;
    font-size: 0.9rem;
}

input[type="checkbox"] {
    height: 16px;
    width: 16px;
    margin-left: 8px;
    margin-top: 4px;
}

p:has(input[type="checkbox"]) {
    display: flex;
    flex-direction: row;
}

.optional {
    display: block;
}
