-
Notifications
You must be signed in to change notification settings - Fork 2
/
styles.css
406 lines (347 loc) · 7.99 KB
/
styles.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
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
/* Reset default browser styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Global styles */
body {
font-family: 'Tajawal', sans-serif;
background-color: #ffffff;
color: #333;
line-height: 1.5;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
/* Header styles */
header {
background-color: #333;
padding: 20px;
}
/* Nav Styles*/
nav {
background-color: #d9e4e98a; /* Apply opacity to the background color */
text-align: center;
position: fixed;
padding-right: 80px;
padding-left: 80px;
top: 0;
left: 0;
width: 100%;
z-index: 999;
backdrop-filter: blur(64px); /* Apply the backdrop blur effect */
border-bottom: 1px solid #ffffff69;
display: flex;
justify-content: space-between; /* Align items horizontally with space between */
align-items: center; /* Center items vertically */
filter: drop-shadow(0 60px 40px #27364d3d);
}
.logo img {
margin: 20px;
padding: auto;
height: 60px;
}
nav ul {
list-style: none;
margin: 0;
padding: 0;
}
nav ul li {
display: inline-block;
}
nav ul li a {
font-weight: bold;
margin: 20px;
color:#023047;
text-decoration: none;
}
nav ul li a:hover {
font-weight: bold;
color: #219ebc;
text-decoration: underline;
}
/* Hero Styles*/
.hero {
position: relative;
}
.hero img {
width: 100%;
height: auto;
}
.hero-content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
color: #fff;
}
.hero-content h1 {
margin-top: 10px;
font-weight: bold;
font-size: 32px;
margin-bottom: 20px;
}
.backdrop-blur-xl {
backdrop-filter: blur(64px);
}
.rounded {
border-radius: 0.5rem;
}
.drop-shadow-sm {
filter: drop-shadow(0 2px 2px #54545885);
}
.hero-content p {
padding: 20px;
font-size: 18px;
margin-bottom: 30px;
}
.search-bar {
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 30px;
}
.stroke-current {
--tw-border-opacity: 1;
border-color: rgb(75 85 99 / var(--tw-border-opacity));
}
.search-bar input {
width: 400px;
padding: 10px;
font-size: 16px;
}
.search-bar button {
padding: 10px 20px;
font-size: 16px;
background-color: #333;
color: #fff;
border: none;
cursor: pointer;
}
.search-bar button:hover {
background-color: #555;
}
/* Welcome section styles
#welcome {
text-align: center;
padding: 40px;
background-color: #ffffff;
}
#welcome h1 {
font-size: 36px;
margin-bottom: 20px;
}
#welcome p {
font-size: 18px;
margin-bottom: 10px;
}
*/
/* Find Property section styles */
#find-property {
padding: 40px;
background-color: #f5f5f5;
}
#find-property h2 {
text-align: right;
font-size: 24px;
margin-bottom: 20px;
}
.property-cards-container {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.property-card {
flex: 0 0 calc(33.33% - 20px); /* Adjust the width based on the number of cards per row */
background-color: #fff;
padding: 20px;
margin-bottom: 20px;
border-radius: 5px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/* Adjust the card width for different screen sizes */
@media (max-width: 768px) {
.property-card {
flex: 0 0 calc(50% - 20px); /* Display two cards per row on smaller screens */
}
}
@media (max-width: 480px) {
.property-card {
flex: 0 0 100%; /* Display one card per row on smaller screens */
}
}
.property-card {
display: flex;
flex-direction: column;
background-color: hsla(199, 27%, 100%, 0.61);
padding: 20px;
margin-bottom: 20px;
border-radius: 5px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.property-card img {
width: 100%;
height: 100%;
margin-bottom: 10px;
border-radius: 5px;
-o-object-fit: cover;
object-fit: cover;
transition: filter 0.3s ease-in;
}
.property-card-content {
align-items: center;
justify-content: center;
flex-grow: 1;
}
.property-card h3 {
text-align: right;
font-weight: bold;
font-size: 18px;
margin-bottom: 10px;
}
.property-card ul {
align-items: center;
justify-content: center;
text-align: right;
list-style: none;
margin-bottom: 10px;
padding: 0;
}
.property-card ul li {
text-align: right;
align-items: center;
justify-content: center;
font-weight: bold;
margin-bottom: 5px;
display: inline-block;
margin-right: 20px;
font-size: 14px;
}
.property-card p {
align-items: center;
justify-content: center;
text-align: right;
font-size: 16px;
}
.property-card-link {
margin-top: auto;
align-self: flex-end;
}
.property-card-link a {
display: inline-block;
padding: 10px 20px;
background-color: #333;
color: #fff;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s ease;
}
.property-card-link a:hover {
background-color: #555;
}
.btn {
display: inline-block;
padding: 10px 20px;
background-color: #cdf1fb;
color: #4ac1de;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s ease;
}
.btn:hover {
background-color: #4ac1de;
}
.card-button {
display: inline-block;
padding: 10px 20px;
background-color: #cdf1fb;
color: #4ac1de;
font-weight: bold;
text-align: center;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s ease;
margin-top: 10px;
}
.card-button:hover {
color: hwb(192 80% 16%);
background-color: hwb(193 37% 16%);
filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.301));
}
/* Testimonials styles */
#testimonials {
background-color: #f5f5f5;
padding: 40px;
}
#testimonials h2 {
font-size: 24px;
text-align: center;
margin-bottom: 20px;
}
.testimonial-cards-container {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.testimonial-card {
flex: 0 0 calc(33.33% - 20px); /* Adjust the width based on the number of cards per row */
background-color: #fff;
padding: 20px;
margin-bottom: 20px;
border-radius: 5px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/* Adjust the card width for different screen sizes */
@media (max-width: 768px) {
.testimonial-card {
flex: 0 0 calc(50% - 20px); /* Display two cards per row on smaller screens */
}
}
@media (max-width: 480px) {
.testimonial-card {
flex: 0 0 100%; /* Display one card per row on smaller screens */
}
}
.testimonial-text {
text-align: right;
font-size: 16px;
margin-bottom: 10px;
}
.testimonial-author {
text-align: right;
font-size: 14px;
font-style: italic;
}
/* Footer styles */
footer {
align-items: center;
border-radius: 5px;
width: 100%;
background-color: #333;
color: #fff;
padding: 20px;
text-align: center;
}
.footer-container {
max-width: 960px;
margin: 0 auto;
}
.footer-links {
margin-top: 10px;
}
.footer-links a {
color: #fff;
text-decoration: none;
margin: 0 10px;
}
.footer-links a:hover {
text-decoration: underline;
}
.footer-text {
font-size: 14px;
margin-top: 10px;
}