body { font-family: Arial, sans-serif; } h1 { text-align: center; } #products-container { display: flex; flex-wrap: wrap; justify-content: center; } .product { border: 1px solid #ccc; margin: 10px; padding: 10px; text-align: center; width: 200px; } .product img { max-width: 100%; } .product button { background-color: #4CAF50; color: white; border: none; padding: 10px; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; margin: 4px 2px; cursor: pointer; } .product button:hover { background-color: #45a049; }