.main {
  &__title {
    font-size: 30px;
    line-height: 1.5;
    font-style: normal;
    font-weight: 900;
    color: $c-white;
    text-align: center;

    @media (max-width: $h-media-y) {
      font-size: 22px;
      font-style: normal;
    }


    span {
      display: block;
      font-size: 20px;
      font-style: normal;
      font-weight: 400;
      line-height: 1;
      padding: 5px 10px;
      border-radius: 10px;
      margin: 10px auto;
      border: 1px solid $c-white;

      @media (max-width: $h-media-y) {
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: 30px;
      }
    }
  }

  &__content {
    position: relative;
  }

  &__image {
    display: block;
    object-fit: contain;
    object-position: center top;
    height: auto;
    width: 100%;
    max-width: 500px;
    max-height: 330px;
    margin: 0 auto;
    padding-top: 10px;
    padding-bottom: 10px;
    
    //@media (max-width: $h-media-x) {
    //  padding-bottom: 20px;
    //}
    //
    //@media (max-height: $h-media-x) {
    //  max-height: 250px;
    //}
  }

  &__button {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  &__link {
    text-decoration: none;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    color: $c-white;
    width: 100%;
    padding: 20px 15px;
    border-radius: 190px;
    background: $c-green-gradient;
    text-align: center;
    margin-bottom: 10px;
    
    @media (max-width: $h-media-y) {
      font-size: 20px;
    }
  }

  &__pay {
    opacity: .7;
    text-align: center;
    color: $c-white;
    font-size: 12px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    margin-bottom: 20px;
  }

  &__back {
    margin: 0 auto;
    max-width: max-content;
    padding: 2px 10px;
    font-size: 15px;
    font-weight: 400;
    line-height: 26.68px;
    letter-spacing: 0.4765027165412903px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 100px;
    margin-bottom: 10px;
  }
}