@import url("https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&family=Noto+Sans+Kannada:wght@100..900&family=Orbitron:wght@400..900&family=Outfit:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

body {
  font-family: "Noto Sans Kannada";
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px;
  background-color: #f4f4f4;
  text-align: center;
}
#quiz-container {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.question {
  background-color: ;
  font-weight: bold;
  margin-bottom: 20px;
  font-size: 18px;
}
.options {
  font-weight: bold;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.option {
  background-color: #e9e9e9b5;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.option:hover {
  border: 0.2px dashed rgba(128, 128, 128, 0.501);
  color: #2196f3;
}
.option.correct {
  background-color: #4caf50;
  color: white;
}
.option.incorrect {
  background-color: #f44336;
  transition: background-color 1s ease-in-out;
  color: white;
}
#result {
  margin-top: 20px;
  font-size: 20px;
  font-weight: bold;
}
#restart-btn {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #2196f3;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* Back to Home */

.back-btn {
  margin-top: 50px;
  border-radius: 8px;

  display: inline-block;
  border: 1px solid #8d8b8b8a;
  padding: 10px 20px;
  cursor: pointer;
  background-color: #ffffff;
  color: #333;
}

.back-btn:hover {
  background-color: yellowgreen;
  color: black;
}

.back-btn:active {
  transform: translateY(1px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn {
  margin-top: 2rem;
  padding: 0.8rem 1.8rem;
  border: 0;
  border-radius: 40px;
  cursor: pointer;
}

.btn--primary {
  background: rgba(128, 128, 128, 0.382);
}

.btn--primary:hover {
  background: rgb(212, 211, 211);
  font-weight: bold;
}
