body {
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f0f0f0;
    margin: 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 500px;
    max-width: 90vw;
    margin-bottom: 1rem;
}

h1 {
    margin: 0;
}

#see-all-button {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border: none;
    border-radius: 5px;
    background-color: #4ea2eb;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s;
}

#see-all-button:hover {
    background-color: #5a6268;
}

#quiz-container {
    width: 500px;
    max-width: 90vw;
    box-sizing: border-box;
    text-align: center;
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#flashcard-image {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 1rem;
}

#options-container button {
    display: block;
    width: 100%;
    padding: 0.75rem;
    margin: 0.5rem 0;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    cursor: pointer;
    transition: background-color 0.2s;
}

#options-container button:hover {
    background-color: #e0e0e0;
}

#options-container button.correct {
    background-color: #4CAF50;
    color: white;
}

#options-container button.incorrect {
    background-color: #f44336;
    color: white;
}

#feedback {
    min-height: 1.5em;
    font-weight: bold;
}

#next-button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    margin-top: 1rem;
}

#next-button:disabled {
    background-color: #ccc;
}

#glossary-container {
    width: 80vw;
    max-width: 1200px;
    text-align: center;
}

#glossary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.glossary-item {
    background-color: white;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.glossary-item img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.glossary-item p {
    margin-top: 0.5rem;
    font-weight: bold;
    text-transform: capitalize;
}

#back-to-quiz-button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    margin-top: 1rem;
} 