Spaces:
Sleeping
Sleeping
body { | |
font-family: Arial, sans-serif; | |
margin: 20px; | |
background-color: #f9f9f9; | |
} | |
h1 { | |
text-align: center; | |
margin-bottom: 30px; | |
} | |
.menu-category { | |
margin-bottom: 30px; | |
} | |
.menu-items { | |
display: flex; | |
flex-wrap: wrap; | |
gap: 20px; | |
} | |
.menu-item { | |
border: 1px solid #ddd; | |
border-radius: 8px; | |
padding: 10px; | |
width: 200px; | |
background-color: white; | |
text-align: center; | |
} | |
.menu-item img { | |
width: 100px; | |
height: 100px; | |
object-fit: cover; | |
margin-bottom: 10px; | |
} | |
.menu-item h3 { | |
font-size: 18px; | |
margin: 10px 0; | |
} | |
.menu-item p { | |
font-size: 16px; | |
color: #333; | |
} | |
.menu-item button { | |
background-color: #28a745; | |
color: white; | |
border: none; | |
padding: 10px; | |
border-radius: 5px; | |
cursor: pointer; | |
font-size: 16px; | |
} | |
.menu-item button:hover { | |
background-color: #218838; | |
} | |
/* Pop-Up Modal */ | |
.popup { | |
display: none; | |
position: fixed; | |
top: 50%; | |
left: 50%; | |
transform: translate(-50%, -50%); | |
width: 50%; | |
background-color: white; | |
padding: 20px; | |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); | |
border-radius: 8px; | |
z-index: 1000; | |
} | |
.popup button { | |
background-color: red; | |
color: white; | |
border: none; | |
padding: 10px; | |
border-radius: 5px; | |
cursor: pointer; | |
} | |
.popup button:hover { | |
background-color: darkred; | |
} | |