:root {
  --duration: 60s;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  overflow: hidden;
}

main {
  background-color: #ffffff;
  font-family: 'Inter', sans-serif;
  margin: 0 auto;/*
  max-width: var(--max-width);
  width: 100%;*/
  aspect-ratio: 9/16;
  display: grid;
  height: 100svh;
}

/* Ticker */
.ticker-wrapper {
  background-color: #101010;
  display: flex;
  height: 4rem;
  overflow: hidden;
  position: relative;
  top: 0;
  width: 100%;
  z-index: 5;
}

.ticker {
  animation-duration: var(--duration);
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  animation-name: ticker;
  display: flex;
  margin: 0;
  padding: 0;
  padding-left: 90%;
  z-index: 2;
}

.ticker:hover {
  animation-play-state: paused;
}

.ticker__item {
  align-items: center;
  color: #ffffff;
  display: flex;
  font-size: 2rem;
  font-weight: 700;
  padding-left: 20px;
  white-space: nowrap;
  width: 100%;
}

.ticker__item:not(:last-child)::after {
  content: "-";
  padding-left: 20px;
}

@keyframes ticker {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    visibility: visible;
  }

  100% {
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
}

/* Swiper */

.swiper {
  height: calc(83vh - 4rem);
  width: 100%;
}

.swiper--spin {
  transform: scale(0.85);
  z-index: -1;
}

.swiper-slide {
  /*border: 1px dashed white;*/
  text-align: center;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
  -o-user-select: none;
  -moz-user-select: none;
}

.swiper-slide img {
  height: 100%;
}

/* CTA */
.cta {
  color: #ffffff;
  cursor: pointer;
  display: grid;
  fill: #ffffff;
  font-size: clamp(2.5rem, 2vw, 4rem);
  font-weight: 700;
  place-items: center;

}

.cta--open {
  height: 7vh;

}

/* Slider */
.slider {
  background-color: #3E4462;
  background: linear-gradient(180deg, rgba(62, 68, 98, 1) 15%, rgba(1, 18, 22, 1) 100%);
  height: 150vh;
  margin-top: 5vh;
  padding-top: 2.5vh;
  position: relative;
  z-index: 2;
}

.slider--animate {
  animation: slide-up 1.5s forwards;
}

.slider--deanimate {
  animation: slide-down 1.5s forwards;
}

@keyframes slide-up {
  0% {
    transform: translateY(0vh);
  }

  100% {
    transform: translateY(-85vh);
  }
}

@keyframes slide-down {
  0% {
    transform: translateY(-85vh);
  }

  100% {
    transform: translateY(0vh);
  }
}