/* About, privacy and 404 pages */

.info-body {
  background-color: var(--bg-0);
  color: var(--ink);
}

.info-main {
  max-width: 660px;
  margin: 0 auto;
  padding: 110px 24px 90px;
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-2);
}

.info-main h1 {
  font-size: 2rem;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 28px;
}

.info-main h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin: 40px 0 8px;
}

.info-main p {
  margin: 0 0 16px;
}

.info-main a {
  color: var(--ink);
  text-underline-offset: 3px;
}

.info-link-button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.info-date {
  color: var(--text-3);
  font-size: 14px;
}

/* 404 */

.nf-main {
  text-align: center;
  padding-top: 90px;
}

.nf-logo {
  display: block;
  width: 190px;
  height: auto;
  margin: 0 auto 18px;
  overflow: visible;
}

.nf-figure {
  fill: var(--ink);
  fill-opacity: 0;
  stroke: var(--ink);
  stroke-width: 3;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: nf-draw 3.6s ease-in-out forwards, nf-fill 1.2s ease 3.2s forwards;
}

.nf-thought {
  fill: var(--ink);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: nf-think 5s ease-in-out 4.2s infinite;
}

.nf-thought-2 { animation-delay: 4.7s; }
.nf-thought-3 { animation-delay: 5.2s; }

/* Hold everything until the page loader has lifted. */
.js-loading .nf-figure,
.js-loading .nf-thought {
  animation-play-state: paused;
}

@keyframes nf-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes nf-fill {
  to { fill-opacity: 1; stroke-opacity: 0; }
}

@keyframes nf-think {
  0%       { opacity: 0; transform: translateY(14px) scale(0.7); }
  25%, 60% { opacity: 0.85; transform: translateY(0) scale(1); }
  85%,100% { opacity: 0; transform: translateY(-14px) scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  .nf-figure {
    animation: none;
    fill-opacity: 1;
    stroke: none;
  }

  .nf-thought {
    animation: none;
    opacity: 0.85;
  }
}

.nf-code {
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--text-3);
  margin: 0 0 10px;
}

.nf-links a {
  margin: 0 12px;
}
