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

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

.zoomout {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.zoomout__media {
  position: absolute;
  inset: 6%;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 247, 230, 0.5), rgba(47, 109, 246, 0.5));
  transform: scale(1.45);
}
@supports (animation-timeline: scroll()) {
  .zoomout__media {
    animation: zoom-out linear both;
    animation-timeline: scroll(root);
  }
}

.zoomout__label {
  position: relative;
  z-index: 1;
  padding: 10px 18px;
  border-radius: 999px;
  background: #17141a;
  border: 1px solid rgba(255, 247, 230, 0.5);
  color: #fff7e6;
  font: 700 clamp(12px, 3.8vw, 14px)/1 -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
}

@keyframes zoom-out {
  from {
    transform: scale(1.45);
  }
  to {
    transform: scale(1);
  }
}
.stage.is-demo .zoomout__media {
  animation: zoom-loop 2s ease-in-out infinite;
}

@keyframes zoom-loop {
  0%, 100% {
    transform: scale(1.45);
  }
  50% {
    transform: scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .zoomout__media, .stage.is-demo .zoomout__media {
    animation: none !important;
    transform: scale(1);
  }
}
