@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");

body {
  margin: 0;
  font-size: 16px;
  background-color: #009688;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  outline: none;
}
#htag {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
  background-color: rgb(241, 241, 241);
  margin-left: 10%;
  margin-right: 10%;
  margin-top: 15px;
  border-radius: 25px;
}
.custom-box {
  max-width: 700px;
  background-color: #ffffff;
  margin: 40px auto;
  margin-top: 5px;
  padding: 30px;
  border-radius: 10px;
  animation: fadeInRight 1s ease;
}
@keyframes fadeInRight {
  0% {
    transform: translateX(40px);
    opacity: 0;
  }
  100% {
    transform: translateX(0px);
    opacity: 1;
  }
}
.custom-box.hide {
  display: none;
}

.custom-box::before,
.custom-box::after {
  content: "";
  clear: both;
  display: table;
}

.home-box h3 {
  font-size: 18px;
  color: #000000;
  font-weight: 500;
  margin-bottom: 15px;
  line-height: 25px;
}

.home-box p {
  font-size: 16px;
  margin-bottom: 10px;
  line-height: 22px;
  color: #000000;
  font-weight: 400;
}
.home-box p span {
  font-weight: 500;
}
/* ****************************************** */
.btn-option {
  width: 350px;
  height: 500px;
  background-color: #1e1e26;
  border-radius: 10px;
  box-shadow: 2px 10px 12px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  margin: 20px 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  cursor: pointer;
  /* padding: 40px 80px;
  background-color: #009688;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  cursor: pointer;
  display: inline-block;
  margin: 50px; */
}

.option-box {
  width: 100%;
  height: 100vh;
  margin: 40px auto;
  padding: 10px;
  border-radius: 10px;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  /* display: flex;
  flex-wrap: wrap;
  padding: 15px 15px; */
}
.option-box.hide {
  display: none;
}

.option-box::before,
.option-box::after {
  content: "";
  clear: both;
  display: table;
}
.logo {
  height: 60px;
}
.model {
  margin: auto;
  height: 350px;
  max-height: 100%;
  max-width: 100%;
}
.para {
  width: 300px;
  font-family: calibri;
  font-size: x-large;
  font-weight: bold;
  color: #71718a;
  text-align: center;
  margin: 20px auto;
}
ul {
  list-style: none;
}
@media (max-width: 720px) {
  .box {
    width: 94%;
    height: 500px;
    margin: 10px 10px;
    padding: 10px;
  }

  .model {
    height: 250px;
  }
}
/* ******************************************** */
.btn {
  padding: 15px 45px;
  background-color: #009688;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  cursor: pointer;
  display: inline-block;
}

.quiz-box .question-number,
.quiz-box .question-text,
.quiz-box .option-container,
.quiz-box .next-question-btn,
.quiz-box .answer-indicator {
  width: 100%;
  float: left;
}

.home-box .btn {
  margin-top: 20px;
}

.quiz-box .question-number {
  font-size: 18px;
  color: #009688;
  font-weight: 600;
  border-bottom: 1px solid #cccccc;
  padding-bottom: 10px;
  line-height: 25px;
}

.quiz-box .question-text {
  font-size: 22px;
  color: #000000;
  line-height: 28px;
  font-weight: 400;
  padding: 20px 0px;
  margin: 0;
}

.quiz-box .option-container .option {
  background-color: #cccccc;
  padding: 13px 15px;
  font-size: 16px;
  line-height: 22px;
  color: #000000;
  border-radius: 5px;
  margin-bottom: 10px;
  cursor: pointer;
  text-transform: capitalize;
  opacity: 0;
  animation: fadeIn 0.3s ease forwards;
  position: relative;
  overflow: hidden;
}
.quiz-box .option-container .option.already-answered {
  pointer-events: none;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.quiz-box .option-container .option.correct::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: green;
  z-index: -1;
  animation: slideInLeft 0.5s ease forwards;
}
@keyframes slideInLeft {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0%);
  }
}

.quiz-box .option-container .option.wrong::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: red;
  z-index: -1;
  animation: slideInLeft 0.5s ease forwards;
}
.quiz-box .option-container .option.wrong {
  color: #ffffff;
}
.quiz-box .option-container .option.correct {
  color: #ffffff;
}
.quiz-box .btn {
  margin: 15px 0;
}
.quiz-box .answer-indicator {
  border-top: 1px solid #cccccc;
}
.quiz-box .answer-indicator div {
  height: 40px;
  width: 40px;
  display: inline-block;
  background-color: #cccccc;
  border-radius: 50%;
  margin-right: 3px;
  margin-top: 10px;
}

.quiz-box .answer-indicator div.correct {
  background-color: green;
  background-image: url("../img/correct.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 50%;
}
.quiz-box .answer-indicator div.wrong {
  background-color: red;
  background-image: url("../img/wrong.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 50%;
}
.result-box {
  text-align: center;
}
.result-box.hide {
  display: none;
}
.result-box h1 {
  font-size: 36px;
  line-height: 42px;
  color: #009688;
}
.result-box table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
}
.result-box td {
  border: 1px solid #cccccc;
  padding: 8px 15px;
  font-weight: 500;
  color: #000000;
  width: 50%;
  text-align: left;
  font-size: 18px;
}
.result-box .btn {
  margin-right: 20px;
}
@media (max-width: 767px) {
  .result-box .btn {
    margin-bottom: 15px;
  }
  body {
    padding: 10px;
  }
}
