-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
314 lines (262 loc) · 6.53 KB
/
main.css
File metadata and controls
314 lines (262 loc) · 6.53 KB
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
/*-----Шрифты-----*/
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital@1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital@1&family=Outfit:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital@1&family=Outfit:wght@600&family=Satisfy&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@400..700&display=swap');
body {
font-family: 'Roboto', sans-serif;
margin: 0;
padding: 0;
background-color: #f5f5f5;
overflow-x: hidden;
}
/*-----Шапка-----*/
.header {
padding: 40px;
display: flex;
justify-content: space-between;
align-items: center;
color: rgb(255, 255, 255);
}
.logos{
font-family: 'Josefin Sans', sans-serif;
margin: 0;
padding: 0;
font-size: 45px ;
margin-left: 250px;
}
.navbar {
display: flex;
align-items: center;
margin-right: 250px;
font-family: 'Outfit', sans-serif;
font-family: 'Better VCR';
src: url('/Сайт/fonts/Better\ VCR\ 6.1.ttf') format('truetype');
}
.navbar a {
padding: 10px;
color: black;
text-decoration: none;
margin-right: 40px;
color: rgb(255, 255, 255);
position: relative;
transition: color 0.3s ease-in-out;
}
.navbar a:hover {
color: rgb(0, 0, 0);
}
.navbar a:hover::after {
background-color: rgb(0, 0, 0);
}
.navbar .icons {
display: flex;
align-items: center;
}
.navbar .icons img {
width: 25px;
transition: transform 0.3s ease-in-out;
}
.navbar .icons img:hover, .navbar .icons img:hover::after {
transform: scale(1.2);
}
.navbar a:not(.reg)::after {
content: "";
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 3px;
background-color: transparent;
transition: background-color 0.3s ease-in-out;
}
.navbar a:hover {
color: rgb(227, 5, 5);
}
.navbar a:hover::after {
background-color: rgb(227, 5, 5);
}
/*-----Шапка-блок(фон)-----*/
.video-bg {
height: 100vh;
width: 100%;
overflow: hidden;
position: relative;
}
.video-bg video {
position: absolute;
top: 0;
left: 0;
z-index: -1;
width: 100%;
height: 100%;
object-fit: cover;
}
.effects {
position: absolute;
top: 0;
left: 0;
z-index: -1;
width: 100%;
height: 100%;
background-color: black;
opacity: 88%;
}
/*------Блок-----*/
.block {
display: flex;
flex-wrap: wrap;
flex-direction: column;
align-items: center;
justify-content: center;
height: 85vh;
text-align: center;
}
.block h1 {
font-family: 'Satisfy', cursive;
font-size: 70px;
color: white;
margin-bottom: -120px;
}
.block h2 {
font-family: 'Outfit', sans-serif;
font-size: 150px;
color: white;
width: 800px;
margin-bottom: 10px;
}
.block .learn-more-container {
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 20px;
}
.block hr {
width: 100px;
height: 3px;
background-color: white;
margin-bottom: 60px;
}
.block .learn-more-btn {
font-family: 'Outfit', sans-serif;
font-size: 16px;
color: white;
background-color: transparent;
border: 1px solid white;
padding: 10px 20px;
text-decoration: none;
transition: background-color 0.3s ease-in-out;
width: 150px;
}
.block .learn-more-btn:hover {
background-color: white;
color: black;
}
/*------Блок#2 Топ товары-----*/
.top-products {
background-color: black;
padding: 20px 0; /* Добавить вертикальные отступы */
}
.top-products h2 {
text-align: center;
font-family: 'Better VCR';
src: url('/Сайт/fonts/Better\ VCR\ 6.1.ttf') format('truetype');
font-size: 34px;
margin-bottom: 10px;
color: #ffffff;
padding: 40px;
}
.products-list {
display: flex;
justify-content: center;
align-items: center; /* Вертикальное выравнивание */
}
.product {
width: 60%;
margin: 0 10px; /* Убрать отступы сверху и снизу */
padding: 20px;
border-radius: 5px;
text-align: center;
background-color: #000;
color: #ffffff;
box-shadow: 0 0 10px rgba(0,0,0,0.5); /* Добавить тень */
transition: all 0.3s ease-in-out;
}
.product img {
width: 100%;
height: auto;
border-radius: 5px;
}
.product h3 {
font-size: 18px;
margin: 10px 0;
}
.learn-more-btn {
/* Изменить на block для отображения кнопки под товаром */
margin: 0 auto; /* Центрировать кнопку */
padding: 10px 20px;
font-size: 16px;
border: 1px solid #fff;
border-radius: 5px;
color: #fff;
text-decoration: none;
transition: all 0.3s ease-in-out;
}
.learn-more-btn:hover {
background-color: #fff;
color: #000;
}
.learn-more-btn:active {
background-color: #ccc;
color: #000;
}
/*---бренды---*/
.brand-logos {
background-color: black;
padding: 40px 0;
}
.brand-logos h2 {
text-align: center;
font-family: 'Better VCR';
src: url('/Сайт/fonts/Better\ VCR\ 6.1.ttf') format('truetype');
font-size: 34px;
margin-bottom: 20px;
color: #ffffff;
padding: 60px;
}
.container {
max-width: 1000px; /* Ограничить ширину контейнера */
margin: 0 auto;
}
.logos-list {
display: flex;
flex-wrap: wrap; /* Перенос на новую строку при необходимости */
justify-content: space-around; /* Равномерное распределение логотипов */
list-style: none; /* Убрать маркеры списка */
padding: 0;
}
.logos-list li {
margin: 10px;
text-align: center;
}
.logos-list li img {
max-width: 150px; /* Ограничить максимальную ширину логотипов */
height: auto; /* Сохранить соотношение сторон */
}
@media (max-width: 768px) {
/* Сделать логотипы одинаковыми по ширине на мобильных устройствах */
.logos-list li img {
max-width: 100px;
}
}
/*---Добавление Шрифтов---*/
@font-face {
font-family: 'Better VCR';
src: url('/Сайт/fonts/Better\ VCR\ 6.1.ttf') format('truetype');
}
.faq-item h3 {
font-size: 18px;
font-weight: 500;
margin-bottom: 15px;
font-family: 'Better VCR';
}