@font-face {
  font-family: "IBM Plex Mono";
  font-style: italic;
  src: url("/assets/woff/ibm-plex-mono-italic.woff2") format("woff2");
}

:root {
  --bg: #ffffff;
  --fg: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --fg: #ffffff;
  }

  ul:first-child img {
    filter: invert(1);
  }
}

body {
  background-color: var(--bg);
  color: var(--fg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: "IBM Plex Mono", monospace;
  font-style: italic;
  font-size: 24px;
  line-height: 1.25;
  margin: 0;
  -webkit-text-size-adjust: none;
  padding: 24px;
  box-sizing: border-box;
}

h1 {
  margin: 0;
  text-align: center;
  font-weight: normal;
}

section h1 {
  font-size: 24px;
  margin-bottom: 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

summary::before,
summary::after,
ul li span::before {
  content: "↪";
  visibility: hidden;
}

summary:hover::before,
ul li a:hover span::before {
  visibility: visible;
}

ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

li {
  margin: 8px 0;
}

ul li,
ul li a {
  display: flex;
  align-items: center;
}

ul li img {
  margin-right: 4px;
}

ol {
  margin: 0;
}

section {
  display: flex;
}

section section {
  display: initial;
}

hr {
  margin: 24px;
  border: none;
  background-color: var(--fg);
  width: 4px;
}

@media (orientation: portrait) {
  section {
    flex-direction: column;
  }

  hr {
    height: 4px;
    width: auto;
  }
}

summary {
  text-align: center;
  cursor: pointer;
  margin: 16px 0;
  list-style: none;
}
