.two-choice-test {
  display: flex;

  width: 100%;
  padding: 50px 0 290px;

  justify-content: center;
}

.two-choice-test_wrapper {
  width: 100%;
  max-width: 700px;
}

.two-choice-test_question,
.two-choice-test_question p {
  font-size: 22px;
  line-height: 1.2;

  margin-bottom: 30px;

  text-align: center;

  color: #000;
}

.two-choice-test_answers {
  display: grid;

  margin: 50px 0 0 0;

  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.two-choice-test_answers:disabled {
  cursor: default;
}

.two-choice-test_answer-btn {
  font-size: 18px;
  line-height: 1.2;

  position: relative;

  display: flex;

  padding: 20px;

  transition-timing-function: ease-out;
  transition-duration: .2s;
  transition-property: color, background-color, border-color;
  text-align: center;

  color: #000;
  border: 1px solid #35866e;
  background-color: transparent;

  align-items: center;
  justify-content: center;
}



@keyframes hover {
  from {
    color: #000;
    background-color: transparent;
  }
  to {
    color: #fff;
    background-color: #35866e;
  }
}

.two-choice-test_answer-btn::after {
  position: absolute;
  bottom: calc((var(--size) + 8px) * -1);
  left: 50%;

  display: block;

  width: var(--size);
  height: var(--size);
  margin-left: calc(var(--size) / -2);

  content: '';
  transition-timing-function: ease-out;
  transition-duration: .2s;
  transition-property: opacity, bottom;
  pointer-events: none;

  opacity: 0;
  border: 1px solid;
  border-radius: 50%;
  background-color: #fff;
  background-repeat: no-repeat;

  --size: 21px;
}

.two-choice-test_answer-btn__wrong {
  animation: none !important;

  color: #ff5769;
  border-color: transparent;
  background-color: #ffe3e6;
}

.two-choice-test_answer-btn__wrong::after {
  bottom: calc(var(--size) / -2);

  opacity: 1;
  border-color: #fff4f5;
  background-image: url(/doc/i/x.svg);
  background-position: 7px 7px;
  background-size: 7px 7px;
}

.two-choice-test_answer-btn__correct {
  animation: none !important;

  color: #35866e;
  border-color: transparent;
  background-color: #cdfff0;
}

.two-choice-test_answer-btn__correct::after {
  bottom: calc(var(--size) / -2);

  opacity: 1;
  border-color: #cdfff0;
  background-image: url(/doc/i/v.svg);
  background-position: 7px 7px;
  background-size: 8px 7px;
}

.test-progress {
  font-size: 16px;

  display: flex;

  padding: 20px 0;

  color: #727272;

  justify-content: center;
}

@media (pointer: fine) {
  button.two-choice-test_answer-btn:hover {
    cursor: pointer;
    animation: .1s ease-out 0s both hover;
  }
}

@media screen and (max-width: 667px) {
  .two-choice-test_answers {
    grid-template-columns: none;
    grid-template-rows: 1fr 1fr;
  }
}

@media screen and (max-width: 414px) {
  .two-choice-test_question,
  .two-choice-test_question p {
    font-size: 17px;
  }

  .two-choice-test_answer-btn {
    font-size: 16px;
  }
}
