:root {
  --body-sans-font: Geist, sans-serif;
  --body-preformatted-font: Iosevka Curly Iaso, monospace;
  --body-title-font: Podkova, serif;

  --background: #fff;
  --text: #4b4b4b;
  --text-selection: #af1414;
  --preformatted-background: #f5f5f5;
  --link-foreground: #af1414;
  --link-background: #fff;
  --blockquote-border-left: 1px solid #4b4b4b;

  --progress-bar-outline: #2b3c46 solid 4px;
  --progress-bar-fill: #2b3c46;
}
@media (prefers-color-scheme: light) {
  :root {
    --background: #fff;
    --text: #4b4b4b;
    --text-selection: #af1414;
    --preformatted-background: #f5f5f5;
    --link-foreground: #af1414;
    --link-background: #fff;
    --blockquote-border-left: 1px solid #4b4b4b;
  }
}

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("./static/geist.woff2") format("woff2");
}

@font-face {
  font-family: "Podkova";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("./static/podkova.woff2") format("woff2");
}

@font-face {
  font-family: "Iosevka Curly";
  font-style: monospace;
  font-display: swap;
  src: url("./static/iosevka-curly.woff2") format("woff2");
}

main {
  font-family: var(--body-sans-font);
  max-width: 50rem;
  padding: 2rem;
  margin: auto;
}

.container {
  max-width: 700px;
  margin: 80px auto;
  padding: 40px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  text-align: center;
}

::selection {
  background: var(--text-selection);
}

body {
  background:
    radial-gradient(circle at 20% 30%, #acacac 0%, transparent 40%),
    radial-gradient(circle at 80% 60%, #9c9c9c 0%, transparent 45%),
    radial-gradient(circle at 40% 80%, #949494 0%, transparent 35%),
    #888;
  background-size: 120% 120%, 130% 130%, 110% 110%;
  animation: blobMove 25s ease-in-out infinite alternate;
  color: var(--text);
  font-family: system-ui, sans-serif;
}

@keyframes blobMove {
  0% {
    background-position: 0% 0%, 100% 100%, 50% 50%;
  }
  100% {
    background-position: 100% 100%, 0% 0%, 100% 0%;
  }
}

body,
html {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}

.centered-div {
  text-align: center;
}

#status {
  font-variant-numeric: tabular-nums;
}

.centered-div {
  text-align: center;
}

#status {
  font-variant-numeric: tabular-nums;
}

#progress {
  display: none;
  width: min(20rem, 90%);
  height: 0.75rem;
  border-radius: 0;
  overflow: hidden;
  margin: 1rem 0 2rem;
  outline-offset: 2px;
  outline: var(--progress-bar-outline);
}

.bar-inner {
  background-color: var(--progress-bar-fill);
  height: 100%;
  width: 0;
  transition: width 0.25s ease-in;
}

@media (prefers-reduced-motion: no-preference) {
  .bar-inner {
    transition: width 0.25s ease-in;
  }
}

pre {
  background-color: var(--preformatted-background);
  padding: 1em;
  border: 0;
  font-family: var(--body-preformatted-font);
}

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

h1,
h2,
h3,
h4,
h5 {
  margin-bottom: 0.1rem;
  font-family: var(--body-title-font);
}

blockquote {
  border-left: var(--blockquote-border-left);
  margin: 0.5em 10px;
  padding: 0.5em 10px;
}

footer {
  text-align: center;
}
