body {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
}

h1 {
    margin-bottom: 20px;
}

.game-board {
    display: grid;
    grid-template-columns: repeat(4, 100px);
    gap: 10px;
    margin-bottom: 20px;
}

.card {
    width: 100px;
    height: 100px;
    background-color: #4b961f;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    transition: opacity 0.3s;
}

.card img {
    width: 100%;
    height: 100%;
    display: none;
}

.card.flipped img {
    display: block;
}

.card.matched {
    background-color: #3267fa;
    pointer-events: none;
}
#score-display {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: bold;
}