/* Center and style the heading */
h1 {
    text-align: center;
    background-color: white;
    padding: 20px;
    margin: 20px auto;
    width: 60%; /* Adjust the width as needed */
    border: 1px solid #ddd; /* Optional: Add a border */
    border-radius: 10px; /* Optional: Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Add a shadow */
}

/* Style the game list */
ul {
    list-style-type: none; /* Remove bullets */
    padding: 0;
    display: flex;
    flex-wrap: wrap; /* Wrap items for responsive design */
    justify-content: center; /* Center items */
}

/* Style each game item */
.game-item {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin: 20px;
    padding: 10px;
    width: 200px; /* Adjust the width as needed */
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Style the link */
.game-item a {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: #007BFF;
    text-decoration: none;
    margin-bottom: 10px;
}

.game-item a:hover {
    color: #0056b3; /* Slightly darker on hover */
}

/* Style the image */
.game-item img {
    max-width: 100%;
    height: auto; /* Maintain aspect ratio */
    border-radius: 5px;
    margin-bottom: 10px; /* Add space below the image */
}
