.question-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px;
}

.textBoxC {
  font-size: 15px;
  margin-bottom: 20px;
}

.question {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.question span {
  font-size: 18px;
}

.answer-dropdown {
  font-size: 16px;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 200px;
}

.button-container {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.buttonC, .clear-button {
  font-size: 18px;
  padding: 10px;
  margin: 10px;
  border-radius: 5px;
  cursor: pointer;
	box-shadow: 7px 7px 14px rgba(0,0,0,.2);
  border: 1px solid rgba(0,0,0,0.1);
}

.buttonC {
  background-color: #fcb900;
}

.clear-button {
  background-color: #f44336;
}

.message-area {
  font-size: 18px;
  font-weight: bold;
  margin-left: 20px;
}

/* Media queries for responsiveness */
@media only screen and (max-width: 600px) {
  .question-container {
    margin: 10px;
  }
  
  .textBoxC question-text {
    font-size: 18px;
  }
  
  .question span {
    font-size: 16px;
  }
  
  .answer-dropdown {
    font-size: 14px;
    width: 150px;
  }
  
  .buttonC, .clear-button {
    font-size: 14px;
    padding: 5px;
    margin: 5px;
  }
  
  .message-area {
    font-size: 16px;
  }
}
    .quiz-container {
      margin: 0 auto;
      background-color: #f9de8b;
      border-radius: 5px;
      padding: 20px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }
        .result {
            margin-bottom: 10px;
        }

        .question {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            margin-bottom: 20px;
        }

        #results2 {
            font-weight: bold;
            margin-top: 10px;
            padding: 20px;
            background-color: #f0f0f0;
            border-radius: 10px;
            text-align: center;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
    /* Modern UI Styling */
    .btn {
        background-color: #4CAF50;
        border: none;
        color: white;
        padding: 10px 20px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 16px;
        border-radius: 4px;
        transition-duration: 0.4s;
        cursor: pointer;
        margin-right: 10px;
    }

    .btn-check {
        background-color: #4CAF50;
    }

    .btn-reset {
        background-color: #f44336;
    }

    .btn:hover {
        background-color: #45a049;
    }
			
    .quiz-container {
      margin: 0 auto;
      background-color: #f9de8b;
      border-radius: 5px;
      padding: 20px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }
    
    .form-group {
      margin-bottom: 20px;
    }
    
    .form-group label {
      display: block;
      font-size: 18px;
      margin-bottom: 10px;
      color: #333333;
    }
    
    .form-group input[type="text"] {
      width: 100%;
      padding: 10px;
      font-size: 16px;
      border-radius: 4px;
      background: white;
      border: 1px solid #cccccc;
    }
    
    .action-buttons {
      text-align: right;
      margin-top: 20px;
    }
    
    .action-buttons button {
      padding: 10px 20px;
      font-size: 16px;
      border-radius: 4px;
      border: none;
      color: #ffffff;
      background-color: #00d084;
      cursor: pointer;
    }
    
    .action-buttons button.check-answer {
      background-color: #00d084;
      margin-right: 10px;
    }
    
    .action-buttons button.reset {
      background-color: #9b51e0;
    }
    
    #correctAnswer {
      margin-top: 20px;
      display: none;
      color: #333333;
    }
    
    #correctAnswer p {
      font-size: 16px;
      margin-bottom: 10px;
    }
    
    #correctAnswer p strong {
      font-weight: bold;
    }
    
    .feedback-container {
      margin-top: 20px;
      text-align: center;
    }
    
    .feedback-container button {
      background-color: transparent;
      border: none;
      cursor: pointer;
      margin: 0 5px;
    }
  </style>

<script> 
    function showAnswer() {
      document.getElementById("correctAnswer").style.display = "block";
    }
    
    function resetForm() {
      document.getElementById("quizForm").reset();
      document.getElementById("correctAnswer").style.display = "none";
    }
  </script>
<style>
.question-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px;
}

.textBoxC {
  font-size: 15px;
  margin-bottom: 20px;
}

.question {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.question span {
  font-size: 18px;
}

.answer-dropdown {
  font-size: 16px;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 200px;
}

.button-container {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.buttonC, .clear-button {
  font-size: 18px;
  padding: 10px;
  margin: 10px;
  border-radius: 5px;
  cursor: pointer;
	box-shadow: 7px 7px 14px rgba(0,0,0,.2);
  border: 1px solid rgba(0,0,0,0.1);
}

.buttonC {
  background-color: #fcb900;
}

.clear-button {
  background-color: #f44336;
}

.message-area {
  font-size: 18px;
  font-weight: bold;
  margin-left: 20px;
}

/* Media queries for responsiveness */
@media only screen and (max-width: 600px) {
  .question-container {
    margin: 10px;
  }
  
  .textBoxC question-text {
    font-size: 18px;
  }
  
  .question span {
    font-size: 16px;
  }
  
  .answer-dropdown {
    font-size: 14px;
    width: 150px;
  }
  
  .buttonC, .clear-button {
    font-size: 14px;
    padding: 5px;
    margin: 5px;
  }
  
  .message-area {
    font-size: 16px;
  }
}
    .quiz-container {
      margin: 0 auto;
      background-color: #f9de8b;
      border-radius: 5px;
      padding: 20px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }
        .result {
            margin-bottom: 10px;
        }

        .question {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            margin-bottom: 20px;
        }

        #results2 {
            font-weight: bold;
            margin-top: 10px;
            padding: 20px;
            background-color: #f0f0f0;
            border-radius: 10px;
            text-align: center;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
    /* Modern UI Styling */
    .btn {
        background-color: #4CAF50;
        border: none;
        color: white;
        padding: 10px 20px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 16px;
        border-radius: 4px;
        transition-duration: 0.4s;
        cursor: pointer;
        margin-right: 10px;
    }

    .btn-check {
        background-color: #4CAF50;
    }

    .btn-reset {
        background-color: #f44336;
    }

    .btn:hover {
        background-color: #45a049;
    }
			
    .quiz-container {
      margin: 0 auto;
      background-color: #f9de8b;
      border-radius: 5px;
      padding: 20px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }
    
    .form-group {
      margin-bottom: 20px;
    }
    
    .form-group label {
      display: block;
      font-size: 18px;
      margin-bottom: 10px;
      color: #333333;
    }
    
    .form-group input[type="text"] {
      width: 100%;
      padding: 10px;
      font-size: 16px;
      border-radius: 4px;
      background: white;
      border: 1px solid #cccccc;
    }
    
    .action-buttons {
      text-align: right;
      margin-top: 20px;
    }
    
    .action-buttons button {
      padding: 10px 20px;
      font-size: 16px;
      border-radius: 4px;
      border: none;
      color: #ffffff;
      background-color: #00d084;
      cursor: pointer;
    }
    
    .action-buttons button.check-answer {
      background-color: #00d084;
      margin-right: 10px;
    }
    
    .action-buttons button.reset {
      background-color: #9b51e0;
    }
    
    #correctAnswer {
      margin-top: 20px;
      display: none;
      color: #333333;
    }
    
    #correctAnswer p {
      font-size: 16px;
      margin-bottom: 10px;
    }
    
    #correctAnswer p strong {
      font-weight: bold;
    }
    
    .feedback-container {
      margin-top: 20px;
      text-align: center;
    }
    
    .feedback-container button {
      background-color: transparent;
      border: none;
      cursor: pointer;
      margin: 0 5px;
    }
