:root {
  --bg: white;
  --fg: black;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1d2226;
    --fg: white;
    --link: #0087ff;
  }
}

html {
  font-size: 100%;
}

body {
  background: var(--bg);
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fg);
  max-width: 72ch;
  margin: 1rem;
  padding: 1rem;
}

p {
  margin-bottom: 1rem;
}

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

h1, h2, h3, h4, h5 {
  margin: 1rem 0;
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: 2.488rem;
}

h2 {
  font-size: 2.074rem;
  color: #ff0018;
}

h3 {
  font-size: 1.728rem;
}

h4 {
  font-size: 1.44rem;
}

h5 {
  font-size: 1.2rem;
}

small {
  font-size: 0.833rem;
}

button {
  font: inherit;
  font-weight: bold;
  background-color: #009333;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
}

section {
  margin-bottom: 2rem;
}

figure {
  margin: 1rem 0;
}

.col {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

@media screen and (max-width: 600px) {
  .col {
    flex-direction: column;
    justify-content: center;
    gap: 0;
  }
}
