html, body {
  margin: 0;
  overflow: hidden;
}

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #ffffff;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  padding: clamp(8px, 4vw, 24px);
}

.heroshrink {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.heroshrink__title {
  margin: 0;
  color: #2f6df6;
  font: 800 clamp(22px, 8vw, 34px)/1.1 -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  text-align: center;
}
@supports (animation-timeline: scroll()) {
  .heroshrink__title {
    animation: shrink linear both;
    animation-timeline: scroll(root);
  }
}
@supports not (animation-timeline: scroll()) {
  .heroshrink__title {
    transform: none;
    opacity: 1;
  }
}

@keyframes shrink {
  from {
    transform: scale(1);
    opacity: 1;
  }
  to {
    transform: scale(0.55);
    opacity: 0.25;
  }
}
.stage.is-demo .heroshrink__title {
  animation: shrink-loop 2s ease-in-out infinite;
}

@keyframes shrink-loop {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.55);
    opacity: 0.25;
  }
}
@media (prefers-reduced-motion: reduce) {
  .heroshrink__title, .stage.is-demo .heroshrink__title {
    animation: none !important;
    transform: none;
    opacity: 1;
  }
}
