/*
  This CSS is almost entirely based on the introduction from: https://jgthms.com/web-design-in-4-minutes/
  because I know nothing about CSS.
*/

/* Font */
body {
    font-family: "Courier New", Courier, monospace;
}

/* Centering */
body {
    margin: 0 auto;
    max-width: 50em;
}

/* Spacing */
body {
    line-height: 1.5;
    padding: 4em 1em;
}

h2 {
    margin-top: 1em;
    padding-top: 1em;
}

/* Coloring */
body {
    color: #555;
}

h1,
h2,
strong {
    color: #333;
}

a {
    color: #e81c4f;
}

body {
    color: #566b78;
}

/*
code,
pre {
    color: #a7adba;
    background-color: #272822;
    padding: 2px;
    vertical-align: text-bottom;
}

pre {
    padding: 1em;
}
*/

header h1 {
    color: white;
    font-size: 2.5em;
    font-weight: 300;
}

header {
    background-color: #263d36;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    line-height: 1.2;
    padding: 10vw 2em;
    text-align: center;
}

header img {
    display: inline-block;
    height: 120px;
    vertical-align: top;
    width: 120px;
}

header a {
    border: 1px solid #e81c4f;
    border-radius: 290486px;
    color: white;
    font-size: 0.6em;
    letter-spacing: 0.2em;
    padding: 1em 2em;
    text-transform: uppercase;
    text-decoration: none;
    transition: none 200ms ease-out;
    transition-property: color, background;
}

header a:hover {
    background: #e81c4f;
    color: white;
}

table, th, td {
    border: 1px solid black;
}

@media (prefers-color-scheme: dark) {
    body {
        background: #2d2d2d;
        color: white;
    }

    h1,
    h2,
    strong {
        color: white;
    }
}

.topnav-right {
    float: right;
}