@font-face {
  font-family: Tuna;
  font-weight: 700;
  font-style: normal;
  src: url(assets/webfonts/33D629_0_0.woff2) format("woff2");
}
@font-face {
  font-family: Tuna;
  font-weight: 700;
  font-style: italic;
  src: url(assets/webfonts/33D629_1_0.woff2) format("woff2");
}
@font-face {
  font-family: Tuna;
  font-weight: 900;
  font-style: normal;
  src: url(assets/webfonts/33D629_2_0.woff2) format("woff2");
}
@font-face {
  font-family: Tuna;
  font-weight: 300;
  font-style: normal;
  src: url(assets/webfonts/33D629_3_0.woff2) format("woff2");
}
@font-face {
  font-family: Tuna;
  font-weight: 900;
  font-style: italic;
  src: url(assets/webfonts/33D629_4_0.woff2) format("woff2");
}
@font-face {
  font-family: Tuna;
  font-weight: 300;
  font-style: italic;
  src: url(assets/webfonts/33D629_5_0.woff2) format("woff2");
}
@font-face {
  font-family: Tuna;
  font-weight: 500;
  font-style: normal;
  src: url(assets/webfonts/33D629_6_0.woff2) format("woff2");
}
@font-face {
  font-family: Tuna;
  font-weight: 400;
  font-style: normal;
  src: url(assets/webfonts/33D629_7_0.woff2) format("woff2");
}
@font-face {
  font-family: Tuna;
  font-weight: 500;
  font-style: italic;
  src: url(assets/webfonts/33D629_8_0.woff2) format("woff2");
}
@font-face {
  font-family: Tuna;
  font-weight: 400;
  font-style: italic;
  src: url(assets/webfonts/33D629_9_0.woff2) format("woff2");
}

* {
  box-sizing: inherit;
}

body {
  position: relative;

  margin: 0;
  padding: 15vh 5vw;

  box-sizing: border-box;

  font-family: Tuna;
  font-weight: 500;
  font-size: 1.3125rem;
  line-height: 1.6;

  color: #000000cc;
}

.background1 {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: radial-gradient(circle at top right, cyan, transparent),
    radial-gradient(circle at bottom left, deeppink, transparent);
}

.background2 {
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at top left, #38a585, transparent),
    radial-gradient(circle at bottom right, #6171c1, transparent);
  opacity: 0.9;
}

h1 {
  margin: 0;
  font-size: 4rem;
}

h2 {
  margin: 0 0 0.5em;
  font-size: 2.5rem;
}

a {
  color: currentColor;
  text-decoration: none;
  background-image: linear-gradient(
    transparent,
    transparent 4px,
    #000000cc 4px,
    #000000cc
  );
  background-position: bottom;
  background-size: 100% 6px;
  background-repeat: repeat-x;
  transition: all 0.2s;
}

a:hover {
  mix-blend-mode: exclusion;
  color: white;
  background-size: 100% calc(1em + 6px);
}

.lead {
  margin-bottom: 5vh;
  line-height: 1.2;
}

.lead > h1 > span {
  display: block;
  font-size: .5em;
}

section {
  padding: 5vh 0;
  max-width: 68ch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  page-break-inside: avoid;
  page-break-after: always;
}

section p {
  margin: 0 0 2em;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 0;
}
.grid > *:nth-child(2n + 1) {
  margin-top: 2em;
  font-weight: 700;
}
.grid > div {
  page-break-inside: avoid;
}

@media (min-width: 800px) {
  .grid {
    display: grid;
    grid-template-columns: max-content 1fr;
    grid-gap: 8px 24px;
  }
  .grid > *:nth-child(2n + 1) {
    margin-top: 0;
    font-weight: unset;
  }
}

@media print {
  .background1 {
    opacity: 0.3;
  }
  .background2 {
    opacity: 0.2;
  }

  body {
    font-size: 1rem;
    background-image: none;
  }

  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 1.8rem;
  }
}
