body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

.game-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.score-board {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
}

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

.card {
    width: 100px;
    height: 100px;
    background-color: #007bff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 24px;
    color: white;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

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

.card.flipped .card-image, .card.matched .card-image {
    display: block;
}

.card.flipped, .card.matched {
    background-color: #ffc107;
}

#restart-button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
}

#restart-button:hover {
    background-color: #0056b3;
}
