.how__section {
  padding: 3.75rem 0;
}
.how__header {
  margin-bottom: 2.5rem;
  font-size: 3.75rem;
  font-weight: 800;
  text-transform: uppercase;
}
.how__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.how__content {
  min-width: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 1.25rem;
}
.how__content_item {
  padding: 1.25rem 1.25rem 1.25rem 1.5625rem;
  border-radius: 1.25rem;
  max-width: 23.75rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background-color: var(--white-color);
  color: var(--black-color);
}
.how__content_item_text_title {
  max-width: 16.5625rem;
  font-size: 1.375rem;
  font-weight: 700;
  text-transform: uppercase;
}
.how__content_item_text_p {
  margin-top: 0.625rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.how__content_item_number {
  border-radius: 0.375rem;
  height: 2.5rem;
  width: 2.5rem;
  min-width: 2.5rem;
  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;
  background-color: var(--black-color);
  color: var(--white-color);
  font-size: 1.375rem;
  font-weight: 700;
  text-transform: uppercase;
  float: right;
}
.how__content_item-black {
  background-color: var(--black-color);
  color: var(--white-color);
}
.how__content_item-black .how__content_item_number {
  background-color: var(--main-color);
  color: var(--white-color);
}
.how__picture {
  margin-top: -6.25rem;
  max-height: 41.875rem;
  max-width: 40rem;
}
.how__picture_img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
@media (max-width: 768px) {
  .how__section {
    padding: 3.125rem 0;
  }
  .how__header {
    font-size: 2.75rem;
    text-align: center;
  }
  .how__inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .how__content {
    min-width: 100%;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .how__content_item {
    max-width: 100%;
    width: 80%;
  }
  .how__content_item_text {
    width: 100%;
  }
  .how__content_item_text_title {
    padding-right: 3.125rem;
    max-width: 100%;
  }
  .how__content_item_text_p {
    padding-right: 0.625rem;
  }
  .how__picture {
    margin-top: 2.5rem;
    height: 31.25rem;
    max-width: 100%;
  }
}
@media (max-width: 480px) {
  .how__section {
    padding: 2.5rem 0;
  }
  .how__header {
    margin-bottom: 1.25rem;
    font-size: 2rem;
  }
  .how__content_item {
    width: 100%;
  }
  .how__header {
    font-size: 1.625rem;
  }
}
@media (max-width: 380px) {
  .how__picture {
    height: 18.75rem;
  }
  .how__content_item_text_title {
    font-size: 1.1875rem;
  }
  .how__content_item_text_p {
    font-size: 0.8125rem;
  }
  .how__content_item_number {
    height: 2rem;
    width: 2rem;
    min-width: 2rem;
    font-size: 1.25rem;
  }
}