Aleksmorshen commited on
Commit
e6a5726
·
verified ·
1 Parent(s): f09ce23

Update styles.css

Browse files
Files changed (1) hide show
  1. styles.css +171 -34
styles.css CHANGED
@@ -3,7 +3,13 @@
3
  margin: 0;
4
  padding: 0;
5
  box-sizing: border-box;
6
- font-family: 'Arial', sans-serif;
 
 
 
 
 
 
7
  }
8
 
9
  .container {
@@ -16,10 +22,15 @@
16
  .header {
17
  position: fixed;
18
  width: 100%;
19
- background: #1a1a1a;
20
- color: #fff;
21
  padding: 20px 0;
22
- z-index: 100;
 
 
 
 
 
23
  }
24
 
25
  .header .container {
@@ -28,107 +39,192 @@
28
  align-items: center;
29
  }
30
 
31
- .logo {
32
- font-size: 24px;
33
- font-weight: bold;
34
  }
35
 
36
  .nav a {
37
- color: #fff;
38
  text-decoration: none;
39
  margin-left: 30px;
 
40
  transition: color 0.3s;
41
  }
42
 
43
  .nav a:hover {
44
- color: #00d4ff;
45
  }
46
 
47
  .cta-btn {
48
- padding: 10px 20px;
49
- background: #00d4ff;
50
  border: none;
51
- border-radius: 5px;
52
  color: #fff;
 
53
  cursor: pointer;
54
- transition: transform 0.3s;
55
  }
56
 
57
  .cta-btn:hover {
58
  transform: scale(1.05);
 
59
  }
60
 
61
  /* Hero */
62
  .hero {
63
  height: 100vh;
64
- background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
65
  display: flex;
66
  align-items: center;
67
  text-align: center;
68
  color: #fff;
 
 
69
  }
70
 
71
  .hero-title {
72
- font-size: 60px;
 
73
  margin-bottom: 20px;
74
- animation: fadeIn 1.5s ease-in-out;
75
  }
76
 
77
  .hero-subtitle {
78
- font-size: 24px;
79
  margin-bottom: 30px;
 
80
  }
81
 
82
  .hero-btn {
 
83
  padding: 15px 30px;
84
- background: #00d4ff;
85
- border: none;
86
- border-radius: 5px;
87
- color: #fff;
88
- font-size: 18px;
89
- cursor: pointer;
90
- transition: background 0.3s;
91
  }
92
 
93
  .hero-btn:hover {
94
- background: #00b0d4;
 
95
  }
96
 
97
  /* Services */
98
  .services {
99
  padding: 80px 0;
100
- background: #f5f5f5;
101
  text-align: center;
102
  }
103
 
104
  .services h2 {
105
- font-size: 40px;
106
  margin-bottom: 50px;
 
107
  }
108
 
109
  .services-grid {
110
  display: grid;
111
- grid-template-columns: repeat(3, 1fr);
112
  gap: 30px;
113
  }
114
 
115
  .service-card {
116
  padding: 30px;
117
  background: #fff;
118
- border-radius: 10px;
119
- box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
120
- transition: transform 0.3s;
 
121
  }
122
 
123
  .service-card:hover {
124
  transform: translateY(-10px);
 
125
  }
126
 
127
  .service-card h3 {
128
- font-size: 24px;
 
129
  margin-bottom: 15px;
130
  }
131
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
132
  .footer {
133
  padding: 20px 0;
134
  background: #1a1a1a;
@@ -137,7 +233,48 @@
137
  }
138
 
139
  /* Анимации */
140
- @keyframes fadeIn {
141
- from { opacity: 0; transform: translateY(20px); }
142
  to { opacity: 1; transform: translateY(0); }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
143
  }
 
3
  margin: 0;
4
  padding: 0;
5
  box-sizing: border-box;
6
+ font-family: 'Poppins', sans-serif;
7
+ }
8
+
9
+ body {
10
+ line-height: 1.6;
11
+ color: #1a1a1a;
12
+ background: #fff;
13
  }
14
 
