Spaces:
Sleeping
Sleeping
/* Styling for the vertical food list */ | |
#food-list { | |
display: flex; | |
flex-direction: column; | |
align-items: center; | |
gap: 10px; | |
} | |
button { | |
width: 80%; | |
max-width: 400px; | |
padding: 10px; | |
font-size: 16px; | |
border-radius: 8px; | |
border: 1px solid #ddd; | |
cursor: pointer; | |
transition: background-color 0.3s ease, box-shadow 0.3s ease; | |
} | |
button:hover { | |
background-color: #f5f5f5; | |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | |
} | |
/* Popup container styling */ | |
#popup-container { | |
display: none; | |
position: fixed; | |
top: 0; | |
left: 0; | |
width: 100vw; | |
height: 100vh; | |
background-color: rgba(0, 0, 0, 0.5); | |
justify-content: center; | |
align-items: center; | |
z-index: 1000; | |
} | |
#popup-container.active { | |
display: flex; | |
} | |
#popup-content { | |
width: 400px; | |
max-width: 90%; | |
background-color: #fff; | |
border-radius: 12px; | |
padding: 20px; | |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); | |
text-align: center; | |
position: relative; | |
} | |
#popup-content img { | |
width: 100%; | |
max-height: 200px; | |
object-fit: cover; | |
border-radius: 12px 12px 0 0; | |
} | |
#popup-content h3 { | |
margin-top: 20px; | |
font-size: 24px; | |
} | |
#popup-content table { | |
width: 100%; | |
margin-top: 10px; | |
border-collapse: collapse; | |
} | |
#popup-content table td { | |
padding: 10px; | |
border: 1px solid #ddd; | |
} | |
.close-btn { | |
position: absolute; | |
top: 10px; | |
right: 10px; | |
background: #ff3333; | |
border: none; | |
color: white; | |
border-radius: 50%; | |
width: 30px; | |
height: 30px; | |
font-size: 18px; | |
cursor: pointer; | |
} | |