flpolprojects commited on
Commit
3f1c406
·
verified ·
1 Parent(s): d6368fd

Rename style.css to styles.css

Browse files
Files changed (2) hide show
  1. style.css +0 -28
  2. styles.css +226 -0
style.css DELETED
@@ -1,28 +0,0 @@
1
- body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
4
- }
5
-
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
9
- }
10
-
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
16
- }
17
-
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
24
- }
25
-
26
- .card p:last-child {
27
- margin-bottom: 0;
28
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
styles.css ADDED
@@ -0,0 +1,226 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Общие стили */
2
+ * {
3
+ margin: 0;
4
+ padding: 0;
5
+ box-sizing: border-box;
6
+ font-family: 'Arial', sans-serif;
7
+ }
8
+
9
+ body {
10
+ background: #f5f5f5;
11
+ color: #333;
12
+ line-height: 1.6;
13
+ }
14
+
15
+ /* Контейнер */
16
+ .container {
17
+ max-width: 1200px;
18
+ margin: 0 auto;
19
+ padding: 0 20px;
20
+ }
21
+
22
+ /* Шапка */
23
+ header {
24
+ background: #fff;
25
+ padding: 20px 0;
26
+ position: fixed;
27
+ width: 100%;
28
+ top: 0;
29
+ z-index: 10;
30
+ box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
31
+ }
32
+
33
+ .logo {
34
+ font-size: 28px;
35
+ font-weight: bold;
36
+ color: #e74c3c;
37
+ }
38
+
39
+ nav ul {
40
+ float: right;
41
+ list-style: none;
42
+ }
43
+
44
+ nav ul li {
45
+ display: inline;
46
+ margin-left: 20px;
47
+ }
48
+
49
+ nav ul li a {
50
+ text-decoration: none;
51
+ color: #333;
52
+ font-weight: 500;
53
+ transition: color 0.3s;
54
+ }
55
+
56
+ nav ul li a:hover {
57
+ color: #e74c3c;
58
+ }
59
+
60
+ /* Герой */
61
+ .hero {
62
+ height: 100vh;
63
+ background: linear-gradient(135deg, #ecf0f1, #dfe4ea);
64
+ display: flex;
65
+ align-items: center;
66
+ text-align: center;
67
+ }
68
+
69
+ .hero h2 {
70
+ font-size: 48px;
71
+ font-weight: 900;
72
+ letter-spacing: 2px;
73
+ margin-bottom: 20px;
74
+ animation: fadeIn 1s ease-in;
75
+ }
76
+
77
+ .hero p {
78
+ font-size: 24px;
79
+ margin-bottom: 30px;
80
+ }
81
+
82
+ .cta-button {
83
+ padding: 15px 30px;
84
+ font-size: 18px;
85
+ background: #e74c3c;
86
+ color: #fff;
87
+ border: none;
88
+ border-radius: 50px;
89
+ cursor: pointer;
90
+ box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
91
+ transition: transform 0.3s, box-shadow 0.3s;
92
+ }
93
+
94
+ .cta-button:hover {
95
+ transform: translateY(-5px);
96
+ box-shadow: 0 10px 20px rgba(231, 76, 60, 0.5);
97
+ }
98
+
99
+ /* Услуги */
100
+ .services {
101
+ padding: 80px 0;
102
+ background: #fff;
103
+ }
104
+
105
+ .services h3 {
106
+ font-size: 36px;
107
+ text-align: center;
108
+ margin-bottom: 40px;
109
+ }
110
+
111
+ .service-grid {
112
+ display: grid;
113
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
114
+ gap: 20px;
115
+ }
116
+
117
+ .service-card {
118
+ background: #ecf0f1;
119
+ padding: 20px;
120
+ text-align: center;
121
+ font-size: 20px;
122
+ border-radius: 10px;
123
+ transition: transform 0.3s;
124
+ }
125
+
126
+ .service-card:hover {
127
+ transform: scale(1.05);
128
+ }
129
+
130
+ /* О нас */
131
+ .about {
132
+ padding: 80px 0;
133
+ background: #dfe4ea;
134
+ text-align: center;
135
+ }
136
+
137
+ .about h3 {
138
+ font-size: 36px;
139
+ margin-bottom: 20px;
140
+ }
141
+
142
+ .about p {
143
+ font-size: 18px;
144
+ max-width: 800px;
145
+ margin: 0 auto;
146
+ }
147
+
148
+ /* Контакты */
149
+ .contact {
150
+ padding: 80px 0;
151
+ background: #fff;
152
+ text-align: center;
153
+ }
154
+
155
+ .contact h3 {
156
+ font-size: 36px;
157
+ margin-bottom: 40px;
158
+ }
159
+
160
+ form {
161
+ display: flex;
162
+ flex-direction: column;
163
+ max-width: 500px;
164
+ margin: 0 auto;
165
+ gap: 15px;
166
+ }
167
+
168
+ input {
169
+ padding: 15px;
170
+ font-size: 16px;
171
+ border: none;
172
+ border-radius: 10px;
173
+ background: #ecf0f1;
174
+ box-shadow: inset 5px 5px 10px #d1d5d8, inset -5px -5px 10px #ffffff;
175
+ }
176
+
177
+ .submit-button {
178
+ padding: 15px;
179
+ font-size: 18px;
180
+ background: #e74c3c;
181
+ color: #fff;
182
+ border: none;
183
+ border-radius: 50px;
184
+ cursor: pointer;
185
+ transition: transform 0.3s;
186
+ }
187
+
188
+ .submit-button:hover {
189
+ transform: translateY(-5px);
190
+ }
191
+
192
+ /* Футер */
193
+ footer {
194
+ padding: 20px 0;
195
+ background: #333;
196
+ color: #fff;
197
+ text-align: center;
198
+ }
199
+
200
+ /* Анимация */
201
+ @keyframes fadeIn {
202
+ from { opacity: 0; }
203
+ to { opacity: 1; }
204
+ }
205
+
206
+ /* Адаптивность */
207
+ @media (max-width: 768px) {
208
+ nav ul {
209
+ float: none;
210
+ text-align: center;
211
+ margin-top: 20px;
212
+ }
213
+
214
+ nav ul li {
215
+ display: block;
216
+ margin: 10px 0;
217
+ }
218
+
219
+ .hero h2 {
220
+ font-size: 32px;
221
+ }
222
+
223
+ .hero p {
224
+ font-size: 18px;
225
+ }
226
+ }