15
  .container {
 
22
  .header {
23
  position: fixed;
24
  width: 100%;
25
+ background: #fff;
26
+ box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
27
  padding: 20px 0;
28
+ z-index: 1000;
29
+ transition: background 0.3s;
30
+ }
31
+
32
+ .header.scrolled {
33
+ background: #fff;
34
  }
35
 
36
  .header .container {
 
39
  align-items: center;
40
  }
41
 
42
+ .logo-img {
43
+ height: 50px;
44
+ width: auto;
45
  }
46
 
47
  .nav a {
48
+ color: #1a1a1a;
49
  text-decoration: none;
50
  margin-left: 30px;
51
+ font-weight: 600;
52
  transition: color 0.3s;
53
  }
54
 
55
  .nav a:hover {
56
+ color: #ff6200;
57
  }
58
 
59
  .cta-btn {
60
+ padding: 12px 25px;
61
+ background: #ff6200;
62
  border: none;
63
+ border-radius: 50px;
64
  color: #fff;
65
+ font-weight: 600;
66
  cursor: pointer;
67
+ transition: transform 0.3s, background 0.3s;
68
  }
69
 
70
  .cta-btn:hover {
71
  transform: scale(1.05);
72
+ background: #e65c00;
73
  }
74
 
75
  /* Hero */
76
  .hero {
77
  height: 100vh;
78
+ background: linear-gradient(135deg, #ff6200 0%, #ff8c40 100%);
79
  display: flex;
80
  align-items: center;
81
  text-align: center;
82
  color: #fff;
83
+ position: relative;
84
+ overflow: hidden;
85
  }
86
 
87
  .hero-title {
88
+ font-size: clamp(2.5rem, 5vw, 4rem);
89
+ font-weight: 700;
90
  margin-bottom: 20px;
91
+ animation: fadeInUp 1s ease-out;
92
  }
93
 
94
  .hero-subtitle {
95
+ font-size: clamp(1rem, 2vw, 1.5rem);
96
  margin-bottom: 30px;
97
+ opacity: 0.9;
98
  }
99
 
100
  .hero-btn {
101
+ display: inline-block;
102
  padding: 15px 30px;
103
+ background: #fff;
104
+ color: #ff6200;
105
+ text-decoration: none;
106
+ border-radius: 50px;
107
+ font-weight: 600;
108
+ transition: background 0.3s, color 0.3s;
 
109
  }
110
 
111
  .hero-btn:hover {
112
+ background: #ff6200;
113
+ color: #fff;
114
  }
115
 
116
  /* Services */
117
  .services {
118
  padding: 80px 0;
119
+ background: #f9f9f9;
120
  text-align: center;
121
  }
122
 
123
  .services h2 {
124
+ font-size: clamp(2rem, 3vw, 3rem);
125
  margin-bottom: 50px;
126
+ color: #1a1a1a;
127
  }
128
 
129
  .services-grid {
130
  display: grid;
131
+ grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
132
  gap: 30px;
133
  }
134
 
135
  .service-card {
136
  padding: 30px;
137
  background: #fff;
138
+ border-radius: 15px;
139
+ box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
140
+ transition: transform 0.4s ease, box-shadow 0.4s ease;
141
+ text-align: left;
142
  }
143
 
144
  .service-card:hover {
145
  transform: translateY(-10px);
146
+ box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
147
  }
148
 
149
  .service-card h3 {
150
+ font-size: 1.5rem;
151
+ color: #ff6200;
152
  margin-bottom: 15px;
153
  }
154
 
155
+ .benefits {
156
+ list-style: none;
157
+ color: #333;
158
+ font-size: 0.95rem;
159
+ margin-top: 15px;
160
+ }
161
+
162
+ .benefits li {
163
+ margin-bottom: 10px;
164
+ }
165
+
166
+ /* Portfolio */
167
+ .portfolio {
168
+ padding: 80px 0;
169
+ background: #fff;
170
+ text-align: center;
171
+ }
172
+
173
+ .portfolio h2 {
174
+ font-size: clamp(2rem, 3vw, 3rem);
175
+ margin-bottom: 50px;
176
+ }
177
+
178
+ .portfolio-grid {
179
+ display: grid;
180
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
181
+ gap: 20px;
182
+ }
183
+
184
+ .portfolio-item {
185
+ height: 200px;
186
+ background: #f1f1f1;
187
+ display: flex;
188
+ align-items: center;
189
+ justify-content: center;
190
+ border-radius: 10px;
191
+ transition: background 0.3s;
192
+ }
193
+
194
+ .portfolio-item:hover {
195
+ background: #e0e0e0;
196
+ }
197
+
198
+ /* Contact */
199
+ .contact {
200
+ padding: 80px 0;
201
+ background: #ff6200;
202
+ color: #fff;
203
+ text-align: center;
204
+ }
205
+
206
+ .contact h2 {
207
+ font-size: clamp(2rem, 3vw, 3rem);
208
+ margin-bottom: 20px;
209
+ }
210
+
211
+ .contact-btn {
212
+ display: inline-block;
213
+ padding: 15px 30px;
214
+ background: #fff;
215
+ color: #ff6200;
216
+ text-decoration: none;
217
+ border-radius: 50px;
218
+ font-weight: 600;
219
+ transition: background 0.3s, color 0.3s;
220
+ }
221
+
222
+ .contact-btn:hover {
223
+ background: #ff8c40;
224
+ color: #fff;
225
+ }
226
+
227
+ /* Footer */
228
  .footer {
229
  padding: 20px 0;
230
  background: #1a1a1a;
 
233
  }
234
 
235
  /* Анимации */
236
+ @keyframes fadeInUp {
237
+ from { opacity: 0; transform: translateY(50px); }
238
  to { opacity: 1; transform: translateY(0); }
239
+ }
240
+
241
+ .service-card, .portfolio-item {
242
+ opacity: 0;
243
+ transform: translateY(50px);
244
+ transition: opacity 0.5s ease, transform 0.5s ease;
245
+ }
246
+
247
+ .service-card.visible, .portfolio-item.visible {
248
+ opacity: 1;
249
+ transform: translateY(0);
250
+ }
251
+
252
+ /* Адаптивность */
253
+ @media (max-width: 768px) {
254
+ .header .container {
255
+ flex-direction: column;
256
+ gap: 20px;
257
+ }
258
+
259
+ .nav {
260
+ display: flex;
261
+ flex-direction: column;
262
+ text-align: center;
263
+ }
264
+
265
+ .nav a {
266
+ margin: 10px 0;
267
+ }
268
+
269
+ .hero-title {
270
+ font-size: 2rem;
271
+ }
272
+
273
+ .hero-subtitle {
274
+ font-size: 1rem;
275
+ }
276
+
277
+ .services-grid {
278
+ grid-template-columns: 1fr;
279
+ }
280
  }