forked from Vimall03/Alimento
-
Notifications
You must be signed in to change notification settings - Fork 0
/
menu.css
137 lines (120 loc) · 2.48 KB
/
menu.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body, html {
height: 100%;
font-family: Arial, sans-serif;
}
.container-width{
width: 90%;
max-width: 1400px;
margin: 40px auto;
}
.hero-section {
background-image: url('images/10\ restaurants\ in\ Mumbai\ that\ offer\ the\ best\ sunset\ views.webp'); /* Use your image URL here */
background-size: cover;
background-position: center;
height: 400px; /* Full viewport height */
position: relative;
display: flex;
border-radius: 9px;
justify-content: center;
align-items: center;
margin: 20px auto;
max-height: 400px;
}
.overlay {
background-color: rgba(0, 0, 0, 0.4); /* Black with transparency */
color: white;
padding: 145px;
text-align: center;
width: 100%;
/* max-width: 800px; */
border-radius: 10px;
align-items: center;
}
.overlay > h1 {
font-size: 48px;
margin-bottom: 10px;
}
.overlay > p {
font-size: 20px;
color: white;
}
h2 {
margin-bottom: 20px;
font-size: 30px;
font-weight: 600;
}
.big-container{
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.item-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 20px;
/* width: 80%; */
max-width: 900px;
}
.item-card {
background-color: #fff;
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
text-align: center;
padding: 20px;
margin-bottom: 20px;
transition: transform 0.3s ease;
}
.item-card:hover {
transform: scale(1.05);
}
.item-card img {
width: 100%;
height: auto;
border-radius: 8px;
}
.item-card h3 {
margin: 15px 0 10px;
text-align: left;
height: 40px;
height: 30px;
}
.item-card p {
font-size: 18px;
padding-top: 5px;
margin-bottom: 15px;
text-align: left;
}
.item-card button {
background-color: #ff5722;
color: white;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
width: 100%;
transition: background-color 0.3s ease;
}
.item-card button:hover {
background-color: #e64a19;
}
.check-out-btn{
background-color: #e64a19;
color: white;
}
/* Responsive styling */
@media (max-width: 768px) {
.item-grid {
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
}
@media (max-width: 576px) {
.item-grid {
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
}