/* Reset margin and padding for all elements */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    color: #000000;
    line-height: 1.6;
    margin: 0;
}

.container, .quiz-container {
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 800px;
    margin: 40px auto;
    border-radius: 8px;
}

h1 {
    text-align: center;
    color: #000000;
    margin-bottom: 30px;
}

.about-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
    font-style: italic;
}

.info-section {
    margin-bottom: 40px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.info-section ul li.last-bullet {
    margin-bottom: 30px;
}

label {
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

input[type="text"],
input[type="email"],
select {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 16px;
    margin-bottom: 15px;
}

.person-section {
    margin-bottom: 40px;
}

.device-note {
    font-style: italic;
    color: #000000;
    margin-bottom: 20px;
}

.center-link {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 20px
}

.center-link a {
    color: #007BFF;
    text-decoration: none;
}

.center-link a:hover {
    text-decoration: underline;
}

.submit-btn, .submit-button {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    margin-top: 30px;
}

.submit-btn:hover, .submit-button:hover {
    background-color: #0069d9;
}

.quiz-form, .question-block {
    margin: 20px 0;
}

.question-block {
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
}

.question-block label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.question-block input[type="radio"] {
    margin-right: 5px;
}

.question-block input[type="radio"] + label {
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

.question-block .answer-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.radio-button {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.radio-button input[type="radio"] {
    margin-right: 5px;
}

.radio-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px 10px;
}

.radio-group input[type="radio"] {
    margin-right: 5px;
}

.radio-group label {
    margin-right: 15px;
}

input[type="radio"] {
    margin-right: 5px;
}

footer {
    text-align: center;
    margin-top: 40px;
}