* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Comic Sans MS', cursive, sans-serif;
}

body {
    background-color: #f0f8ff;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
    background-color: #4CAF50;
    color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h1 {
    margin-bottom: 10px;
    font-size: 36px;
}

h2 {
    margin-bottom: 20px;
    color: #2E8B57;
}

#start-screen, #result-screen {
    text-align: center;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#quiz-container {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.btn-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 20px 0;
}

button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #3e8e41;
}

.control-btn {
    padding: 10px 20px;
    background-color: #008CBA;
}

.control-btn:hover {
    background-color: #007399;
}

.answer-btn {
    text-align: left;
    padding-left: 20px;
    position: relative;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.answer-btn.correct {
    background-color: #4CAF50;
}

.answer-btn.incorrect {
    background-color: #f44336;
}

.hide {
    display: none;
}

#progress-container {
    margin-bottom: 20px;
}

#progress-bar {
    width: 100%;
    height: 20px;
    background-color: #e0e0e0;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

#progress {
    height: 100%;
    background-color: #4CAF50;
    width: 10%;
    transition: width 0.5s ease-in-out;
}

#question-counter {
    text-align: right;
    font-size: 14px;
    color: #666;
}

#question-text {
    margin-bottom: 15px;
}

footer {
    text-align: center;
    margin-top: 30px;
    color: #666;
    font-size: 14px;
}

#result-screen p {
    font-size: 20px;
    margin-bottom: 20px;
}

#feedback {
    margin: 20px 0;
    font-size: 18px;
}

svg {
    display: block;
    margin: 10px auto;
    max-width: 100%;
}

@media (max-width: 600px) {
    .container {
        padding: 10px;
    }
    
    button {
        padding: 12px 15px;
        font-size: 16px;
    }
    
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 22px;
    }
}