flpolprojects commited on
Commit
ac7ae81
·
verified ·
1 Parent(s): d7ce950

Update styles.css

Browse files
Files changed (1) hide show
  1. styles.css +206 -77
styles.css CHANGED
@@ -56,16 +56,16 @@ body {
56
  header {
57
  background: rgba(10, 10, 10, 0.9);
58
  backdrop-filter: blur(20px);
59
- padding: 15px 0; /* Уменьшил отступы для мобильных */
60
  position: fixed;
61
  width: 100%;
62
  top: 0;
63
- z-index: 10;
64
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
65
  }
66
 
67
  .logo {
68
- font-size: 32px; /* Уменьшил размер для мобильных */
69
  font-weight: 900;
70
  background: linear-gradient(135deg, #ff6b6b, #f1c40f);
71
  -webkit-background-clip: text;
@@ -73,26 +73,40 @@ header {
73
  text-shadow: 0 0 15px rgba(255, 107, 107, 0.5);
74
  }
75
 
76
- nav ul {
77
  float: right;
 
 
 
 
 
 
 
 
 
 
 
 
 
78
  list-style: none;
 
79
  }
80
 
81
- nav ul li {
82
  display: inline;
83
- margin-left: 20px; /* Уменьшил отступы между элементами */
84
  }
85
 
86
- nav ul li a {
87
  text-decoration: none;
88
  color: #fff;
89
  font-weight: 700;
90
- font-size: 16px; /* Уменьшил размер текста */
91
  transition: all 0.3s ease;
92
  position: relative;
93
  }
94
 
95
- nav ul li a::after {
96
  content: '';
97
  position: absolute;
98
  width: 0;
@@ -103,11 +117,11 @@ nav ul li a::after {
103
  transition: width 0.3s ease;
104
  }
105
 
106
- nav ul li a:hover::after {
107
  width: 100%;
108
  }
109
 
110
- nav ul li a:hover {
111
  color: #ff6b6b;
112
  }
113
 
@@ -119,6 +133,7 @@ nav ul li a:hover {
119
  align-items: center;
120
  text-align: center;
121
  background: radial-gradient(circle at center, rgba(40, 40, 40, 0.3), #0a0a0a);
 
122
  }
123
 
124
  #webgl-bg {
@@ -136,9 +151,9 @@ nav ul li a:hover {
136
  }
137
 
138
  .hero h2 {
139
- font-size: 56px;
140
  font-weight: 900;
141
- letter-spacing: 3px; /* Уменьшил для мобильных */
142
  background: linear-gradient(135deg, #ff6b6b, #f1c40f);
143
  -webkit-background-clip: text;
144
  color: transparent;
@@ -147,15 +162,15 @@ nav ul li a:hover {
147
  }
148
 
149
  .hero p {
150
- font-size: 24px;
151
- margin: 20px 0 40px;
152
  color: #eee;
153
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
154
  }
155
 
156
  .cta-button {
157
- padding: 20px 50px;
158
- font-size: 20px;
159
  background: linear-gradient(135deg, #ff6b6b, #e74c3c);
160
  color: #fff;
161
  border: none;
@@ -181,8 +196,8 @@ nav ul li a:hover {
181
  }
182
 
183
  .cta-button:hover::before {
184
- width: 200px; /* Уменьшил радиус эффекта для мобильных */
185
- height: 200px;
186
  }
187
 
188
  .cta-button:hover {
@@ -192,14 +207,14 @@ nav ul li a:hover {
192
 
193
  /* Услуги */
194
  .services {
195
- padding: 100px 0; /* Уменьшил отступы для мобильных */
196
  background: linear-gradient(to bottom, #0a0a0a, #141414);
197
  }
198
 
199
  .services h3 {
200
- font-size: 42px; /* Уменьшил размер заголовка */
201
  text-align: center;
202
- margin-bottom: 60px;
203
  background: linear-gradient(135deg, #fff, #ff6b6b);
204
  -webkit-background-clip: text;
205
  color: transparent;
@@ -208,102 +223,102 @@ nav ul li a:hover {
208
 
209
  .service-grid {
210
  display: grid;
211
- grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Уменьшил минимальную ширину */
212
- gap: 30px; /* Уменьшил отступы */
213
  }
214
 
215
  .service-card {
216
  background: rgba(255, 255, 255, 0.03);
217
  backdrop-filter: blur(20px);
218
- padding: 40px; /* Уменьшил внутренние отступы */
219
  text-align: center;
220
- border-radius: 25px;
221
  border: 1px solid rgba(255, 107, 107, 0.2);
222
  transition: all 0.4s ease;
223
- box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
224
  }
225
 
226
  .service-card:hover {
227
- transform: translateY(-8px); /* Уменьшил подъем при наведении */
228
- box-shadow: 0 12px 35px rgba(255, 107, 107, 0.3);
229
  }
230
 
231
  .service-card h4 {
232
- font-size: 28px; /* Уменьшил размер заголовка */
233
- margin-bottom: 15px;
234
  color: #ff6b6b;
235
  }
236
 
237
  .service-card p {
238
  color: #ddd;
239
- font-size: 18px; /* Уменьши�� размер текста */
240
  }
241
 
242
  /* О нас */
243
  .about {
244
- padding: 100px 0; /* Уменьшил отступы для мобильных */
245
  background: linear-gradient(135deg, #1f2a44, #0a0a0a);
246
  text-align: center;
247
  }
248
 
249
  .about h3 {
250
- font-size: 42px; /* Уменьшил размер заголовка */
251
- margin-bottom: 30px;
252
  color: #fff;
253
  }
254
 
255
  .about p {
256
- font-size: 20px; /* Уменьшил размер текста */
257
- max-width: 800px; /* Уменьшил максимальную ширину текста */
258
- margin: 0 auto 40px;
259
  color: #eee;
260
  }
261
 
262
  #tracking-demo {
263
  display: flex;
264
- gap: 15px; /* Уменьшил отступы между элементами */
265
  justify-content: center;
266
- flex-wrap: wrap; /* Добавил перенос на новую строку при необходимости */
267
  }
268
 
269
  #track-input {
270
- padding: 15px;
271
- font-size: 16px; /* Уменьшил размер текста */
272
  border: none;
273
- border-radius: 10px;
274
  background: rgba(255, 255, 255, 0.05);
275
  color: #fff;
276
- box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.3);
277
- flex: 1; /* Позволяет элементу растягиваться и занимать доступное место */
278
- min-width: 200px; /* Минимальная ширина для удобства ввода */
279
  }
280
 
281
  #tracking-demo button {
282
- padding: 15px 30px;
283
  background: linear-gradient(135deg, #ff6b6b, #e74c3c);
284
  border: none;
285
  color: #fff;
286
- border-radius: 10px;
287
  cursor: pointer;
288
  transition: all 0.3s ease;
289
- flex-shrink: 0; /* Предотвращает сжатие кнопки */
290
  }
291
 
292
  #tracking-demo button:hover {
293
  transform: scale(1.05);
294
- box-shadow: 0 8px 18px rgba(255, 107, 107, 0.5);
295
  }
296
 
297
  /* Контакты */
298
  .contact {
299
- padding: 100px 0; /* Уменьшил отступы для мобильных */
300
  background: #0a0a0a;
301
  text-align: center;
302
  }
303
 
304
  .contact h3 {
305
- font-size: 42px; /* Уменьшил размер заголовка */
306
- margin-bottom: 50px;
307
  background: linear-gradient(135deg, #fff, #ff6b6b);
308
  -webkit-background-clip: text;
309
  color: transparent;
@@ -312,26 +327,26 @@ nav ul li a:hover {
312
  form {
313
  display: flex;
314
  flex-direction: column;
315
- max-width: 600px; /* Уменьшил максимальную ширину формы */
316
  margin: 0 auto;
317
- gap: 20px; /* Уменьшил отступы между полями */
318
  }
319
 
320
  input {
321
- padding: 20px;
322
- font-size: 18px; /* Уменьшил размер текста */
323
  border: none;
324
- border-radius: 15px;
325
  background: rgba(255, 255, 255, 0.05);
326
  color: #fff;
327
  backdrop-filter: blur(15px);
328
- box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.2);
329
  transition: all 0.3s ease;
330
  }
331
 
332
  input:focus {
333
  outline: none;
334
- box-shadow: 0 0 12px rgba(255, 107, 107, 0.5);
335
  }
336
 
337
  input::placeholder {
@@ -339,29 +354,29 @@ input::placeholder {
339
  }
340
 
341
  .submit-button {
342
- padding: 20px;
343
- font-size: 20px;
344
  background: linear-gradient(135deg, #ff6b6b, #f1c40f);
345
  color: #fff;
346
  border: none;
347
- border-radius: 40px;
348
  cursor: pointer;
349
  transition: all 0.4s ease;
350
- box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
351
  }
352
 
353
  .submit-button:hover {
354
  transform: translateY(-5px);
355
- box-shadow: 0 12px 35px rgba(255, 107, 107, 0.8);
356
  }
357
 
358
  /* Футер */
359
  footer {
360
- padding: 40px 0;
361
  background: #050505;
362
  text-align: center;
363
  color: #777;
364
- font-size: 14px; /* Уменьшил размер текста для мобильных */
365
  }
366
 
367
  /* Анимации */
@@ -372,14 +387,128 @@ footer {
372
 
373
  /* Адаптивность */
374
  @media (max-width: 768px) {
375
- .hero h2 { font-size: 48px; }
376
- .hero p { font-size: 20px; }
377
- .cta-button { padding: 15px 40px; font-size: 18px; }
378
- nav ul { float: none; text-align: center; margin-top: 20px; }
379
- nav ul li { display: block; margin: 15px 0; }
380
- .services h3, .about h3, .contact h3 { font-size: 36px; }
381
- .service-card { padding: 30px; }
382
- header { padding: 10px 0; } /* Дополнительно уменьшил отступы шапки */
383
- .logo { font-size: 28px; } /* Ещё больше уменьшил логотип */
384
- nav ul li a { font-size: 14px; } /* Ещё больше уменьшил текст меню */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
385
  }
 
56
  header {
57
  background: rgba(10, 10, 10, 0.9);
58
  backdrop-filter: blur(20px);
59
+ padding: 15px 0;
60
  position: fixed;
61
  width: 100%;
62
  top: 0;
63
+ z-index: 1000; /* Увеличил z-index, чтобы шапка была выше контента */
64
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
65
  }
66
 
67
  .logo {
68
+ font-size: 42px;
69
  font-weight: 900;
70
  background: linear-gradient(135deg, #ff6b6b, #f1c40f);
71
  -webkit-background-clip: text;
 
73
  text-shadow: 0 0 15px rgba(255, 107, 107, 0.5);
74
  }
75
 
76
+ nav {
77
  float: right;
78
+ }
79
+
80
+ .menu-toggle {
81
+ display: none; /* Скрыто по умолчанию на ПК */
82
+ background: none;
83
+ border: none;
84
+ color: #fff;
85
+ font-size: 24px;
86
+ cursor: pointer;
87
+ padding: 5px;
88
+ }
89
+
90
+ .nav-list {
91
  list-style: none;
92
+ margin: 0;
93
  }
94
 
95
+ .nav-list li {
96
  display: inline;
97
+ margin-left: 40px;
98
  }
99
 
100
+ .nav-list li a {
101
  text-decoration: none;
102
  color: #fff;
103
  font-weight: 700;
104
+ font-size: 18px;
105
  transition: all 0.3s ease;
106
  position: relative;
107
  }
108
 
109
+ .nav-list li a::after {
110
  content: '';
111
  position: absolute;
112
  width: 0;
 
117
  transition: width 0.3s ease;
118
  }
119
 
120
+ .nav-list li a:hover::after {
121
  width: 100%;
122
  }
123
 
124
+ .nav-list li a:hover {
125
  color: #ff6b6b;
126
  }
127
 
 
133
  align-items: center;
134
  text-align: center;
135
  background: radial-gradient(circle at center, rgba(40, 40, 40, 0.3), #0a0a0a);
136
+ padding-top: 60px; /* Смещаем контент вниз, чтобы шапка не перекрывала */
137
  }
138
 
139
  #webgl-bg {
 
151
  }
152
 
153
  .hero h2 {
154
+ font-size: 80px;
155
  font-weight: 900;
156
+ letter-spacing: 5px;
157
  background: linear-gradient(135deg, #ff6b6b, #f1c40f);
158
  -webkit-background-clip: text;
159
  color: transparent;
 
162
  }
163
 
164
  .hero p {
165
+ font-size: 32px;
166
+ margin: 25px 0 50px;
167
  color: #eee;
168
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
169
  }
170
 
171
  .cta-button {
172
+ padding: 25px 60px;
173
+ font-size: 24px;
174
  background: linear-gradient(135deg, #ff6b6b, #e74c3c);
175
  color: #fff;
176
  border: none;
 
196
  }
197
 
198
  .cta-button:hover::before {
199
+ width: 300px;
200
+ height: 300px;
201
  }
202
 
203
  .cta-button:hover {
 
207
 
208
  /* Услуги */
209
  .services {
210
+ padding: 150px 0;
211
  background: linear-gradient(to bottom, #0a0a0a, #141414);
212
  }
213
 
214
  .services h3 {
215
+ font-size: 54px;
216
  text-align: center;
217
+ margin-bottom: 80px;
218
  background: linear-gradient(135deg, #fff, #ff6b6b);
219
  -webkit-background-clip: text;
220
  color: transparent;
 
223
 
224
  .service-grid {
225
  display: grid;
226
+ grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
227
+ gap: 50px;
228
  }
229
 
230
  .service-card {
231
  background: rgba(255, 255, 255, 0.03);
232
  backdrop-filter: blur(20px);
233
+ padding: 50px;
234
  text-align: center;
235
+ border-radius: 30px;
236
  border: 1px solid rgba(255, 107, 107, 0.2);
237
  transition: all 0.4s ease;
238
+ box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
239
  }
240
 
241
  .service-card:hover {
242
+ transform: translateY(-10px);
243
+ box-shadow: 0 15px 40px rgba(255, 107, 107, 0.3);
244
  }
245
 
246
  .service-card h4 {
247
+ font-size: 32px;
248
+ margin-bottom: 20px;
249
  color: #ff6b6b;
250
  }
251
 
252
  .service-card p {
253
  color: #ddd;
254
+ font-size: 20px;
255
  }
256
 
257
  /* О нас */
258
  .about {
259
+ padding: 150px 0;
260
  background: linear-gradient(135deg, #1f2a44, #0a0a0a);
261
  text-align: center;
262
  }
263
 
264
  .about h3 {
265
+ font-size: 54px;
266
+ margin-bottom: 40px;
267
  color: #fff;
268
  }
269
 
270
  .about p {
271
+ font-size: 24px;
272
+ max-width: 1000px;
273
+ margin: 0 auto 50px;
274
  color: #eee;
275
  }
276
 
277
  #tracking-demo {
278
  display: flex;
279
+ gap: 25px;
280
  justify-content: center;
281
+ flex-wrap: wrap;
282
  }
283
 
284
  #track-input {
285
+ padding: 18px;
286
+ font-size: 18px;
287
  border: none;
288
+ border-radius: 12px;
289
  background: rgba(255, 255, 255, 0.05);
290
  color: #fff;
291
+ box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
292
+ flex: 1;
293
+ min-width: 200px;
294
  }
295
 
296
  #tracking-demo button {
297
+ padding: 18px 40px;
298
  background: linear-gradient(135deg, #ff6b6b, #e74c3c);
299
  border: none;
300
  color: #fff;
301
+ border-radius: 12px;
302
  cursor: pointer;
303
  transition: all 0.3s ease;
304
+ flex-shrink: 0;
305
  }
306
 
307
  #tracking-demo button:hover {
308
  transform: scale(1.05);
309
+ box-shadow: 0 10px 20px rgba(255, 107, 107, 0.5);
310
  }
311
 
312
  /* Контакты */
313
  .contact {
314
+ padding: 150px 0;
315
  background: #0a0a0a;
316
  text-align: center;
317
  }
318
 
319
  .contact h3 {
320
+ font-size: 54px;
321
+ margin-bottom: 60px;
322
  background: linear-gradient(135deg, #fff, #ff6b6b);
323
  -webkit-background-clip: text;
324
  color: transparent;
 
327
  form {
328
  display: flex;
329
  flex-direction: column;
330
+ max-width: 800px;
331
  margin: 0 auto;
332
+ gap: 30px;
333
  }
334
 
335
  input {
336
+ padding: 25px;
337
+ font-size: 20px;
338
  border: none;
339
+ border-radius: 20px;
340
  background: rgba(255, 255, 255, 0.05);
341
  color: #fff;
342
  backdrop-filter: blur(15px);
343
+ box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
344
  transition: all 0.3s ease;
345
  }
346
 
347
  input:focus {
348
  outline: none;
349
+ box-shadow: 0 0 15px rgba(255, 107, 107, 0.5);
350
  }
351
 
352
  input::placeholder {
 
354
  }
355
 
356
  .submit-button {
357
+ padding: 25px;
358
+ font-size: 22px;
359
  background: linear-gradient(135deg, #ff6b6b, #f1c40f);
360
  color: #fff;
361
  border: none;
362
+ border-radius: 50px;
363
  cursor: pointer;
364
  transition: all 0.4s ease;
365
+ box-shadow: 0 10px 30px rgba(255, 107, 107, 0.6);
366
  }
367
 
368
  .submit-button:hover {
369
  transform: translateY(-5px);
370
+ box-shadow: 0 15px 40px rgba(255, 107, 107, 0.8);
371
  }
372
 
373
  /* Футер */
374
  footer {
375
+ padding: 50px 0;
376
  background: #050505;
377
  text-align: center;
378
  color: #777;
379
+ font-size: 16px;
380
  }
381
 
382
  /* Анимации */
 
387
 
388
  /* Адаптивность */
389
  @media (max-width: 768px) {
390
+ header {
391
+ padding: 10px 0;
392
+ }
393
+
394
+ .logo {
395
+ font-size: 28px;
396
+ }
397
+
398
+ .menu-toggle {
399
+ display: block; /* Показываем кнопку меню на мобильных */
400
+ }
401
+
402
+ .nav-list {
403
+ display: none; /* Скрываем меню по умолчанию на мобильных */
404
+ position: absolute;
405
+ top: 60px; /* Располагаем меню под шапкой */
406
+ left: 0;
407
+ width: 100%;
408
+ background: rgba(10, 10, 10, 0.9);
409
+ backdrop-filter: blur(20px);
410
+ padding: 20px 0;
411
+ box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
412
+ }
413
+
414
+ .nav-list.active {
415
+ display: block; /* Показываем меню при активации */
416
+ }
417
+
418
+ .nav-list li {
419
+ display: block;
420
+ margin: 15px 0;
421
+ text-align: center;
422
+ }
423
+
424
+ .nav-list li a {
425
+ font-size: 16px;
426
+ }
427
+
428
+ .hero {
429
+ height: auto; /* Убираем фиксированную высоту для мобильных */
430
+ padding: 80px 0 40px; /* Увеличиваем отступ сверху, чтобы контент не перекрывался шапкой */
431
+ }
432
+
433
+ .hero h2 {
434
+ font-size: 48px;
435
+ letter-spacing: 2px;
436
+ }
437
+
438
+ .hero p {
439
+ font-size: 20px;
440
+ margin: 15px 0 30px;
441
+ }
442
+
443
+ .cta-button {
444
+ padding: 15px 40px;
445
+ font-size: 18px;
446
+ }
447
+
448
+ .cta-button::before {
449
+ width: 200px;
450
+ height: 200px;
451
+ }
452
+
453
+ .services, .about, .contact {
454
+ padding: 80px 0;
455
+ }
456
+
457
+ .services h3, .about h3, .contact h3 {
458
+ font-size: 36px;
459
+ }
460
+
461
+ .service-grid {
462
+ grid-template-columns: 1fr; /* Одна колонка на мобильных */
463
+ gap: 30px;
464
+ }
465
+
466
+ .service-card {
467
+ padding: 30px;
468
+ }
469
+
470
+ .service-card h4 {
471
+ font-size: 24px;
472
+ }
473
+
474
+ .service-card p {
475
+ font-size: 16px;
476
+ }
477
+
478
+ .about p {
479
+ font-size: 18px;
480
+ max-width: 600px;
481
+ }
482
+
483
+ #track-input {
484
+ padding: 12px;
485
+ font-size: 16px;
486
+ min-width: 180px;
487
+ }
488
+
489
+ #tracking-demo button {
490
+ padding: 12px 30px;
491
+ }
492
+
493
+ form {
494
+ max-width: 500px;
495
+ gap: 20px;
496
+ }
497
+
498
+ input {
499
+ padding: 15px;
500
+ font-size: 16px;
501
+ border-radius: 15px;
502
+ }
503
+
504
+ .submit-button {
505
+ padding: 15px;
506
+ font-size: 18px;
507
+ border-radius: 40px;
508
+ }
509
+
510
+ footer {
511
+ padding: 30px 0;
512
+ font-size: 14px;
513
+ }
514
  }