@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/space-grotesk-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

* {
  box-sizing: border-box;
}
:root {
  color-scheme: dark;
  font-family: "Space Grotesk", system-ui, sans-serif;
  background: var(--pause-background);
  color: var(--pause-text);
  scrollbar-color: var(--pause-muted) var(--pause-background);
  scrollbar-width: thin;
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--pause-background);
}
::-webkit-scrollbar-thumb {
  background: var(--pause-muted);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--pause-pink);
}
::-webkit-scrollbar-thumb:active {
  background: var(--pause-text);
}
body {
  margin: 0;
  min-width: 280px;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
}
button,
a {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--pause-pink);
  outline-offset: 7px;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
[hidden] {
  display: none !important;
}
::selection {
  background: var(--pause-pink);
  color: var(--pause-background);
}
#fireworks {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.page {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
  padding: max(28px, env(safe-area-inset-top))
    max(38px, env(safe-area-inset-right)) max(22px, env(safe-area-inset-bottom))
    max(38px, env(safe-area-inset-left));
}
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
  letter-spacing: -0.03em;
}
.masthead > :first-child {
  color: var(--pause-text);
}
.pause-note {
  color: var(--pause-muted);
  font-size: 11px;
  letter-spacing: 0.02em;
}
main {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 200px 0 64px;
  padding: clamp(155px, 27vh, 290px) 0 64px;
  padding: clamp(155px, 27svh, 290px) 0 64px;
}
h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  font-weight: 500;
}
.intro {
  font-size: 24px;
  font-size: clamp(21px, 3vw, 34px);
  letter-spacing: -0.055em;
  line-height: 1.4;
}
.uwu {
  display: flex;
  font:
    italic 700 150px/1.1 Georgia,
    "Times New Roman",
    serif;
  font:
    italic 700 clamp(108px, 20vw, 238px)/1.1 Georgia,
    "Times New Roman",
    serif;
  letter-spacing: -0.105em;
  padding: 0 0.15em 0.025em 0;
  filter: drop-shadow(
    0 0 32px color-mix(in srgb, var(--pause-pink) 16%, transparent)
  );
}
.uwu > span {
  display: inline-block;
  padding: 0.1em 0.16em;
  margin: -0.1em -0.16em;
  color: var(--pause-pink);
  animation:
    silk 7s ease-in-out infinite alternate,
    float 5s ease-in-out infinite;
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .uwu > span {
    background: linear-gradient(
      115deg,
      var(--pause-text) 10%,
      var(--pause-pink) 30%,
      var(--pause-lilac) 53%,
      var(--pause-text) 70%,
      var(--pause-pink) 90%
    );
    background-size: 250% 100%;
    background-color: var(--pause-pink);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
.uwu > :nth-child(2) {
  animation-delay: -0.8s;
}
.uwu > :nth-child(3) {
  animation-delay: -1.6s;
}
.outro {
  margin-top: 2px;
  font:
    italic 400 32px/1.5 Georgia,
    "Times New Roman",
    serif;
  font:
    italic 400 clamp(25px, 4vw, 39px)/1.5 Georgia,
    "Times New Roman",
    serif;
  letter-spacing: -0.04em;
}
.heart {
  color: var(--pause-pink);
  margin-right: 0.12em;
}
.animation-controls {
  position: relative;
  margin-top: 33px;
}
.motion-note,
.script-note {
  color: var(--pause-muted);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}
.motion-note {
  position: absolute;
  top: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  max-width: calc(100vw - 46px);
  margin: 0;
}
.script-note {
  max-width: 260px;
}
.replay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  min-width: 180px;
  padding: 8px 16px;
  border: 1px solid var(--pause-muted);
  border-color: color-mix(in srgb, var(--pause-pink) 24%, transparent);
  border-radius: 999px;
  background: transparent;
  color: var(--pause-muted);
  font-size: 12px;
  transition:
    color 180ms,
    border-color 180ms,
    background 180ms,
    transform 180ms;
}
.replay svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.replay:hover {
  color: var(--pause-text);
  border-color: var(--pause-pink);
  background: color-mix(in srgb, var(--pause-pink) 8%, transparent);
}
.replay:active {
  transform: scale(0.96);
}
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px 28px;
  min-height: 44px;
  color: var(--pause-muted);
  font-size: 11px;
}
footer nav {
  display: flex;
  gap: 25px;
  margin-left: auto;
}
footer a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: color 180ms;
}
footer a:hover {
  color: var(--pause-text);
}
footer a:active {
  color: var(--pause-pink);
}
.motion {
  padding: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  transition: color 180ms;
}
.motion:hover {
  color: var(--pause-text);
}
.motion:active {
  color: var(--pause-pink);
}
.motion-icon {
  width: 9px;
  height: 10px;
  border-left: 2px solid;
  border-right: 2px solid;
}
.motion[aria-pressed="true"] .motion-icon {
  border: 0;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
}
body[data-motion="paused"] .uwu > span {
  animation-play-state: paused;
}
@keyframes silk {
  to {
    background-position: 100% 50%;
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-7px) rotate(1deg);
  }
}
@media (max-width: 600px) {
  .page {
    padding-left: 23px;
    padding-right: 23px;
    padding-top: max(23px, env(safe-area-inset-top));
  }
  main {
    padding-top: clamp(180px, 27vh, 230px);
    padding-top: clamp(180px, 27svh, 230px);
    padding-bottom: 55px;
  }
  .uwu {
    font-size: clamp(108px, 28vw, 168px);
  }
  .animation-controls {
    margin-top: 28px;
  }
  footer {
    font-size: 10px;
    column-gap: 14px;
    flex-wrap: wrap;
  }
  footer nav {
    gap: 17px;
  }
}
@media (max-height: 560px) and (min-width: 601px) {
  main {
    padding-top: 130px;
    padding-bottom: 28px;
  }
  .uwu {
    font-size: 110px;
  }
  .animation-controls {
    margin-top: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body:not([data-motion-consent="enabled"]) *,
  body:not([data-motion-consent="enabled"]) *::before,
  body:not([data-motion-consent="enabled"]) *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media (forced-colors: active) {
  :root {
    scrollbar-color: auto;
  }
  .uwu > span {
    background: none;
    -webkit-text-fill-color: CanvasText;
  }
  .replay {
    border: 1px solid ButtonText;
  }
}
