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

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

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

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

    &::after {
      content: "";
      background: url("../image/star2.png");
      background-repeat: no-repeat;
      background-size: contain;
      width: 80px;
      height: 80px;
      position: absolute;
      z-index: -1;
      bottom: 0%;
      right: 0;
    }
  }

  &__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;

    @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;
      }
    }
  }

  &__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: 15px;
      padding: 10px 15px;
      max-width: 300px;
      margin: 0 auto 10px;
    }
  }

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

  &__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: 0.7;

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

  &__decoration {
    display: block;
    object-fit: contain;
    width: 100%;
    padding: 10px 0;

    @media (max-height: $h-media-x) {
      max-height: 400px;
    }
  }
}

.decoration {
  flex: 1 0 auto;
  &.container {
    padding: 0;
  }
}
