@use '../../styles/variate.scss' as *;

.question-box {
  position: relative;
  width: 100%;

  .count-down {
    position: absolute;
    background-size: 100%;
    top: 10px;
    left: 10px;
    width: 15vh;
    height: 15.97vh;
    padding-top: 3vh;
    font-size: 7vh;
    font-family: $font-special;
    text-align: center;
    color: #db0e29;
  }

  .abbr {
    display: flex;
    flex-direction: column;
    row-gap: 0.83vh;

    :deep(.img-Speech) {
      margin-right: 0;
      width: auto;
      height: 3.33vh;
    }
  }

  $top_h: 30.67vh;
  $img_box_h: 22.34vh;
  $radius: 3.33vh;
  .top {
    background-color: #a0fcf8;
    height: $top_h;
    border-radius: $radius;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    .img-box {
      height: $img_box_h;
      width: auto;
      overflow: hidden;
    }

    .top-box {
      pointer-events: none;
      position: absolute;
      top: -2.92vh;
      left: 260px;
      right: 260px;
      display: flex;
      justify-content: space-between;
      z-index: 1;

      img {
        width: 3.67vh;
        height: auto;
      }
    }

    .trunk {
      display: flex;
      align-items: center;
      justify-content: center;
      column-gap: 30px;

      .title {
        font-size: 5vh;
        font-family: $font-special;
        color: rgba(0, 0, 0, 0.85);
      }

      .cn {
        display: flex;
        align-items: center;
        justify-content: center;

        .abbr {
          margin-right: 20px;
        }
      }
    }
  }
  .bottom {
    position: relative;
    overflow: hidden;
    height: 54.33vh;
    background-color: #faffff;
    border-radius: 3.33vh;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0.33vh 0.33vh 0 rgba(0, 0, 0, 0.25);

    .button {
      $button_w: 120px;
      $button_p: 24px;
      position: absolute;
      right: 0;
      top: 0;
      background-color: #fff01f;
      width: $button_w;
      height: 10vh;
      text-align: center;
      border-top-right-radius: $radius;
      border-bottom-left-radius: $radius;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: 0 0.33vh 0.33vh rgba(0, 0, 0, 0.25);

      &.second-button {
        right: $button_w + $button_p;
        border-top-right-radius: 0;
        border-bottom-right-radius: $radius;
      }

      img {
        width: 6.67vh;
        height: 6.67vh;
      }
    }

    .next-question {
      cursor: pointer;
      position: absolute;
      right: 0;
      bottom: 5.33vh;
      width: 100px;
      height: 25vh;
      border-top-left-radius: $radius;
      border-bottom-left-radius: $radius;
      background-color: #91eca9;
      box-shadow: 0 0.33vh 0.33vh rgba(0, 0, 0, 0.25);
      color: #0a1f13;
      font-size: 3.83vh;
      font-family: $font-text;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      animation-delay: 0.3s;
      animation-duration: 0.5s;
      animation-fill-mode: both;
      transform-style: preserve-3d;
      img {
        margin-bottom: 0.83vh;
        width: 4.08vh;
        height: auto;
      }
    }

    .sticker-left {
      pointer-events: none;
      position: absolute;
      opacity: 20%;
      transform: rotate(-10deg) scale(1.2);
      top: -12.92vh;
      left: -15px;
      width: 408px;
      height: 38.58vh;
    }

    .sticker-bottom {
      pointer-events: none;
      position: absolute;
      opacity: 20%;
      right: 20px;
      bottom: 1.67vh;
      width: 346px;
      height: 24.75vh;
    }
  }

  .middle-line {
    $dot_w: 1.69vh;
    $dot_h: 1vh;
    $line_t: 30.17vh;
    z-index: 20;
    position: absolute;
    top: $line_t;
    left: 27px;
    width: 1800px;
    height: $dot_h;
    background-image: url('https://xxl-1313840333.cos.ap-guangzhou.myqcloud.com/urm/purple_dot.png');
    background-repeat: repeat-x;
    background-size: $dot_w $dot_h;
  }
}
