:root {
  color-scheme: light;
  font-family: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
  background: #9eddf0;
  color: #2a1c11;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow: hidden;
  overflow-x: hidden;
}

.stage {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(#9eddf0 0 58%, #bfe4a2 58% 70%, #72bc58 70% 100%);
}

.sky {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.cloud {
  position: absolute;
  width: clamp(130px, 18vw, 260px);
  height: clamp(38px, 5vw, 72px);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  filter: drop-shadow(0 8px 0 rgba(255, 255, 255, 0.25));
  animation: drift 28s linear infinite;
}

.cloud::before,
.cloud::after {
  position: absolute;
  content: "";
  border-radius: 999px;
  background: inherit;
}

.cloud::before {
  width: 44%;
  height: 120%;
  left: 18%;
  bottom: 16%;
}

.cloud::after {
  width: 36%;
  height: 96%;
  right: 17%;
  bottom: 18%;
}

.cloud-a {
  top: 10vh;
  left: -18vw;
}

.cloud-b {
  top: 23vh;
  left: 36vw;
  width: clamp(100px, 13vw, 190px);
  opacity: 0.76;
  animation-duration: 34s;
  animation-delay: -18s;
}

.cloud-c {
  top: 7vh;
  left: 74vw;
  width: clamp(95px, 12vw, 170px);
  opacity: 0.68;
  animation-duration: 39s;
  animation-delay: -9s;
}

.show {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  justify-items: center;
  min-height: 0;
  padding: clamp(12px, 3vh, 28px) clamp(14px, 3vw, 42px) clamp(12px, 2vh, 24px);
}

h1 {
  margin: 0;
  font-size: clamp(2.45rem, 7vw, 6.2rem);
  line-height: 0.88;
  color: #5a2f18;
  text-shadow:
    0 4px 0 #f4cd57,
    0 10px 26px rgba(42, 28, 17, 0.2);
  transform: rotate(-2deg);
}

.track {
  --shadow-alpha: 0.22;
  --shadow-scale: 1;
  position: relative;
  width: min(92vw, 780px, calc((70svh - 130px) * 1.333));
  aspect-ratio: 1448 / 1086;
  display: grid;
  place-items: end center;
  margin-top: clamp(4px, 1vh, 14px);
  overflow: visible;
}

.message {
  position: absolute;
  top: calc(70svh + clamp(12px, 2vh, 24px));
  left: 50%;
  transform: translateX(-50%);
  width: min(88vw, 760px);
  max-width: min(88vw, 760px);
  margin: 0;
  font-size: clamp(1.08rem, 2.45vw, 1.8rem);
  line-height: 1.22;
  font-weight: 900;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 0 rgba(244, 225, 187, 0.9);
}

canvas {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: 48% 78%;
  will-change: transform;
  mix-blend-mode: multiply;
  filter: saturate(1.08) contrast(1.03);
}

.shadow {
  position: absolute;
  z-index: -1;
  bottom: 8.5%;
  left: 23%;
  width: 50%;
  height: 8%;
  border-radius: 50%;
  background: rgba(62, 53, 31, var(--shadow-alpha));
  transform: scaleX(var(--shadow-scale));
  filter: blur(12px);
  will-change: transform, background;
}

@keyframes drift {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(124vw);
  }
}

@media (max-width: 680px) {
  body {
    overflow-y: auto;
  }

  .stage {
    min-height: 100svh;
  }

}
