/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #fce4f1; /* Very light pink background */
    color: #333;
}

/* Header Styles */
header {
    background: #ff4f81; /* Dark pink for header */
    color: #fff;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #ff99cc; /* Soft pink border */
}

header .logo {
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 1px;
}

.reset-button {
    background: #ff99cc; /* Light pink for button */
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 25px; /* More rounded button */
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s; /* Transition for smooth hover effect */
}

.reset-button:hover {
    background: #e6007e; /* Darker pink on hover */
    transform: scale(1.05); /* Slightly enlarge on hover */
}

/* Game Container */
.game-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 20px;
    max-width: 800px; /* Limit the width of the game */
    margin: auto; /* Center the game container */
}

/* Card Styles */
.card {
    background: #fff;
    border-radius: 15px; /* Rounded corners */
    cursor: pointer;
    overflow: hidden;
    position: relative;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 48px; /* Larger font for emojis */
    color: #ff4f81; /* Dark pink text for card */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    transition: background 0.3s, transform 0.3s; /* Smooth transitions */
}

.card.flipped {
    background-color: #ffccff; /* Light pink for flipped cards */
    transform: scale(1.05); /* Slight enlargement when flipped */
}

.message {
    text-align: center;
    font-size: 20px;
    margin-top: 20px;
    color: #ff4f81; /* Dark pink for the message */
    font-weight: bold;
    transition: opacity 0.3s; /* Smooth transition for visibility */
}

  
