@font-face {
    font-family: Pixel;
    src: url(res/pixel.woff) format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* fonts and colors */

body {
    background-color: #222;
    color: #ddd;
}

a {
    color: #aff;
}

html {
    font-family: 'Courier New', Courier, monospace;
}

h1,
a {
    font-family: Arial, Helvetica, sans-serif;
}

/* main styles */

header {
    position: sticky;
    width: 100vw;
}

header nav {
    padding: 1em;
    display: flex;
    gap: 2em;
}

body {
    margin: 0 1em 3em;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1em;
}

section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

section h1 {
    margin-top: 2em;
    text-decoration: underline;
}

p.preview {
    display: flex;
    flex-direction: column;
}

a.button {
    background-color: coral;
    padding: 1em;
    margin: 1em 0;
    text-decoration: none;
    font-weight: 700;
}