-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
615 lines (595 loc) · 30.6 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<!--
Without the following meta tag, the media queries will not work. It
The viewport is the user's visible area of a web page.
The viewport varies with the device, and will be smaller on a mobile phone than on a computer screen.
Setting The Viewport:
---------------------
HTML5 introduced a method to let web designers take control over the viewport,
through the <meta> tag.
- A <meta> viewport element gives the browser instructions on how to control
the page's dimensions and scaling.
- The width=device-width part sets the width of the page to follow the
screen-width of the device (which will vary depending on the device).
- The initial-scale=1.0 part sets the initial zoom level when the page is
first loaded by the browser.
More info : https://www.w3schools.com/css/css_rwd_viewport.asp
-->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css?family=Lato:100,300,400,700,900" rel="stylesheet">
<!-- <link rel="stylesheet" href="css/icon-font.css"> -->
<link rel="stylesheet" href="css/style.css">
<link rel="shortcut icon" type="image/png" href="img/favicon.png">
<title>Natours | Exciting tours for adventurous people</title>
</head>
<body>
<div class="navigation">
<input type="checkbox" class="navigation__checkbox" id="navi-toggle">
<label for="navi-toggle" class="navigation__button">
<span class="navigation__icon"> </span>
</label>
<div class="navigation__background"> </div>
<nav class="navigation__nav">
<ul class="navigation__list">
<li class="navigation__item">
<a href="#" class="navigation__link"><span>01</span>About Natous</a>
</li>
<li class="navigation__item">
<a href="#" class="navigation__link"><span>02</span>Your benefits</a>
</li>
<li class="navigation__item">
<a href="#" class="navigation__link"><span>03</span>Popular tours</a>
</li>
<li class="navigation__item">
<a href="#" class="navigation__link"><span>04</span>Stories</a>
</li>
<li class="navigation__item">
<a href="#" class="navigation__link"><span>05</span>Book now</a>
</li>
</ul>
</nav>
</div>
<header class="header">
<div class="header__logo-box">
<img class="header__logo" src="./img/logo-white.png" alt="logo"/>
</div>
<div class="header__text-box">
<h1 class="heading-primary">
<span class="heading-primary--main">
OUT DOORS
</span>
<span class="heading-primary--sub">
IS WHERE LIFE HAPPENS
</span>
</h1>
<a href="#section-tours" class="btn btn-white btn-animated">
Discover our tours.
</a>
</div>
</header>
<main>
<section class="section-about">
<div class="u-center-text u-margin-bottom-big">
<h2 class="heading-secondary">
Eliciting tours for adventurous people.
</h2>
</div>
<div class="row">
<div class="col-1-of-2">
<h3 class="heading-tertiary u-margin-bottom-small">
You're going to fall in love with nature.
</h3>
<p class="paragraph">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Cum distinctio dolorem hic, libero non optio unde. Accusantium eius eos numquam odit possimus quod ullam? Consequuntur dignissimos dolorem ducimus magnam voluptatum?
</p>
<h3 class="heading-tertiary u-margin-bottom-small">
Live adventurous live you never have before.
</h3>
<p class="paragraph">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. At officiis pariatur reprehenderit. Aspernatur autem commodi eius et facere id ipsam maxime nihil, quis quisquam, quod recusandae sapiente sed, sequi veniam?
</p>
<a href="#" class="btn-text">
Learn more →
</a>
</div>
<div class="col-1-of-2">
<div class="composition">
<img src="img/nat-1.jpg"
alt="Photo 1"
class="composition__photo composition__photo--p1">
<img src="img/nat-2.jpg"
alt="Photo 2"
class="composition__photo composition__photo--p2">
<img src="img/nat-3.jpg"
alt="Photo 3"
class="composition__photo composition__photo--p3">
</div>
</div>
</div>
</section>
<section class="section-features">
<div class="row">
<div class="col-1-of-4">
<div class="feature-box">
<i class="feature-box__icon icon-basic-world"></i>
<h3 class="heading-tertiary u-margin-bottom-small">
Explore the world
</h3>
<p class="feature-box__text">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Asperiores, blanditiis.
</p>
</div>
</div>
<div class="col-1-of-4">
<div class="feature-box">
<i class="feature-box__icon icon-basic-compass"></i>
<h3 class="heading-tertiary u-margin-bottom-small">
Meet Nature
</h3>
<p class="feature-box__text">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Asperiores, blanditiis.
</p>
</div>
</div>
<div class="col-1-of-4">
<div class="feature-box">
<i class="feature-box__icon icon-basic-map"></i>
<h3 class="heading-tertiary u-margin-bottom-small">
Find your way
</h3>
<p class="feature-box__text">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Asperiores, blanditiis.
</p>
</div>
</div>
<div class="col-1-of-4">
<div class="feature-box">
<i class="feature-box__icon icon-basic-heart"></i>
<h3 class="heading-tertiary u-margin-bottom-small">
Live a healthier life
</h3>
<p class="feature-box__text">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Asperiores, blanditiis.
</p>
</div>
</div>
</div>
</section>
<section class="section-tours" id="section-tours">
<div class="u-center-text u-margin-bottom-big">
<h2 class="heading-secondary">
Most popular tours.
</h2>
</div>
<div class="row">
<div class="col-1-of-3">
<div class="card">
<div class="card__side card__side--front">
<div class="card__picture card__picture--1">
</div>
<h4 class="card__heading">
<span class="card__heading-span card__heading-span--1">
The Sea Explorer
</span>
</h4>
<div class="card__details">
<ul>
<li>3 Day Tour</li>
<li>Up to 10 People</li>
<li>2 Tour Guides.</li>
<li>Sleep in Cozy Hotels</li>
<li>Difficulty: easy</li>
</ul>
</div>
</div>
<div class="card__side card__side--back card__side--back-1">
<div class="card__cta">
<div class="card__price-box">
<p class="card__price-only">
Only
</p>
<p class="card__price-value">
$297
</p>
</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__picture card__picture--2">
</div>
<h4 class="card__heading">
<span class="card__heading-span card__heading-span--2">
The Forrest Hiker
</span>
</h4>
<div class="card__details">
<ul>
<li>7 Day Tour</li>
<li>Up to 40 People</li>
<li>6 Tour Guides.</li>
<li>Sleep in Provided Tents</li>
<li>Difficulty: medium</li>
</ul>
</div>
</div>
<div class="card__side card__side--back card__side--back-2">
<div class="card__cta">
<div class="card__price-box">
<p class="card__price-only">
Only
</p>
<p class="card__price-value">
$497
</p>
</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__picture card__picture--3">
</div>
<h4 class="card__heading">
<span class="card__heading-span card__heading-span--3">
The Snow Adventurer
</span>
</h4>
<div class="card__details">
<ul>
<li>5 Day Tour</li>
<li>Up to 15 People</li>
<li>3 Tour Guides.</li>
<li>Sleep in Provided Tents</li>
<li>Difficulty: hard</li>
</ul>
</div>
</div>
<div class="card__side card__side--back card__side--back-3">
<div class="card__cta">
<div class="card__price-box">
<p class="card__price-only">
Only
</p>
<p class="card__price-value">
$897
</p>
</div>
<a href="#popup" class="btn btn-white">Book now!</a>
</div>
</div>
</div>
</div>
</div>
<div class="u-center-text u-margin-top-huge">
<a href="#" class="btn btn-green">
Discover all tours
</a>
</div>
</section>
<section class="section-stories">
<div class="bg-video">
<video class="bg-video__content" autoplay muted loop>
<source src="img/video.mp4" type="video/mp4">
<source src="img/video.webm" type="video/webm">
Your browser is not supported!
</video>
</div>
<div class="u-center-text u-margin-bottom-big">
<h2 class="heading-secondary">
We make people genuinely happy
</h2>
</div>
<div class="row">
<div class="story">
<figure class="story__shape">
<img src="img/nat-8.jpg" alt="Person on a tour" class="story__img">
<figcaption class="story__caption">
Mary Smith
</figcaption>
</figure>
<div class="story__text">
<h3 class="heading-tertiary">
I had the best week every with my family.
</h3>
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusantium blanditiis corporis, dolorem explicabo facere, fuga hic in iure magni minima nostrum obcaecati odit optio perferendis rem rerum, ullam ut voluptatum? obcaecati odit optio perferendis rem rerum, ullam ut voluptatum? obcaecati odit optio perferendis rem rerum, ullam ut voluptatum?
</p>
</div>
</div>
</div>
<div class="row">
<div class="story">
<figure class="story__shape">
<img src="img/nat-9.jpg" alt="Person on a tour" class="story__img">
<figcaption class="story__caption">
Jack Wilson
</figcaption>
</figure>
<div class="story__text">
<h3 class="heading-tertiary">
WOW: My life is completely different now.
</h3>
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusantium blanditiis corporis, dolorem explicabo facere, fuga hic in iure magni minima nostrum obcaecati odit optio perferendis rem rerum, ullam ut voluptatum? obcaecati odit optio perferendis rem rerum, ullam ut voluptatum? obcaecati odit optio perferendis rem rerum, ullam ut voluptatum?
</p>
</div>
</div>
</div>
<div class="row">
<div class="story">
<figure class="story__shape">
<img src="img/nat-10.jpg" alt="Person on a tour" class="story__img">
<figcaption class="story__caption">
Mary Smith
</figcaption>
</figure>
<div class="story__text">
<h3 class="heading-tertiary">
I had the best week every with my family.
</h3>
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusantium blanditiis corporis, dolorem explicabo facere, fuga hic in iure magni minima nostrum obcaecati odit optio perferendis rem rerum, ullam ut voluptatum? obcaecati odit optio perferendis rem rerum, ullam ut voluptatum? obcaecati odit optio perferendis rem rerum, ullam ut voluptatum?
</p>
</div>
</div>
</div>
<div class="u-center-text u-margin-top-huge">
<a href="#" class="btn-text">
Read all Stories →
</a>
</div>
</section>
<section class="section-book">
<div class="row">
<div class="book">
<div class="book__form">
<form action="#" class="form">
<div class="u-margin-bottom-medium">
<h2 class="heading-secondary">
Start booking now
</h2>
</div>
<div class="form__group">
<input
id="name"
type="text"
class="form__input"
placeholder="Full name"
required
>
<label for="name" class="form__label">
Full name
</label>
</div>
<div class="form__group">
<input
id="email"
type="email"
class="form__input"
placeholder="Email address"
required
>
<label for="email" class="form__label">
Email address
</label>
</div>
<div class="form__group u-margin-bottom-medium">
<div class="form__radio-group">
<!--
name="group-size" Property enables, radio button to have
selected one item at a given time, otherwise users will be
able to select both the radio buttons.
-->
<input type="radio"
class="form__radio-input"
id="small"
name="group-size"
>
<label for="small" class="form__radio-label">
<span class="form__radio-button"></span>
Small tour group
</label>
</div>
<div class="form__radio-group">
<input type="radio"
class="form__radio-input"
id="large"
name="group-size"
>
<label for="large" class="form__radio-label">
<span class="form__radio-button"></span>
Large tour group
</label>
</div>
</div>
<div class="form__group">
<button class="btn btn-green">
Next step →
</button>
</div>
</form>
</div>
</div>
</div>
</section>
<footer class="footer">
<div class="footer__logo-box">
<!--
Lecture 61:
NOTE for Art Direction:
**Art direction is the way of showing different images on different screen sizes.
In order to achieve that we can make use of HTML "picture" tag with "source" and "img" tags.
-->
<!--
Lecture 61:
NOTE for Density Switching:
Following code shows how we can use the density switching on images.That is based on the
device's screen resolution browser will serve different images with different resolutions.
For High resolution screens will serve high pixel images, where as for low resolutions's
devices it will server low pixel images.
Because in High resolution screen uses 2 actual pixel of images used to show 1 pixel in the screen.
(i.e: 1Pixel in High Res Screen == 2px in Image)
To achieve that we make use of HTML "srcset" option.
-->
<!-- <img src="./img/logo-green-2x.png" alt="Full logo" class="footer__logo"> -->
<picture class="footer__logo">
<!-- We can specify multiple sources for an image as below. -->
<source srcset="img/logo-green-small-1x.png 1x, img/logo-green-small-2x.png 2x"
media="(max-width: 37.5em)"> <!-- use specified image if max-width: 600px(37.5em) -->
<!--
This "src" property in the img tag, only will use if the browser does not
understand the "srcset" property. (i.e: since "srcset" is a new css tag,
it will not be recognized by the old browsers.)
-->
<img srcset="img/logo-green-1x.png 1x, img/logo-green-2x.png 2x"
src="img/logo-green-2x.png"
alt="Full logo"
class="footer__logo">
</picture>
</div>
<div class="row">
<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">
Careers
</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">
<p class="footer__copyright">
Built by <a href="#" class="footer__link">Chamika</a> for this online course
<a href="#" class="footer__link">Advanced CSS and SASS</a>. Copyright © by Chamika. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusantium aliquam, beatae distinctio dolor, dolores ea eligendi eos est iste magnam minima modi necessitatibus nobis odio praesentium, quibusdam repudiandae ut veniam?
</p>
</div>
</div>
</footer>
<div class="popup" id="popup">
<div class="popup__content">
<div class="popup__left">
<img src="./img/nat-8.jpg" alt="Tour photo" class="popup__img">
<img src="./img/nat-9.jpg" alt="Tour photo" class="popup__img">
</div>
<div class="popup__right">
<a href="#section-tours" class="popup__close">×</a>
<h2 class="heading-secondary u-margin-bottom-small">
Start booking now
</h2>
<h2 class="heading-tertiary u-margin-bottom-small">
Important – Please read these terms before booking.
</h2>
<p class="popup__text">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dicta facere laborum quisquam quos similique. Alias animi cum doloribus, enim fuga, impedit itaque laboriosam neque nesciunt, provident quas quidem ullam veniam.
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ducimus expedita impedit nihil optio quos sequi voluptatibus! Blanditiis consectetur dolore eaque et fugit minima molestias neque numquam pariatur, repudiandae sapiente veniam!
</p>
<a href="#" class="btn btn-green">Book now</a>
</div>
</div>
</div>
</main>
<!-- Grid Template -->
<!-- <section class="grid-test">-->
<!-- <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>-->
<!-- <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>-->
<!-- <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>-->
<!-- <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>-->
<!-- <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>-->
<!-- <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>-->
<!-- </section>-->
</body>
</html>
<!--
Users live-server to reload the web page :
https://www.npmjs.com/package/live-server
-->