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

.topic-box {
  width: 1010px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0.33vh 0.33vh 0 rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
  border-radius: 1.67vh;
  position: relative;

  .tool {
    z-index: 1;
    padding: 0.83vh 20px 1.25vh 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: $font-text;
    font-size: 2.33vh;

    .icons {
      display: flex;
      align-items: center;
      column-gap: 20px;
    }

    .sound {
      display: flex;
      align-items: center;
    }
  }

  .topic_content {
    width: 100%;

    &_title {
      font-family: $font-text;
      font-size: 2.67vh;
      line-height: 4vh;
      overflow: hidden;
      padding: 1.33vh 32px;
      .title {
        color: $font-color;
      }
    }

    &_answer {
      padding: 2vh 32px 0.67vh 32px;
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      padding-bottom: 2.17vh;

      &_item {
        border-radius: 1.33vh;
        color: $font-color;
        font-family: $font-text;
        font-size: 2.33vh;
        height: 4.83vh;
        &.istrue,
        &.isfalse {
          border-radius: 1.67vh;
          width: auto;
          height: 4.83vh;
          padding: 0.67vh 32px;
          background: #fff;
          border: 0.33vh solid transparent;
          box-shadow: none;
        }
        &.istrue {
          border-color: #9cfaf7;
        }
        &.isfalse {
          border-color: #f00a0a;
        }
        &.isSurrender {
          border-color: #ff8d3b;
        }
        &:last-child {
          margin-right: 0;
        }
        &.iswrong {
          &_item {
            border-color: #ff8d3b;
          }
        }
      }
    }
  }

  .hands {
    width: 100%;
    position: absolute;
    padding: 0 180px;
    top: -6vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    img {
      width: 2.67vh;
      height: 10vh;
    }
  }
}

.beforeTopic {
  .topic-box:first-child {
    .hands {
      display: none;
    }
  }
}
