-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
228 lines (198 loc) · 3.83 KB
/
styles.css
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
/* Общие стили */
body {
font-family: 'Roboto', sans-serif;
margin: 0;
padding: 0;
color: #333;
background-color: #f4f4f9;
line-height: 1.8;
}
header {
background: linear-gradient(90deg, #0056b3, #007bff);
color: #fff;
padding: 40px 20px;
text-align: center;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
header h1 {
font-size: 3rem;
font-weight: 700;
margin: 0;
}
header p {
font-size: 1.2rem;
margin-top: 10px;
}
nav ul {
list-style: none;
padding: 0;
display: flex;
justify-content: center;
gap: 20px;
margin: 20px 0 0;
}
nav ul li a {
color: #fff;
text-decoration: none;
font-weight: 500;
padding: 8px 16px;
border: 2px solid transparent;
transition: all 0.3s ease-in-out;
}
nav ul li a:hover {
border-color: #ffd700;
border-radius: 5px;
background-color: rgba(255, 255, 255, 0.1);
}
/* Секции */
section {
padding: 50px 20px;
max-width: 1200px;
margin: auto;
text-align: center;
}
section h2 {
font-size: 2.5rem;
color: #0056b3;
margin-bottom: 20px;
text-transform: uppercase;
border-bottom: 4px solid #007bff;
display: inline-block;
padding-bottom: 5px;
}
section p {
font-size: 1.1rem;
color: #555;
margin: 10px 0 20px;
}
/* Карточки Features */
.consultations {
display: flex;
justify-content: space-around;
gap: 20px;
flex-wrap: wrap;
margin-top: 30px;
}
.feature {
background-color: #fff;
border: 1px solid #ddd;
border-radius: 10px;
padding: 20px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: transform 0.3s, box-shadow 0.3s;
max-width: 300px;
text-align: left;
}
.feature:hover {
transform: translateY(-10px);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.feature h3 {
color: #0056b3;
font-size: 1.5rem;
margin-bottom: 10px;
}
.feature p {
color: #666;
font-size: 1rem;
line-height: 1.6;
}
.feature button {
background: #007bff;
color: #fff;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
font-size: 1rem;
margin-top: 10px;
transition: background 0.3s;
}
.feature button:hover {
background: #0056b3;
}
/* Модальное окно */
.modal {
opacity: 0;
visibility: hidden;
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0, 0, 0, 0.5);
display: flex;
justify-content: center;
align-items: center;
transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal.show {
opacity: 1;
visibility: visible;
}
.modal-content {
background-color: #fff;
padding: 30px;
border-radius: 10px;
max-width: 500px;
text-align: center;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.modal-content p {
font-size: 1.2rem;
color: #333;
}
.close-btn {
font-size: 1.5rem;
color: #333;
font-weight: bold;
cursor: pointer;
position: absolute;
top: 10px;
right: 20px;
}
/* Подвал */
footer {
text-align: center;
padding: 20px;
background: #333;
color: #fff;
font-size: 0.9rem;
}
/* Платежные системы */
.payment-options {
display: flex;
justify-content: center;
align-items: center;
gap: 20px;
margin-top: 20px;
}
.payment-options img {
height: 50px;
width: auto;
transition: transform 0.3s;
}
.payment-options img:hover {
transform: scale(1.1);
}
/* Адаптивность */
@media (max-width: 768px) {
header h1 {
font-size: 2rem;
}
nav ul {
flex-direction: column;
gap: 10px;
}
.consultations {
flex-direction: column;
}
.feature {
max-width: 100%;
}
.modal-content {
max-width: 90%;
}
}