html {
    --c0: #000;
    --c1: #121;
    --c2: #343;
    --c3: #EFD;
    --c4: hsl(10, 30%, 73%);
    --c5: hsl(10, 50%, 63%);
    /* --c4: #AAC;
    --c5: #78C; */
    --c6: #FC8;
    --c7: #FF5;
    font-family: monospace;

    /* What should be black (background). */
    background: var(--c2);

    /* All text is light-colored. */
    color: var(--c3);

    image-rendering: pixelated;
}

/* What should be black (foreground). */
article > section {
    background-color: var(--c0);
}

body {
    /* For optimal readability. */
    max-width: 80ch;

    /* Centering horizontally. */
    margin: 0 auto;

    /* On narrow screens, add a bit of padding around the body so it doest touch edges of screen. */
    padding: 0 0.5rem;

    overflow-y: scroll;
}

/* Banner with repeating image. */
body > header[role=banner] {
    height: 64px;
    background: var(--c2);
    background-image: url("1935711__header.gif");
    background-size: contain;
    background-position: center;
    background-repeat: repeat;
}

a {
    color: var(--c7);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

code, pre {
    color: var(--c6);
    text-wrap: nowrap;
}
pre {
    overflow-x: auto;
    padding: 1rem;
    display: block;
}

h1, h2, h3, h4, h5 ,h6 {
    text-align: center;
    text-justify: inter-word;
}

hr {
    border-color: var(--c3);
    margin-block-start: 1rem;
    margin-block-end: 1rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
th, td {
    padding: 4px;
    word-wrap: break-word;
    border: 1px dotted var(--c3);
}
thead > tr > th {
    background-color: var(--c3);
    color: var(--c0);
    border: 1px dotted var(--c1);
}

input, button, select {
    font-family: inherit;
    background-color: var(--c3);
}
button:hover {
    background-color: var(--c4);
}
button:active {
    background-color: var(--c5);
}
input[readonly]
{
    background-color: var(--c0);
    color: var(--c3)
}
select {
    width: 100%;
}

/* Heading of every article. */
article > header > h2 {
    display: flex;
    flex-direction: row;
    gap: 0.5em;
    margin: 0.256em 0;
}
/* The Lines before and affter article heading. */
article > header > h2:before,
article > header > h2:after {
    content: "";
    flex: 1 1;
    border-bottom: 0.25em double;
    margin: auto;
}

article > section {
    padding: 1rem;
}

article {
    margin: 2.56rem 0;
}

/* Inset effect. */
article > section, button, input, select {
    border-style: solid;
    border-radius: 2px;
    border-color: var(--c1) var(--c3) var(--c3) var(--c1);
}
button:active {
    border-color: var(--c3) var(--c1) var(--c1) var(--c3);
}
