
html, body {
    height: 100%;
    margin: 0;
    overflow: hidden;
    font-family: Arial, sans-serif;
    text-align: center;
}

header {
    background-color: #f8f9fa;
    padding: 20px;
    border-bottom: 1px solid #ddd;
}

#game-info {
    margin: 10px;
    font-size: 1em;
}

#game-board {
    display: grid;
    justify-content: center;
    align-content: center;
    gap: 10px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 10px;
}

.card {
    background-color: grey;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9em;
    color: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    aspect-ratio: 4 / 5;
    transition: background-color 0.2s ease;
}

.card.flipped {
    background-color: yellow;
}

.card.matched {
    background-color: green;
}

#next-level-button {
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
}
