.grid-container { display: grid; grid-template-columns: repeat(1, 2fr); gap: 10px; max-width: 800px; margin: 0 auto; } .grid-list-products { justify-items: center; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 800px; margin: 0 auto; } .card-product { background: var(--main-gradient); box-shadow: 3px 3px 10px rgba(2, 2, 2, 0.678); } .card-product:hover { transform: scale(1.05); box-shadow: 2px 2px 10px rgba(185, 185, 185, 0.678); } table td th { text-align: center; } /* button { background-color: #007BFF; color: white; padding: 10px 20px; border: none; border-radius: 5px; cursor: pointer; } button:hover { background-color: #0056b3; } */ .modal { display: none; position: fixed; padding: 20px; top: 50%; left: 50%; width: 100%; height: 100%; overflow: auto; background-color: rgba(0, 0, 0, 0.4); transform: translate(-50%, -50%); } .modal-content { background-color: #fefefe; margin: 15% auto; padding: 20px; border: 1px solid #888; border-radius: 10px; width: 90%; height: 90%; max-width: 500px; } form { display: flex; flex-direction: column; gap: 10px; } input, textarea { width: 95%; max-width: 95%; padding: 8px; margin-top: 5px; border-radius: 5px; border: 1px solid #ccc; }