-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
399 lines (353 loc) · 13.7 KB
/
Copy pathindex.html
File metadata and controls
399 lines (353 loc) · 13.7 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
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, viewport-fit=cover">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<title>maksimalni</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400;500;600&display=swap" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/lottie-web/5.12.2/lottie.min.js"></script>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
-webkit-tap-highlight-color: transparent;
}
html {
height: 100%;
}
body {
min-height: 100%;
position: relative;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
color: #fff;
line-height: 1.7;
padding: 2rem 1rem;
width: 100%;
overflow-x: hidden;
}
/*
* РЕШЕНИЕ ДЛЯ iOS:
* Вместо background-attachment: fixed используем position: fixed
* на псевдоэлементе. Это работает на всех устройствах включая iOS.
*/
body::before {
content: '';
position: fixed; /* Ключевое: fixed вместо background-attachment */
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image:
linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
url('background.jpg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
z-index: -1;
pointer-events: none;
}
.container {
text-align: center;
max-width: 850px;
width: 100%;
flex: 1;
padding-bottom: 2rem;
position: relative;
z-index: 1;
}
#lottie-container {
width: 280px;
height: 280px;
margin: 0 auto 2.5rem;
opacity: 0.95;
filter: drop-shadow(0 4px 20px rgba(0,0,0,0.4));
}
#lottie-container-clover {
width: 260px;
height: 260px;
margin: 3rem auto 2.5rem;
opacity: 0.9;
filter: drop-shadow(0 4px 20px rgba(0,0,0,0.4));
}
.fallback-emoji {
font-size: 180px;
line-height: 1;
display: none;
}
.text-block {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 20px;
padding: 2.5rem 3rem;
margin-top: 1rem;
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
animation: fadeInUp 0.8s ease-out 0.3s both;
}
.text-block p {
font-weight: 400;
font-size: 1.1rem;
letter-spacing: 0.02em;
text-align: justify;
text-justify: inter-word;
color: rgba(255, 255, 255, 0.98);
text-shadow: 0 1px 3px rgba(0,0,0,0.3);
margin-bottom: 0;
position: relative;
}
.text-block:first-of-type p:first-of-type::first-letter {
font-size: 4rem;
font-weight: 600;
float: left;
line-height: 0.8;
padding-right: 0.5rem;
padding-top: 0.3rem;
color: #fff;
text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.text-block:first-of-type p:nth-of-type(2)::first-letter {
font-size: 3.5rem;
font-weight: 600;
float: left;
line-height: 0.8;
padding-right: 0.5rem;
padding-top: 0.3rem;
color: #fff;
text-shadow: 0 2px 8px rgba(0,0,0,0.5);
display: block;
margin-bottom: 0.5rem;
}
.text-block:nth-of-type(2) p:first-of-type::first-letter {
font-size: 4rem;
font-weight: 600;
float: left;
line-height: 0.8;
padding-right: 0.5rem;
padding-top: 0.3rem;
color: #fff;
text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.text-block:nth-of-type(2) p:nth-of-type(2)::first-letter {
font-size: 3.5rem;
font-weight: 600;
float: left;
line-height: 0.8;
padding-right: 0.5rem;
padding-top: 0.3rem;
color: #fff;
text-shadow: 0 2px 8px rgba(0,0,0,0.5);
display: block;
margin-bottom: 0.5rem;
}
.text-block:nth-of-type(2) p:nth-of-type(3)::first-letter {
font-size: 3.5rem;
font-weight: 600;
float: left;
line-height: 0.8;
padding-right: 0.5rem;
padding-top: 0.3rem;
color: #fff;
text-shadow: 0 2px 8px rgba(0,0,0,0.5);
display: block;
margin-bottom: 0.5rem;
}
.divider {
width: 100px;
height: 2px;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.9), transparent);
margin: 2rem auto;
border-radius: 2px;
box-shadow: 0 2px 8px rgba(255,255,255,0.3);
}
.quote-mark {
font-size: 3rem;
opacity: 0.4;
line-height: 0.5;
display: block;
margin-bottom: 1rem;
font-weight: 300;
}
.section-spacer {
height: 2rem;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* iPad */
@media (max-width: 1024px) {
#lottie-container {
width: 240px;
height: 240px;
}
#lottie-container-clover {
width: 220px;
height: 220px;
}
}
/* Mobile */
@media (max-width: 768px) {
#lottie-container {
width: 200px;
height: 200px;
margin: 0 auto 2rem;
}
#lottie-container-clover {
width: 180px;
height: 180px;
margin: 2.5rem auto 2rem;
}
.text-block {
padding: 2rem 1.8rem;
margin-top: 1rem;
}
.text-block p {
font-size: 1.05rem;
text-align: left;
}
.text-block:first-of-type p:first-of-type::first-letter,
.text-block:first-of-type p:nth-of-type(2)::first-letter,
.text-block:nth-of-type(2) p:first-of-type::first-letter,
.text-block:nth-of-type(2) p:nth-of-type(2)::first-letter,
.text-block:nth-of-type(2) p:nth-of-type(3)::first-letter {
font-size: 3rem;
}
}
/* iPhone */
@media (max-width: 480px) {
#lottie-container {
width: 160px;
height: 160px;
}
#lottie-container-clover {
width: 150px;
height: 150px;
}
.text-block {
padding: 1.8rem 1.3rem;
border-radius: 16px;
}
.text-block p {
font-size: 1rem;
line-height: 1.6;
}
.text-block:first-of-type p:first-of-type::first-letter,
.text-block:first-of-type p:nth-of-type(2)::first-letter,
.text-block:nth-of-type(2) p:first-of-type::first-letter,
.text-block:nth-of-type(2) p:nth-of-type(2)::first-letter,
.text-block:nth-of-type(2) p:nth-of-type(3)::first-letter {
font-size: 2.5rem;
}
.divider {
width: 80px;
margin: 1.5rem auto;
}
}
/* iPhone SE и меньше */
@media (max-width: 375px) {
#lottie-container {
width: 140px;
height: 140px;
}
#lottie-container-clover {
width: 130px;
height: 130px;
}
.text-block {
padding: 1.5rem 1.1rem;
}
.text-block p {
font-size: 0.95rem;
}
}
</style>
</head>
<body>
<div class="container">
<!-- ПЕРВЫЙ БЛОК: Мышеловка -->
<div id="lottie-container">
<div class="fallback-emoji">🪤</div>
</div>
<!-- Первый текстовый блок -->
<div class="text-block">
<span class="quote-mark">"</span>
<p>
Every step took him deeper into buildings filled with clerks and secretaries who seemed neither to understand nor to question what they were doing. In each room he asked the same basic questions — Why? What is this charge? How can this be justified? — but all he received were contradictory answers or silences. Doors led to offices, staircases to rooms with identical carpets and identical lamps. Even when there were windows, they looked out on walls instead of skies. Gradually K. felt as if he were walking through a physical maze that mirrored his own confusion. No matter where he went, no matter whom he spoke to, he felt he was moving in circles, never closer to truth and always more deeply trapped. His certainty of innocence, which had once given him strength, now seemed like a cruel joke, for the system to which he was subjected operated on rules he did not know and could never learn.
</p>
<div class="divider"></div>
<p>
In the stillness between each interview, K. felt his hope fade, as though the labyrinth had begun to swallow his own certainty, leaving behind a hollow echo of fear and resignation.
</p>
</div>
<!-- ВТОРОЙ БЛОК: Клевер -->
<div id="lottie-container-clover">
<div class="fallback-emoji">🍀</div>
</div>
<!-- Второй текстовый блок -->
<div class="text-block">
<p>
The town seemed ordinary in the early morning light, its streets unchanged, its walls the same ochre color they had worn for decades. But once the gates were closed and the disease was announced, every avenue turned into a corridor of uncertainty. People walked from street to street, searching for answers in shops that were shuttered or in squares that echoed emptiness. At first they believed that news or authority would provide clarity, but each proclamation, each bulletin nailed to a notice board only raised more questions than it answered.
</p>
<div class="divider"></div>
<p>
Men and women spoke of wards and cures as if they were lost explorers trying to find an exit from a maze, yet every entrance to help led instead to a dead end of waiting rooms, closed doors, and weary faces. No remedy arrived. No messenger brought good tidings. Days bled into nights with no sense of sequence — clocks ticked, yet time seemed frozen, as if the sun itself were bewildered by the grid of streets and alleys that refused to follow familiar paths.
</p>
<div class="divider"></div>
<p>
And so the sufferers moved like shadows through twilight lanes, feeling at every turn that they were approaching hope, only to find that the promise dissolved into silence. In this town‑labyrinth, the walls were not brick and mortar but the indifference of fate, weaving corridors that closed on every side and offered no exit, no meaning, no solace for the mind that insisted on understanding.
</p>
</div>
<div class="section-spacer"></div>
</div>
<script>
// Загрузка ПЕРВОЙ Lottie-анимации (мышеловка)
try {
const animation1 = lottie.loadAnimation({
container: document.getElementById('lottie-container'),
renderer: 'svg',
loop: true,
autoplay: true,
path: 'https://fonts.gstatic.com/s/e/notoemoji/latest/1faa4/lottie.json'
});
animation1.addEventListener('error', function() {
document.getElementById('lottie-container').querySelector('.fallback-emoji').style.display = 'block';
document.querySelector('#lottie-container > svg')?.remove();
});
} catch (e) {
document.getElementById('lottie-container').querySelector('.fallback-emoji').style.display = 'block';
}
// Загрузка ВТОРОЙ Lottie-анимации (клевер)
try {
const animation2 = lottie.loadAnimation({
container: document.getElementById('lottie-container-clover'),
renderer: 'svg',
loop: true,
autoplay: true,
path: 'https://fonts.gstatic.com/s/e/notoemoji/latest/1f340/lottie.json'
});
animation2.addEventListener('error', function() {
document.getElementById('lottie-container-clover').querySelector('.fallback-emoji').style.display = 'block';
document.querySelector('#lottie-container-clover > svg')?.remove();
});
} catch (e) {
document.getElementById('lottie-container-clover').querySelector('.fallback-emoji').style.display = 'block';
}
</script>
</body>
</html>