@import url("https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible+Mono:wght@300..800&display=swap");

:root {
  --fg: white;
  --bg: black;
  --green: #33ff66;
  --cursor: #e12727;
  --logline: #ffffff;
  --footer: #ffffff;
  --mono-font: "Atkinson Hyperlegible Mono";
}

* {
  margin: 0;
}
body {
  font-family: var(--mono-font), serif, monospace;
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--fg);
  background: var(--bg);
}

.container {
  max-width: 1200px;
  padding: 20px;
  margin: 0 auto;
}

h1 {
  margin-bottom: 0;
  font-size: 3.5rem;
}
h2 {
  margin-bottom: 0;
  font-size: 1.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.cursor {
  color: var(--cursor);
}
.wave {
  height: 100px;
  background-image: url("/assets/images/waveform.png");
  background-repeat: repeat-x;
  background-position: left center;
  background-size: auto 100%;
  -webkit-mask-image: linear-gradient(to right, black 35%, transparent);
  mask-image: linear-gradient(to right, black 35%, transparent);
}

/* Column one sizes to the widest title in the whole grid, so every
   section lines up without a shared table or a hardcoded width. */
.listing {
  display: grid;
  grid-template-columns: max-content 1fr;
  row-gap: 0.2rem;
  column-gap: 2.5rem;
  margin-top: 2.5rem;
}

.listing > h2 {
  grid-column: 1 / -1;
  margin: 2rem 0 0 0;
}

/* Lets the dt/dd pairs become grid items of .listing directly. */
.listing dl {
  display: contents;
}
.listing dt {
  color: var(--green);
}
.listing dd {
  color: var(--logline);
  opacity: 0.85;
}
.pending dt {
  opacity: 0.6;
}

a {
  color: inherit;
  text-decoration: none;
}
a:visited {
  color: inherit;
}
a:hover {
  text-decoration: underline;
}

a:focus-visible {
  text-decoration: underline;
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

footer {
  margin-top: 6rem;
  font-size: 75%;
  color: var(--footer);
  opacity: 0.6;
}

@media (max-width: 700px) {
  .listing {
    grid-template-columns: 1fr;
  }
}
