:root {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  background: #0b0c0b;
}

body {
  margin: 0;
  color: #d3d7d3;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", monospace;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

main {
  width: min(100%, 700px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: clamp(4rem, 11vh, 7rem) 1.5rem 3rem;
}

h1 {
  margin: 0 0 2.75rem;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
}

.alias {
  white-space: nowrap;
}

h2 {
  margin: 0 0 0.8rem;
  font-size: inherit;
  font-weight: 400;
}

section + section {
  margin-top: 2.5rem;
}

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

li {
  position: relative;
  padding-left: 1.5rem;
}

li::before {
  position: absolute;
  left: 0;
  color: #91b99c;
  content: ">";
}

li + li {
  margin-top: 0.35rem;
}

a {
  color: #91b99c;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover,
a:focus-visible {
  color: #0b0c0b;
  background: #91b99c;
  outline: none;
  text-decoration: none;
}

.cursor {
  display: block;
  width: 0.65em;
  height: 1.1em;
  margin-top: 2.75rem;
  background: #d3d7d3;
  animation: blink 1.15s steps(1, end) infinite;
}

::selection {
  color: #0b0c0b;
  background: #91b99c;
}

@keyframes blink {
  0%,
  45% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

@media (max-width: 600px) {
  main {
    padding-top: 3.5rem;
  }

  body {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cursor {
    animation: none;
  }
}
