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

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

  &__content {
    position: relative;
  }

  &__image {
    display: block;
    object-fit: cover;
    height: 100%;
    max-width: 100%;
    max-height: 350px;
    margin: 0 auto;
    padding-bottom: 20px;
    padding-top: 20px;

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

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

  &__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: linear-gradient(90deg, #731982 0%, #B32ACA 100%);
    text-align: center;
    border: none;
    margin-bottom: 10px;

    @media (max-height: $h-media-x) {
      font-size: 20px;
      padding: 15px 10px;
    }
  }

  &__description {
    color: $c-white;
    font-size: 22px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 0.5px;
    text-align: center;
    margin-bottom: 20px;

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

  &__timer {
    padding: 40px 10px;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 5px;
    color: $c-white;
    font-size: 18px;
    font-weight: 500;

    &::before {
      content: url("../image/timer.png");
    }

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


  &__question {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: $c-white;
    font-size: 22px;
    font-weight: 700;
    line-height: 33px;
    letter-spacing: 0.5px;
    text-align: center;
  }

  &__skip {
    width: 100%;
    background: transparent;
    border-radius: 200px;
    padding: 8px 24px 8px 24px;
    border: 1px solid $c-white;
    color: $c-white;
    font-size: 15px;
    font-weight: 500;
    line-height: 24px;
    text-align: center;
    margin-bottom: 10px;
  }

  &__block-quiz {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  &__answers {
    flex: 1 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;

    button {
      max-height: 142px;
      height: 15dvh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      border-radius: 8px;
      border: none;
      max-width: 50%;
      width: 100%;
      background: $c-white;
      font-size: 22px;
      font-weight: 400;
      line-height: 27.5px;
      color: $c-black;
      padding: 20px 7px;

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

  &__doth {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 5px;

    span {
      display: block;
      opacity: .2;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: $c-white;
      transition: opacity .3s ease-in-out;

      &.active {
        opacity: 1;
      }
    }
  }

  &__pay {
    color: $c-white;
    font-size: 14px;
    font-weight: 400;
    line-height: 15px;
    letter-spacing: 0.4765027165412903px;
    text-align: center;
    margin-bottom: 10px;

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

  &__results {
    max-width: 300px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
  }

  &__coin, &__rait {
    color: $c-white;
    font-size: 20px;
    font-weight: 400;
    line-height: 21px;
    text-align: center;
    width: 40%;
    padding: 5px 10px;

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

  &__coin {
    border-right: 1px solid $c-white;
  }

  &__check {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    text-align: center;
    color: $c-white;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;

    &::before {
      content: url("../image/check.png");
      width: 24px;
      height: 24px;
      display: inline-block;
    }
  }
}

#finish__title {
  font-size: 22px;
  font-weight: 700;
  line-height: 33px;
  letter-spacing: 0.5px;
  text-align: center;
  color: $c-white;

  @media (max-height: $h-media-x) {
    display: none;
    font-size: 20px;
    line-height: 1;
  }
}

#block__quiz {
  .main__title {
    @media (max-height: $h-media-x) {
      font-size: 16px;
    }
  }

  .main__question {
    @media (max-height: $h-media-x) {
      font-size: 20px;
      line-height: 1;
      min-height: 120px;
    }
  }
}

#block__finish {
  .main__image {
    @media (max-height: $h-media-x) {
      max-height: 180px;
      padding: 0;
      margin-bottom: 10px;
    }
  }
}