body {
    font-family: Arial, sans-serif;
    background-color: #f0f8ff;
    text-align: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

header h1 {
    font-size: 3em;
    color: #ff4500;
}

#settings {
    margin-bottom: 20px;
}

#settings h2 {
    font-size: 2em;
    color: #32cd32;
}

#checkboxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}

#checkboxes label {
    font-size: 1.5em;
    margin: 5px;
}

#startButton {
    font-size: 1.5em;
    padding: 10px 20px;
    background-color: #32cd32;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#startButton:hover {
    background-color: #228b22;
}

#stopButton {
    font-size: 1.5em;
    padding: 10px 20px;
    background-color: #ff4500;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
}

#stopButton:hover {
    background-color: #ff6347;
}

#game {
    display: none;
}

#question {
    font-size: 2.5em;
    margin-bottom: 20px;
}

#answers button {
    font-size: 2em;
    padding: 10px 20px;
    margin: 10px;
    background-color: #ff4500;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#answers button:hover {
    background-color: #ff6347;
}

#answers button.correct {
    background-color: #32cd32;
}

#answers button.incorrect {
    background-color: #ff4500;
    text-decoration: line-through;
}

#timebar {
    width: 100%;
    background-color: #ddd;
    margin-top: 20px;
    height: 30px;
    border-radius: 5px;
    overflow: hidden;
}

#progress {
    height: 100%;
    background-color: #32cd32;
    width: 100%;
    transition: width 0.1s linear;
}

#scoreBoard {
    margin-top: 20px;
    font-size: 1.5em;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.score {
    margin: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

#answerHistory {
    margin-top: 20px;
    font-size: 1.5em;
    max-height: 6em;
    overflow-y: auto;
}

.correct {
    color: green;
}

.incorrect {
    color: red;
}

.incorrect .wrong-answer {
    text-decoration: line-through;
}

#feedback {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 1000;
    animation: fadeOut 1s ease-in-out;
}

.correct-feedback {
    background-color: #4CAF50;
    color: white;
}

.incorrect-feedback {
    background-color: #F44336;
    color: white;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

#modeSlider {
    padding: 10px;
    font-size: 20px;
    width: 200px;
    border: 2px solid #32cd32;
    border-radius: 5px;
}
