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

#card-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px;
    border: 1px solid #ddd;
    padding: 10px;
    background-color: white;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

#flashcard {
    max-width: 99vw;
    max-height: 99vh;
    border: 1px solid #ccc;
    object-fit: contain;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.favorite-buttons{
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.all-cards-button { /* Styles for the new container */
    display: flex;
    justify-content: center; /* Center the button horizontally */
    margin-top: 20px; /* Add some top margin */
}

#allCardsButton {
    font-size: 20px;
    padding: 10px 15px;
    background-color: #008CBA;
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s;
}

#allCardsButton {
    background-color: #28a745; /* A slightly darker green */
}
#allCardsButton:hover {
    background-color: #1e7e34;
}

#next-button,
#prev-button {
    font-size: 20px;
    padding: 10px 15px;
    background-color: violet;
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s;
}

#next-button:hover,
#prev-button:hover {
    background-color: rgb(143, 41, 226);
    transform: scale(1.05);
}

#card-number {
    margin-top: 15px;
    font-size: 1.2em;
}

/* Styles for the favorite button (STAR) */
#favoriteButton {
    border: none;
    background: none;
    font-size: 36px;
    cursor: pointer;
    padding: 0;
    color: gold; /* Gold color for the empty star */
    transition: color 0.3s ease;
}

#favoriteButton.favorited {
    color: orange; /* Orange color for the filled star */
}

#reviewFavorites {
    font-size: 20px;
    padding: 10px 15px;
    background-color: #008CBA;
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s;
    margin-top: 20px;
}

#reviewFavorites:hover {
    background-color: #007bb5;
    transform: scale(1.05);
}
