
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}


body {
  height: 100vh;
  background: linear-gradient(135deg, #74ebd5, #ACB6E5);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}


.quiz-container {
  width: 90%;
  max-width: 430px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 30px 25px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  animation: slideIn 0.6s ease-out;
  text-align: center;
  color: black;
}


h1 {
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: 600;
}


#question {
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 500;
}
#options {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

#options li {
  background: rgba(255, 255, 255, 0.2);
  padding: 12px 18px;
  margin: 10px 0;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s ease;
  border: 2px solid transparent;
}


#options li:hover {
  background: rgb(144, 200, 233);
  transform: scale(1.03);
}

#options li.selected {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.4);
}


button {
  background: #74ebd5;
  color: black;
  padding: 10px 20px;
  margin: 10px 5px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}


button:hover {
  background: #ACB6E5;
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}

button:active {
  transform: translateY(0);
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

#next-btn {
  background: #ffffff;
  color: #764ba2;
  border-radius: 12px;
  margin-top: 10px;
}

#next-btn:hover {
  background: #ACB6E5;
  transform: scale(1.05);
}

.custom-btn {
 
  padding: 12px 24px;
  
  font-size: 16px;
  
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}


#result-box {
  animation: fadeIn 0.6s ease-in;
}


#timer {
  color: blue;
  background-color: #5b720a;
  font-size: 24px;
  padding: 10px;
  border-radius: 5px;
  font-family: 'Times New Roman', Times, serif;
}


.hidden {
  display: none;
}


@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
