:root {
  --text: #111;
  --link: #03d;
  --bg: #fff;
}

body {
  font-family: monospace;
  font-size: 15px;
  background-color: var(--bg);
  color: var(--text);
  margin: 0 auto;
  padding: 0 2em;
  max-width: 750px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  display: flex;
  column-gap: 1em;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  width: 100%;
  padding: 2em 0 1em 0;
}

footer {
  display: flex;
  flex-direction: column;
  column-gap: 1em;
  row-gap: 1em;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-around;
  width: 100%;
  padding: 1em 0 2em 0;
  margin-top: auto;
  text-align: center;
  align-items: center;
}

@media (max-width: 800px) {
  header {
    flex-direction: column;
    row-gap: 15px;
    align-items: center;
  }
}

header h1 {
  font-family: lores-21-serif, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 40px;
  margin: 0;
  text-align: center;
}

nav {
  display: flex;
  flex-wrap: wrap;
  column-gap: 15px;
  row-gap: 15px;
  justify-content: center;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #fff;
    --link: #7cf;
    --bg: #111;
  }
}

a {
  text-decoration: inherit;
}

a:link,
a:visited {
  color: var(--link);
}

header a,
header a:link,
header a:visited {
  display: inline-block;
  transition: transform 0.2s ease;
  color: inherit;
}

header a:hover {
  transform: translateY(-1px);
}

p {
  text-align: start;
}

p+p {
  margin-top: 1em;
}

ul {
  padding-left: 2em;
}

.copyleft-circle {
  stroke: var(--text);
}

.copyleft-path {
  fill: var(--text);
}
