@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/JetBrainsMono-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/JetBrainsMono-Bold.woff2") format("woff2");
}

:root {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #1e1e1e;
  color: #d4d4d4;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 15px;
  line-height: 1.7;
}

main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

h1 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #e8e8e8;
  margin: 0 0 1.5rem;
}

h2 {
  font-size: 1rem;
  font-weight: 700;
  color: #e8e8e8;
  margin: 2rem 0 0.5rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: #9cdcfe;
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: #c8e9ff;
}

footer {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  font-size: 0.85rem;
  color: #808080;
}

footer a {
  color: #808080;
}
