/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    width: 80%;
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    margin-bottom: 1rem;
    color: #2c3e50;
}

p {
    margin-bottom: 1rem;
}

form {
    margin-top: 2rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
}

input[type="text"],
input[type="number"],
select {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 3px;
}

input[type="radio"] {
    margin-right: 0.5rem;
}

input[type="submit"],
.button {
    display: inline-block;
    background-color: #3498db;
    color: #fff;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover,
.button:hover {
    background-color: #2980b9;
}

.question {
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: #ecf0f1;
    border-radius: 3px;
}

.question p {
    margin-bottom: 0.5rem;
}

.correct {
    color: #27ae60;
    font-weight: bold;
}

.incorrect {
    color: #c0392b;
    font-weight: bold;
}

@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 1rem;
    }
}