.heading {
  font-size: 2.7rem;
}

header {
  padding: 0.5rem;
  background: linear-gradient(45deg, rgb(124, 212, 248), rgb(138, 166, 245));
}
.sticky {
  padding: 0.3rem;
}
.banner {
  padding-top: 6rem;
}
.wrapper {
  position: relative;
  margin-bottom: 3rem;
  padding: 4rem;
}
.banner p {
  text-align: center;
  font-weight: bold;
  font-size: 2rem;
  margin-bottom: 2rem;
}
::selection {
  color: rgb(255, 255, 255);
  background: rgb(0, 123, 255);
}
.start_btn,
.info_box,
.quiz_box,
.result_box {
  position: absolute;
  top: 50%;
  border-radius: 0.5rem;
  left: 50%;
  margin: 1rem auto;
  transform: translate(-50%, -50%);
  box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 8px 0px,
    rgba(0, 0, 0, 0.19) 0px 6px 20px 0px;
}
.info_box.activeInfo,
.quiz_box.activeQuiz,
.result_box.activeResult {
  opacity: 1;
  z-index: 5;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.start_btn button {
  font-size: 25px;
  font-weight: 500;
  color: rgb(0, 123, 255);
  margin: 0px;
  padding: 0.5rem 2rem;
  outline: none;
  border: none;
  border-radius: 0.5rem;
  background: rgb(255, 255, 255);
  cursor: pointer;
}
.info_box {
  width: 540px;
  background: rgb(255, 255, 255);
  border-radius: 5px;
  transform: translate(-50%, -50%) scale(0.9);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease 0s;
}
.info_box .info-title {
  height: 60px;
  width: 100%;
  border-bottom: 1px solid lightgrey;
  display: flex;
  align-items: center;
  padding: 0px 30px;
  border-radius: 5px 5px 0px 0px;
  font-size: 20px;
  font-weight: 600;
}
.info_box .info-list {
  padding: 15px 30px;
}
.info_box .info-list .info {
  margin: 5px 0px;
  font-size: 17px;
}
.info_box .info-list .info span {
  font-weight: 600;
  color: rgb(0, 123, 255);
}
.info_box .buttons {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0px 30px;
  border-top: 1px solid lightgrey;
}
.info_box .buttons button {
  margin: 0px 5px;
  height: 40px;
  width: 100px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  border-radius: 5px;
  border: 1px solid rgb(0, 123, 255);
  transition: all 0.3s ease 0s;
}
.quiz_box {
  width: 550px;
  background: rgb(255, 255, 255);
  border-radius: 5px;
  transform: translate(-50%, -50%) scale(0.9);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease 0s;
}
.quiz_box .header {
  position: relative;
  z-index: 2;
  height: 70px;
  padding: 0px 30px;
  background: rgb(255, 255, 255);
  border-radius: 5px 5px 0px 0px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 3px 5px 1px;
}
.quiz_box header .title {
  font-size: 20px;
  font-weight: 600;
}
.quiz_box header .timer {
  color: rgb(0, 64, 133);
  background: rgb(204, 229, 255);
  border: 1px solid rgb(184, 218, 255);
  height: 45px;
  padding: 0px 8px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 145px;
}
.quiz_box header .timer .time_left_txt {
  font-weight: 400;
  font-size: 17px;
  user-select: none;
}
.quiz_box header .timer .timer_sec {
  font-size: 18px;
  font-weight: 500;
  height: 30px;
  width: 45px;
  color: rgb(255, 255, 255);
  border-radius: 5px;
  line-height: 30px;
  text-align: center;
  background: rgb(52, 58, 64);
  border: 1px solid rgb(52, 58, 64);
  user-select: none;
}
.quiz_box header .time_line {
  position: absolute;
  bottom: 0px;
  left: 0px;
  height: 3px;
  background: rgb(0, 123, 255);
}
section {
  padding: 25px 30px 20px;
  background: rgb(255, 255, 255);
}
section .que_text {
  font-size: 25px;
  font-weight: 600;
}
section .option_list {
  padding: 20px 0px;
  display: block;
}
section .option_list .option {
  background: aliceblue;
  border: 1px solid rgb(132, 197, 254);
  border-radius: 5px;
  padding: 8px 15px;
  font-size: 17px;
  margin-bottom: 15px;
  cursor: pointer;
  transition: all 0.3s ease 0s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
section .option_list .option:last-child {
  margin-bottom: 0px;
}
section .option_list .option:hover {
  color: rgb(0, 64, 133);
  background: rgb(204, 229, 255);
  border: 1px solid rgb(184, 218, 255);
}
section .option_list .option.correct {
  color: rgb(21, 87, 36);
  background: rgb(212, 237, 218);
  border: 1px solid rgb(195, 230, 203);
}
section .option_list .option.incorrect {
  color: rgb(114, 28, 36);
  background: rgb(248, 215, 218);
  border: 1px solid rgb(245, 198, 203);
}
section .option_list .option.disabled {
  pointer-events: none;
}
section .option_list .option .icon {
  height: 26px;
  width: 26px;
  border: 2px solid transparent;
  border-radius: 50%;
  text-align: center;
  font-size: 13px;
  pointer-events: none;
  transition: all 0.3s ease 0s;
  line-height: 24px;
}
.option_list .option .icon.tick {
  color: rgb(35, 144, 60);
  border-color: rgb(35, 144, 60);
  background: rgb(212, 237, 218);
}
.option_list .option .icon.cross {
  color: rgb(164, 40, 52);
  background: rgb(248, 215, 218);
  border-color: rgb(164, 40, 52);
}
.footer {
  height: 60px;
  padding: 0px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid lightgrey;
}
.footer .total_que span {
  display: flex;
  user-select: none;
}
.footer .total_que span p {
  font-weight: 500;
  padding: 0px 5px;
}
.footer .total_que span p:first-child {
  padding-left: 0px;
}
.footer button {
  height: 40px;
  padding: 0px 13px;
  font-size: 18px;
  font-weight: 400;
  cursor: pointer;
  outline: none;
  color: rgb(255, 255, 255);
  border-radius: 5px;
  background: rgb(0, 123, 255);
  border: 1px solid rgb(0, 123, 255);
  line-height: 10px;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95);
  transition: all 0.3s ease 0s;
}
.footer button:hover {
  background: rgb(2, 99, 202);
}
.footer button.show {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}
.result_box {
  background: rgb(255, 255, 255);
  border-radius: 5px;
  display: flex;
  padding: 25px 30px;
  width: 450px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  transform: translate(-50%, -50%) scale(0.9);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease 0s;
}
.result_box .icon {
  font-size: 100px;
  color: rgb(0, 123, 255);
  margin-bottom: 10px;
}
.result_box .complete_text {
  font-size: 20px;
  font-weight: 500;
}
.result_box .score_text span {
  display: flex;
  margin: 10px 0px;
  font-size: 18px;
  font-weight: 500;
}
.result_box .score_text span p {
  padding: 0px 4px;
  font-weight: 600;
}
.result_box .buttons {
  display: flex;
  margin: 20px 0px;
}
.result_box .buttons button {
  margin: 0px 10px;
  height: 45px;
  padding: 0px 20px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  border-radius: 5px;
  border: 1px solid rgb(0, 123, 255);
  transition: all 0.3s ease 0s;
}
.buttons button.restart {
  color: rgb(255, 255, 255);
  background: rgb(0, 123, 255);
}
.buttons button.restart:hover {
  background: rgb(2, 99, 202);
}
.buttons button.quit {
  color: rgb(0, 123, 255);
  background: rgb(255, 255, 255);
}
.buttons button.quit:hover {
  color: rgb(255, 255, 255);
  background: rgb(0, 123, 255);
}
