.parallax-section {
  position: relative;
  margin-top: -100px;
}

.sticky-scene {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.sticky-scene::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0) 60%);
}

.video-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  visibility: hidden;
  transform-origin: center center;
}

@media (min-width: 768px) {
  .video-bg {
    transform: scale(0.85);
  }
}

.video-bg video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#petal-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2;
  pointer-events: none;
  visibility: hidden;
}

#arrow-img {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  z-index: 4;
  pointer-events: none;
  visibility: hidden;
  animation: arrowBounce 1.4s ease-in-out infinite;
}

@keyframes arrowBounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

.header {
  position: fixed;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  text-align: center;
  color: #fff;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.header.active {
  opacity: 1;
}