*,
*::before,
*::after {
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
}
:root {
  --mainColor:#0a69ed;
  --white:#fff;
  --secondColor: #00aa6c;
  --choicesHover: rgb(112, 128, 144, 0.2);
  --choicesBorder: slategray;
}
.dark-mode{
  --mainColor:#000;
  --white:#8D99AE;
  --secondColor: #00aa6c;
  --choicesHover: #fff;
  --choicesBorder: #fff;
}
body {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: var(--mainColor);
  position: relative;
}
.container {
  background-color: var(--white);
  min-height: 80%;
  width: 750px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  padding: 20px;
  transform: scale(0);
  /* display: none; */
}
.container-shown {
  transform: scale(1);
  transition: transform 250ms ease-in;
}
.header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  padding: 10px;
  border-bottom: 2px solid var(--choicesBorder);
  font-size: 1.3rem;
}
.q-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin: 30px;
}
.q-image {
  background-color: var(--white);
  border: 1px solid var(--secondColor);
  border-radius: 5px;
  box-shadow: 4px 4px 20px 10px rgba(0, 0, 0, 0.137);
}
.image-shown {
  object-fit: contain;
  max-width: 230px;
  max-height: 230px;
  border-radius: 5px;
}
.question {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
}
.options {
  min-width: 60%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
}
.choices {
  width: 100%;
  font-size: 1.3rem;
  border: 1px solid var(--choicesBorder);
  border-radius: 4px;
  padding: 5px 10px;
  min-height: 40px;
}
.choices:hover {
  background-color: var(--choicesHover);
  cursor: pointer;
  user-select: none;
}
.q-submit {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.q-submit .progress-btn {
  padding: 10px 15px;
  font-size: 1.3rem;
  color: #fff;
  background-color: var(--mainColor) ;
  border-radius: 5px;
  outline: none;
  border: none;
  user-select: none;
}
.q-submit .progress-btn:hover {
  cursor: pointer;
  box-shadow: 2px 2px 10px 5px rgb(0, 0, 0, 0.4);
}
.clickedDiv {
  border: 1px solid var(--secondColor);
  background: #00aa6c40;
}
.clickedDiv:hover {
  background: #00aa6c40;
}
.prev-btn {
  background-color: #6ca5f4 !important;
  pointer-events: none;
}
.prev-btn:hover {
  cursor: not-allowed;
}
.start {
  padding: 10px 20px;
  font-size: 1.3rem;
  font-weight: 600;
  background-color: var(--white);
  color: var(--mainColor);
  border-radius: 5px;
  outline: none;
  border: none;

  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.start:hover {
  cursor: pointer;
  box-shadow: 2px 2px 10px 5px rgb(0, 0, 0, 0.4);
}
.start-clicked {
  transform: scale(0);
  /* display: none; */
  transition: all 1s ease-in-out;
}
.marks-shown {
  text-align: center;
  background-color: var(--secondColor);
}
