-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfilterstyle.css
More file actions
513 lines (407 loc) · 10.5 KB
/
Copy pathfilterstyle.css
File metadata and controls
513 lines (407 loc) · 10.5 KB
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
/* ---------------------- Global Styles ---------------------- */
/* Global Reset */
* {
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif;
box-sizing: border-box;
scroll-behavior: smooth;
}
/* Body Background */
body {
background: linear-gradient(150deg, #e3fdec, #eccbcb);
}
#clear-filters-btn {
display: block; /* Make it a block-level element */
margin: 0 auto; /* Center horizontally */
/* Optional: Add padding or other styles as needed */
padding: 10px 20px;
background-color: #d5d0ee;
color: black;
border: none;
border-radius: 10px;
transition: color 0.3s ease, transform 0.3s ease;
}
#clear-filters-btn:hover {
transform: scale(1.05);
color: white;
}
/* ---------------------- Company Logo Styles ---------------------- */
.company-logo {
width: 100px;
height: auto;
margin-right: auto;
}
/* ---------------------- Navbar Styles ---------------------- */
/* Styling the navbar */
.hero nav {
background: #1a1a1a;
width: 100%;
padding: 0px 15%; /* Ensure padding around the navbar */
display: flex;
align-items: center;
justify-content: space-between; /* Places logo on the left and nav items on the right */
position: fixed; /* Keep the navbar at the top while scrolling */
top: 0;
z-index: 1000;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
/* Styling the individual navigation items */
nav ul li {
display: inline-block;
list-style: none;
margin: 0 20px;
position: relative;
}
/* Styling the text in the dropdown menu */
nav ul li a {
position: relative;
color: white;
text-decoration: none;
padding: 10px 0;
transition: color 0.3s ease, transform 0.3s ease; /* Smooth color transition and scaling effect */
font-weight: bold; /* Makes the text bolder */
letter-spacing: 0.5px; /* Slightly increase the spacing between letters */
}
nav ul li a::after {
content: '';
position: absolute;
width: 0%;
height: 2px;
background-color: #ffcc00;
left: 0;
bottom: 0;
transition: width 0.3s ease;
}
nav ul li a:hover {
color: #ffcc00;
transform: scale(1.04); /* Slightly enlarges the text on hover */
}
nav ul li a:hover::after {
width: 100%;
}
/* Ensures the hero section is positioned relative to its container */
.hero {
position: relative;
width: 100%;
min-height: 10vh;
background: #eceaff;
color: #525252;
box-shadow: 5px 1px 8px rgba(0, 0, 0, 0.14);
overflow: hidden; /* This ensures any overflow content is hidden */
}
.filly{
position: relative;
width: 100%;
background: linear-gradient(135deg, #e3fdec, #ffffff);
min-height: 0px;
color: #525252;
box-shadow: 5px 1px 8px rgba(0, 0, 0, 0.14);
overflow: hidden;
}
/* Styling the nav bar */
.filly nav{
background: #1a1a1a;
width: 100%;
padding: 2px 15%;
display: flex;
align-items: center;
justify-content: space-between;
position: relative;
z-index: 100;
}
/* Ensures the background image covers the hero section */
#home-page-background {
width: 100%;
height: 100%;
object-fit: cover; /* This makes sure the image covers the entire section */
position: absolute;
top: 0;
left: 0;
z-index: 0; /* This ensures the image is behind the text */
opacity: 0.9; /* Adjust the transparency of the background image */
background-attachment: fixed;
}
/* Positions the h1 element absolutely in the center */
.hero h1 {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 70px; /* Increase the font size */
color: #ffcc00; /* Change color to a bright yellow */
text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7); /* Add a shadow for better contrast */
z-index: 1;
}
/* Positions the p element absolutely below the h1 element *
/* ---------------------- Sign-in and Login ---------------------- */
/* Sign-in feature */
/* Login feature */
/* ---------------------- Partnership Application Form ---------------------- */
/* ---------------------- END Partnership Application Form END ---------------------- */
/* Centering the login section */
/* ---------------------- About Section Dropdown ---------------------- */
/* Wrapping the dropdown menu, initially hidden, positioned relative to the parent item */
.about-menu-wrap {
position: absolute;
top: 100%;
left: -100%;
width: 300px;
max-height: 0px;
overflow: hidden;
transition: max-height 0.5s;
z-index: 1000;
}
/* Making the dropdown visible when hovering over the parent navigation item */
nav ul li:hover .about-menu-wrap {
max-height: 400px;
}
/* Styling the dropdown menu container */
.about-menu {
background: white;
padding: 20px;
margin: 20px 0;
border-radius: 20px;
z-index: 1000;
}
/* Styling the horizontal rule within the dropdown menu */
.about-menu hr {
border: 0;
height: 1px;
width: 100%;
background: #ccc;
margin: 15px 0px 10px;
z-index: 1000;
}
/* Styling the links within the dropdown menu */
.about-menu-link {
display: flex;
align-items: center;
text-decoration: none;
color: #525252;
margin: 12px 0;
z-index: 1000;
}
/* Styling the text within the dropdown links */
.about-menu-link p {
width: 100%;
z-index: 1000;
}
/* Styling the images within the dropdown links (if we choose to add images) */
.about-menu-link img {
width: 40px;
background: #e5e5e5;
border-radius: 50%;
margin-right: 15px;
z-index: 10000;
}
/* Styling the arrow or icon in the dropdown links */
.about-menu-link span {
font-size: 17px;
font-weight: bolder;
transition: transform 0.5s;
z-index: 1000;
}
/* Adding a small shift to the right when hovering over the dropdown link */
.about-menu-link:hover span {
transform: translateX(5px);
z-index: 10000;
box-shadow: 5px 1px 8px rgba(0, 0, 0, 0.14);
}
/* Making the text within the dropdown link bolder on hover */
.about-menu-link:hover p {
font-weight: 600;
z-index: 10000;
}
#back-to-top {
position: fixed;
bottom: 10px;
right: 20px;
background-color: #007BFF;
color: white;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
display: none;
}
#back-to-top:hover {
background-color: #0056b3;
}
/* Keyframes for the scroll animation */
@keyframes scroll {
0% {transform: translateX(0);}
100% {transform: translateX(-100%);}
}
/* ---------------------- Restaurant Section Dropdown ---------------------- */
/* Wrapping the dropdown menu, initially hidden, positioned relative to the parent item */
/* Styling the dropdown menu container */
/* When you hover over the profile containers, the names change to that color */
/* */
/* */
/* */
/* ---------------------- END ABOUT PAGE ---------------------- */
/* ---------------------- MISSION PAGE STYLING ---------------------- */
/* footer styling */
footer {
text-align: center;
padding: 20px 0;
background-color: #1a1a1d;
color: white;
bottom: 0; /* Position it at the bottom */
width: 100%; /* Full width */
z-index: 10; /* Ensure it stays on top */
}
/* ---------------------- ORDER EXAMPLE ---------------------- */
/* ---------------------- BACK TO TOP BUTTON ---------------------- */
#back-to-top {
position: fixed;
bottom: 10px;
right: 20px;
background-color: #007BFF;
color: white;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
display: flex; /* Hidden by default */
}
#back-to-top:hover {
background-color: #0056b3;
}
/*--Gallery Section Styling--*/
/* Keyframes for the scroll animation */
@keyframes scroll {
0% {transform: translateX(0);}
100% {transform: translateX(-100%);}
}
/* Hover effect for Gallery Section */
.restaurantDrop{
.restaurantDrop {
background: linear-gradient(135deg, #e3fdec, #ffffff);
margin-top: 100px; /* Adjust this value as needed */
}
}
.container {
width: 80%;
margin: 20px auto;
display: flex;
flex-direction: column;
}
.filters {
display: flex;
flex-wrap: wrap;
gap: 20px;
background-color: #ffffff;
padding: 20px;
border-radius: 20px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
margin-top: 40px;
}
.filter-group {
flex: 1;
min-width: 200px;
}
/* */
/* */
/* */
button {
transition: transform 0.3s ease; /* Smooth transition for scaling */
}
button:hover {
transform: scale(1.05); /* Slightly increase the button size on hover */
}
/* Add transition for label highlight */
select {
position: relative;
overflow: hidden;
display: inline-block;
padding: 8px;
transition: color 0.3s ease-in-out; /* Smooth color transition */
}
select::before {
content: '';
position: absolute;
left: -100%;
bottom: 0;
width: 100%;
height: 2px;
background-color: #ff7043; /* Highlight color */
transition: left 0.3s ease;
}
select:hover::before {
left: 0;
}
select:hover {
color: #ff7043; /* Change font color on hover */
border-color: #ff7043;
transition: left 0.3s ease;
}
/* select {
width: 100%;
padding: 8px;
border-radius: 20px;
border: 1px solid #ddd;
background-color: #f9f9f9;
transition: color 0.3s ease; Smooth color transition
}
select:hover {
color: #ff7043; Change font color on hover
border-color: #ff7043;
} */
option {
color: black;
}
option:hover{
color: black;
}
/* */
/* */
.container .place-item{
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.container .place-item:hover {
transform: translateY(-8px);
box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.2);
}
#contactPage .contact-card p {
font-weight: bolder;
font-size: 30px;
color: black;
margin-top: 12px;
font-weight: 300;
}
/* When you hover over the profile containers, the names change to that color */
.container .place-item:hover h3 {
color: #ff7043;
}
/* */
/* */
/* */
label {
font-weight: bold;
display: block;
margin-bottom: 5px;
}
select {
width: 100%;
padding: 8px;
border-radius: 20px;
border: 1px solid #ddd;
background-color: #f9f9f9;
}
#results {
margin-top: 20px;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 20px;
line-height: 2;
}
#results div {
background-color: #ffffff;
padding: 15px;
border-radius: 20px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}