:root {
    --text-color: #93a1a1;
    --button-color: #073642;
    --console-color: #002b36;
    --background-color: #031e26;

    --magenta: #d33682;
    --yellow: #b58900;
    --orange: #cb4b16;
    --red: #dc322f;
    --magenta: #d33682;
    --violet: #6c71c4;
    --blue: #268bd2;
    --cyan: #2aa198;
    --green: #859900;
}

*:focus,
*:active {
    outline: none;
}

html {
    font-size: 28px;
}

body {
    font-family: "Noto Sans Mono", monospace;
    line-height: 1;
    color: var(--text-color);
    background: var(--background-color);
    display: flex;
    justify-content: start;
    align-items: center;
    overflow: hidden;
    flex-direction: column;
}

section {
    margin: 0.5rem 0;
}

h1 {
    font-size: 1rem;
    font-weight: normal;
    margin: 1rem;
}

h2 {
    font-size: 0.75rem;
    font-weight: normal;
    margin: 0.25rem 0;
    color: var(--yellow);
}

form, main {
    margin: 0;
    padding: 0;
    color: var(--text-color);
    width: min(85svw, 800px);
    display: flex;
    align-items: center;
    font-size: 0.75rem;
}

main {
    flex-direction: column;
    margin: 0.5rem 0;
}

form {
    flex-direction: row;
}

@media (max-width: 600px) {
    form {
        flex-direction: column;
    }
}

input {
    font-size: 0.75rem;
    font-family: "Noto Sans Mono", monospace;
    padding: 0.5em;
    margin: 0.25rem;
    background: var(--console-color);
    color: var(--text-color);
    width: 100%;
    border: none;
}

input[type="submit"] {
    border: 2px solid var(--text-color);
    cursor: pointer;
    width: 80px;
    background: var(--button-color);
    color: var(--text-color);
}

footer {
    font-size: 0.5rem;
    margin: 1rem;
    color: var(--text-color);
    position: absolute;
    bottom: 0;
}

footer a {
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px dashed var(--text-color);
}

.message {
    font-size: 0.75rem;
    padding: 0.5rem;
    background: var(--console-color);
}

.shutdown-button {
    margin: 2rem;
}

.button {
    font-size: 1rem;
    color: var(--magenta);
    text-decoration: none;
    cursor: pointer;
}