/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    margin: 0;
    padding: 0;
    color: #333;
}

/* Container Styling */
.container {
    width: 95%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    text-align: center;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Header Styles */
#header-wrapper {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    padding: 20px 0;
    color: white;
}

#logo h1 a {
    color: white;
    text-decoration: none;
    font-size: 2em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Typography */
h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #444;
}

h2 {
    font-size: 2em;
    margin-bottom: 15px;
    color: #ff416c;
}

.back-btn {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: white;
    font-size: 1em;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    margin-bottom: 15px;
    display: block;
    text-align: center;
}

.back-btn:hover {
    background: linear-gradient(135deg, #ff4b2b, #ff416c);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* List Styling */
ul {
    list-style: none;
    padding: 0;
    width: 100%;
}

ul li {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    border: none;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.3s ease;
    display: block;
    margin: 10px 0;
    width: 100%;
    text-align: center;
}

ul li:hover {
    background: linear-gradient(135deg, #2575fc, #6a11cb);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Buttons */
button {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    border: none;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.3s ease;
    width: 100%;
    display: block;
    margin: 10px 0;
    text-align: center;
}

button:hover {
    background: linear-gradient(135deg, #2575fc, #6a11cb);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Quiz Section */
#quizSection {
    text-align: center;
    width: 100%;
}

#questionText {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.options {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.options button {
    margin: 10px 0;
    width: 100%;
    max-width: 100%;
}

.options button.correct {
    background: linear-gradient(135deg, #4caf50, #81c784);
}

.options button.wrong {
    background: linear-gradient(135deg, #f44336, #e57373);
}

.note {
    font-style: italic;
    color: #666;
    margin-top: 50px;
}

.nav-buttons {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}

.nav-buttons button {
    flex: 1;
    min-width: 150px;
    max-width: 200px;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.5em;
    }

    .container {
        padding: 15px;
    }

    ul li, button {
        font-size: 1em;
        padding: 10px;
    }
}
