.how-it-works {
  margin-top: 4em;
  display: flex;
  flex-direction: column;
  gap: 2em;
}

.how-it-works__title {
  font-size: 2.5em;
  font-weight: 400;
  text-transform: uppercase;
  margin: 0;
  padding-left: 0.8em;
}

.how-it-works__steps-container {
  display: flex;
  gap: 1.5em;
  height: 25em;
}

.how-it-works__steps-container__item {
  padding: 2em;
  border-radius: 2em;
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  width: 10em;
  min-width: 10em;
  cursor: pointer;
  display: flex;
  gap: 2em;
  position: relative;
  overflow: hidden;
  transition: width 1s ease;
}

.how-it-works__steps-container__item__number {
  position: absolute;
  background-color: white;
  left: 0;
  z-index: 1;
}

.how-it-works__steps-container__item__number__text {
  background: linear-gradient(180.06deg, #42ea18 0.06%, #e9fde4 72.57%);
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 31em;
}

.how-it-works__steps-container__item__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex: 1;
  gap: 0.5em;
  z-index: 1;
}

.how-it-works__steps-container__item__header__title {
  color: #050718;
  font-size: 1.2em;
  font-weight: 400;
  line-height: 130%;
  margin: 0;
  text-transform: uppercase;
  width: 9em;
}

.how-it-works__steps-container__item__header__description {
  font-size: 1.125em;
  font-weight: 300;
  line-height: 130%;
  color: #050718;
  margin: 0;
  text-align: right;
  overflow: visible;
  width: 20em;
  min-width: 20em;
}

.how-it-works__steps-container__item__header__description__image {
  width: 9em;
}

.how-it-works__steps-container__item__header__description__links {
  display: none;
}

.how-it-works__steps-container__item__header__description__qr-code {
  background-color: #fff;
  padding: 0.5em;
  border-radius: 0.5em;
  color: #050718;
  text-decoration: none;
  display: flex;
  width: max-content;
  gap: 0.5em;
  align-items: center;
  border: 0.05em solid #ececec;
  margin-left: 16em;
}

.how-it-works__steps-container__item__header__description__qr-code__image {
  width: 6em;
  display: none;
}

.how-it-works__steps-container__item__image {
  height: 28em;
  position: absolute;
  right: 2em;
  display: block;
}

.how-it-works__steps-container__item__image-gradient {
  width: 13.75em;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 42.77%, #FFFFFF 74.81%);
}

.how-it-works__steps-container__item--show {
  width: 100%;
  cursor: default;
  pointer-events: none;
}

.how-it-works__steps-container__item--show .how-it-works__steps-container__item__image,
.how-it-works__steps-container__item--show .how-it-works__steps-container__item__header__description {
  display: block;
  opacity: 1;
}

@media (max-width: 800px) {
  .how-it-works {
    margin-top: 1.333em;
    border-radius: 1.333em;
    gap: 1.333em;
  }

  .how-it-works__title {
    font-size: 1.6667em;
  }

  .how-it-works__steps-container {
    display: flex;
    flex-direction: column;
    height: auto;
    gap: 1.333em;
  }

  .how-it-works__steps-container__item {
    padding: 0;
    width: 100%;
  }

  .how-it-works__steps-container__item__image {
    display: block;
    position: absolute;
    right: 2.75em;
    top: -4.95em;
    object-position: 0 6.38em;
    width: 12em;
    height: auto;
    opacity: 1;
  }

  .how-it-works__steps-container__item__number {
    font-size: 0.774em;
    top: -0.04em;
    left: 0.01em;
  }

  .how-it-works__steps-container__item__header {
    padding-top: 22em;
    padding-left: 1.333em;
    padding-right: 1.333em;
    padding-bottom: 1.333em;
    flex-direction: column;
    align-items: start;
  }

  .how-it-works__steps-container__item__header__title {
    font-size: 1.333em;
    text-align: start;
    width: max-content;
  }

  .how-it-works__steps-container__item__header__description {
    display: block;
    font-size: 1.25em;
    opacity: 1;
    width: 100%;
    text-align: start;
  }

  .how-it-works__steps-container__item__header__description__qr-code {
    display: none;
  }

  .how-it-works__steps-container__item__header__description__links {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
  }

  .how-it-works__steps-container__item__header__description__links__button {
    display: none;
    background-color: #fff;
    padding: 0.7em;
    border-radius: 12.5em;
    font-weight: 500;
    color: #050718;
    text-decoration: none;
    gap: 0.75em;
    align-items: center;
    justify-content: center;
    border: 0.0625em solid #ececec;
  }

  .how-it-works__steps-container__item__header__description__links__button:hover {
    background-color: #f5f5f5;
  }
}