flpolprojects commited on
Commit
df34a68
·
verified ·
1 Parent(s): e9be277

Update styles.css

Browse files
Files changed (1) hide show
  1. styles.css +125 -34
styles.css CHANGED
@@ -1,109 +1,200 @@
1
- body {
2
  margin: 0;
 
 
 
 
 
3
  font-family: 'Arial', sans-serif;
4
- background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
5
  color: #fff;
6
  overflow-x: hidden;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  }
8
 
9
  .container {
10
  max-width: 1200px;
11
  margin: 0 auto;
12
- padding: 20px;
 
13
  }
14
 
15
  header {
16
  text-align: center;
17
- padding: 50px 0;
18
  }
19
 
20
- .kinetic-title {
21
- font-size: 4rem;
22
  font-weight: bold;
23
- animation: pulse 2s infinite;
24
  text-transform: uppercase;
25
- background: -webkit-linear-gradient(#00ffcc, #ff007a);
26
  -webkit-background-clip: text;
27
  -webkit-text-fill-color: transparent;
 
 
28
  }
29
 
30
- @keyframes pulse {
31
- 0% { transform: scale(1); }
32
- 50% { transform: scale(1.05); }
33
- 100% { transform: scale(1); }
34
  }
35
 
36
  .subtitle {
37
  font-size: 1.5rem;
38
- opacity: 0.8;
 
39
  }
40
 
41
  .hero {
42
  display: flex;
43
  align-items: center;
44
  justify-content: space-between;
45
- min-height: 60vh;
 
 
46
  }
47
 
48
  .product-image {
49
  width: 50%;
50
- height: 400px;
51
  background: url('cream.png') no-repeat center/cover; /* Замените на реальное изображение */
52
- filter: drop-shadow(0 0 20px rgba(0, 255, 204, 0.5));
53
- transform: rotateY(20deg);
54
  transition: transform 0.5s ease;
 
55
  }
56
 
57
  .product-image:hover {
58
- transform: rotateY(0deg);
59
  }
60
 
61
  .hero-text {
62
  width: 45%;
 
63
  }
64
 
65
  .hero-text h2 {
66
- font-size: 2.5rem;
67
- margin-bottom: 20px;
68
  }
69
 
70
  .cta-button {
71
- padding: 15px 30px;
72
  font-size: 1.2rem;
73
  border: none;
74
- background: #00ffcc;
75
- color: #0f0c29;
76
  border-radius: 50px;
77
  cursor: pointer;
78
- transition: transform 0.3s, box-shadow 0.3s;
79
  }
80
 
81
  .cta-button:hover {
82
- transform: scale(1.1);
83
- box-shadow: 0 0 20px #00ffcc;
84
  }
85
 
86
  .features {
87
  display: flex;
88
  justify-content: space-around;
89
- padding: 50px 0;
 
 
90
  }
91
 
92
  .feature-card {
93
  width: 30%;
94
- padding: 20px;
95
- background: rgba(255, 255, 255, 0.1);
96
  border-radius: 15px;
97
  text-align: center;
98
- transition: transform 0.3s ease, background 0.3s ease;
 
99
  }
100
 
101
  .feature-card:hover {
102
- transform: translateY(-10px);
103
- background: rgba(0, 255, 204, 0.2);
 
104
  }
105
 
106
  .feature-card h3 {
107
- font-size: 1.5rem;
108
- margin-bottom: 10px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
109
  }
 
1
+ * {
2
  margin: 0;
3
+ padding: 0;
4
+ box-sizing: border-box;
5
+ }
6
+
7
+ body {
8
  font-family: 'Arial', sans-serif;
9
+ background: #0f0c29;
10
  color: #fff;
11
  overflow-x: hidden;
12
+ position: relative;
13
+ }
14
+
15
+ .particle-bg {
16
+ position: fixed;
17
+ top: 0;
18
+ left: 0;
19
+ width: 100%;
20
+ height: 100%;
21
+ background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="1" fill="#00ffcc"/><circle cx="90" cy="90" r="1" fill="#ff007a"/><circle cx="50" cy="50" r="1" fill="#fff"/></svg>');
22
+ animation: particleFlow 20s infinite linear;
23
+ z-index: -1;
24
+ opacity: 0.3;
25
+ }
26
+
27
+ @keyframes particleFlow {
28
+ 0% { transform: translateY(0); }
29
+ 100% { transform: translateY(-100vh); }
30
  }
31
 
32
  .container {
33
  max-width: 1200px;
34
  margin: 0 auto;
35
+ padding: 2rem;
36
+ position: relative;
37
  }
38
 
39
  header {
40
  text-align: center;
41
+ padding: 4rem 0;
42
  }
43
 
44
+ .holo-title {
45
+ font-size: 5rem;
46
  font-weight: bold;
 
47
  text-transform: uppercase;
48
+ background: linear-gradient(45deg, #00ffcc, #ff007a, #fff);
49
  -webkit-background-clip: text;
50
  -webkit-text-fill-color: transparent;
51
+ filter: drop-shadow(0 0 10px #00ffcc);
52
+ animation: holoGlow 3s infinite;
53
  }
54
 
55
+ @keyframes holoGlow {
56
+ 0%, 100% { transform: scale(1); opacity: 1; }
57
+ 50% { transform: scale(1.05); opacity: 0.8; }
 
58
  }
59
 
60
  .subtitle {
61
  font-size: 1.5rem;
62
+ opacity: 0.7;
63
+ margin-top: 1rem;
64
  }
65
 
66
  .hero {
67
  display: flex;
68
  align-items: center;
69
  justify-content: space-between;
70
+ min-height: 70vh;
71
+ flex-wrap: wrap;
72
+ gap: 2rem;
73
  }
74
 
75
  .product-image {
76
  width: 50%;
77
+ height: 25rem;
78
  background: url('cream.png') no-repeat center/cover; /* Замените на реальное изображение */
79
+ filter: drop-shadow(0 0 30px rgba(0, 255, 204, 0.7));
80
+ transform: perspective(1000px) rotateY(25deg);
81
  transition: transform 0.5s ease;
82
+ border-radius: 20px;
83
  }
84
 
85
  .product-image:hover {
86
+ transform: perspective(1000px) rotateY(0deg);
87
  }
88
 
89
  .hero-text {
90
  width: 45%;
91
+ text-align: left;
92
  }
93
 
94
  .hero-text h2 {
95
+ font-size: 2.8rem;
96
+ margin-bottom: 1.5rem;
97
  }
98
 
99
  .cta-button {
100
+ padding: 1rem 2rem;
101
  font-size: 1.2rem;
102
  border: none;
103
+ background: linear-gradient(45deg, #00ffcc, #ff007a);
104
+ color: #fff;
105
  border-radius: 50px;
106
  cursor: pointer;
107
+ transition: transform 0.3s, filter 0.3s;
108
  }
109
 
110
  .cta-button:hover {
111
+ transform: scale(1.1) translateZ(10px);
112
+ filter: brightness(1.2);
113
  }
114
 
115
  .features {
116
  display: flex;
117
  justify-content: space-around;
118
+ padding: 4rem 0;
119
+ flex-wrap: wrap;
120
+ gap: 2rem;
121
  }
122
 
123
  .feature-card {
124
  width: 30%;
125
+ padding: 1.5rem;
126
+ background: rgba(255, 255, 255, 0.05);
127
  border-radius: 15px;
128
  text-align: center;
129
+ transition: transform 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
130
+ backdrop-filter: blur(5px);
131
  }
132
 
133
  .feature-card:hover {
134
+ transform: translateY(-15px) scale(1.05);
135
+ background: rgba(0, 255, 204, 0.15);
136
+ box-shadow: 0 0 20px rgba(0, 255, 204, 0.5);
137
  }
138
 
139
  .feature-card h3 {
140
+ font-size: 1.6rem;
141
+ margin-bottom: 0.8rem;
142
+ }
143
+
144
+ /* Адаптация для мобильных */
145
+ @media (max-width: 768px) {
146
+ .holo-title {
147
+ font-size: 3rem;
148
+ }
149
+
150
+ .subtitle {
151
+ font-size: 1.2rem;
152
+ }
153
+
154
+ .hero {
155
+ flex-direction: column;
156
+ text-align: center;
157
+ }
158
+
159
+ .product-image {
160
+ width: 100%;
161
+ height: 20rem;
162
+ transform: perspective(1000px) rotateY(0deg);
163
+ }
164
+
165
+ .hero-text {
166
+ width: 100%;
167
+ }
168
+
169
+ .hero-text h2 {
170
+ font-size: 2rem;
171
+ }
172
+
173
+ .cta-button {
174
+ padding: 0.8rem 1.5rem;
175
+ font-size: 1rem;
176
+ }
177
+
178
+ .features {
179
+ flex-direction: column;
180
+ align-items: center;
181
+ }
182
+
183
+ .feature-card {
184
+ width: 90%;
185
+ }
186
+ }
187
+
188
+ @media (max-width: 480px) {
189
+ .holo-title {
190
+ font-size: 2.5rem;
191
+ }
192
+
193
+ .hero-text h2 {
194
+ font-size: 1.5rem;
195
+ }
196
+
197
+ .subtitle {
198
+ font-size: 1rem;
199
+ }
200
  }