body {
    background-color: #111218;
    color: #d0d0d0;
}

a:visited {
    color: #666;
}

a {
    color: silver;
}

q {
    font-style: italic;
}

main, header, aside, footer {
    max-width: 94rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0.5rem;
    line-height: 1.5;
}

main.narrow {
    max-width: 60rem;
    padding: 1em;
}

header, footer, main > p {
    text-align: center;
}

header {
    text-align: center;
}

h1 {
    font-family: 'Fira Code', 'Courier New', Courier, monospace;
    font-size: 30pt;
    display: inline;
}

header a, header a:visited {
    color: #d0d0d0;
    text-decoration: none;
}

main {
    font-family: sans-serif;
}

article.sidebyside {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    row-gap: 1rem;
    column-gap: 1rem;
}

.cards {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    row-gap: 1rem;
    column-gap: 1rem;
}

.cards > .card {
    border: 1px solid #303040;
    border-radius: 1rem;
    padding: 1em;
    background-color: #ffffff0a;
}

.cards h3 {
    padding-top: 0;
    margin-top: 0;
}

section {
    padding: 1em;
}

footer {
    color: grey;
    font-size: small;
    font-family: 'Fira Code', 'Courier New', Courier, monospace;
    margin-top: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

footer p {
    display: inline;
    white-space: nowrap;
}

footer p:not(:last-child)::after {
    content: " • ";
}

@media(max-width: 420px) {
    footer p:not(:last-child)::after {
        visibility: hidden;
    }
    header .logo {
        position: absolute;
        vertical-align: bottom;
        width: 100pt;
        z-index: -1;
        opacity: 0.2;
    }
    header {
        margin-bottom: 1rem;
    }
}

@media(min-width: 421px) {
    header .logo {
        vertical-align: bottom;
        height: 50pt;
        margin-right: 1rem;
    }
}

.fenris {
    color: gold;
    text-shadow: 0 0 0.5em goldenrod;
    font-weight: bold;
    font-family: 'Fira Code', 'Courier New', Courier, monospace;
}
