#steps {
 padding-top: 91px;
}

#steps .container {
  --content-width: 1283px;
  position: relative;
  z-index: 3;
}

#steps .title {
  font-size: 55px;
  margin-bottom: 14px;
}

#steps p {
  font-size: 22.5px;
  line-height: 26px;
  max-width: 630px;
  margin: 0 auto 50px auto;
}

#steps .subt {
  color: #222222;
  font-size: 22px;
  line-height: 1.175;
  margin-top: 18px;
  margin-bottom: 8px;
}

#steps .desc {
  font-size: 18px;
  line-height: 23px;
  max-width: 362px;
  margin: 0 auto;
}

#steps .number {
  color: #fff;
  font-size: 51px;
  border-radius: 50%;
  background-color: var(--light-blue);
  color: var(--yellow);
  line-height: 68px;
  height: 75px;
  width: 75px;
  margin: 0 auto;
  position: relative;
}

#steps .number::after {
  content: '';
  position: absolute;
  background-image: url('../../../images/2024/how-it-works/steps-arrow.png');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  width: min(314px, 22vw);
  height: 7px;
  top: 55%;
  left: 94px;
  transform: translateY(-50%);
}
#steps .swiper-slide:last-of-type .number:after {
  display: none;
}

#steps .button {
  margin-top: 54px;
  padding: 0 14px;
  height: 52px;
  line-height: 52px;
  font-size: 17px;
  background-color: var(--red);
  color: #fff;
}

#steps .swiper-button-prev {
  left: -2px;
}

#steps .swiper-button-next {
  right: -2px;
  transform: scale(-1);
}

#steps .swiper-button-next,
#steps .swiper-button-prev {
  background-color: var(--light-gray);
  background-image: url("../../../images/2024/swiper-arrow.png");
  background-size: 9px 16.5px;
  background-position: center;
  background-repeat: no-repeat;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  top: 104px;
}
#steps .swiper-button-next::after,
#steps .swiper-button-prev::after {
    display: none;
}

@keyframes confetti-slow {
  0% {
    transform: translate3d(0, 0, 0) rotateX(0) rotateY(0);
  }
  100% {
    transform: translate3d(25px, 105vh, 0) rotateX(360deg) rotateY(180deg);
  }
}
@keyframes confetti-medium {
  0% {
    transform: translate3d(0, 0, 0) rotateX(0) rotateY(0);
  }
  100% {
    transform: translate3d(100px, 105vh, 0) rotateX(100deg) rotateY(360deg);
  }
}
@keyframes confetti-fast {
  0% {
    transform: translate3d(0, 0, 0) rotateX(0) rotateY(0);
  }
  100% {
    transform: translate3d(-50px, 105vh, 0) rotateX(10deg) rotateY(250deg);
  }
}


.confetti-container {
  perspective: 700px;
  position: absolute;
  overflow: hidden;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index:1;
  pointer-events:none;
}

.confetti {
  position: absolute;
  z-index: 1;
  top: -10px;
  border-radius: 0%;
}
.confetti--animation-slow {
  animation: confetti-slow 5.25s linear 1 forwards;
}
.confetti--animation-medium {
  animation: confetti-medium 4.75s linear 1 forwards;
}
.confetti--animation-fast {
  animation: confetti-fast 4.25s linear 1 forwards;
}

@media screen and (min-width: 992px ) {
  #steps .swiper-button-prev,
  #steps .swiper-button-next {
    display: none;
  }
}

@media screen and (max-width: 991px ) {
  #steps .number::after {
    display: none;
  }
}

@media screen and (max-width: 567px ) {
  #steps {
    padding-top: 53px;
  }
  #steps .title {
    font-size: 45px;
    line-height: 0.8;
    margin-bottom: 19px;
  }
  #steps p {
    font-size: 18px;
    line-height: 23px;
    max-width: 334px;
    margin: 0 auto;
  }
  #steps .number {
    font-size: 43px;
    width: 63px;
    height: 63px;
    line-height: 55px;
  }
  #steps .swiper {
    margin-top: 33px;
  }
  #steps .subt {
    font-size: 18px;
    line-height: 23px;
    margin-top: 13px;
  }
  #steps .desc {
    font-size: 18px;
    line-height: 23px;
  }
  #steps .swiper-cont {
    padding: 0 20px;
  }
  #steps .button {
    margin-top: 25px;
  }
}