* {
  margin: 0;
  padding: 0;
  font-family: "Scheherazade New", serif;
}
body {
  background-color: #bfe0f1;
}

/* Home Page */

.MyQuizApp {
  width: 720px;
  height: 680px;
  position: absolute;
  top: 50%;

  left: 50%;
  background-color: #fff;
  box-shadow: rgb(0 0 0 / 10%) 0px 10px 50px;
  transform: translate(-50%, -50%);
  border-radius: 48px;
}
.img img {
  width: 90%;
  height: 50vh;
}

.text1 {
  width: 90%;
  margin: auto;
}
.text1 h3 {
  margin-top: 20px;
}

.MyBtn {
  width: 60%;
  margin-top: 35px;
  margin-left: 256px !important;
}

.MyBtn button {
  font-size: 20px;
  font-weight: 600;
  background-color: tomato;
  border: none;
  outline: none;
  color: #fff;
  padding: 6px 25px;
  cursor: pointer;
  border-radius: 57px 0px 51px 0px;
  transition: 0.2s ease-in-out;
}
.MyBtn button:hover {
  background-color: rgb(29, 194, 194);
}

/* rules Box page*/

.RulesBox.activeInfo {
  opacity: 1;
  z-index: 5;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.RulesBox {
  width: 720px;
  height: 680px;
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: #fff;
  box-shadow: rgb(0 0 0 / 10%) 0px 10px 50px;
  transform: translate(-50%, -50%);
  border-radius: 48px;
  opacity: 0;
  pointer-events: none;
}
.RulesTitle {
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  border-bottom: 1px solid lightgray;
  padding: 5px;
}
.RulesList {
  width: 80%;
  margin: auto;
}

ol li {
  font-size: 17px;
  font-weight: 500;
  padding: 10px 25px;
}
.Buttons button {
  font-size: 20px;
  font-weight: 600;
  background-color: tomato;
  border: none;
  outline: none;
  color: #fff;
  padding: 6px 25px;
  cursor: pointer;
  transition: 0.2s ease-in-out;
  margin-top: 158px;
}
.ExitButton {
  border-radius: 0px 47px 0px 46px;
  margin-left: 40px;
}
.ExitButton:hover {
  background-color: red;
}
.ContinueButton {
  border-radius: 57px 0px 46px 0px;
  margin-left: 350px;
}
.ContinueButton:hover {
  background-color: rgb(29, 194, 194);
}

/* Questions Showing */
.Questions.activeQuiz {
  opacity: 1;
  z-index: 5;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.Questions {
  width: 720px;
  height: 680px;
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: #fff;
  box-shadow: rgb(0 0 0 / 10%) 0px 10px 50px;
  transform: translate(-50%, -50%);
  border-radius: 48px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1);
}

.QuestionsHeader {
  position: relative;
  z-index: 2;
  height: 70px;
  padding: 0 30px;
  border-radius: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.QuestionsHeader .title {
  font-size: 15px;
  font-weight: 600;
}
.TimeCount {
  color: #004085;
  background: #cce5ff;
  border: 1px solid #b8daff;
  height: 25px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 120px;
}
.Seconds {
  font-size: 18px;
  font-weight: 500;
  height: 26px;
  width: 45px;
  color: #fff;
  border-radius: 5px;
  line-height: 26px;
  text-align: center;
  background: #343a40;
  border: 1px solid #343a40;
  user-select: none;
}
.section {
  padding: 25px 30px 20px 30px;
}
.text {
  font-size: 25px;
  font-weight: 600;
}
.MyOptions {
  padding: 20px 0px;
  display: block;
}

/* Options */
.options {
  background: aliceblue;
  border: 1px solid #84c5fe;
  border-radius: 5px;
  padding: 8px 15px;
  font-size: 17px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.options:hover {
  color: #004085;
  background: #cce5ff;
  border: 1px solid #b8daff;
}

footer {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid lightgrey;
}

.total_que {
  padding-bottom: 10px;
  padding-left: 30px;
}

footer button {
  font-size: 20px;
  font-weight: 600;
  padding: 6px 25px;
  outline: none;
  border: none;
  border-radius: 57px 0px 51px 0px;
  box-shadow: rgb(0 0 0 / 10%) 0px 10px 50px;
  background: tomato;
  cursor: pointer;
  color: #f1f1f1;
  transition: all 0.3s ease;
  margin-top: 11px;
  display: none;
}
footer .nextBtn:hover {
  background-color: rgb(29, 194, 194);
}

.options.correct {
  color: #155724;
  background: #d4edda;
  border: 1px solid #c3e6cb;
}
.options.incorrect {
  color: #721c24;
  background: #f8d7da;
  border: 1px solid #f5c6cb;
}

.options.disabled {
  pointer-events: none;
}

.Questions header .time_lines {
  position: absolute;
  bottom: 0px;
  left: 0px;
  height: 5px;
  background: #007bff;
}

.result_box {
  width: 720px;
  height: 680px;
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  background-color: #fff;
  border-radius: 48px;
  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;
}

.ResultImg img {
  width: 100%;
  height: 170px;
  margin-bottom: 180px;
}
.complete_text {
  font-size: 20px;
  font-weight: 500;
}
.score_text span {
  display: flex;
  margin: 10px 0;
  font-size: 18px;
  font-weight: 500;
}

.score_text span p {
  padding: 0 4px;
  font-weight: 600;
}

.result_box .buttons {
  display: flex;
  margin: 20px 0px;
}

.result_box .buttons button {
  margin: 0 10px;
  height: 45px;
  padding: 0 20px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  outline: none;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.restart1 {
  background-color: tomato;
  color: #fff;
}
.restart1:hover {
  background-color: rgb(29, 194, 194);
}

.quit {
  background-color: tomato;
  color: #fff;
}
.quit:hover {
  background-color: red;
}

.result_box.activeResult {
  z-index: 5;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}
