-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
417 lines (371 loc) · 8.94 KB
/
style.css
File metadata and controls
417 lines (371 loc) · 8.94 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
body {
display: flex;
flex-direction: column;
min-height: 100vh; /* Ensures the body takes full viewport height */
margin: 0;
font-family: "Roboto", sans-serif;
padding: 0;
background-color: #eae3e3;
}
/*hedaerrrr*/
header {
font-family: "Roboto", sans-serif;
background-color: #78504e;
background: linear-gradient(90deg, #846666, #3b2121);
color: rgb(239, 229, 229);
padding: 1rem 0;
text-align: center;
}
nav {
display: flex;
justify-content: center;
background-color: #3d3c3c;
padding: 0.5rem 0;
}
nav a {
color: white;
text-decoration: none;
margin: 0 1rem;
padding: 0.5rem;
}
nav a:hover {
background-color: #605e5e;
border-radius: 5px;
}
#search-form {
display: flex;
align-items: center;
margin-left: auto;
}
#search-input {
padding: 0.5rem;
border: 1px solid #ddd;
border-radius: 5px;
outline: none;
width: 7cm;
}
#search-input:focus {
border-color: #28a745;
}
#search-form button {
background-color: #a24444;
color: white;
border: none;
padding: 0.5rem 1rem;
margin-left: 0.5rem;
width: 3cm;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
.top-btns {
background-color: #a24444;
color: white;
border: none;
padding: 0.5rem 1rem;
margin-left: 0.5rem;
width: 3cm;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
#search-form button:hover {
background-color: #f5caca;
}
.hero {
background: url("https://via.placeholder.com/1500x500") no-repeat center
center/cover;
height: 50vh; /* Adjust height as needed */
display: flex;
flex-direction: column; /* Stack elements vertically */
justify-content: center; /* Center vertically */
align-items: center; /* Center horizontally */
text-align: center; /* Align text in the center */
color: #319c4f; /* Default color */
text-shadow: 1px 1px 3px black; /* Subtle text shadow */
}
.hero h1 {
font-family: "Playfair Display", serif;
font-size: 3rem;
color: #823434;
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}
.main-heading {
/*background-image: url('https://www.shutterstock.com/image-illustration/plain-pastel-brown-solid-color-260nw-1785414026.jpg'); /* Replace with your image URL */
background-size: cover; /* Ensures the image covers the whole heading */
background-position: center; /* Centers the background image */
color: white; /* Changes the text color to white so it stands out on the background */
padding: 30px; /* Adds space around the text */
padding-bottom: 10px;
text-align: center; /* Centers the text */
font-family: "Playfair Display", serif; /* Stylish serif font */
font-size: 4rem; /* Large font size for emphasis */
font-weight: 700; /* Bold text */
color: rgb(243, 236, 236); /* White text for visibility */
text-align: center; /* Center-align the text */
margin: 0; /* Remove default margins */
text-shadow: 2px 2px 5px black; /* Add shadow for better contrast */
}
.subheading {
font-family: "ariel", sans-serif; /* Modern sans-serif font */
font-size: 1.5rem; /* Smaller than main heading */
font-weight: 600; /* Regular text */
color: #2d2b2b; /* Light gray color */
margin: 0.5rem 0 1rem; /* Add spacing between headings */
text-shadow: 0px 0px 0px black; /* Subtle shadow*/
padding-bottom: 40px;
}
* Call-to-Action Button */ .cta-button {
display: inline-block;
padding: 0.5rem 1rem;
background-color: #007bff; /* Button color */
color: white; /* Text color */
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s;
}
.cta-button:hover {
background-color: #0056b3; /* Darker color on hover */
}
.products {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1rem;
padding: 2rem;
}
.product {
background-color: rgb(223, 193, 193);
padding: 1rem;
border: 1px solid #e4cece;
border-radius: 5px;
text-align: center;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.product img {
width: 100%; /* Make the image fill the container's width */
height: 250px; /* Set a fixed height for uniformity */
object-fit: contain; /* Ensures the image fills the box while maintaining aspect ratio */
border-radius: 5px; /* Optional: Add rounded corners */
}
.product h3 {
margin: 1rem 0 0.5rem;
}
.product p {
color: #555;
}
.product button {
background-color: #28a745;
color: white;
border: none;
padding: 0.5rem 1rem;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
.product button:hover {
background-color: #218838;
}
#cart-icon {
font-size: 24px;
color: #faf5f5;
padding: 10px;
cursor: pointer;
text-decoration: none;
}
#cart-icon:hover {
color: #f4f0ef; /* Change color on hover */
}
footer {
text-align: center;
padding: 0;
background-color: #3e3b3be5;
color: white;
margin-top: 0;
}
#cart-icon {
display: flex;
align-items: center;
justify-content: center;
margin-left: 20px; /* Adjust the space from other elements */
}
#cart-icon img {
width: 30px; /* Size of the cart icon */
height: auto;
cursor: pointer;
transition: transform 0.3s ease;
}
#cart-icon img:hover {
transform: scale(1.1); /* Hover effect to slightly enlarge the icon */
}
#cart-page {
padding: 2rem;
max-width: 800px;
margin: auto;
}
#cart-container {
background-color: #f5f1f1;
border: 1px solid #967e7e;
border-radius: 5px;
padding: 1rem;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
#cart-items {
list-style: none;
padding: 0;
margin: 0 0 1rem 0;
}
#cart-items li {
display: flex;
justify-content: space-between;
margin-bottom: 0.5rem;
padding: 0.5rem;
background-color: #fff;
border: 1px solid #ddd;
border-radius: 5px;
}
#cart-total {
font-size: 1.2rem;
font-weight: bold;
text-align: right;
}
#checkout-button {
background-color: #28a745;
color: white;
border: none;
padding: 0.5rem 1rem;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
#checkout-button:hover {
background-color: #218838;
}
#empty-cart-message {
text-align: center;
margin-top: 2rem;
}
.cta-button {
display: inline-block;
padding: 0.5rem 1rem;
background-color: #3d3c3c(0, 2%, 20%);
color: white;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s;
}
.cta-button1 {
display: inline-block;
padding: 0.5rem 1rem;
background-color: #682b2b;
color: white;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s;
}
.cta-button2 {
display: inline-block;
padding: 0.5rem 1rem;
background-color: #722626;
color: white;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s;
}
.cta-button:hover {
background-color: #575655;
}
.about-btn {
background-color: #8397ad; /* Blue for About Us */
}
@media (max-width: 768px) {
.hero h1 {
font-size: 2rem;
}
.product img {
height: 200px;
}
}
#products {
padding-top: 2rem;
margin-top: 2rem;
background-color: #f9f9f9; /* Optional: Different background for the section */
}
.products h2 {
text-align: center;
font-family: "Roboto", sans-serif;
margin-bottom: 1rem;
color: #333;
}
html {
scroll-behavior: smooth;
}
#about-us {
background-color: #2c2a2a;
padding: 0;
text-align: center;
margin-top: 0;
border-top: 1px solid #ddd;
}
#about-us .about-container {
max-width: 800px;
margin: 0 auto;
}
#about-us h2 {
font-size: 2rem;
color: #fbf6f6;
margin-bottom: 1rem;
}
#about-us p {
font-size: 1rem;
color: #c5c2c2;
line-height: 1.6;
margin-bottom: 1rem;
}
.payment-options button:hover {
background-color: #45a049;
}
/* Overall Payment Page Styling */
.payment-page {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 20px;
max-width: 600px;
margin: 0 auto;
background: rgba(255, 255, 255, 0.8);
border-radius: 10px;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}
/* Product Section */
.product-container {
text-align: center;
margin-bottom: 20px;
}
.product-image {
width: 100%;
height: 300px; /* Adjust based on your desired height */
object-fit: contain; /* Ensures the image scales properly without distortion */
border-radius: 10px;
background-color: #f9f9f9; /* Adds a subtle background behind the image */
}
.product-title {
font-size: 1.5rem;
font-weight: bold;
margin: 10px 0;
}
.product-price {
font-size: 1.2rem;
color: #555;
} /* Background Wrapper (Optional Blur) */
.background-wrapper {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: -1;
background-color: inherit; /* Dynamic color set via JS */
filter: blur(10px);
opacity: 0.7;
}