-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
641 lines (622 loc) · 25.2 KB
/
index.html
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
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Visiter la nature</title>
<!-- Lato Google font -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<!-- Favicon -->
<link rel="icon" href="img/favicon.png" type="image/x-icon" />
<!-- Icon fonts -->
<link rel="stylesheet" href="css/icon-font.css" />
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;1,400&display=swap"
/>
<!-- Custom Style -->
<link rel="stylesheet" href="css/main.css" />
</head>
<body>
<!-- NAVIGATION BUTTON (HUMBURGER NAVIGATION MENU) WITH CHECKBOX HACK -->
<nav class="navigation">
<!-- HUMBURGER MENU -->
<input
type="checkbox"
class="navigation__checkbox"
id="navigation-button"
/>
<!-- NAVIGATION BACKGROUND -->
<div class="navigation__bg"> </div>
<label for="navigation-button" class="navigation__button">
<span class="navigation__icon"> </span>
</label>
<!-- NAVIGATION LIST -->
<ul class="navigation__list">
<li class="navigation__item">
<a href="#!" class="navigation__link">About natours</a>
</li>
<li class="navigation__item">
<a href="#!" class="navigation__link">Your benefits</a>
</li>
<li class="navigation__item">
<a href="#!" class="navigation__link">Popular tours</a>
</li>
<li class="navigation__item">
<a href="#!" class="navigation__link">Stories</a>
</li>
<li class="navigation__item">
<a href="#!" class="navigation__link">Book now</a>
</li>
</ul>
</nav>
<!-- POPUP -->
<div class="popup" id="popup">
<!-- Close button using checkbox hack technique -->
<div class="popup__content">
<input type="checkbox" class="popup__checkbox" id="popup-checkbox" />
<label for="popup-checkbox" class="popup__button-close-box">
<span class="popup__button-close">×</span>
</label>
<div class="popup__floated popup__floated--left">
<img
src="img/nat-8.jpg"
alt="Popup picture #1"
class="popup__picture"
/>
<img
src="img/nat-9.jpg"
alt="Popup picture #2"
class="popup__picture"
/>
</div>
<div class="popup__floated popup__floated--right">
<div class="popup__details">
<h2 class="heading-secondary u-margin-bottom-small">
Start booking now
</h2>
<h3 class="heading-tertiary u-margin-bottom-small">
<strong>Important</strong> − please read these terms before
booking
</h3>
<p class="popup__text u-margin-bottom-big">
Lorem ipsum dolor sit amet consectetur, adipisicing elit. Non
atque magni corporis, mollitia impedit nihil ea eveniet quidem
obcaecati iste corrupti sapiente sed saepe fuga assumenda.
Voluptatem iste dolorum facilis labore. Totam qui illum earum hic
maxime cumque officia sed et, deserunt expedita dolores animi
porro quibusdam itaque saepe iusto repellendus fugit repellat
beatae? Tenetur saepe dicta consequuntur necessitatibus? Fugiat,
obcaecati dolor blanditiis veritatis incidunt voluptates mollitia
debitis quae natus. Ad deleniti deserunt voluptates quis quae
natus ipsa blanditiis eos?
</p>
<a href="#!" class="btn btn--green">Book now</a>
</div>
</div>
</div>
</div>
<!-- HEADER -->
<header class="header">
<!-- Logo box -->
<div class="header__logo-box">
<img src="img/logo-white.png" alt="Website logo" class="header__logo" />
</div>
<!-- Heding box -->
<div class="header__heading-box">
<h1 class="header__heading">
<span class="header__heading--main">Outdoors</span>
<span class="header__heading--sub">is where life happens</span>
</h1>
<a href="#section-tours" class="btn btn--white btn--animated">
Discover our tours
</a>
</div>
</header>
<!-- MAIN CONTENT -->
<!-- Tell the browser and search engines that is the main part of the website -->
<main>
<!-- SECTION ABOUT -->
<section class="section-about u-section-padding">
<div class="section-about__heading u-center-text u-margin-bottom-big">
<h2 class="heading-secondary">
Exciting tours for adventurous people
</h2>
</div>
<div class="section-about__details-box">
<div class="row">
<div class="col-1-of-2">
<div class="section-about__details u-margin-bottom-medium">
<h3 class="heading-tertiary u-margin-bottom-small">
You're going to fall in love with nature
</h3>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit.
Recusandae cum asperiores ullam voluptas obcaecati facere
voluptatem harum, eveniet amet corrupti!
</p>
</div>
<div class="section-about__details u-margin-bottom-medium">
<h3 class="heading-tertiary u-margin-bottom-small">
You're going to fall in love with nature
</h3>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit.
Recusandae cum asperiores ullam voluptas obcaecati facere
voluptatem harum, eveniet amet corrupti!
</p>
</div>
<a href="#!" class="btn-text btn-text--green"
>Learn more →</a
>
</div>
<div class="col-1-of-2">
<!-- Composition images -->
<div class="composition">
<div class="composition__photo-box composition__photo-box--p1">
<!-- The width descriptor tells the browser the specific image to download -->
<img
srcset="
img/nat-1.jpg 300w
img/nat-1-large.jpg 1000w,
"
sizes="(max-width: 900px) 26vw, (max-width: 599px) 31vw, 300px"
src="img/nat-1-large.jpg"
alt="Natour #1"
class="composition__photo"
/>
</div>
<div class="composition__photo-box composition__photo-box--p2">
<img
srcset="
img/nat-2.jpg 300w
img/nat-2-large.jpg 1000w,
"
sizes="(max-width: 37.43em) 31vw, (max-width: 56.25em) 26vw, 300px"
src="img/nat-2-large.jpg"
alt="Natour #2"
class="composition__photo"
/>
</div>
<div class="composition__photo-box composition__photo-box--p3">
<img
srcset="
img/nat-3.jpg 300w
img/nat-3-large.jpg 1000w,
"
sizes="(max-width: 37.43em) 31vw, (max-width: 56.25em) 26vw, 300px"
src="img/nat-3-large.jpg"
alt="Natour #3"
class="composition__photo"
/>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- SECTION FEATURES -->
<section class="section-features u-section-padding">
<div class="row">
<div class="col-1-of-4">
<div class="feature u-center-text">
<i class="feature__icon icon-basic-world"></i>
<h3 class="heading-tertiary u-margin-bottom-small">
Explore the world
</h3>
<p>
Lorem ipsum dolor sit amet consectetur, adipisicing elit. Odit,
atque quibusdam magnam voluptas voluptatem explicabo!
</p>
</div>
</div>
<div class="col-1-of-4">
<div class="feature u-center-text">
<i class="feature__icon icon-basic-compass"></i>
<h3 class="heading-tertiary u-margin-bottom-small">
Meet nature
</h3>
<p>
Lorem ipsum dolor sit amet consectetur, adipisicing elit. Odit,
atque quibusdam magnam voluptas voluptatem explicabo!
</p>
</div>
</div>
<div class="col-1-of-4">
<div class="feature u-center-text">
<i class="feature__icon icon-basic-map"></i>
<h3 class="heading-tertiary u-margin-bottom-small">
Find your way
</h3>
<p>
Lorem ipsum dolor sit amet consectetur, adipisicing elit. Odit,
atque quibusdam magnam voluptas voluptatem explicabo!
</p>
</div>
</div>
<div class="col-1-of-4">
<div class="feature u-center-text">
<i class="feature__icon icon-basic-heart"></i>
<h3 class="heading-tertiary u-margin-bottom-small">
Live a healthier life
</h3>
<p>
Lorem ipsum dolor sit amet consectetur, adipisicing elit. Odit,
atque quibusdam magnam voluptas voluptatem explicabo!
</p>
</div>
</div>
</div>
</section>
<!-- SECTION TOURS -->
<section id="section-tours" class="section-tours u-section-padding">
<div
class="section-tours__heading-box u-center-text u-margin-bottom-big"
>
<h2 class="heading-secondary">Most popular tours</h2>
</div>
<div class="section-tours__cards-box u-margin-bottom-huge">
<div class="row">
<div class="col-1-of-3">
<div class="card">
<div class="card__side card__side--front">
<div class="card__head">
<div class="card__img card__img--1"></div>
<h4 class="card__title">
<span class="card__title-span card__title-span--bg-orange"
>The sea <br />
explorer</span
>
</h4>
</div>
<div class="card__body">
<ul class="card__list u-list-unstyled u-center-text">
<li class="card__item">3 day tours</li>
<li class="card__item">Up to 30 people</li>
<li class="card__item">2 tour guides</li>
<li class="card__item">Sleep in cozy hotels</li>
<li class="card__item">Difficulty: easy</li>
</ul>
</div>
</div>
<div class="card__side card__side--back card__side--bg-orange">
<div class="card__back-box u-center-text">
<div class="card__price-box u-margin-bottom-medium">
<p class="card__price-only">Only</p>
<span class="card__price-value">$150</span>
</div>
<a href="#popup" class="btn btn--white">Book now</a>
</div>
</div>
</div>
</div>
<div class="col-1-of-3">
<div class="card">
<div class="card__side card__side--front">
<div class="card__head">
<div class="card__img card__img--2"></div>
<h4 class="card__title">
<span class="card__title-span card__title-span--bg-green"
>The forest<br />
hiker</span
>
</h4>
</div>
<div class="card__body">
<ul class="card__list u-list-unstyled u-center-text">
<li class="card__item">7 day tours</li>
<li class="card__item">Up to 40 people</li>
<li class="card__item">6 tour guides</li>
<li class="card__item">Sleep in the provided tents</li>
<li class="card__item">Difficulty: medium</li>
</ul>
</div>
</div>
<div class="card__side card__side--back card__side--bg-green">
<div class="card__back-box u-center-text">
<div class="card__price-box u-margin-bottom-medium">
<p class="card__price-only">Only</p>
<span class="card__price-value">$250</span>
</div>
<a href="#!" class="btn btn--white">Book now</a>
</div>
</div>
</div>
</div>
<div class="col-1-of-3">
<div class="card">
<div class="card__side card__side--front">
<div class="card__head">
<div class="card__img card__img--3"></div>
<h4 class="card__title">
<span class="card__title-span card__title-span--bg-blue"
>The snow <br />
adventurer</span
>
</h4>
</div>
<div class="card__body">
<ul class="card__list u-list-unstyled u-center-text">
<li class="card__item">10 day tours</li>
<li class="card__item">Up to 50 people</li>
<li class="card__item">10 tour guides</li>
<li class="card__item">Sleep in provided tents</li>
<li class="card__item">Difficulty: hard</li>
</ul>
</div>
</div>
<div class="card__side card__side--back card__side--bg-blue">
<div class="card__back-box u-center-text">
<div class="card__price-box u-margin-bottom-medium">
<p class="card__price-only">Only</p>
<span class="card__price-value">$350</span>
</div>
<a href="#!" class="btn btn--white">Book now</a>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="section-tours__discover-btn-box u-center-text">
<a href="#!" class="btn btn--green btn--animated"
>Discover all tours</a
>
</div>
</section>
<!-- SECTION TESTIMONIALS -->
<section class="section-testimonials u-section-padding">
<!-- Background video -->
<div class="bg-video">
<video class="bg-video__content" autoplay muted loop>
<!-- For new the new browsers -->
<source src="img/video.mp4" type="video/mp4" />
<!-- For new the old browsers -->
<source src="img/video.webm" type="video/webm" />
Your browser can't support videos
</video>
</div>
<div
class="section-testimonials__heading u-center-text u-margin-bottom-big"
>
<h2 class="heading-secondary">We make people genuinely happy</h2>
</div>
<div class="section-testimonials__box row">
<div class="testimonial u-margin-bottom-big">
<figure class="testimonial__shape u-center-text">
<img
src="img/nat-8-2x.jpg"
alt="Testimonial Image"
class="testimonial__img"
/>
<figcaption class="testimonial__caption u-center-text">
Will Smith
</figcaption>
</figure>
<div class="testmonial__details">
<h3 class="heading-tertiary u-margin-bottom-small">
I had the best week ever my family
</h3>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Vero
ducimus error exercitationem tempora sapiente rem illum magnam
delectus totam nemo. Quos autem recusandae necessitatibus fugit
explicabo quo earum doloribus iusto culpa quasi obcaecati,
corrupti dicta aliquam pariatur nemo dolores praesentium
blanditiis distinctio assumenda neque expedita illo labore eum
reiciendis! Consequatur.
</p>
</div>
</div>
<div class="testimonial u-margin-bottom-huge">
<figure class="testimonial__shape u-center-text">
<img
src="img/nat-9.jpg"
alt="Testimonial Image"
class="testimonial__img"
/>
<figcaption class="testimonial__caption u-center-text">
Jack wilson
</figcaption>
</figure>
<div class="testmonial__details">
<h3 class="heading-tertiary u-margin-bottom-small">
Wow! My life was completely changed after this tour
</h3>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Vero
ducimus error exercitationem tempora sapiente rem illum magnam
delectus totam nemo. Quos autem recusandae necessitatibus fugit
explicabo quo earum doloribus iusto culpa quasi obcaecati,
corrupti dicta aliquam pariatur nemo dolores praesentium
blanditiis distinctio assumenda neque expedita illo labore eum
reiciendis! Consequatur.
</p>
</div>
</div>
<div class="section-testimonials__btn-box u-center-text">
<a href="#!" class="btn-text btn-text--green"
>Read all stories →</a
>
</div>
</div>
</section>
<!-- SECTION BOOKING -->
<section class="section-booking u-section-padding">
<div class="row">
<div class="form-book-box">
<form action="#!" method="POST" class="form-book">
<div class="u-margin-bottom-medium">
<h2 class="heading-secondary">Start booking now</h2>
</div>
<!-- FULL NAME INPUT -->
<div class="form-book__group">
<input
type="text"
class="form-book__input"
id="name"
placeholder="Full Name"
required="required"
/>
<label for="name" class="form-book__label">Full Name</label>
<span class="form-book__animation"> </span>
</div>
<!-- EMAIL INPUT -->
<div class="form-book__group">
<input
type="email"
class="form-book__input"
id="email"
placeholder="Email Address"
required="required"
/>
<label for="email" class="form-book__label"
>Email Address</label
>
<span class="form-book__animation"> </span>
</div>
<!-- SMALL RADIO BUTTON -->
<div class="form-book__group form-book__group--inline">
<input
type="radio"
class="form-book__radio-button"
name="tour-value"
id="small-tour"
checked
/>
<label for="small-tour" class="form-book__radio-label-box"
><span class="form-book__radio-circle"></span>
<span class="form-book__radio-label"> Small tour group </span>
</label>
</div>
<!-- LARGE RADIO BUTTON -->
<div class="form-book__group form-book__group--inline">
<input
type="radio"
class="form-book__radio-button"
name="tour-value"
id="large-tour"
/>
<label for="large-tour" class="form-book__radio-label-box">
<span class="form-book__radio-circle"></span>
<span class="form-book__radio-label"> Large tour group </span>
</label>
</div>
<!-- SUBMIT BUTTON -->
<div class="form-book__group">
<button type="submit" class="btn btn--green">
Next step →
</button>
</div>
</form>
</div>
</div>
</section>
</main>
<!-- FOOTER -->
<!-- In the BEM methodologie, any tags should have a class name -->
<footer class="footer u-section-padding">
<!-- FOOTER LOGO -->
<div class="footer__logo-box u-center-text u-margin-bottom-big">
<!-- srcset attr allows to browser to make the right image screen for the right device -->
<picture class="footer__logo">
<source
srcset="
img/logo-green-small-1x.png 1x,
img/logo-green-small-2x.png 2x
"
media="(max-width: 37.43em)"
alt="Small Green Logo"
/>
<!-- Fallback -->
<img
srcset="img/logo-green-1x.png 1x, img/logo-green-2x.png 2x"
src="img/logo-green-2x.png"
alt="Green Logo"
/>
</picture>
<!-- <img
src="img/logo-green-2x.png"
alt="Green Logo"
class="footer__logo"
/> -->
</div>
<!-- FOOTER NAVIGATION & FOOTER COPYRIGHT -->
<div class="row">
<!-- FOOTER NAVIGATION -->
<div class="col-1-of-2">
<div class="footer__navigation">
<ul class="footer__list">
<li class="footer__item">
<a href="#!" class="footer__link">Company</a>
</li>
<li class="footer__item">
<a href="#!" class="footer__link">Contact us</a>
</li>
<li class="footer__item">
<a href="#!" class="footer__link">Carrers</a>
</li>
<li class="footer__item">
<a href="#!" class="footer__link">Privacy policy</a>
</li>
<li class="footer__item">
<a href="#!" class="footer__link">Terms</a>
</li>
</ul>
</div>
</div>
<div class="col-1-of-2">
<!-- FOOTER COPYRIGHT -->
<div class="footer__copyright">
<p class="footer__paragraph">
Built by
<a href="#!" class="footer__link">Youseef Ait Bihi</a>. Copyright
© by Youssef Ait Bihi. A credit to the original author, Jonas
Schmedtmann, is of course highly appreciated!
</p>
</div>
</div>
</div>
</footer>
<!-- Grid System -->
<!-- <section class="grid"> -->
<!-- CASE 1: Two equal columns -->
<!--<div class="row">
<div class="col-1-of-2">Col 1 of 2</div>
<div class="col-1-of-2">Col 1 of 2</div>
</div> -->
<!-- CASE 2: Two columns but the first or the second one is double the other -->
<!--<div class="row">
<div class="col-1-of-3">Col 1 of 3</div>
<div class="col-2-of-3">Col 2 of 3</div>
</div>-->
<!-- CASE 3: Two columns but the first or the second one is tripple the other -->
<!--<div class="row">
<div class="col-1-of-4">Col 1 of 4</div>
<div class="col-3-of-4">Col 3 of 4</div>
</div>-->
<!-- CASE 4: Three equal columns -->
<!-- <div class="row">
<div class="col-1-of-3">Col 1 of 3</div>
<div class="col-1-of-3">Col 1 of 3</div>
<div class="col-1-of-3">Col 1 of 3</div>
</div> -->
<!-- CASE 5: Three columns but the first or the second or the third one is bigger -->
<!-- <div class="row">
<div class="col-1-of-4">Col 1 of 4</div>
<div class="col-1-of-4">Col 1 of 4</div>
<div class="col-2-of-4">Col 2 of 4</div>
</div> -->
<!-- CASE 6: four equal columns -->
<!-- <div class="row">
<div class="col-1-of-4">Col 1 of 4</div>
<div class="col-1-of-4">Col 1 of 4</div>
<div class="col-1-of-4">Col 1 of 4</div>
<div class="col-1-of-4">Col 1 of 4</div>
</div> -->
<!-- </section> -->
<script src="js/script.js"></script>
</body>
</html>