@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: auto;
  font-weight: 100 900;
  src: url("/inter.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --bgcolor: #fffffa;
  --fontcolor: #05192d;
  --linkcolor: #0066cc;
  --visitedcolor: #0066cc;
  --codecolor: #f1f3f4;
}

[data-theme="dark"] {
  --bgcolor: #10162a;
  --fontcolor: #fffffa;
  --linkcolor: #2f81f7;
  --visitedcolor: #0066cc;
  --codecolor: #6e768166;
}

* {
  box-sizing: border-box;
}
html {
  height: 100%;
}
html,
body {
  overflow-x: hidden;
  scroll-behavior: smooth;
  margin: 0;
  transition: background-color 400ms eas-out;
}

body {
  min-height: 100%;
  font:
    16px/1.6 "Inter Variable",
    "Verdana",
    "Arial",
    monospace,
    sans-serif;
  color: var(--fontcolor);
  display: flex;
  flex-direction: column;
  background-color: var(--bgcolor);
  padding: 24px;
}
header,
footer {
  flex: 0;
}
main,
header,
footer,
aside {
  width: 100%;
  max-width: 680px;
  margin: 0px auto;
}
main {
  flex: 1 0 0;
}
@media (min-width: 768px) {
  body {
    font:
      18px/1.6 "Inter Variable",
      "Verdana",
      "Arial",
      monospace,
      sans-serif;
  }
}
nav a {
  margin-right: 4px;
}
a {
  text-decoration: none;
  color: var(--linkcolor);
  font-weight: bold;
}

h1,
h2,
h3 {
  line-height: 1.3;
}
:is(p, h1, h2, h3, h4, h5, h6, a) > code {
  color: var(--fontcolor);
  background: var(--codecolor);
  padding: 0 0.3em;
  border-radius: 3px;
  font-weight: 300;
  font-size: 0.9em;
}

pre {
  border-radius: 4px;
  border: 1px solid var(--codecolor);
  font-size: 0.85rem;
}
code {
  padding: 2px 4px;
  text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

pre {
  padding: 0 24px;
  overflow-x: auto;
}
article {
  padding: 24px 0;
}

figcaption {
  color: #888;
  font: 12px/1.5 monospace;
  text-align: center;
}
figure {
  margin: auto;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: auto;
}
