@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}
body {
  background-color: #007bff;
}
.start,
.info_box,
.quiz_box,
.result_box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0px 4px 8px 0 rgba(0, 0, 0, 0.2),
    0px 6px 20px 0 rgba(0, 0, 0, 0.19);
  transition: all 0.3s ease;
}
.start button {
  font-size: 25px;
  font-weight: 600;
  color: #007bff;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  cursor: pointer;
}
.info_box {
  background-color: white;
  border-radius: 7px;
  width: 540px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.9);
}
.info_box.activeOnClick {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.info_title {
  width: 100%;
  height: 60px;
  border-bottom: 1px solid grey;
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 600;
}
.info_title span {
  margin-left: 33px;
}
.info_list {
  background-color: rgb(218, 231, 243);
  padding: 30px 35px;
  border-bottom: 1px solid grey;
}
.info {
  margin: 7px 0;
}
.info_list span {
  font-weight: 600;
  color: #006bff;
}
.email {
  width: 90%;
  padding: 7px 10px;
  border: none;
  outline: none;
  margin: 5px 10px;
  font-size: 18px;
}
.quit-restart {
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.quit-restart button {
  margin: 0 10px;
  height: 35px;
  width: 100px;
  background-color: #007bff;
  border: #007bff;
  color: white;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
}
.quit-restart button:hover {
  background-color: white;
  border: 2px solid #007bff;
  color: #007bff;
}
.quiz_box {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.9);
  width: 540px;
  background-color: white;
  border-radius: 5px;
}
.quiz_box.activeOnClick,
.result_box.activeOnClick {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.quiz_box header {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  box-shadow: 0px 3px 5px 1px rgba(0, 0, 0, 0.2);
  z-index: 999;
  position: relative;
}
.quiz_box header .title {
  font-size: 22px;
  font-weight: 600;
}
.quiz_box header .timer {
  display: flex;
  justify-content: space-between;
  width: 130px;
  background-color: rgb(190, 237, 243);
  padding: 7px 20px;
  border-radius: 5px;
  font-weight: 500;
  user-select: none;
}
.quiz_box header .timer_sec {
  background-color: rgb(231, 188, 133);
  padding: 1px 11px;
  border-radius: 5px;
  font-weight: 800;
  margin-left: 5px;
}
.quiz_box section {
  padding: 20px 30px;
  background-color: rgb(208, 228, 245);
  box-shadow: 0px 3px 5px 1px rgba(0, 0, 0, 0.3);
}
.quiz_box section .questions {
  font-size: 25px;
  font-weight: 600;
}
.option_list {
  padding: 20px 0;
  display: block;
}
.option {
  display: flex;
  justify-content: space-between;
  background-color: aliceblue;
  border: 1px solid #58a1e0;
  border-radius: 5px;
  margin-bottom: 15px;
  padding: 8px 15px;
  cursor: pointer;
  font-size: 17px;
  transition: 0.3s ease;
}
.option:hover {
  color: #004085;
  background-color: #acc4dd;
}
.option:last-child {
  margin-bottom: 0px;
}
.option .icon {
  border-radius: 50%;
  text-align: center;
  height: 26px;
  width: 26px;
}
.option .tick {
  color: rgb(2, 199, 2);
  border: 2px solid rgb(4, 221, 4);
  background-color: #d4edda;
}
.option .cross {
  color: rgb(219, 55, 14);
  border: 2px solid rgb(230, 69, 21);
  background-color: #cab2a8;
}
.option.correct {
  color: rgb(15, 92, 15);
  background: #d4edda;
  border-color: #c3e6cb;
}
.option.notcorrect {
  color: rgb(119, 36, 10);
  background: #f8d7da;
  border-color: #ece5e2;
}
.option.disabled {
  pointer-events: none;
}
.quiz_box footer {
  display: flex;
  justify-content: space-between;
  height: 60px;
  width: 100;
  padding: 0px 30px;
  align-items: center;
}
.footer span {
  display: flex;
  user-select: none;
}
.footer span p {
  padding: 0 5px;
  font-weight: 600;
}
footer .next_btn {
  height: 35px;
  width: 100px;
  background-color: #007bff;
  border: #007bff;
  color: white;
  font-size: 15px;
  font-weight: 400;
  border-radius: 4px;
  cursor: pointer;
}
.next_btn:hover {
  background-color: white;
  border: 3px solid #007bff;
  color: #007bff;
  font-weight: 900;
}
.result_box {
  background-color: white;
  width: 450px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.9);
}
.result_box .icon {
  font-size: 100px;
  color: #007bff;
}
.result_box .last_text {
  font-size: 20px;
  font-weight: 700;
}
.result_box span {
  display: flex;
  margin: 10px 0;
  font-size: 18px;
  font-weight: 600;
}
.result_box span p {
  margin: 0 5px;
  font-weight: 900;
  color: #126ff1;
}

.result_box .buttons {
  width: 100%;
  padding: 10px 0px;
}
.result_box button {
  height: 40px;
  width: 110px;
  background-color: #007bff;
  border: #007bff;
  color: white;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  margin: 10px 40px;
}
.result_box button:hover {
  background-color: white;
  border: 3px solid #007bff;
  color: #007bff;
  font-weight: 900;
}
