.wrapper {
  display: grid;
  grid-template-columns: 1fr 5fr 1fr;
  grid-template-rows: minmax(200, auto);
  column-gap: 1rem;
  row-gap: 1rem;
  padding: 3%;
  box-sizing: border-box;
}

.wrapper * :not(a) {
  margin: 0.5rem;
}

.left {
  grid-column: 1;
}

.title {
  grid-column: 2;
  grid-row: 1;
}

.main {
  grid-column: 2;
  grid-row: 2;
}

.right {
  grid-column: 3;
}

body {
  font-size: 14pt;
  /* font-family: 'Space Mono', monospace; */
  font-family: "Space Grotesk", sans-serif;
  font-weight: 400;
  color: #ffff;
  background-color: #212733;
  padding: 5%;
}

h1 {
  font-size: 45pt;
  font-size: 5vw;
  font-weight: 500;
}

h2 {
  font-size: 27pt;
  font-size: 3vw;
}

h3 {
  font-size: 18pt;
  font-size: 2vw;
  font-weight: 400;
}

a {
  color: #ffff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

a::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 0.1em;
  bottom: 0.05em;
  left: 0;
  background-color: #ffff;
  transform: scaleX(0);
  transform-origin: top left;
  transition: transform 150ms ease;
}

a:hover {
  color: #ffff;
}

a:hover::before {
  transform: scaleX(1);
}

a:visited {
  text-decoration: dotted;
}

h1::selection,
h2::selection,
h3::selection,
p::selection,
a::selection {
  background-color: #ffff;
  color: #212733;
}

@media screen and (max-width: 1080px) {
  .wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(200, auto);
    column-gap: 1rem;
    row-gap: 1rem;
    padding: 6%;
    box-sizing: border-box;
  }

  body {
    padding: 2%;
  }

  h1 {
    font-size: 45pt;
    font-size: 10vw;
    font-weight: 500;
  }

  h2 {
    font-size: 27pt;
    font-size: 6vw;
  }

  h3 {
    font-size: 18pt;
    font-size: 4vw;
    font-weight: 400;
  }
}

@media (prefers-color-scheme: light) {
  body {
    color: #212733;
    background-color: #ffff;
  }

  a {
    color: #212733;
  }

  a::before {
    background-color: #212733;
  }

  a:hover {
    color: #212733;
  }

  h1::selection,
  h2::selection,
  h3::selection,
  p::selection,
  a::selection {
    background-color: #212733;
    color: #ffff#212733;
  }
}
