
.question {
  --correct-color: rgb(9, 187, 69);
  --incorrect-color: rgb(245, 48, 48);
  --selected-color: rgba(13, 110, 221, 0.712);
  --disabled-color:  transparent /* rgb(10, 7, 7) */ /* rgb(219, 219, 219) */;
  --disabled-correct-color: rgb(118, 212, 149);
  --disabled-incorrect-color: rgb(221, 131, 131);

  position: relative;
  width: 500px;
  height: 100%;
  min-width: 500px;
  min-height: max-content;
  display: flex;
  flex-direction: column;
  padding: 1em;
  border: 1px solid var(--selected-color);
  border-radius: 10px;
  font-family: consolas;
}

.question-text {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: capitalize;
}

.answers {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 15px 20px;
  margin-bottom: 20px;
}

.answer {
  border: none;
  font-size: 18px;
  background: none;
  padding: 10px 5px;
  border: 1px solid rgba(13, 110, 221, 0.712);
  color: white;
  outline: none;
  border-radius: 10px;
  cursor: pointer;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.question.correct {
  border-color: var(--correct-color);
}
.question.incorrect {
  border-color: var(--incorrect-color);
}

.question.correct .answer.selected {
  --selected-color: var(--correct-color);
}
.question.incorrect .answer.selected {
  --selected-color: var(--incorrect-color);
}

.answer:hover {
  background: rgba(13, 110, 221, 0.712);
  color: wheat;
  transition: all 200ms ease-out;
}

.answer.selected {
  background: var(--selected-color);
  border-color: var(--selected-color);
  color: white;
}

.question.disabled .answer,
.question.disabled .answer:hover {
  background-color: var(--disabled-color);
  border-color: var(--disabled-color);
  border: 1px solid rgba(13, 110, 221, 0.712);

}
.question.disabled.correct .answer.selected {
  background-color: var(--disabled-correct-color);
  border-color: var(--disabled-correct-color);
}
.question.disabled.incorrect .answer.selected {
  background-color: var(--disabled-incorrect-color);
  border-color: var(--disabled-incorrect-color);
}

.question-feedback {
  color: black;
  font-family: consolas, Cambria, sans-serif;
  font-size: 18px;
  font-weight: 500;
  display: none;
}

.question.correct .question-feedback,
.question.incorrect .question-feedback {
  display: inline-block;
}

.question.correct .question-feedback {
  color: var(--correct-color);
}
.question.incorrect .question-feedback {
  color: var(--incorrect-color);
}
