@@ -31,7 +31,7 @@ a.btn {
31
31
text-transform : uppercase;
32
32
font-weight : bold;
33
33
text-align : center;
34
- background-color : # 7d3faf ;
34
+ background-color : # 4f2481 ;
35
35
opacity : 1 ;
36
36
}
37
37
@@ -56,7 +56,7 @@ section:not(.hero):nth-child(even) {
56
56
hr {
57
57
width : 250px ;
58
58
height : 3px ;
59
- background-color : # 7d3faf ;
59
+ background-color : # 4f2481 ;
60
60
border : 0 ;
61
61
margin-bottom : 50px ;
62
62
}
@@ -76,6 +76,12 @@ section p {
76
76
text-align : center;
77
77
}
78
78
79
+ @media (max-width : 800px ) {
80
+ section {
81
+ padding : 50px 20px ;
82
+ }
83
+ }
84
+
79
85
/*Header Styles*/
80
86
81
87
header {
@@ -109,6 +115,17 @@ header nav li {
109
115
margin : 0 15px ;
110
116
}
111
117
118
+ @media (max-width : 800px ) {
119
+ header {
120
+ padding : 20px 50px ;
121
+ flex-direction : column;
122
+ }
123
+
124
+ header h2 {
125
+ margin-bottom : 15px ;
126
+ }
127
+ }
128
+
112
129
/*Hero Styles*/
113
130
114
131
.hero {
@@ -127,7 +144,7 @@ header nav li {
127
144
height : 100% ;
128
145
background-size : cover;
129
146
z-index : -1 ;
130
- background-color : # 80a3db ;
147
+ background-color : # 604281 ;
131
148
}
132
149
133
150
.hero h1 {
@@ -157,6 +174,24 @@ header nav li {
157
174
}
158
175
}
159
176
177
+ @media (max-width : 800px ) {
178
+ .hero {
179
+ min-height : 600px ;
180
+ }
181
+
182
+ .hero h1 {
183
+ font-size : 48px ;
184
+ }
185
+
186
+ .hero h3 {
187
+ font-size : 24px ;
188
+ }
189
+
190
+ .hero a .btn {
191
+ padding : 15px 40px ;
192
+ }
193
+ }
194
+
160
195
/*Destinations Section*/
161
196
162
197
.destinations .grid li {
@@ -175,6 +210,20 @@ header nav li {
175
210
flex-basis : 70% ;
176
211
}
177
212
213
+ @media (max-width : 1100px ) {
214
+ .destinations .grid li .small ,
215
+ .destinations .grid li .large {
216
+ flex-basis : 50% ;
217
+ }
218
+ }
219
+
220
+ @media (max-width : 800px ) {
221
+ .destinations .grid li .small ,
222
+ .destinations .grid li .large {
223
+ flex-basis : 100% ;
224
+ }
225
+ }
226
+
178
227
/*Packages Section*/
179
228
180
229
.packages .grid li {
@@ -184,68 +233,107 @@ header nav li {
184
233
}
185
234
186
235
.packages .grid li i {
187
- color : # 7d3fafa6 ;
236
+ color : # 604281 ;
188
237
}
189
238
190
239
.packages .grid li h4 {
191
240
font-size : 30px ;
192
241
margin : 25px 0 ;
193
242
}
194
243
195
- /* Testimonials */
244
+ @media (max-width : 800px ) {
245
+ .packages .grid li {
246
+ flex-basis : 100% ;
247
+ padding : 20px ;
248
+ }
249
+ }
250
+
251
+ /*Testimonials Section*/
196
252
197
253
.testimonials .quote {
198
- font-size : 22px ;
199
- font-weight : 300 ;
200
- line-height : 1.5 ;
201
- margin : 40px 0 25px ;
254
+ font-size : 22px ;
255
+ font-weight : 300 ;
256
+ line-height : 1.5 ;
257
+ margin : 40px 0 25px ;
202
258
}
203
259
204
- /* Contact Section */
260
+ @media (max-width : 800px ) {
261
+ .testimonials .quote {
262
+ font-size : 18px ;
263
+ margin : 15px 0 ;
264
+ }
265
+
266
+ .testimonials .author {
267
+ font-size : 14px ;
268
+ }
269
+ }
270
+
271
+ /*Contact Section*/
205
272
206
273
.contact form {
207
- display : flex;
208
- align-items : center;
209
- justify-content : center;
210
- flex-wrap : wrap;
211
- width : 60% ;
274
+ display : flex;
275
+ align-items : center;
276
+ justify-content : center;
277
+ flex-wrap : wrap;
278
+ width : 60% ;
212
279
}
213
280
214
281
.contact form .btn {
215
- padding : 18px 42px ;
282
+ padding : 18px 42px ;
283
+ }
284
+
285
+ .contact form input {
286
+ padding : 15px ;
287
+ margin-right : 30px ;
288
+ font-size : 18px ;
289
+ color : # 555 ;
290
+ flex : 1 ;
216
291
}
217
292
218
- .contact form input {
219
- padding : 15px ;
220
- margin-right : 30px ;
221
- font-size : 18px ;
222
- color : # 555 ;
223
- flex : 1 ;
293
+ @media (max-width : 1000px ) {
294
+ .contact form input {
295
+ flex-basis : 100% ;
296
+ margin : 0 0 20px 0 ;
297
+ }
224
298
}
225
299
226
- /* Footer Section */
300
+ /*Footer Section*/
227
301
228
302
footer {
229
- display : flex;
230
- align-items : center;
231
- justify-content : space-around;
232
- background-color : # 7d3faf ;
233
- color : # fff ;
234
- padding : 20px 0 ;
303
+ display : flex;
304
+ align-items : center;
305
+ justify-content : space-around;
306
+ background-color : # 4f2481 ;
307
+ color : # fff ;
308
+ padding : 20px 0 ;
235
309
}
236
310
237
311
footer ul {
238
- display : flex;
312
+ display : flex;
239
313
}
240
314
241
315
footer ul li {
242
- margin-left : 16px ;
316
+ margin-left : 16px ;
243
317
}
244
318
245
319
footer p {
246
- text-transform : uppercase;
247
- font-size : 14px ;
248
- opacity : 0.6 ;
249
- align-self : center;
250
- padding : 5px ;
251
- }
320
+ text-transform : uppercase;
321
+ font-size : 14px ;
322
+ opacity : 0.6 ;
323
+ align-self : center;
324
+ }
325
+
326
+ @media (max-width : 1100px ) {
327
+ footer {
328
+ flex-direction : column;
329
+ }
330
+
331
+ footer p {
332
+ text-align : center;
333
+ margin-bottom : 20px ;
334
+ }
335
+
336
+ footer ul li {
337
+ margin : 0 8px ;
338
+ }
339
+ }
0 commit comments