body {
    font-family: 'Arial', sans-serif;
    background: #f3f4f6;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
  }
  
  .quiz-container {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 90%;
    max-width: 600px;
    color: #333;
  }
  
  h1 {
    color: #4a4a4a;
    font-size: 24px;
    margin-bottom: 1rem;
  }
  
  button {
    background-color: #d7e1fa;
    color: #333;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 1rem;
    transition: background-color 0.3s;
  }
  
  button:hover {
    background-color: #c2d1f7;
  }
  
  .question {
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
  }
  
  .question.active {
    opacity: 1;
    transform: translateY(0);
  }
  
  .question.fade-out {
    opacity: 0;
    transform: translateY(20px);
  }
  
  .answers {
    list-style-type: none;
    padding: 0;
  }
  
  .answer {
    margin: 5px 0;
  }
  
  .answer input[type="radio"] {
    display: none;
  }
  
  .answer label {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    color: #333;
    padding: 10px 20px;
    border-radius: 10px;
    display: inline-block;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
    box-sizing: border-box;
  }
  
  .answer input[type="radio"]:checked + label {
    background: #e2effd;
  }
  
  .answer label:hover {
    background: #d7e7fc;
  }
  
  .hidden {
    display: none;
  }
  
  .navigation {
    display: flex;
    justify-content: space-between;
  }
  
  .navigation button {
    margin-top: 0;
  }
  
  /* Media Queries for Responsiveness */
  @media (max-width: 600px) {
    .quiz-container {
      padding: 1rem;
    }
  
    h1 {
      font-size: 20px;
    }
  
    button {
      padding: 8px 16px;
      font-size: 14px;
    }
  
    .answer label {
      padding: 8px 16px;
      font-size: 14px;
    }
  }
  
  @media (min-width: 601px) and (max-width: 1024px) {
    .quiz-container {
      padding: 1.5rem;
    }
  
    h1 {
      font-size: 22px;
    }
  
    button {
      padding: 9px 18px;
      font-size: 15px;
    }
  
    .answer label {
      padding: 9px 18px;
      font-size: 15px;
    }
  }
  