.how {
  margin: 10.3125rem 0 15rem;
}
.how__title {
  margin-bottom: 6.25rem;
}
.how__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  position: relative;
  max-width: 68.125rem;
  width: 100%;
  margin: 0 auto;
}
.how__img {
  position: absolute;
  top: -3.125rem;
  left: -7.1875rem;
  width: 48.75rem;
}
.how__img::before {
  content: "";
  display: block;
  width: 100%;
  padding-top: 96.795%;
}
.how__img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}
.how__cards {
  max-width: 36.5625rem;
  width: 100%;
  counter-reset: item;
}
.how__card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.how__card-number {
  counter-increment: item;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: 1.125rem;
  background-color: var(--white);
  -webkit-box-shadow: -4px 12px 52px 0 rgba(128, 0, 0, 0.67), -5px 7px 53px 0 #ff0b0b, inset 0 0 18px 0 rgba(255, 0, 0, 0.25);
  box-shadow: -4px 12px 52px 0 rgba(128, 0, 0, 0.67), -5px 7px 53px 0 #ff0b0b, inset 0 0 18px 0 rgba(255, 0, 0, 0.25);
  -ms-flex-negative: 0;
  flex-shrink: 0;
  margin-right: 2.5rem;
}
.how__card-number::before {
  content: counter(item);
  font-family: var(--font-ukraine);
  font-size: max(3.5625rem, 12px);
  line-height: 110%;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  background: linear-gradient(139deg, #211 0%, #fb5036 48.35%, #fb5036 68.97%, #211 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.how__card-text {
  font-size: max(1.375rem, 12px);
  line-height: 120%;
  font-weight: 500;
  color: rgba(236, 236, 236, 0.8);
}
.how__card:nth-child(n+3) {
  margin-left: 8.75rem;
}
.how__card:nth-child(3n+2) {
  margin-left: 5rem;
}
.how__card:nth-child(5n+1) {
  margin-left: unset;
}
.how__card:not(:last-child) {
  margin-bottom: 2.5rem;
}
@media (max-width: 768px) {
  .how {
    margin: 155px 0 160px;
  }
  .how__title {
    margin-bottom: unset;
  }
  .how__container {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .how__img {
    position: relative;
    top: unset;
    left: unset;
    margin: -32px -28px 0;
    width: calc(100% + 56px);
    max-width: 500px;
  }
  .how__cards {
    max-width: 36.5625rem;
    margin: -52px auto 0;
  }
  .how__card {
    margin-left: unset !important;
  }
  .how__card-number {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    -webkit-box-shadow: -3px 9px 39px 0 rgba(128, 0, 0, 0.67), -4px 5px 40px 0 #ff0b0b, inset 0 0 13px 0 rgba(255, 0, 0, 0.25);
    box-shadow: -3px 9px 39px 0 rgba(128, 0, 0, 0.67), -4px 5px 40px 0 #ff0b0b, inset 0 0 13px 0 rgba(255, 0, 0, 0.25);
    margin-right: 20px;
  }
  .how__card-number::before {
    font-size: 40px;
  }
  .how__card-text {
    font-size: 15px;
  }
  .how__card:not(:last-child) {
    margin-bottom: 20px;
  }
}
/*# sourceMappingURL=how.css.map */
/*# sourceMappingURL=how.css.map */