.horizontal-timeline {
  width: 100vw;
  height: 500vh;

  view-timeline-name: --horizontalSectionTimeline;
  container-name: HorizontalSectionContainer;
  container-type: normal;

  animation-timeline: --horizontalSectionTimeline;

  animation-name: horizontalTriggerAnimation;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.5, 0.1, 0.5, 0.9);
  animation-duration: 1ms;
  animation-range-start: exit-crossing 0%;
  animation-range-end: entry-crossing 100%;
}

.horizontal-content {
  width: 600vw;
  height: 100vh;
  position: sticky;
  top: 0;
  background: rgb(131,58,180);
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  color: white;
  font-size: 20vw;
  flex-wrap: nowrap;
  background: linear-gradient(90deg, rgba(131,58,180,1) 0%, rgba(253,29,29,1) 50%, rgba(252,176,69,1) 100%);
  transform: translatex(0vw);

  & span {
    mix-blend-mode: overlay;
  }
}

@keyframes horizontalTriggerAnimation {
  0% {
      transform: translatex(0vw);
  }

  100% {
      transform: translatex(-500vw);
  }
}