-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
277 lines (241 loc) · 18.3 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
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<title>Седона</title>
<meta name="keywords" content="tourism,travels,sedona">
<meta name="description" content="small town in Arizon">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="robots" content="index, follow">
<meta name="author" content="Nikolay Solodukhin">
<link type="font/woff2" href="fonts/ptsans.woff2" rel="preload" as="font" crossorigin="anonymous">
<link type="font/woff2" href="fonts/ptsansbold.woff2" rel="preload" as="font" crossorigin="anonymous">
<style type="text/css">
html{line-height:1.15;text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section{display:block}a{background-color:transparent}img{border-style:none}.content-picture{background-size:100% 100%}.content-picture::after{background-size:100% 57px}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{margin:0;font-size:100%;line-height:1.15;font-family:sans-serif}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}fieldset{padding:.35em .75em .625em}.page{margin:0;font-weight:700;font-size:21px;line-height:26px;font-family:"Pt Sans",Arial,sans-serif;text-transform:uppercase}.container{min-width:768px;max-width:1200px;margin-right:auto;margin-left:auto;background-color:#fff;box-shadow:#ccc 0 0 15px 2px}.page-header{position:relative}.page-header__logo{position:absolute;left:50%;z-index:2;transform:translateX(-50%);cursor:pointer}.main-navigation{padding-right:6%;padding-left:6%}.main-navigation__list{display:flex;justify-content:space-between;margin:0;padding:0;-webkit-box-pack:justify}.main-navigation__item{width:20%;padding:15px 0;list-style:none;font-size:14px}.main-navigation__item:nth-child(1),.main-navigation__item:nth-child(2){text-align:left}.main-navigation__item:nth-last-child(1),.main-navigation__item:nth-last-child(2){text-align:right}.main-navigation__link{color:#000;text-decoration:none}.content-picture{position:relative;width:100%;margin-bottom:42px;padding-top:78px;text-align:center;background:url(../img/bg-picture-halls.jpg) 0% 0%/100% 100% no-repeat #647888}.content-picture::after{content:"";position:absolute;bottom:0;left:50%;width:100%;min-height:57px;background:url(img/decoration-element.png) 0% 0%/100% 57px no-repeat;transform:translateX(-50%)}.content-picture__img{align-self:center;margin-bottom:73px}.page-description{display:flex;flex-direction:column;justify-content:center;-webkit-box-direction:normal;-webkit-box-orient:vertical;-webkit-box-pack:center}.page-description__reason,.page-description__title{line-height:26px;text-align:center}.page-description__title{font-weight:700;font-size:21px}.page-description__reason{margin-top:12px;margin-bottom:50px;font-weight:400;font-size:14px}.advantage,.advantage__list{display:flex}.advantage{flex-flow:row wrap;-webkit-box-direction:normal;-webkit-box-orient:horizontal}.advantage__list{width:100%;color:#fff}.advantage__item{width:33.34%;font-weight:400;font-size:14px;text-align:center;color:#fff;background-color:#81b3d2}.advantage__picture{position:relative;display:flex;width:66.666%;min-height:256px;overflow:hidden}.advantage__img{position:absolute;top:50%;width:100%;height:auto;transform:translateY(-50%)}.form,.promo__search{box-sizing:border-box;width:570px}.form{position:absolute;top:0;left:50%;z-index:1;padding:55px;background:#fff;box-shadow:rgba(50,50,50,.38) 0 11px 20px 3px;transform:translateX(-50%);animation:slideInDown .6s ease 0s 1 normal none running}.form--hidden{display:none}.form__survey{margin-right:0;margin-bottom:10px;margin-left:0;padding:0;border:0}.form__btn{width:460px;min-height:58px;font-weight:700;font-size:21px;line-height:26px;font-family:"Pt Sans",Arial,sans-serif;color:#fff;text-transform:uppercase;background-color:#81b3d2;border:0}.form__counter{display:flex;justify-content:space-between;-webkit-box-pack:justify}.btn{font-family:"Pt Sans",Arial,sans-serif;text-align:center;cursor:pointer}.filter__control,.text-input{display:flex}.text-input{position:relative;justify-content:space-between;align-items:center;margin-bottom:30px;-webkit-box-align:center;-webkit-box-pack:justify}.text-input__label{display:flex;width:101px;margin-right:11px;font-weight:700;font-size:14px;line-height:26px;color:#000}.text-input__label--center{justify-content:center;-webkit-box-pack:center}.text-input__control{box-sizing:border-box;width:346px;padding:5px 12px;font-weight:400;font-size:14px;line-height:26px;font-family:"Pt Sans",Arial,sans-serif;background-color:#f2f2f2;border:0}.text-input__control::-webkit-input-placeholder{font-weight:700;font-size:14px;line-height:26px;color:#000}.text-input__control--number{width:38px;padding:6px 5px;text-align:center}.text-input__button{width:38px;height:38px;padding:6px 5px;font-weight:400;font-size:14px;color:#a9a9a9;background-color:#f2f2f2;border:0}.text-input__svg{vertical-align:middle;fill:#a9a9a9}.text-input__svg--calendar{vertical-align:initial;fill:#c2c2c2}.text-input__counter{width:114px;font-size:0}.text-input__icon{position:absolute;right:9px;bottom:9px;width:20px;height:22px}
</style>
<link rel="stylesheet" href="css/style.css">
</head>
<body class="page">
<div class="container">
<header class="page-header">
<div class="page-header__logo">
<picture>
<source media="(max-width: 1100px)" srcset="img/logo-sedona-tablet.svg">
<source media="(min-width: 1200px)" srcset="img/logo-sedona-desktop.svg">
<img class="page-header__img" src="img/logo.png" width="188" height="78" alt="City of Sedona">
</picture>
</div>
<nav class="main-navigation">
<ul class="main-navigation__list">
<li class="main-navigation__item">
<a class="main-navigation__link" href="info.html">Информация</a>
</li>
<li class="main-navigation__item">
<a class="main-navigation__link" href="photo.html">Фото и видео</a></li>
<li class="main-navigation__item">
<a class="main-navigation__link" href="#map-canvas">Карта штата</a></li>
<li class="main-navigation__item">
<a class="main-navigation__link" href="hotels.html">Гостиницы</a>
</li>
</ul>
</nav>
</header>
<main class="page-main">
<div class="content-picture">
<picture>
<source srcset="img/sedona-title.webp" type="image/webp">
<source srcset="img/sedona-title.png" type="image/jpg">
<img class="content-picture__img" src="img/sedona-title.png" width="458" height="352" alt="Welcome to the gargeous Sedona. Because the Grand Canyon sucks!">
</picture>
</div>
<div class="page-description">
<h2 class="page-description__title">Седона — небольшой городок в аризоне, заслуживающий
большего!</h2>
<p class="page-description__reason">Рассмотрим 5 причин, по которым Седона круче, чем Гранд Коньон!</p>
</div>
<section class="advantage">
<div class="advantage__list">
<div class="advantage__item">
<h3 class="advantage__name">Настоящий<br>городок</h3> - №1 -
<p class="advantage__description">Седона не атракцион для туристов,<br>там течет своя жизнь</p>
</div>
<div class="advantage__picture">
<picture>
<source srcset="img/bg-city-sedona.webp" type="image/webp">
<source srcset="img/bg-city-sedona.jpg" type="image/jpg">
<img class="advantage__img" src="img/bg-city-sedona.jpg" width="1600" height="800" alt="city-Sedona">
</picture>
</div>
</div>
<section class="feature">
<div class="feature__item">
<div class="feature__icon">
<svg class="feature__svg" xmlns="http://www.w3.org/2000/svg" width="75" height="72" viewbox="0 0 74.696 72.345"
role="img" aria-label="">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="img/symbols.svg#feature-accom"></use>
</svg>
</div>
<h3 class="feature__name">Жилье</h3>
<p class="feature__description">Рекомендуем пожить в настоящем<br>мотеле, все как в кино!</p>
</div>
<div class="feature__item">
<div class="feature__icon">
<svg class="feature__svg" width="74" height="70" viewbox="0 0 76.166 68.959" role="img" aria-label="">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="img/symbols.svg#feature-food"></use>
</svg>
</div>
<h3 class="feature__name">Еда</h3>
<p class="feature__description">Всегда заказывайте фирменный бургер, вы не разачаруетесь!</p>
</div>
<div class="feature__item">
<div class="feature__icon">
<svg class="feature__svg" version="1" xmlns="http://www.w3.org/2000/svg" width="64" height="76" viewbox="0 0 63 75.084"
role="img" aria-label="">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="img/symbols.svg#feature-souvenirs"></use>
</svg>
</div>
<h3 class="feature__name">Сувениры</h3>
<p class="feature__description">Не только китайского но и местного<br>производства!</p>
</div>
</section>
<div class="advantage__list">
<div class="advantage__picture advantage__picture--left">
<picture>
<source srcset="img/bg-devils-bridge.webp" type="image/webp">
<source srcset="img/bg-devils-bridge.jpg" type="image/jpg">
<img class="advantage__img" src="img/bg-devils-bridge.jpg" width="1600" height="800" alt="Devil's bridge">
</picture>
</div>
<div class="advantage__item">
<h3 class="advantage__name">Там есть<br>мост дьявола</h3> - №2 -
<p class="advantage__description">Да, по нему можно пройти! Если конечно вы осмелитесь</p>
</div>
</div>
<div class="other-advantages">
<div class="advantage__item advantage__item--white">
<h3 class="advantage__name">Небольшая<br>площадь</h3> - №3 -
<p class="advantage__description">Все достопримечательности<br>находятся очень близко</p>
</div>
<div class="advantage__item advantage__item--white">
<h3 class="advantage__name">Красивая<br>дорога</h3> - №4 -
<p class="advantage__description">Ехать в Седону из Лас-Вегаса совсем<br>не скучно!</p>
</div>
<div class="advantage__item advantage__item--white">
<h3 class="advantage__name">Мало<br>туристов</h3> - №5 -
<p class="advantage__description">Большинство едет в гранд каньон и<br>толпится там</p>
</div>
</div>
</section>
<div class="promo">
<h3 class="promo__title">Заинтересовались?</h3>
<p class="promo__description">Укажите предполагаемые даты поездки, и мы покажем вам лучшие
предложения гостиниц в седоне</p>
<button class="promo__search" type="button">Поиск гостиницы в седоне</button>
<div class="form-container" id="search">
<form class="form" method="post">
<fieldset class="form__survey">
<section class="text-input">
<label class="text-input__label" for="date-entrance">Дата заезда:</label>
<input class="text-input__control" type="text" name="date-entrance" id="date-entrance" placeholder="24 АПРЕЛЯ 2016">
<span class="text-input__icon">
<svg class="text-input__svg text-input__svg--calendar" version="1" xmlns="http://www.w3.org/2000/svg"
width="19.875" height="21.916" viewbox="0 0 19.875 21.916" role="img" aria-label="">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="img/symbols.svg#icon-calendar"></use>
</svg>
</span>
</section>
<section class="text-input">
<label class="text-input__label" for="date-departure">Дата выезда:</label>
<input class="text-input__control" type="text" name="date-departure" id="date-departure" placeholder="4 ИЮЛЯ 2016">
<span class="text-input__icon">
<svg class="text-input__svg text-input__svg--calendar" version="1" xmlns="http://www.w3.org/2000/svg"
width="19.875" height="21.916" viewbox="0 0 19.875 21.916" role="img" aria-label="">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="img/symbols.svg#icon-calendar"></use>
</svg>
</span>
</section>
</fieldset>
<fieldset class="form__survey">
<div class="form__counter">
<section class="text-input">
<label class="text-input__label">Взрослые:</label>
<div class="text-input__counter">
<button class="text-input__button text-input__button--decrease" type="button">
<svg class="text-input__svg" version="1" xmlns="http://www.w3.org/2000/svg" width="9.917" height="1.917"
viewbox="0 0 9.917 1.917" role="img" aria-label="">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="img/symbols.svg#minus"></use>
</svg>
</button>
<input class="text-input__control text-input__control--number" type="text" id="three-max"
placeholder="2">
<button class="text-input__button text-input__button--increase" type="button">
<svg class="text-input__svg" version="1" xmlns="http://www.w3.org/2000/svg" width="9.917" height="9.917"
viewbox="0 0 9.917 9.917" role="img" aria-label="">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="img/symbols.svg#plus"></use>
</svg>
</button>
</div>
</section>
<section class="text-input">
<label class="text-input__label text-input__label--center">Дети:</label>
<div class="text-input__counter">
<button class="text-input__button text-input__button--decrease" type="button">
<svg class="text-input__svg" version="1" xmlns="http://www.w3.org/2000/svg" width="9.917" height="1.917"
viewbox="0 0 9.917 1.917" role="img" aria-label="">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="img/symbols.svg#minus"></use>
</svg>
</button>
<input class="text-input__control text-input__control--number" type="text" id="six-max" placeholder="0">
<button class="text-input__button text-input__button--increase" type="button">
<svg class="text-input__svg" version="1" xmlns="http://www.w3.org/2000/svg" width="9.917" height="9.917"
viewbox="0 0 9.917 9.917" role="img" aria-label="">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="img/symbols.svg#plus"></use>
</svg>
</button>
</div>
</section>
</div>
</fieldset>
<button class="form__btn btn" type="submit" name="find">Найти</button>
</form>
</div>
</div>
</main>
<div class="map" id="map-canvas"></div>
</div>
<div class="container">
<footer class="page-footer">
<div class="page-footer__hashtag">
<span>#VISITSEDONA</span>
</div>
<div class="page-footer__social social">
<a class="social__link social__link--tw" href="https://www.twitter.com">Твиттер
<svg class="social__svg" version="1" xmlns="http://www.w3.org/2000/svg" width="17.5" height="14.663" viewbox="0 0 17.5 14.663"
role="img" aria-label="">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="img/symbols.svg#icon-twitter"></use>
</svg>
</a>
<a class="social__link social__link--fb" href="https://www.facebook.com">Фейсбук
<svg class="social__svg" version="1" xmlns="http://www.w3.org/2000/svg" width="8.672" height="18.944" viewbox="0 0 8.672 18.944"
role="img" aria-label="">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="img/symbols.svg#icon-facebook"></use>
</svg>
</a>
<a class="social__link social__link--youtube" href="https://www.youtube.com">Ютуб
<svg class="social__svg" version="1" xmlns="http://www.w3.org/2000/svg" width="19.979" height="14.015"
viewbox="0 0 19.979 14.015" role="img" aria-label="">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="img/symbols.svg#icon-youtube"></use>
</svg>
</a>
</div>
<div class="page-footer__copyright">
<p class="page-footer__developed">Website by</p>
<a class="page-footer__copyright-link" href="https://www.htmlacademy.ru"></a>
</div>
</footer>
</div>
<script src="https://api-maps.yandex.ru/2.1/?lang=ru_RU" type="text/javascript"></script>
<script src="js/main.js" type="text/javascript"></script>
</body>
</html>