.main {
  display: flex;
  flex-direction: column;
  justify-content: center;

  &__container {
    padding-top: 20px;
    padding-bottom: 20px;
    position: relative;
    max-width: 420px;

    @media (max-height: $h-media-x) {
      padding-top: 10px;
      padding-bottom: 20px;
    }

    &.kino {
      &::before {
        content: '';
        background: url("../image/kino.png");
        background-repeat: no-repeat;
        background-size: contain;
        width: 30px;
        height: 30px;
        position: absolute;
        left: 0;
        bottom: 5%;
      }

      &::after {
        content: '';
        background: url("../image/kino2.png");
        background-repeat: no-repeat;
        background-size: contain;
        width: 40px;
        height: 50px;
        position: absolute;
        right: 0;
        top: 5%;
      }
    }
  }

  &__title {
    font-size: 34px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2; /* 126.316% */
    color: $c-black;
    text-align: center;
    margin-bottom: 30px;
    text-wrap: balance;

    @media (max-height: $h-media-x) {
      font-size: 26px;
      margin-bottom: 15px;
    }


    span {
      color: $c-primary;
      font-size: 30px;
      font-style: normal;
      font-weight: 900;
      line-height: 38px; /* 126.667% */
      text-transform: uppercase;

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

  &__description {
    color: $c-black;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 28px */
    margin-bottom: 20px;
    text-wrap: balance;
  }

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

  &__link {
    text-decoration: none;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    color: $c-white;
    width: 100%;
    padding: 20px 15px;
    border-radius: 44px;
    background: $c-primary;
    text-align: center;
    margin-bottom: 10px;

    @media (max-width: $h-media-y) {
      font-size: 14px;
      padding: 10px;
      margin: 0 auto 10px;
      max-width: 300px;
    }
  }

  &__pay {
    text-align: center;
    color: $c-black;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    opacity: .7;
    margin-bottom: 10px;
    text-wrap: balance;
  }

  &__back {
    font-size: 15.982px;
    font-style: normal;
    font-weight: 400;
    text-decoration: none;
    border: $c-black 1px solid;
    color: $c-black;
    width: max-content;
    margin: 0 auto;
    padding: 5px 20px;
    border-radius: 100px;
    opacity: .7;

    @media (max-height: $h-media-x) {
      font-size: 12px;
    }
  }

  &__decoration {
    display: block;
    object-fit: contain;
    object-position: right center;
    width: 90%;
    margin: 0 auto;
    //padding: 10px 0;
    max-height: 45dvh;
    height: 100%;

    &.sub {
      max-width: 85%;
      margin: 0 auto;
      padding: 15px 0;
    }
  }
}

.decoration {
  &.container {
    padding: 0;
    max-width: 600px;

  }
}