* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  min-height: 100vh;
  background: linear-gradient(135deg, #c4c2c2 0%, #f5f5f5 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: flex-start;
}

section {
  width: 90%;
  max-width: 500px;
}

#heading {
  color: #222831;
  font-size: 2.8rem;
  margin-bottom: 30px;
  text-align: center;
  margin-top: 2.5rem;
  font-weight: 600;
  animation: fadeIn 1s ease forwards;

}

#timer {
  display: inline-block;
  background-color: cadetblue;
  color: #fff;
  font-size: 1rem;
  padding: 6px 16px;
  border-radius: 6px;
  font-weight: 500;
  margin-bottom: 36px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.10);
}

#mainDiv {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  padding: 30px 25px;
  border-radius: 16px;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 600px;
  min-height: 400px;
  text-align: center;
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

#ques {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #222831;
}

#mainDiv input[type="radio"] {
  accent-color: cadetblue;
  margin-right: 8px;
  transform: scale(1);
  cursor: pointer;
}

label {
  font-size: 1.05rem;
  color: #4f4f4f;
}

.btnDiv {
  display: flex;
  justify-content: center;
  margin-top: 25px;
  width: 100%;
}

button {
  background-color: cadetblue;
  color: #ffffff;
  border: none;
  width: 40%;
  padding: 10px 36px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

button:hover {
  background-color: rgb(50, 92, 94);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  section {
    width: 90%;
    max-width: 450px;
  }

  #heading {
    font-size: 2.2rem;
  }

  #timer {
    font-size: 1rem;
  }

  #mainDiv {
    padding: 20px 16px;
    min-height: 360px;
  }

}

@media (max-width: 600px) {
  section {
    width: 90%;
    max-width: 400px;
  }

  #timer {
    margin-top: 3px;
    margin-bottom: 28px;
    font-size: 1rem;
  }

  #mainDiv {
    padding: 20px 16px;
    min-height: 330px;
  }
}

@media (max-width: 480px) {
  section {
    width: 85%;
  }

  #heading {
    font-size: 2rem;
  }

  #timer {
    margin-top: 3px;
    margin-bottom: 28px;
    font-size: 0.9rem;
  }

  #mainDiv {
    padding: 14px 8px;
  }

  button {
    font-size: 0.9rem;
  }
}