.wl-quiz-container {
  margin: auto;
  overflow: hidden; 
  /* max-width: 600px; */
  position: relative;
  color: #fff;
}

.quiz-carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.quiz-slide {
  display: flex;
  width: 100%;
  flex-shrink: 0;
  flex-direction: column;
  padding-right: 20px;
}

.quiz-question {
  font-family: "Europa Bold", Sans-serif;
  font-size: 44px;
  letter-spacing: 0.01rem;
  font-weight: 400;
  line-height: 1;
  padding-top: 13px;
  padding-right: 20px;
  margin-bottom: 20px;
}

.quiz-answers {
  list-style: none;
  font-family: "Avenir", Sans-serif;
  font-size: 20px;
  letter-spacing: -0.01rem;
}

.quiz-answers li {
  margin: 10px 0;
}

.quiz-answers label {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  padding-left: 36px;
  font-weight: 500;
}

.quiz-answers input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.quiz-answers label::before {
  content: "A.";
  position: absolute;
  height: 30px;
  width: 30px;
  left: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: all 0.3s ease;
  border: solid 1px rgba(255,255,255,0);
}

.quiz-answers li:nth-child(1) label::before { content: "A."; }
.quiz-answers li:nth-child(2) label::before { content: "B."; }
.quiz-answers li:nth-child(3) label::before { content: "C."; }
.quiz-answers li:nth-child(4) label::before { content: "D."; }

.quiz-answers label:has(input:checked)::before {
  background: #fff;
  color: #000;
  content: "x";
  border: solid 1px rgba(255,255,255,0);
}

.quiz-answers .correct-answer label:has(input:checked) {
  font-weight: 900;
}

.quiz-answers .correct-answer label:has(input:checked)::before {
  background-color: #f84653;
  border-color: #f84653;
  color: white;
  content: url("images/checkmark.svg");
}

.quiz-nav {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 25px;
  background:#272626;
  background: linear-gradient(90deg,rgba(39, 38, 38, 1) 67%, rgba(39, 38, 38, 0) 100%);
}

.quiz-nav button {
  background: none;
  cursor: pointer;
  padding: 0 24px;
}

.quiz-nav .quiz-prev {
  padding: 0 24px 0 0;
}

.quiz-dots {
  display: flex;
  gap: 8px;
}

.quiz-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  border: solid 1px #fff;
}

.quiz-dot.active {
  background: #f84653;
  border: solid 1px #f84653;
}

@media screen and (min-width: 768px) {
  .quiz-slide {
    flex-direction: row;
  }

  .quiz-question {
    width: 350px;
    font-size: 30px;
  }

  .quiz-answers {
    padding: 0;
  }

  .quiz-answers label:has(input:checked)::before {
    transform: translateX(-4px);
  }

  .quiz-nav {
    justify-content: center;
    position: absolute;
    left: -24px;
    bottom: 14px;
    margin-top: 12px;
  }

  .quiz-nav .quiz-prev {
    padding: 0 24px;
  }
}

@media screen and (min-width: 991px) {
  .quiz-question {
    font-size: 46px;
    width: 570px;
  }

  .quiz-answers {
    font-size: 24px;
  }
}