-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.html
547 lines (488 loc) · 36.5 KB
/
main.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Главная страница</title>
<link rel="stylesheet" href="main.css">
<link rel="stylesheet" href="adaptability.css">
</head>
<body>
<div class="container">
<header class="header">
<div>
<ul class="nav">
<svg class="burger" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 384 384"
style="enable-background:new 0 0 384 384;" xml:space="preserve">
<g>
<g>
<g>
<rect x="0" y="277.333" width="384" height="42.667" fill="#000000"
style="fill: rgb(255, 255, 255);"></rect>
<rect x="0" y="170.667" width="384" height="42.667" fill="#000000"
style="fill: rgb(255, 255, 255);"></rect>
<rect x="0" y="64" width="384" height="42.667" fill="#000000"
style="fill: rgb(255, 255, 255);"></rect>
</g>
</g>
</g>
</svg>
<li class="nav-item"><a class="nav-link1" href="models.html">МОДЕЛИ</a></li>
<li class="nav-item"><a class="nav-link2" href="buy.html">ПОКУПКА И АРЕНДА</a></li>
<div class="image-container">
<a href="main.html">
<img src="elements/m-removebg-preview.png">
</a>
</div>
<li class="nav-item"><a class="nav-link3" href="services.html">УСЛУГИ</a></li>
<li class="nav-item">
<a class="nav-link4" href="stocks.html">
<p><svg version="1.1" id="kupon" width="30" height="28" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512"
style="enable-background:new 0 0 512 512;" xml:space="preserve">
<g>
<g>
<circle cx="368" cy="320" r="16" fill="#000000"
style="fill: rgb(255, 255, 255);"></circle>
</g>
</g>
<g>
<g>
<path
d="M480,80H160v32h-32V80H32C14.368,80,0,94.368,0,112v80c0,8.832,7.168,16,16,16c26.464,0,48,21.536,48,48s-21.536,48-48,48 c-8.832,0-16,7.168-16,16v80c0,17.952,14.048,32,32,32h96v-32h32v32h320c17.952,0,32-14.048,32-32V112 C512,94.048,497.952,80,480,80z M160,368h-32v-32h32V368z M160,304h-32v-32h32V304z M160,240h-32v-32h32V240z M160,176h-32v-32h32 V176z M272,144c26.464,0,48,21.536,48,48s-21.536,48-48,48s-48-21.536-48-48S245.536,144,272,144z M240,368 c-3.616,0-7.232-1.216-10.24-3.712c-6.784-5.664-7.712-15.744-2.048-22.528l160-192c5.696-6.816,15.776-7.648,22.528-2.048 c6.784,5.664,7.68,15.744,2.016,22.56l-160,192C249.12,366.016,244.576,368,240,368z M368,368c-26.464,0-48-21.536-48-48 s21.536-48,48-48s48,21.536,48,48S394.464,368,368,368z"
fill="#000000" style="fill: rgb(255, 255, 255);"></path>
</g>
</g>
<g>
<g>
<circle cx="272" cy="192" r="16" fill="#000000"
style="fill: rgb(255, 255, 255);"></circle>
</g>
</g>
</svg>ПОСМОТРЕТЬ АКЦИИ</p>
</a>
</li>
<svg class="search" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 30.239 30.239"
style="enable-background:new 0 0 30.239 30.239;" xml:space="preserve">
<g>
<path
d="M20.194,3.46c-4.613-4.613-12.121-4.613-16.734,0c-4.612,4.614-4.612,12.121,0,16.735 c4.108,4.107,10.506,4.547,15.116,1.34c0.097,0.459,0.319,0.897,0.676,1.254l6.718,6.718c0.979,0.977,2.561,0.977,3.535,0 c0.978-0.978,0.978-2.56,0-3.535l-6.718-6.72c-0.355-0.354-0.794-0.577-1.253-0.674C24.743,13.967,24.303,7.57,20.194,3.46z M18.073,18.074c-3.444,3.444-9.049,3.444-12.492,0c-3.442-3.444-3.442-9.048,0-12.492c3.443-3.443,9.048-3.443,12.492,0 C21.517,9.026,21.517,14.63,18.073,18.074z"
fill="#000000" style="fill: rgb(255, 255, 255);"></path>
</g>
</svg>
</ul>
</div>
<div class="menu-overlay">
<div class="chap"><a class="elem" href="models.html">МОДЕЛИ</a></div>
<div class="chap"><a class="elem" href="buy.html">ПОКУПКА И АРЕНДА</a></div>
<div class="chap"><a class="elem" href="services.html">УСЛУГИ</a></div>
<div class="chap"><a class="elem" href="stocks.html">АКЦИИ</a></div>
</div>
<form id="searchForm" class="poisk" onsubmit="return submitForm(event)">
<div class="ladin">
<input type="text" name="search" id="searchInput" placeholder="ПОИСК" required>
</div>
</form>
</header>
<div class="circle1">
<svg id="strelka" enable-background="new 0 0 32 32" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
<g transform="rotate(90, 16, 16)">
<path
d="m9.1 18c.5-.3 1.1-.1 1.4.4l4.6 7.9v-24.3c0-.6.4-1 1-1 .6 0 1 .4 1 1v24.3l4.6-7.9c.3-.5.9-.6 1.4-.4.5.3.6.9.4 1.4l-6.4 11.1c-.4.7-1.3.7-1.7 0l-6.7-11.1c-.3-.5-.1-1.1.4-1.4z"
fill="#ffffff" />
</g>
</svg>
</div>
<div class="circle2">
<svg id="strelka" enable-background="new 0 0 32 32" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
<g transform="rotate(270, 16, 16)">
<path
d="m9.1 18c.5-.3 1.1-.1 1.4.4l4.6 7.9v-24.3c0-.6.4-1 1-1 .6 0 1 .4 1 1v24.3l4.6-7.9c.3-.5.9-.6 1.4-.4.5.3.6.9.4 1.4l-6.4 11.1c-.4.7-1.3.7-1.7 0l-6.7-11.1c-.3-.5-.1-1.1.4-1.4z"
fill="#ffffff" />
</g>
</svg>
</div>
<div class="lamba">
<p>Новая Ламборджини Авентадор уже доступна.<br>Открой для себя большие возможности.</p>
</div>
<div class="byd">
<p>Электрический хэтчбек BYD Dolphin.<br><br>
Этот автомобиль на городских улицах, как рыба в воде –<br>рвет с места, компактный, юркий, маневренный.
</p>
</div>
<div class="audi">
<p>Audi Q4 e - Tron.<br><br>
Путешествую на новом внедорожнике<br> со всей семьей.</p>
</div>
<div class="a-text-overlay">
КИА Спортейдж<br><br>Ограниченная серия доступна с гибридными и подключаемыми
гибридными двигателями.
</div>
</div>
<div class="main">
<div class="wrapper">
<div class="one">
<a href="error.html">
<img class="sportage"
src="D:/Курсовой проект/Моя работа/elements/sportage-main-banner-30-years-w.webp">
<div class="text-overlay">
КИА Спортейдж<div class="text-overlay-text">Ограниченная серия доступна с гибридными и
подключаемыми гибридными двигателями.</div>
</div>
</a>
</div>
<div class="two" onclick="redirectToURL()">
<div class="wheel">
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" width="90" height="90"
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512"
style="enable-background:new 0 0 512 512;" xml:space="preserve">
<g>
<g>
<path
d="M287.413,376h-62.826c-9.567,0-19.249-2.98-27.811-8.027l15.948,48.293C226.527,419.997,241.033,422,256,422 s29.473-2.003,43.276-5.734l15.948-48.293C306.662,373.02,296.98,376,287.413,376z"
fill="#000000" style="fill: rgb(255, 255, 255);"></path>
</g>
</g>
<g>
<g>
<path
d="M256,166c-36.559,0-72.164,4.077-106.393,11.789l49.771,150.014c3.159,9.523,15.175,18.197,25.209,18.197h62.826 c10.034,0,22.05-8.674,25.209-18.197l49.771-150.014C328.164,170.077,292.559,166,256,166z M256,301c-24.813,0-45-20.187-45-45 s20.187-45,45-45s45,20.187,45,45S280.813,301,256,301z"
fill="#000000" style="fill: rgb(255, 255, 255);"></path>
</g>
</g>
<g>
<g>
<path
d="M408.589,190.659c-5.649-1.884-11.343-3.671-17.083-5.349l-34.54,104.108c4.953-2.178,10.2-3.418,15.329-3.418h46.982 c1.784-9.733,2.723-19.759,2.723-30C422,232.812,417.214,210.724,408.589,190.659z"
fill="#000000" style="fill: rgb(255, 255, 255);"></path>
</g>
</g>
<g>
<g>
<path
d="M256,241c-8.271,0-15,6.729-15,15s6.729,15,15,15s15-6.729,15-15S264.271,241,256,241z"
fill="#000000" style="fill: rgb(255, 255, 255);"></path>
</g>
</g>
<g>
<g>
<path
d="M120.494,185.31c-5.74,1.678-11.434,3.465-17.083,5.349C94.786,210.723,90,232.812,90,256c0,10.241,0.939,20.267,2.723,30 h46.982c5.129,0,10.376,1.24,15.329,3.418L120.494,185.31z"
fill="#000000" style="fill: rgb(255, 255, 255);"></path>
</g>
</g>
<g>
<g>
<path
d="M256,0C114.615,0,0,114.615,0,256s114.615,256,256,256s256-114.615,256-256S397.385,0,256,0z M256,452 c-108.075,0-196-87.925-196-196S147.925,60,256,60s196,87.925,196,196S364.075,452,256,452z"
fill="#000000" style="fill: rgb(255, 255, 255);"></path>
</g>
</g>
</svg>
</div>
<p class="text-wheel">Пробный заезд<br><br>Забронируйте
пробный заезд
на нашем автодроме</p>
</div>
<div class="three">
<div class="brochure">
<svg viewBox="-31 0 512 512" width="90" height="90" xmlns="http://www.w3.org/2000/svg">
<path
d="m0 422h120v90h330v-422h-120v-90h-330zm330 0c0-14.820312 0-288.894531 0-302h90v362h-218.609375l126-60zm-180 51.242188v-51.242188h107.609375zm-120-443.242188h270v362h-270zm0 0"
fill="#000000" style="fill: rgb(255, 255, 255);"></path>
<path d="m60 181h210v-121h-210zm30-91h150v61h-150zm0 0" fill="#000000"
style="fill: rgb(255, 255, 255);"></path>
<path d="m60 211h90v30h-90zm0 0" fill="#000000" style="fill: rgb(255, 255, 255);"></path>
<path d="m180 211h90v30h-90zm0 0" fill="#000000" style="fill: rgb(255, 255, 255);"></path>
<path d="m60 271h90v30h-90zm0 0" fill="#000000" style="fill: rgb(255, 255, 255);"></path>
<path d="m180 271h90v30h-90zm0 0" fill="#000000" style="fill: rgb(255, 255, 255);"></path>
<path d="m60 331h90v30h-90zm0 0" fill="#000000" style="fill: rgb(255, 255, 255);"></path>
<path d="m180 331h90v30h-90zm0 0" fill="#000000" style="fill: rgb(255, 255, 255);"></path>
</svg>
</div>
<p class="text-brochure">Брошюры<br><br>
Скачать брошюру для выбраного вами автомобиля</p>
</div>
</div>
<div class="a-one">
<img src="D:\Курсовой проект\Моя работа\elements\full-version-fob144_football_pickup_xc90-2560x1440.webp">
<div class="a-text">
<p>Насладись всеми прелестями нового автомобиля</p>
</div>
</div>
</div>
<div class="after">
<div class="num1">
<p>Официальное уведомление</p>
</div>
<div class="num2">
<p>Уважаемые клиенты,</p>
</div>
<div class="num3">
<p>Мы ценим ваш выбор приобрести автомобиль у нашей компании и стремимся обеспечить вас наилучшим опытом
покупки. Чтобы сделать ваше взаимодействие с нами максимально прозрачным и безопасным, мы
настоятельно рекомендуем внимательно ознакомиться с условиями и договором при покупке автомобиля,
размещенными на нашем веб-сайте.</p>
</div>
<div class="num4">
<p>Чтение договора внимательно и полностью поможет вам полностью понять все аспекты сделки, включая
права и обязанности как покупателя, так и продавца. Это также поможет избежать недоразумений в
будущем и обеспечит вашу уверенность в сделке.</p>
</div>
<div class="num5">
<p>Мы также хотели бы подчеркнуть, что наши официальные автодилеры готовы предоставить вам всю
необходимую поддержку и консультации на протяжении всего процесса покупки. Они обладают экспертным
знанием о наших продуктах и услугах, а также готовы помочь вам в любых вопросах, возникающих в ходе
вашего выбора и приобретения автомобиля.</p>
</div>
<div class="num6">
<p>Благодарим вас за доверие, которое вы оказываете нашей компании. Мы гордимся возможностью быть вашими
партнерами в этом важном этапе вашей жизни.</p>
</div>
<div class="num7">
<p>С уважением,</p>
</div>
<div class="num8">
<p>ДрайвГланс</p>
</div>
</div>
<div class="modal">
<p class="vis">В целом, как вы оцениваете DriveGlance.com?</p>
<div class="but"><button id="b1" class="button1">Положительно</button>
<div class="but2"><button id="b2" class="button2">Отрицательно</button></div>
</div>
</div>
<footer>
<ul class="info">
<li class="info-item">
<a href="main.html">
<img class="picture" src="elements/m-removebg-preview.svg">
</a>
</li>
<li class="info-item"><a class="info-link1" href="models.html">МОДЕЛИ</a></li>
<li class="info-item"><a class="info-link2" href="buy.html">ПОКУПКА И АРЕНДА</a></li>
<li class="info-item"><a class="info-link3" href="services.html">УСЛУГИ</a></li>
<li class="info-item"><a class="info-link4" href="company.html">КОМПАНИЯ</a></li>
<li class="info-item">
<div class="social">
<a href="error.html">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 169.063 169.063"
style="enable-background:new 0 0 169.063 169.063; width: 24px; height: 24px;"
xml:space="preserve">
<g>
<path
d="M122.406,0H46.654C20.929,0,0,20.93,0,46.655v75.752c0,25.726,20.929,46.655,46.654,46.655h75.752 c25.727,0,46.656-20.93,46.656-46.655V46.655C169.063,20.93,148.133,0,122.406,0z M154.063,122.407 c0,17.455-14.201,31.655-31.656,31.655H46.654C29.2,154.063,15,139.862,15,122.407V46.655C15,29.201,29.2,15,46.654,15h75.752 c17.455,0,31.656,14.201,31.656,31.655V122.407z"
fill="#FFFFFF"></path>
<path
d="M84.531,40.97c-24.021,0-43.563,19.542-43.563,43.563c0,24.02,19.542,43.561,43.563,43.561s43.563-19.541,43.563-43.561 C128.094,60.512,108.552,40.97,84.531,40.97z M84.531,113.093c-15.749,0-28.563-12.812-28.563-28.561 c0-15.75,12.813-28.563,28.563-28.563s28.563,12.813,28.563,28.563C113.094,100.281,100.28,113.093,84.531,113.093z"
fill="#FFFFFF"></path>
<path
d="M129.921,28.251c-2.89,0-5.729,1.17-7.77,3.22c-2.051,2.04-3.23,4.88-3.23,7.78c0,2.891,1.18,5.73,3.23,7.78 c2.04,2.04,4.88,3.22,7.77,3.22c2.9,0,5.73-1.18,7.78-3.22c2.05-2.05,3.22-4.89,3.22-7.78c0-2.9-1.17-5.74-3.22-7.78 C135.661,29.421,132.821,28.251,129.921,28.251z"
fill="#FFFFFF"></path>
</g>
</svg>
</a>
<a href="error.html"><svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 189.473 189.473"
style="enable-background:new 0 0 189.473 189.473; width:24px; height: 24px;"
xml:space="preserve">
<g>
<path
d="M152.531,179.476c-1.48,0-2.95-0.438-4.211-1.293l-47.641-32.316l-25.552,18.386c-2.004,1.441-4.587,1.804-6.914,0.972 c-2.324-0.834-4.089-2.759-4.719-5.146l-12.83-48.622L4.821,93.928c-2.886-1.104-4.8-3.865-4.821-6.955 c-0.021-3.09,1.855-5.877,4.727-7.02l174.312-69.36c0.791-0.336,1.628-0.53,2.472-0.582c0.302-0.018,0.605-0.018,0.906-0.001 c1.748,0.104,3.465,0.816,4.805,2.13c0.139,0.136,0.271,0.275,0.396,0.42c1.11,1.268,1.72,2.814,1.835,4.389 c0.028,0.396,0.026,0.797-0.009,1.198c-0.024,0.286-0.065,0.571-0.123,0.854L159.898,173.38c-0.473,2.48-2.161,4.556-4.493,5.523 C154.48,179.287,153.503,179.476,152.531,179.476z M104.862,130.579l42.437,28.785L170.193,39.24l-82.687,79.566l17.156,11.638 C104.731,130.487,104.797,130.533,104.862,130.579z M69.535,124.178l5.682,21.53l12.242-8.809l-16.03-10.874 C70.684,125.521,70.046,124.893,69.535,124.178z M28.136,86.782l31.478,12.035c2.255,0.862,3.957,2.758,4.573,5.092l3.992,15.129 c0.183-1.745,0.974-3.387,2.259-4.624L149.227,38.6L28.136,86.782z"
fill="#000000" style="fill: rgb(255, 255, 255);"></path>
</g>
</svg></a>
<a href="error.html"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="24"
height="24">
<path
d="M256 31c-124.3 0-225 100.7-225 225s100.7 225 225 225 225-100.7 225-225-100.7-225-225-225zm109.5 203.3c-3.6 0-35-.6-64-21.5v90.7c0 42.8-34.8 77.6-77.6 77.6s-77.6-34.8-77.6-77.6 34.8-77.6 77.6-77.6h12.6v40h-12.6c-20.7 0-37.6 16.9-37.6 37.6s16.9 37.6 37.6 37.6 37.6-16.9 37.6-37.6v-172.5h40v1.3c.9 9.7 6.6 35.8 23 47.8 18.8 13.8 40.9 14.2 41.1 14.2h-.1z"
fill="white" />
</svg></a>
<a href="error.html"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 310 310" width="24"
height="24">
<g id="XMLID_826_">
<path id="XMLID_827_"
d="M302.973,57.388c-4.87,2.16-9.877,3.983-14.993,5.463c6.057-6.85,10.675-14.91,13.494-23.73 c0.632-1.977-0.023-4.141-1.648-5.434c-1.623-1.294-3.878-1.449-5.665-0.39c-10.865,6.444-22.587,11.075-34.878,13.783 c-12.381-12.098-29.197-18.983-46.581-18.983c-36.695,0-66.549,29.853-66.549,66.547c0,2.89,0.183,5.764,0.545,8.598 C101.163,99.244,58.83,76.863,29.76,41.204c-1.036-1.271-2.632-1.956-4.266-1.825c-1.635,0.128-3.104,1.05-3.93,2.467 c-5.896,10.117-9.013,21.688-9.013,33.461c0,16.035,5.725,31.249,15.838,43.137c-3.075-1.065-6.059-2.396-8.907-3.977 c-1.529-0.851-3.395-0.838-4.914,0.033c-1.52,0.871-2.473,2.473-2.513,4.224c-0.007,0.295-0.007,0.59-0.007,0.889 c0,23.935,12.882,45.484,32.577,57.229c-1.692-0.169-3.383-0.414-5.063-0.735c-1.732-0.331-3.513,0.276-4.681,1.597 c-1.17,1.32-1.557,3.16-1.018,4.84c7.29,22.76,26.059,39.501,48.749,44.605c-18.819,11.787-40.34,17.961-62.932,17.961 c-4.714,0-9.455-0.277-14.095-0.826c-2.305-0.274-4.509,1.087-5.294,3.279c-0.785,2.193,0.047,4.638,2.008,5.895 c29.023,18.609,62.582,28.445,97.047,28.445c67.754,0,110.139-31.95,133.764-58.753c29.46-33.421,46.356-77.658,46.356-121.367 c0-1.826-0.028-3.67-0.084-5.508c11.623-8.757,21.63-19.355,29.773-31.536c1.237-1.85,1.103-4.295-0.33-5.998 C307.394,57.037,305.009,56.486,302.973,57.388z"
fill="#000000" style="fill: rgb(255, 255, 255);"></path>
</g>
</svg>
</a>
<a href="error.html"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 310 310" width="24"
height="24">
<g id="XMLID_822_">
<path id="XMLID_823_"
d="M297.917,64.645c-11.19-13.302-31.85-18.728-71.306-18.728H83.386c-40.359,0-61.369,5.776-72.517,19.938 C0,79.663,0,100.008,0,128.166v53.669c0,54.551,12.896,82.248,83.386,82.248h143.226c34.216,0,53.176-4.788,65.442-16.527 C304.633,235.518,310,215.863,310,181.835v-53.669C310,98.471,309.159,78.006,297.917,64.645z M199.021,162.41l-65.038,33.991 c-1.454,0.76-3.044,1.137-4.632,1.137c-1.798,0-3.592-0.484-5.181-1.446c-2.992-1.813-4.819-5.056-4.819-8.554v-67.764 c0-3.492,1.822-6.732,4.808-8.546c2.987-1.814,6.702-1.938,9.801-0.328l65.038,33.772c3.309,1.718,5.387,5.134,5.392,8.861 C204.394,157.263,202.325,160.684,199.021,162.41z"
fill="#000000" style="fill: rgb(255, 255, 255);"></path>
</g>
</svg>
</a>
</div>
</li>
<li class="info-item">
<p class="words">© 2024 ДрайвГланс – ВСЕ ПРАВА ЗАЩИЩЕНЫ.</p>
</li>
</ul>
<ul class="copyright">
<li><a href="error.html">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 169.063 169.063"
style="enable-background:new 0 0 169.063 169.063; width: 30px; height: 30px;"
xml:space="preserve">
<g>
<path
d="M122.406,0H46.654C20.929,0,0,20.93,0,46.655v75.752c0,25.726,20.929,46.655,46.654,46.655h75.752 c25.727,0,46.656-20.93,46.656-46.655V46.655C169.063,20.93,148.133,0,122.406,0z M154.063,122.407 c0,17.455-14.201,31.655-31.656,31.655H46.654C29.2,154.063,15,139.862,15,122.407V46.655C15,29.201,29.2,15,46.654,15h75.752 c17.455,0,31.656,14.201,31.656,31.655V122.407z"
fill="#FFFFFF"></path>
<path
d="M84.531,40.97c-24.021,0-43.563,19.542-43.563,43.563c0,24.02,19.542,43.561,43.563,43.561s43.563-19.541,43.563-43.561 C128.094,60.512,108.552,40.97,84.531,40.97z M84.531,113.093c-15.749,0-28.563-12.812-28.563-28.561 c0-15.75,12.813-28.563,28.563-28.563s28.563,12.813,28.563,28.563C113.094,100.281,100.28,113.093,84.531,113.093z"
fill="#FFFFFF"></path>
<path
d="M129.921,28.251c-2.89,0-5.729,1.17-7.77,3.22c-2.051,2.04-3.23,4.88-3.23,7.78c0,2.891,1.18,5.73,3.23,7.78 c2.04,2.04,4.88,3.22,7.77,3.22c2.9,0,5.73-1.18,7.78-3.22c2.05-2.05,3.22-4.89,3.22-7.78c0-2.9-1.17-5.74-3.22-7.78 C135.661,29.421,132.821,28.251,129.921,28.251z"
fill="#FFFFFF"></path>
</g>
</svg>
</a></li>
<li><a href="error.html"><svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 189.473 189.473"
style="enable-background:new 0 0 189.473 189.473; width: 30px; height: 30px;"
xml:space="preserve">
<g>
<path
d="M152.531,179.476c-1.48,0-2.95-0.438-4.211-1.293l-47.641-32.316l-25.552,18.386c-2.004,1.441-4.587,1.804-6.914,0.972 c-2.324-0.834-4.089-2.759-4.719-5.146l-12.83-48.622L4.821,93.928c-2.886-1.104-4.8-3.865-4.821-6.955 c-0.021-3.09,1.855-5.877,4.727-7.02l174.312-69.36c0.791-0.336,1.628-0.53,2.472-0.582c0.302-0.018,0.605-0.018,0.906-0.001 c1.748,0.104,3.465,0.816,4.805,2.13c0.139,0.136,0.271,0.275,0.396,0.42c1.11,1.268,1.72,2.814,1.835,4.389 c0.028,0.396,0.026,0.797-0.009,1.198c-0.024,0.286-0.065,0.571-0.123,0.854L159.898,173.38c-0.473,2.48-2.161,4.556-4.493,5.523 C154.48,179.287,153.503,179.476,152.531,179.476z M104.862,130.579l42.437,28.785L170.193,39.24l-82.687,79.566l17.156,11.638 C104.731,130.487,104.797,130.533,104.862,130.579z M69.535,124.178l5.682,21.53l12.242-8.809l-16.03-10.874 C70.684,125.521,70.046,124.893,69.535,124.178z M28.136,86.782l31.478,12.035c2.255,0.862,3.957,2.758,4.573,5.092l3.992,15.129 c0.183-1.745,0.974-3.387,2.259-4.624L149.227,38.6L28.136,86.782z"
fill="#000000" style="fill: rgb(255, 255, 255);"></path>
</g>
</svg></a></li>
<li><a href="error.html"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="30"
height="30">
<path
d="M256 31c-124.3 0-225 100.7-225 225s100.7 225 225 225 225-100.7 225-225-100.7-225-225-225zm109.5 203.3c-3.6 0-35-.6-64-21.5v90.7c0 42.8-34.8 77.6-77.6 77.6s-77.6-34.8-77.6-77.6 34.8-77.6 77.6-77.6h12.6v40h-12.6c-20.7 0-37.6 16.9-37.6 37.6s16.9 37.6 37.6 37.6 37.6-16.9 37.6-37.6v-172.5h40v1.3c.9 9.7 6.6 35.8 23 47.8 18.8 13.8 40.9 14.2 41.1 14.2h-.1z"
fill="white"></path>
</svg></a></li>
<li><a href="error.html"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 310 310" width="30"
height="30">
<g>
<path id="XMLID_827_"
d="M302.973,57.388c-4.87,2.16-9.877,3.983-14.993,5.463c6.057-6.85,10.675-14.91,13.494-23.73 c0.632-1.977-0.023-4.141-1.648-5.434c-1.623-1.294-3.878-1.449-5.665-0.39c-10.865,6.444-22.587,11.075-34.878,13.783 c-12.381-12.098-29.197-18.983-46.581-18.983c-36.695,0-66.549,29.853-66.549,66.547c0,2.89,0.183,5.764,0.545,8.598 C101.163,99.244,58.83,76.863,29.76,41.204c-1.036-1.271-2.632-1.956-4.266-1.825c-1.635,0.128-3.104,1.05-3.93,2.467 c-5.896,10.117-9.013,21.688-9.013,33.461c0,16.035,5.725,31.249,15.838,43.137c-3.075-1.065-6.059-2.396-8.907-3.977 c-1.529-0.851-3.395-0.838-4.914,0.033c-1.52,0.871-2.473,2.473-2.513,4.224c-0.007,0.295-0.007,0.59-0.007,0.889 c0,23.935,12.882,45.484,32.577,57.229c-1.692-0.169-3.383-0.414-5.063-0.735c-1.732-0.331-3.513,0.276-4.681,1.597 c-1.17,1.32-1.557,3.16-1.018,4.84c7.29,22.76,26.059,39.501,48.749,44.605c-18.819,11.787-40.34,17.961-62.932,17.961 c-4.714,0-9.455-0.277-14.095-0.826c-2.305-0.274-4.509,1.087-5.294,3.279c-0.785,2.193,0.047,4.638,2.008,5.895 c29.023,18.609,62.582,28.445,97.047,28.445c67.754,0,110.139-31.95,133.764-58.753c29.46-33.421,46.356-77.658,46.356-121.367 c0-1.826-0.028-3.67-0.084-5.508c11.623-8.757,21.63-19.355,29.773-31.536c1.237-1.85,1.103-4.295-0.33-5.998 C307.394,57.037,305.009,56.486,302.973,57.388z"
fill="#000000" style="fill: rgb(255, 255, 255);"></path>
</g>
</svg>
</a></li>
<li><a href="error.html"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 310 310" width="30"
height="30">
<g id="XMLID_822_">
<path id="XMLID_823_"
d="M297.917,64.645c-11.19-13.302-31.85-18.728-71.306-18.728H83.386c-40.359,0-61.369,5.776-72.517,19.938 C0,79.663,0,100.008,0,128.166v53.669c0,54.551,12.896,82.248,83.386,82.248h143.226c34.216,0,53.176-4.788,65.442-16.527 C304.633,235.518,310,215.863,310,181.835v-53.669C310,98.471,309.159,78.006,297.917,64.645z M199.021,162.41l-65.038,33.991 c-1.454,0.76-3.044,1.137-4.632,1.137c-1.798,0-3.592-0.484-5.181-1.446c-2.992-1.813-4.819-5.056-4.819-8.554v-67.764 c0-3.492,1.822-6.732,4.808-8.546c2.987-1.814,6.702-1.938,9.801-0.328l65.038,33.772c3.309,1.718,5.387,5.134,5.392,8.861 C204.394,157.263,202.325,160.684,199.021,162.41z"
fill="#000000" style="fill: rgb(255, 255, 255);"></path>
</g>
</svg>
</a></li>
<p class="words">© 2024 ДрайвГланс – ВСЕ ПРАВА ЗАЩИЩЕНЫ.</p>
</ul>
</footer>
<div class="feedback">
<p>Feedback</p>
</div>
<script>
document.addEventListener('DOMContentLoaded', function () {
const burger = document.querySelector('.burger');
const search = document.querySelector('.search');
const menuOverlay = document.querySelector('.menu-overlay');
const poisk = document.querySelector('.poisk');
const initialPoiskDisplay = window.getComputedStyle(poisk).getPropertyValue('display');
burger.addEventListener('click', toggleMenuOverlay);
search.addEventListener('click', togglePoisk);
function toggleMenuOverlay() {
if (menuOverlay.style.display === 'block') {
menuOverlay.style.display = 'none';
} else {
menuOverlay.style.display = 'block';
}
poisk.style.display = initialPoiskDisplay;
}
function togglePoisk() {
if (poisk.style.display === 'block' || poisk.style.display === 'flex') {
poisk.style.display = 'none';
} else {
poisk.style.display = 'flex';
}
if (menuOverlay.style.display === 'block') {
menuOverlay.style.display = 'none';
}
}
});
function submitForm(event) {
event.preventDefault();
const searchInput = document.getElementById('searchInput');
const inputValue = searchInput.value.trim();
if (inputValue !== '') {
console.log('Отправка формы с содержимым:', inputValue);
searchInput.value = '';
} else {
console.log('Поле ввода пустое. Ничего не отправлено.');
}
}
document.addEventListener('DOMContentLoaded', function() {
const searchForm = document.getElementById('searchForm');
searchForm.addEventListener('submit', submitForm);
});
let feedback = document.querySelector('.feedback');
let modal = document.querySelector('.modal');
let positiveButton = document.getElementById('b1');
let negativeButton = document.getElementById('b2');
feedback.addEventListener('click', () => {
modal.classList.add('show-modal');
});
positiveButton.addEventListener('click', () => {
modal.classList.remove('show-modal');
});
negativeButton.addEventListener('click', () => {
modal.classList.remove('show-modal');
});
const strelkaButtonsleft = document.querySelectorAll('.circle1');
const strelkaButtonsright = document.querySelectorAll('.circle2');
const container = document.querySelector('.container');
const lamba = document.querySelector('.lamba');
const byd = document.querySelector('.byd');
const audi = document.querySelector('.audi');
let currentImageIndex = 2;
let lastImageIndex = -1;
const images = [
{ image: 'url("D:/Курсовой проект/Моя работа/elements/1920x1920_Q4DE_05032024.jpg")', lambaDisplay: 'none', bydDisplay: 'none', audiDisplay: 'block' },
{ image: 'url("D:/Курсовой проект/Моя работа/elements/section05.jpg")', lambaDisplay: 'none', bydDisplay: 'block', audiDisplay: 'none' },
{ image: 'url("D:/Курсовой проект/Моя работа/elements/lamborghini_aventador_lamborghini_sportkar_192986_1920x1080.jpg")', lambaDisplay: 'block', bydDisplay: 'none', audiDisplay: 'none' }
];
toggleBackgroundImage(currentImageIndex);
function toggleBackgroundImage(index) {
container.style.backgroundImage = images[index].image;
lamba.style.display = images[index].lambaDisplay;
byd.style.display = images[index].bydDisplay;
audi.style.display = images[index].audiDisplay;
}
function scrollRight() {
do {
currentImageIndex = (currentImageIndex + 1) % images.length;
} while (currentImageIndex === lastImageIndex);
lastImageIndex = currentImageIndex;
toggleBackgroundImage(currentImageIndex);
}
function scrollLeft() {
do {
currentImageIndex = (currentImageIndex - 1 + images.length) % images.length;
} while (currentImageIndex === lastImageIndex);
lastImageIndex = currentImageIndex;
toggleBackgroundImage(currentImageIndex);
}
strelkaButtonsleft.forEach(button => {
button.addEventListener('click', scrollLeft);
});
strelkaButtonsright.forEach(button => {
button.addEventListener('click', scrollRight);
});
function redirectToURL() {
window.location.href = "forms.html";
}
</script>
</body>
</html>