/* General body styling */
body {
    font-family: 'Arial', sans-serif;
    
    background-color: #dbe6f1;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.quiz-container {
    width: 50%;
    background: #ffffff;
    padding: 30px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
    font-family: 'Georgia', serif;
    letter-spacing: 1px;
}

#question {
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: bold;
    color: #444;
}

.options {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.option {
    width: 80%;
    padding: 15px;
    margin: 10px 0;
    background-color: #2196F3;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease-in-out, transform 0.3s ease;
    animation: fadeUp 0.6s ease-out forwards;
    opacity: 0;
}

@keyframes fadeUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.option:hover {
    background-color: #1769aa;
    transform: translateY(-3px);
}

#nextBtn {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    margin-top: 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
    animation: bounceIn 1s ease-in-out;
}

#nextBtn:hover {
    background-color: #388e3c;
}

#result {
    margin-top: 20px;
    font-size: 20px;
    font-weight: bold;
    color: #f44336;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

#result.show {
    opacity: 1;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
    }
}
