:root {
  color-scheme: dark;
  --background: #000;
  --foreground: #ededeb;
  --muted: #858583;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background: var(--background);
}

body {
  min-height: 100vh;
  min-height: 100svh;
  color: var(--foreground);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 24px 24px 78px;
  display: grid;
  place-items: center;
}

.intro {
  width: min(100%, 480px);
  text-align: center;
}

.black-hole {
  width: min(100%, 440px, 60svh);
  margin: 0 auto 28px;
}

.black-hole img {
  display: block;
  width: 100%;
  height: auto;
}

h1 {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.5;
}

.intro-line {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.links {
  position: absolute;
  right: 24px;
  bottom: 26px;
  left: 24px;
  display: flex;
  justify-content: center;
  gap: 24px;
}

.links a {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--muted);
  transition:
    color 140ms ease,
    transform 140ms ease;
}

.links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.links a:hover {
  color: var(--foreground);
  transform: translateY(-2px);
}

.links a:focus-visible {
  color: var(--foreground);
  outline: 1px solid var(--foreground);
  outline-offset: 5px;
}

@media (max-height: 560px) and (orientation: landscape) {
  .black-hole {
    width: min(44vw, 300px);
    margin-bottom: 18px;
  }

  main {
    padding-bottom: 58px;
  }

  .links {
    bottom: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .links a {
    transition: none;
  }
}
