/* --- Fonts --- */
@font-face {
  font-family: "Archivo Black";
  src: url("/assets/fonts/Archivo_Black/ArchivoBlack-Regular.woff2")
    format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/DM_Sans/DMSans-VariableFont_opsz,wght.woff2")
    format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/DM_Sans/DMSans-Italic-VariableFont_opsz,wght.woff2")
    format("woff2");
  font-weight: 100 1000;
  font-style: italic;
  font-display: swap;
}

/* --- Rules --- */
:root {
  --header-font: "Archivo Black", sans-serif;
  --body-font: "DM Sans", sans-serif;
  --background: white;
  --text: #3C3C3C;
  --secondary-text: #6F6F6F;
  --link: #0072CE;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #1C1C1C;
    --text: white;
    --secondary-text: silver;
    --link: skyblue;
  }
}

.secondary-text {
  color: var(--secondary-text);
}

body {
  font-family: var(--body-font);
  background: var(--background);
  color: var(--text);
  line-height: 1.5;
  max-width: 720px;
  margin: 0 auto;
  padding: 16px;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--header-font);
}

footer {
  text-align: center;
  margin: 2.5rem auto;
}

hr {
  border: 0;
  border-top: 1px dashed;
}

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

a:hover {
  text-decoration: underline;
}

ul.navigation-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 1rem;
}

section.introduction {
  display: flow-root;
  min-height: 150px;
}

a.expandable-img {
  display: block;
}

a.expandable-img:hover,
a.expandable-img:focus-visible {
  outline: 2px solid currentColor;
}

img.expandable-img {
  display: block;
  height: auto;
}

.float-right {
  float: right;
}

picture {
  display: block;
  width: 100%;
}

picture img {
  display: block;
  width: 100%;
  height: auto;
}

figure {
  margin: 0;
  width: 100%;
}

figure img {
  display: block;
  width: 100%;
  height: auto;
}

figcaption {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--secondary-text);
  text-align: center;
}

img.center {
  display: block;
  margin: 0 auto;
}

#dancer {
  user-select: none;
}

img.icon {
  display: inline-block;
}

span.highlight {
  background-color: skyblue;
}

pre {
    border-left: 4px solid dodgerblue;
    overflow: auto;
    padding: 1em 1.5em;
    display: block;
}