* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  background: #fff;
  color: #111;
  font-family: "Noto Sans", Arial, sans-serif;
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1rem;
  padding: 5vw;
}

.centered-gif {
  display: block;
  max-width: 90vw;
  max-height: 90vh;
  width: min(224px, 90vw);
  height: auto;
}

.tagline {
  margin: 0.75rem 0 0;
  color: #444;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
}

.tagline a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.tagline a:hover,
.tagline a:focus-visible {
  color: #555;
  outline: none;
}

.link-list {
  width: min(100%, 20rem);
  display: grid;
  gap: 0.55rem;
  margin-top: 2rem;
}

.link-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border: 1px solid #d6d6d6;
  border-radius: 999px;
  color: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  background: transparent;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.link-list a img {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  object-fit: cover;
}

.link-list a:hover,
.link-list a:focus-visible {
  border-color: #e1e1e1;
  box-shadow: 0 0.5rem 1.25rem rgb(0 0 0 / 8%);
  outline: none;
  transform: rotate(3deg);
}

@media (max-width: 36rem) {
  .link-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background: #080808;
    color: #f4f4f4;
  }

  .centered-gif {
    filter: invert(1);
  }

  .tagline {
    color: #d0d0d0;
  }

  .tagline a:hover,
  .tagline a:focus-visible {
    color: #b8b8b8;
  }

  .link-list a {
    border-color: #2c2c2c;
    background: transparent;
  }

  .link-list a:hover,
  .link-list a:focus-visible {
    border-color: #363636;
    box-shadow: 0 0.5rem 1.25rem rgb(0 0 0 / 28%);
  }
}
