* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-image: linear-gradient(135deg, #FFD700 0%, #FF6347 50%, #1E90FF 100%);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}


.container {
    max-width: 600px;
    margin: 20px auto;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

h1 {
    color: #333;
    margin-bottom: 20px;
}

p {
    color: #666;
    line-height: 1.6;
}

button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

button:hover {
    background-color: #0056b3;
}

#question-container {
    margin-bottom: 20px;
}

#answer-form {
    display: inline-block;
    text-align: left;
}

input[type="radio"] {
    margin-right: 10px;
}

#result-container {
    display: none;
    margin-top: 20px;
}

.correct-answer {
    color: green;
    font-weight: bold;
}

.wrong-answer {
    color: red;
    font-weight: bold;
}

.question {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: center;
}

.options label {
    display: block;
    cursor: pointer;
    font-size: 20px;
    padding: 15px;
    border: 2px solid #ccc;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.options label:hover {
    background-color: #f0f0f0;
}

.options input[type="radio"] {
    display: none;
}

.options input[type="radio"]:checked + label {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

.submit-btn {
    background-color: #4CAF50;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #45a049;
}

.result {
    margin-top: 20px;
    font-size: 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    .question {
        font-size: 20px;
    }
    .options label {
        font-size: 16px;
        padding: 12px;
    }
    .submit-btn {
        padding: 12px 30px;
        font-size: 16px;
    }
    .result {
        font-size: 18px;
    }
}
