* {
  box-sizing: border-box;
}

html,
body {
  background: #000;
  margin: 0;
  min-height: 100%;
}

body {
  color: #fff;
  font-family: Helvetica, Arial, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

.teaser-page {
  background: #000;
  min-height: 100vh;
  overflow-x: hidden;
  text-align: center;
}

.teaser-hero {
  align-items: center;
  display: flex;
  flex-direction: column;
  padding-inline: 5vw;
}

.teaser-hero--simple {
  justify-content: flex-start;
  min-height: 802px;
  padding-top: 100px;
}

.teaser-hero--scroll {
  min-height: 682px;
  padding-top: 80px;
}

.teaser-title {
  filter: brightness(0) invert(1);
  height: auto;
  width: min(90vw, 1080px);
}

.teaser-name {
  filter: brightness(0) invert(1);
  height: auto;
  margin-top: 18px;
  width: min(54vw, 520px);
}

.teaser-main {
  height: 300px;
  margin-top: 40px;
  object-fit: cover;
  object-position: center;
  width: min(47.25vw, 567px);
}

.teaser-hero--simple .teaser-main {
  margin-top: 60px;
}

.teaser-date {
  color: #f4f2f2;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.42;
  margin: 25px 0 0;
}

.teaser-scroll {
  align-items: center;
  color: #fff;
  display: flex;
  font-size: 20px;
  font-weight: 700;
  gap: 25px;
  justify-content: center;
  line-height: 1.4;
  margin: 10px auto 0;
  width: 167px;
}

.teaser-scroll-icon {
  border-bottom: 5px solid #fff;
  border-right: 5px solid #fff;
  display: block;
  height: 24px;
  transform: rotate(45deg);
  width: 24px;
}

.teaser-carousel {
  height: 500px;
  margin: 120px auto 0;
  overflow: hidden;
  position: relative;
  width: min(70vw, 840px);
}

.teaser-carousel-track {
  animation: teaser-slide 27.5s linear infinite;
  display: flex;
  height: 100%;
  width: max-content;
}

.teaser-slide {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  flex: 0 0 min(70vw, 840px);
  height: 500px;
}

.teaser-slide-1 {
  background-image: url("https://storage.googleapis.com/studio-design-asset-files/projects/XKOkMdNea4/s-3024x4032_v-frms_webp_48e4eabe-2843-405e-b02c-7fe274c0f143.webp");
}

.teaser-slide-2 {
  background-image: url("https://storage.googleapis.com/studio-design-asset-files/projects/XKOkMdNea4/s-3024x4032_v-frms_webp_1a820e68-028e-472d-8617-4c122d31eb52.webp");
}

.teaser-slide-3 {
  background-image: url("https://storage.googleapis.com/studio-design-asset-files/projects/XKOkMdNea4/s-4032x3024_v-frms_webp_eab709bd-dfd8-4e37-a31b-f99bb28e92fc_regular.webp");
}

.teaser-slide-4 {
  background-image: url("https://storage.googleapis.com/studio-design-asset-files/projects/XKOkMdNea4/s-4032x3024_v-frms_webp_d2a1a124-3c33-474a-9dee-2c6a1ddcc4d5_regular.webp");
}

.teaser-slide-5 {
  background-image: url("https://storage.googleapis.com/studio-design-asset-files/projects/XKOkMdNea4/s-3024x4032_v-frms_webp_158255f1-584b-42e0-a969-dd0af90c82c9.webp");
}

.teaser-footer {
  align-items: flex-end;
  display: flex;
  height: 140px;
  justify-content: flex-end;
  padding: 0 35px 28px 0;
}

.teaser-footer-logo {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.35em;
  line-height: 1;
}

@keyframes teaser-slide {
  0%,
  16% {
    transform: translateX(0);
  }
  20%,
  36% {
    transform: translateX(calc(min(70vw, 840px) * -1));
  }
  40%,
  56% {
    transform: translateX(calc(min(70vw, 840px) * -2));
  }
  60%,
  76% {
    transform: translateX(calc(min(70vw, 840px) * -3));
  }
  80%,
  96% {
    transform: translateX(calc(min(70vw, 840px) * -4));
  }
  100% {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .teaser-carousel-track {
    animation: none;
  }
}

@media (max-width: 749px) {
  .teaser-hero--simple {
    justify-content: center;
    min-height: 100vh;
    padding: 52px 20px;
  }

  .teaser-hero--scroll {
    min-height: 590px;
    padding: 52px 20px 0;
  }

  .teaser-name {
    margin-top: 12px;
    width: min(70vw, 360px);
  }

  .teaser-main {
    height: auto;
    margin-top: 40px;
    width: min(82vw, 567px);
  }

  .teaser-date {
    font-size: 20px;
    margin-top: 28px;
  }

  .teaser-scroll {
    font-size: 16px;
    gap: 18px;
    width: auto;
  }

  .teaser-scroll-icon {
    height: 18px;
    width: 18px;
  }

  .teaser-carousel {
    height: 420px;
    margin-top: 90px;
    width: 92vw;
  }

  .teaser-slide {
    flex-basis: 92vw;
    height: 420px;
  }

  .teaser-footer {
    height: 120px;
    padding: 0 20px 24px 0;
  }

  .teaser-footer-logo {
    font-size: 18px;
    letter-spacing: 0.28em;
  }

  @keyframes teaser-slide {
    0%,
    16% {
      transform: translateX(0);
    }
    20%,
    36% {
      transform: translateX(-92vw);
    }
    40%,
    56% {
      transform: translateX(-184vw);
    }
    60%,
    76% {
      transform: translateX(-276vw);
    }
    80%,
    96% {
      transform: translateX(-368vw);
    }
    100% {
      transform: translateX(0);
    }
  }
}
