/* General Styles for the Website */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #007BFF;
    color: white;
    padding: 20px;
    text-align: center;
}

header a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    margin-left: 15px;
}

main {
    padding: 20px;
}

/* Buttons */
button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #007BFF;
    color: white;
    border: none;
    cursor: pointer;
    margin: 5px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0056b3;
}

.hidden {
    display: none;
}

/* Quiz-specific Styles */
#questionsContainer div {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 5px;
}

.correct {
    color: green;
    font-weight: bold;
}

.incorrect {
    color: red;
    font-weight: bold;
}

/* Confetti Animation */
.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    top: -10px;
    animation: confetti-fall 2s linear infinite, confetti-drift 1s ease-in-out infinite;
}

@keyframes confetti-fall {
    to {
        transform: translateY(100vh);
    }
}

@keyframes confetti-drift {
    50% {
        transform: translateX(30px);
    }
    100% {
        transform: translateX(-30px);
    }
}
