Spaces:
Sleeping
Sleeping
| body { | |
| font-family: Arial, sans-serif; | |
| margin: 0; | |
| padding: 0; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| background-color: #f5f5f5; | |
| } | |
| #menu-items { | |
| display: flex; | |
| flex-wrap: wrap; | |
| justify-content: center; | |
| margin-top: 20px; | |
| } | |
| .food-item { | |
| margin: 15px; | |
| text-align: center; | |
| background: #fff; | |
| border: 1px solid #ddd; | |
| border-radius: 8px; | |
| box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); | |
| width: 150px; | |
| } | |
| .food-image { | |
| width: 100%; | |
| border-radius: 8px 8px 0 0; | |
| cursor: pointer; | |
| } | |
| .add-button { | |
| background-color: #28a745; | |
| color: white; | |
| border: none; | |
| padding: 8px 16px; | |
| border-radius: 4px; | |
| cursor: pointer; | |
| margin: 10px 0; | |
| } | |
| .add-button:hover { | |
| background-color: #218838; | |
| } | |
| .modal { | |
| display: none; | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| background: rgba(0, 0, 0, 0.5); | |
| justify-content: center; | |
| align-items: center; | |
| } | |
| .modal-content { | |
| background: white; | |
| padding: 20px; | |
| border-radius: 10px; | |
| width: 300px; | |
| text-align: center; | |
| box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); | |
| } | |
| .close-button { | |
| float: right; | |
| font-size: 18px; | |
| cursor: pointer; | |
| } | |
| #add-to-cart-button { | |
| background-color: #007bff; | |
| color: white; | |
| border: none; | |
| padding: 8px 16px; | |
| border-radius: 4px; | |
| cursor: pointer; | |
| } | |
| #add-to-cart-button:hover { | |
| background-color: #0056b3; | |
| } | |