.how-it-works {
  margin: 24px 0 10px;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.how-it-works .how-it-works__title {
  color: #FDE655;
  font-family: "Bangers", cursive;
  font-weight: 400;
  font-size: 42px;
  line-height: 45px;
  text-align: center;
  margin-bottom: 10px;
}
.how-it-works .how-it-works-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, 326px);
  grid-gap: 10px;
  padding: 0;
  list-style: none;
  justify-content: center;
  margin-bottom: 24px;
  width: 100%;
  counter-reset: step-number;
}
@media (max-width: 600px) {
  .how-it-works .how-it-works-list {
    grid-template-columns: 1fr;
    justify-items: center;
    margin-bottom: 10px;
  }
}
.how-it-works .how-it-works-list__item {
  background-color: #A95DFD;
  color: #fff;
  padding: 24px 16px;
  border-radius: 24px;
  counter-increment: step-number;
}
.how-it-works .how-it-works-list__item:not(:has(> img)) {
  justify-content: center;
}
.how-it-works .how-it-works-list__item .how-it-works__cta-link {
  margin-bottom: 0;
}
@media (max-width: 600px) {
  .how-it-works .how-it-works-list__item {
    max-width: 366px;
  }
}
.how-it-works .instruction-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.how-it-works .--type-1 {
  background-size: 0;
}
@media (max-width: 600px) {
  .how-it-works .--type-1 {
    gap: 16px;
    min-height: 307px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right 10px;
  }
}
@media (max-width: 600px) {
  .how-it-works .--type-1 .instruction-item__img {
    display: none;
  }
}
.how-it-works .--type-2 {
  background-size: 0;
}
@media (max-width: 600px) {
  .how-it-works .--type-2 {
    justify-content: flex-start !important;
    gap: 16px;
    min-height: 299px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom -148px center;
  }
}
@media (max-width: 600px) {
  .how-it-works .--type-2 .instruction-item__img {
    display: none;
  }
}
.how-it-works .instruction-item__img {
  max-width: 148px;
  height: auto;
  min-height: 98px;
}
.how-it-works .instruction-item__text-wrapper {
  display: flex;
  gap: 6px;
}
.how-it-works .instruction-item__step-number {
  font-family: "Bangers", cursive;
  font-weight: 400;
  font-size: 42px;
  line-height: 45px;
  min-width: 40px;
  text-align: center;
}
.how-it-works .instruction-item__step-number:before {
  content: counter(step-number);
}
.how-it-works .instruction-item__text {
  font-family: "Red Hat Display", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
}
.how-it-works .how-it-works__cta-link {
  font-family: "Inter", sans-serif;
  padding: 16px;
  text-align: center;
  color: #02062B;
  background-color: #FFE600;
  border-radius: 40px;
  font-weight: 700;
  width: 100%;
  max-width: 310px;
  cursor: pointer;
  transition: 0.25s all;
  text-decoration: none;
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 24px;
}
.how-it-works .how-it-works__cta-link:hover {
  background-color: #d00393;
}
.how-it-works .how-it-works__promo-message {
  padding-top: 24px;
  color: #fff;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  width: 100%;
  max-width: 70%;
}
@media (max-width: 600px) {
  .how-it-works .how-it-works__promo-message {
    max-width: 100%;
  }
}

/*# sourceMappingURL=how-it-works.css.map */
