@import url(fonts.css);

:root {
    --background-color: #111;
    --border-color: #444;
    --color: #eee;
    --alt-color: #888;

    --grid-columns: repeat(2, 1fr);

    --border: 2px solid var(--border-color);
    --border-radius: 4px;
}

@media screen and (max-width:901px) {
    :root {
        --grid-columns: 1;
    }
}

body {
    background-color: var(--background-color);
    color: var(--color);
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    margin: 80px;
}

div {
    margin-bottom: 16px;
}

a {
    color: cadetblue;
}

a:hover {
    color: aqua;
}

.alt {
    color: var(--alt-color);
    font-style: italic;
}

.header {
    font-size: 24px;
    font-weight: bold;
}

.header img {
    width: 24px;
    height: 24px;
    margin-bottom: -4px;
}

.about {
    white-space: pre-line;
    margin-top: -16px; /* stupid pre-line */
}

.contents {
    display: grid;
    grid-template-columns: var(--grid-columns);
    column-gap: 16px;
    margin-bottom: 0; /* whatever???????? */
}

.contents > div {
    padding: 20px;
    border: var(--border);
    border-radius: var(--border-radius);
}

.footer {
    font-size: 10px;
}

.footer img {
    width: 10px;
    height: 10px;
    margin-bottom: -2px;
}

.footer .left {
    float: left;
}

.footer .right {
    float: right;
}