* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

body {
  color: hsl(300, 25%, 75%);
  background: #000;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif;
}

h1 {
  color: hsl(300, 100%, 90%);
}

main {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

header,
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-block: 3rem;
}

form,
div.container {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  gap: 8px;
}

div.form-pair {
  width: 100%;
  display: flex;
  gap: 8px;
}

div.form-pair > :first-child {
  flex: 1;
}

textarea,
input {
  box-sizing: border-box;
  font: inherit;
  width: 100%;
  padding: 8px;
}

textarea {
  min-width: 100%;
  max-width: 100%;
  min-height: 24rem;
}

button {
  font: inherit;
  padding: 8px 16px;
}

button,
textarea,
input {
  color: inherit;
  background: inherit;
  border: 1px solid hsl(300, 25%, 25%);
  border-radius: 8px;
  outline: 0 solid hsl(300deg, 25%, 15%);
  transition:
    border-color 0.1s ease,
    transform 0.1s ease,
    outline-width 0.05s ease;
}

button:hover,
textarea:hover,
input:hover {
  border-color: hsl(300, 25%, 35%);
}

button:active,
textarea:active,
input:active {
  border-color: hsl(300, 25%, 45%);
}

button:focus,
textarea:focus,
input:focus {
  outline-width: 2px;
}

pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  padding: 8px;
  font-size: 1rem;
  color: inherit;
  background: inherit;
  border: 1px solid hsl(300, 25%, 25%);
  border-radius: 8px;
}

code {
  color: inherit;
  background: inherit;
  border: 1px solid hsl(300, 25%, 25%);
  border-radius: 8px;
  border-radius: 4px;
  font-size: 1rem;
}

a {
  color: hsl(300deg, 100%, 80%);
}

ol li {
  margin-left: 1rem;
}

ol.gaps {
  display: flex;
  flex-direction: column;
}

ol.gaps > :not(:last-child)::after {
  content: "";
  display: block;
  margin-left: -1rem;
  margin-block: 1rem;
  width: 100%;
  height: 1px;
  background: hsl(300, 25%, 25%);
}
