/* fira-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Fira Sans";
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/fira-sans-v16-latin-regular.woff2") format("woff2"),
    /* Chrome 36+, Opera 23+, Firefox 39+ */
      url("/fonts/fira-sans-v16-latin-regular.woff") format("woff"); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* fira-sans-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Fira Sans";
  font-style: normal;
  font-weight: 800;
  src: url("/fonts/fira-sans-v16-latin-800.woff2") format("woff2"),
    /* Chrome 36+, Opera 23+, Firefox 39+ */
      url("/fonts/fira-sans-v16-latin-800.woff") format("woff"); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

:root,
::backdrop {
  /* Set sans-serif & mono fonts */
  --sans-font: "Fira Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  --mono-font: Consolas, Menlo, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
  --standard-border-radius: 5px;

  --bg: #fff;
  --accent-bg: #f5f7ff;
  --text: #333;
  --text-light: #585858;
  --border: #898ea4;
  --accent: color(display-p3 0.5 0.2 1);
  --code: color(display-p3 0.84 0.1 0.37);
  --preformatted: #444;
  --marked: #ffdd33;
  --disabled: #efefef;
}

@media (prefers-color-scheme: dark) {
  :root,
  ::backdrop {
    --bg: #212121;
    --accent-bg: #2b2b2b;
    --text: #dcdcdc;
    --text-light: #ababab;
    --accent: color(display-p3 1 0.7 0);
    --code: color(display-p3 0.94 0.38 0.57);
    --preformatted: #ccc;
    --disabled: #111;
  }
}

.title-link {
  color: var(--text) !important;
  text-decoration: none;
}
.title-link:hover {
  color: var(--accent) !important;
}
.title-link:before {
  content: "";
  background-image: url("/images/rainbow.gif");
  display: inline-block;
  width: 1em;
  height: 1em;
  background-size: contain;
  vertical-align: text-top;
  margin-right: 0.1em;
}

.icon {
  vertical-align: sub;
  padding-right: 0.25rem;
  display: inline-block;
  width: 1em;
  height: 1.3em;
  margin-right: 0.2rem;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;
}

.icon-link {
  display: inline-block;
  margin: 0 0.5em;
  transition: filter 0.2s;
}

.icon-link svg {
  fill: var(--accent);
  width: 2em;
  height: 2em;
}
.icon-link:hover svg {
  filter: brightness(1.4);
}

body > footer {
  font-size: 0.8rem;
}

footer > menu {
  margin: 0 0 1rem 0;
  list-style: none;
  text-align: center;
  white-space: nowrap;
  padding: 0;
  font-size: 0;
}
footer > menu li {
  line-height: 1;
  font-size: 0.8rem;
  border-right: 1px solid var(--border);
  padding: 0 1em;
  display: inline-block;
}
footer > menu li:last-child {
  border-right: none;
}

