body { font-family: Arial, sans-serif; margin: 0; padding: 0; background-color: #ffffff; } h1, h2, h3 { color: #333; } .container { width: 80%; margin: auto; overflow: hidden; } button { background-color: #5cb85c; color: white; border: none; padding: 10px 20px; cursor: pointer; border-radius: 5px; } button:hover { background-color: #4cae4c; } .quiz-question { margin: 20px 0; } .questionnaire { display: none; background-color: white; padding: 20px; border-radius: 5px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); } .results { margin: 20px 0; padding: 20px; background-color: white; border-radius: 5px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); } form { display: flex; flex-direction: column; } form label { margin-top: 10px; margin-bottom: 5px; } form input, form select, form textarea { margin-bottom: 15px; padding: 10px; border: 1px solid #ccc; border-radius: 5px; } form button { align-self: flex-start; margin-top: 20px; } #quiz { display: flex; } #chart { flex: 1; display: flex; justify-content: center; align-items: center; } #question-text, #options { margin-bottom: 20px; } #options { display: flex; flex-direction: column; align-items: center; } .option-button { margin-bottom: 10px; width: 100%; max-width: 300px; } #options label { display: block; margin-bottom: 10px; } #submit { margin-top: 20px; } table { width: 100%; border-collapse: collapse; margin-top: 20px; } table, th, td { border: 1px solid #ddd; } th, td { padding: 10px; text-align: left; } th { background-color: #f2f2f2; } td { text-align: center; }