html {
    --bg-1: #000000cc;
    --bg-2: #000000cc;
    --bg-3: #00ff11cc;
    --sh-1: #00ff11a3;
    --fg-1: #ffffff;
    --fg-2: #ffffff;
    --fg-3: #999;
    --link: #00ff00;
    --link-hover: #53ff53;
    --link-active: #00a800;
}

body {
    --border-radius: 0px;
    --font: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, "DejaVu Sans Mono", monospace;
    --font-mono: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, "DejaVu Sans Mono", monospace;
    background-color: #000000;
    color: var(--fg-1);
    font-family: var(--font);
    height: calc(100vh - 2rem);
    margin: 1rem;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-variant-numeric: tabular-nums;
    font-weight: 400;
    line-height: 1.1
}

:is(h1, h2, h3, h4, h5, h6, p) {
    margin: 1rem .1rem
}

label {
    margin: .5rem .1rem
}

:is(h1, h2, h3, h4, h5, h6, p, label):first-child {
    margin-top: 0
}

:is(h1, h2, h3, h4, h5, h6, p, label):last-child {
    margin-bottom: 0
}

a {
    color: var(--link)
}

a:hover {
    color: var(--link-hover)
}

a:active {
    color: var(--link-active)
}

label {
    align-items: center;
    gap: .5rem;
    display: flex
}

label input {
    margin: 0
}

button,
input,
select {
    font-family: inherit;
    font-size: inherit
}

button {
    background: var(--link);
    color: var(--bg-1);
    border-radius: var(--border-radius);
    border: none;
    padding: .5rem 1rem
}

button:hover {
    background: var(--link-hover)
}

button:active {
    background: var(--link-active)
}

:is(button, button:hover, button:active):disabled {
    background: var(--link);
    filter: grayscale();
    opacity: .4
}

input,
textarea,
select {
    border: 1px solid var(--bg-2);
    border-radius: var(--border-radius);
    box-sizing: border-box;
    padding: .5rem
}

input,
textarea {
    background: var(--bg-1);
    color: inherit
}

select:not([multiple]) {
    background: var(--bg-2)
}

textarea {
    font-family: var(--font-mono);
    font-size: .9rem
}

form {
    flex-direction: column;
    align-items: baseline;
    gap: 1rem;
    display: flex
}

ul:has(li):has(form) {
    padding: 0;
    list-style: none
}

li form {
    flex-direction: row;
    gap: .5rem;
    margin: .5rem 0
}

main {
    background: var(--bg-1);
    z-index: 2;
    border-radius: var(--border-radius);
    gap: 1em;
    padding: 1em;
    border: 1px solid var(--bg-3);

    max-width: 800px;
    margin: auto;
}

nav {
    background: var(--bg-1);
    z-index: 2;
    border-radius: var(--border-radius);
    gap: 1em;
    margin: auto;
    padding: 1em;
    max-width: 800px;
    display: flex;
    position: relative;
    border: 1px solid var(--bg-3);
    border-bottom: none;
    font-size: 12px;
}

nav a {
    text-decoration: none
}

nav a:hover {
    text-decoration: underline
}

nav a[aria-current=true] {
    border-bottom: 2px solid
}

nav aside {
    margin-left: auto;
}

footer {
    background: var(--bg-1);
    z-index: 2;
    border-radius: var(--border-radius);
    gap: 1em;
    margin: auto;
    padding: 1em;
    max-width: 800px;
    display: flex;
    position: relative;
    border: 1px solid var(--bg-3);
    border-top: none;
    font-size: 12px;
}

footer a {
    text-decoration: none
}

footer a:hover {
    text-decoration: underline
}

footer a[aria-current=true] {
    border-bottom: 2px solid
}

footer aside {
    margin-left: auto;
}

ul:has(form) {
    padding: 0;
    list-style: none
}

progress {
    margin: .5rem 0
}

progress:first-child {
    margin-top: 0
}

progress:last-child {
    margin-bottom: 0
}

.error {
    color: red
}

code {
    background: var(--bg-2);
    font-family: var(--font-mono);
    border-radius: var(--border-radius);
    padding: .15rem .3rem;
    font-size: .9em
}

.project-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.project-list li {
    background: var(--bg-1);
    z-index: 3;
    border-radius: var(--border-radius);
    gap: 1em;
    margin: auto;
    padding: 1em;
    max-width: 800px;
    position: relative;
    border: 1px solid var(--bg-3);
    border-top: none;
}

.buttonwall {
    max-width: 800px;
    margin: auto;
    margin-top: 10px;
}

.subfooter {
    font-size: 8px;
    text-align: center;
    margin: 8px;
}