AZLABS commited on
Commit
c7a780c
·
verified ·
1 Parent(s): 31ac2a2

Update public/index.html

Browse files
Files changed (1) hide show
  1. public/index.html +724 -89
public/index.html CHANGED
@@ -1,92 +1,727 @@
1
- <!DOCTYPE html>
2
- <html>
3
-
4
- <head>
5
- <title>Text to Speech</title>
6
- <style>
7
- body {
8
- font-family: Arial, sans-serif;
9
- margin: 0;
10
- padding: 0;
11
-
12
- }
13
-
14
- h1 {
15
- color: #333;
16
- }
17
-
18
- textarea {
19
- width: 300px;
20
- height: 100px;
21
- padding: 10px;
22
- border: 1px solid #ddd;
23
- border-radius: 5px;
24
- }
25
-
26
- button {
27
- margin-top: 10px;
28
- padding: 10px 20px;
29
- border: none;
30
- border-radius: 5px;
31
- background-color: #007BFF;
32
- color: white;
33
- cursor: pointer;
34
- }
35
-
36
- button:hover {
37
- background-color: #0056b3;
38
- }
39
- </style>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  </head>
41
 
42
  <body>
43
- <div>
44
- <h1>Text to Speech Converter</h1>
45
- <textarea id="text" placeholder="Enter text here"></textarea> <br>
46
- <select id="voice">
47
- <option value="de-DE-SeraphinaMultilingualNeural">de-DE-SeraphinaMultilingualNeural</option>
48
- <option value="fr-FR-RemyMultilingualNeural">fr-FR-RemyMultilingualNeural</option>
49
- <option value="zh-CN-XiaochenMultilingualNeural">zh-CN-XiaochenMultilingualNeural</option>
50
- </select> <br>
51
- <input id="customVoice" type="text" placeholder="Or type a voice name here"> <br>
52
- <button id="convert">Convert to Speech</button> <br>
53
- <audio id="audio" controls autoplay></audio>
54
- </div>
55
-
56
-
57
- <script>
58
-
59
- document.body.innerHTML += `<div>
60
- for azure tts api: <a href="${window.location.origin}/atts/${encodeURIComponent('replace you text in url')}">${window.location.origin}/atts/your_text</a>
61
- </div>`
62
- document.body.innerHTML += `<div>
63
- api for short text less than 200 charaters : <a href="${window.location.origin}/tts/${encodeURIComponent('replace you text in url')}">${window.location.origin}/tts/your_text</a>
64
- </div>`
65
-
66
-
67
- function synthesizeSpeech(text, voice) {
68
- if (true) {
69
- fetch('/tts/' + encodeURIComponent(text) + '?voicename=' + encodeURIComponent(voice))
70
- .then(response => response.blob())
71
- .then(blob => {
72
- var url = URL.createObjectURL(blob);
73
- var audio = document.getElementById('audio');
74
- audio.src = url;
75
- audio.play();
76
- })
77
- .catch(console.error);
78
- }
79
- }
80
-
81
- document.getElementById('convert').addEventListener('click', function (e) {
82
- console.log('start tts');
83
- var text = document.getElementById('text').value || 'test';
84
- var voice = document.getElementById('customVoice').value || document.getElementById('voice').value;
85
- synthesizeSpeech(text, voice);
86
- });
87
-
88
- </script>
89
- </body>
90
-
91
-
92
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html lang="en" class=""><head>
2
+
3
+ <meta charset="UTF-8">
4
+
5
+
6
+ <meta name="robots" content="noindex">
7
+
8
+
9
+
10
+
11
+
12
+ <style id="INLINE_PEN_STYLESHEET_ID">
13
+ @import url("https://fonts.googleapis.com/css?family=Barlow+Condensed:300,400,500,600,700,800,900|Barlow:300,400,500,600,700,800,900&display=swap");
14
+ .about {
15
+ position: fixed;
16
+ z-index: 10;
17
+ bottom: 10px;
18
+ right: 10px;
19
+ width: 40px;
20
+ height: 40px;
21
+ display: flex;
22
+ justify-content: flex-end;
23
+ align-items: flex-end;
24
+ transition: all 0.2s ease;
25
+ }
26
+ .about .bg_links {
27
+ width: 40px;
28
+ height: 40px;
29
+ border-radius: 100%;
30
+ display: flex;
31
+ justify-content: center;
32
+ align-items: center;
33
+ background-color: rgba(0, 0, 0, 0.2);
34
+ border-radius: 100%;
35
+ backdrop-filter: blur(5px);
36
+ position: absolute;
37
+ }
38
+ .about .logo {
39
+ width: 40px;
40
+ height: 40px;
41
+ z-index: 9;
42
+ background-image: url(https://rafaelavlucas.github.io/assets/codepen/logo_white.svg);
43
+ background-size: 50%;
44
+ background-repeat: no-repeat;
45
+ background-position: 10px 7px;
46
+ opacity: 0.9;
47
+ transition: all 1s 0.2s ease;
48
+ bottom: 0;
49
+ right: 0;
50
+ }
51
+ .about .social {
52
+ opacity: 0;
53
+ right: 0;
54
+ bottom: 0;
55
+ }
56
+ .about .social .icon {
57
+ width: 100%;
58
+ height: 100%;
59
+ background-size: 20px;
60
+ background-repeat: no-repeat;
61
+ background-position: center;
62
+ background-color: transparent;
63
+ display: flex;
64
+ transition: all 0.2s ease, background-color 0.4s ease;
65
+ opacity: 0;
66
+ border-radius: 100%;
67
+ }
68
+ .about .social.portfolio {
69
+ transition: all 0.8s ease;
70
+ }
71
+ .about .social.portfolio .icon {
72
+ background-image: url(https://rafaelavlucas.github.io/assets/codepen/link.svg);
73
+ }
74
+ .about .social.dribbble {
75
+ transition: all 0.3s ease;
76
+ }
77
+ .about .social.dribbble .icon {
78
+ background-image: url(https://rafaelavlucas.github.io/assets/codepen/dribbble.svg);
79
+ }
80
+ .about .social.linkedin {
81
+ transition: all 0.8s ease;
82
+ }
83
+ .about .social.linkedin .icon {
84
+ background-image: url(https://rafaelavlucas.github.io/assets/codepen/linkedin.svg);
85
+ }
86
+ .about:hover {
87
+ width: 105px;
88
+ height: 105px;
89
+ transition: all 0.6s cubic-bezier(0.64, 0.01, 0.07, 1.65);
90
+ }
91
+ .about:hover .logo {
92
+ opacity: 1;
93
+ transition: all 0.6s ease;
94
+ }
95
+ .about:hover .social {
96
+ opacity: 1;
97
+ }
98
+ .about:hover .social .icon {
99
+ opacity: 0.9;
100
+ }
101
+ .about:hover .social:hover {
102
+ background-size: 28px;
103
+ }
104
+ .about:hover .social:hover .icon {
105
+ background-size: 65%;
106
+ opacity: 1;
107
+ }
108
+ .about:hover .social.portfolio {
109
+ right: 0;
110
+ bottom: calc(100% - 40px);
111
+ transition: all 0.3s 0s cubic-bezier(0.64, 0.01, 0.07, 1.65);
112
+ }
113
+ .about:hover .social.portfolio .icon:hover {
114
+ background-color: #698fb7;
115
+ }
116
+ .about:hover .social.dribbble {
117
+ bottom: 45%;
118
+ right: 45%;
119
+ transition: all 0.3s 0.15s cubic-bezier(0.64, 0.01, 0.07, 1.65);
120
+ }
121
+ .about:hover .social.dribbble .icon:hover {
122
+ background-color: #ea4c89;
123
+ }
124
+ .about:hover .social.linkedin {
125
+ bottom: 0;
126
+ right: calc(100% - 40px);
127
+ transition: all 0.3s 0.25s cubic-bezier(0.64, 0.01, 0.07, 1.65);
128
+ }
129
+ .about:hover .social.linkedin .icon:hover {
130
+ background-color: #0077b5;
131
+ }
132
+
133
+ h1,
134
+ h2,
135
+ h3,
136
+ h4,
137
+ h5,
138
+ h6,
139
+ p,
140
+ ul,
141
+ li,
142
+ button,
143
+ a,
144
+ i,
145
+ input,
146
+ body {
147
+ margin: 0;
148
+ padding: 0;
149
+ list-style: none;
150
+ border: 0;
151
+ -webkit-tap-highlight-color: transparent;
152
+ text-decoration: none;
153
+ color: inherit;
154
+ }
155
+ h1:focus,
156
+ h2:focus,
157
+ h3:focus,
158
+ h4:focus,
159
+ h5:focus,
160
+ h6:focus,
161
+ p:focus,
162
+ ul:focus,
163
+ li:focus,
164
+ button:focus,
165
+ a:focus,
166
+ i:focus,
167
+ input:focus,
168
+ body:focus {
169
+ outline: 0;
170
+ }
171
+
172
+ body {
173
+ margin: 0;
174
+ padding: 0;
175
+ height: auto;
176
+ font-family: "Barlow", sans-serif;
177
+ background: #695681;
178
+ }
179
+
180
+ .logo {
181
+ position: fixed;
182
+ z-index: 5;
183
+ bottom: 10px;
184
+ right: 10px;
185
+ width: 40px;
186
+ height: 40px;
187
+ border-radius: 100%;
188
+ display: flex;
189
+ justify-content: center;
190
+ align-items: center;
191
+ background: rgba(0, 0, 0, 0.1);
192
+ border-radius: 100%;
193
+ backdrop-filter: blur(5px);
194
+ }
195
+ .logo img {
196
+ width: 55%;
197
+ height: 55%;
198
+ transform: translateY(-1px);
199
+ opacity: 0.8;
200
+ }
201
+
202
+ nav .menu {
203
+ width: 100%;
204
+ height: 80px;
205
+ position: absolute;
206
+ display: flex;
207
+ align-items: center;
208
+ justify-content: space-between;
209
+ padding: 0 5%;
210
+ box-sizing: border-box;
211
+ z-index: 3;
212
+ }
213
+ nav .menu .website_name {
214
+ color: #695681;
215
+ font-weight: 600;
216
+ font-size: 20px;
217
+ letter-spacing: 1px;
218
+ background: white;
219
+ padding: 4px 8px;
220
+ border-radius: 2px;
221
+ opacity: 0.5;
222
+ transition: all 0.4s ease;
223
+ cursor: pointer;
224
+ }
225
+ nav .menu .website_name:hover {
226
+ opacity: 1;
227
+ }
228
+ nav .menu .menu_links {
229
+ transition: all 0.4s ease;
230
+ opacity: 0.5;
231
+ }
232
+ nav .menu .menu_links:hover {
233
+ opacity: 1;
234
+ }
235
+ @media screen and (max-width: 799px) {
236
+ nav .menu .menu_links {
237
+ display: none;
238
+ }
239
+ }
240
+ nav .menu .menu_links .link {
241
+ color: white;
242
+ text-transform: uppercase;
243
+ font-weight: 500;
244
+ margin-right: 50px;
245
+ letter-spacing: 2px;
246
+ position: relative;
247
+ transition: all 0.3s 0.2s ease;
248
+ }
249
+ nav .menu .menu_links .link:last-child {
250
+ margin-right: 0;
251
+ }
252
+ nav .menu .menu_links .link:before {
253
+ content: "";
254
+ position: absolute;
255
+ width: 0px;
256
+ height: 4px;
257
+ background: linear-gradient(90deg, #FFEDC0 0%, #FF9D87 100%);
258
+ bottom: -10px;
259
+ border-radius: 4px;
260
+ transition: all 0.4s cubic-bezier(0.82, 0.02, 0.13, 1.26);
261
+ left: 100%;
262
+ }
263
+ nav .menu .menu_links .link:hover {
264
+ opacity: 1;
265
+ color: #FB8A8A;
266
+ }
267
+ nav .menu .menu_links .link:hover:before {
268
+ width: 40px;
269
+ left: 0;
270
+ }
271
+ nav .menu .menu_icon {
272
+ width: 40px;
273
+ height: 40px;
274
+ position: relative;
275
+ display: none;
276
+ justify-content: center;
277
+ align-items: center;
278
+ cursor: pointer;
279
+ }
280
+ @media screen and (max-width: 799px) {
281
+ nav .menu .menu_icon {
282
+ display: flex;
283
+ }
284
+ }
285
+ nav .menu .menu_icon .icon {
286
+ width: 24px;
287
+ height: 2px;
288
+ background: white;
289
+ position: absolute;
290
+ }
291
+ nav .menu .menu_icon .icon:before, nav .menu .menu_icon .icon:after {
292
+ content: "";
293
+ width: 100%;
294
+ height: 100%;
295
+ background: inherit;
296
+ position: absolute;
297
+ transition: all 0.3s cubic-bezier(0.49, 0.04, 0, 1.55);
298
+ }
299
+ nav .menu .menu_icon .icon:before {
300
+ transform: translateY(-8px);
301
+ }
302
+ nav .menu .menu_icon .icon:after {
303
+ transform: translateY(8px);
304
+ }
305
+ nav .menu .menu_icon:hover .icon {
306
+ background: #FFEDC0;
307
+ }
308
+ nav .menu .menu_icon:hover .icon:before {
309
+ transform: translateY(-10px);
310
+ }
311
+ nav .menu .menu_icon:hover .icon:after {
312
+ transform: translateY(10px);
313
+ }
314
+
315
+ .wrapper {
316
+ display: grid;
317
+ grid-template-columns: 1fr;
318
+ justify-content: center;
319
+ align-items: center;
320
+ height: 100vh;
321
+ overflow-x: hidden;
322
+ }
323
+ .wrapper .container {
324
+ margin: 0 auto;
325
+ transition: all 0.4s ease;
326
+ display: flex;
327
+ justify-content: center;
328
+ align-items: center;
329
+ position: relative;
330
+ }
331
+ .wrapper .container .scene {
332
+ position: absolute;
333
+ width: 100vw;
334
+ height: 100vh;
335
+ vertical-align: middle;
336
+ }
337
+ .wrapper .container .one,
338
+ .wrapper .container .two,
339
+ .wrapper .container .three,
340
+ .wrapper .container .circle,
341
+ .wrapper .container .p404 {
342
+ width: 60%;
343
+ height: 60%;
344
+ top: 20% !important;
345
+ left: 20% !important;
346
+ min-width: 400px;
347
+ min-height: 400px;
348
+ }
349
+ .wrapper .container .one .content,
350
+ .wrapper .container .two .content,
351
+ .wrapper .container .three .content,
352
+ .wrapper .container .circle .content,
353
+ .wrapper .container .p404 .content {
354
+ width: 600px;
355
+ height: 600px;
356
+ display: flex;
357
+ justify-content: center;
358
+ align-items: center;
359
+ position: absolute;
360
+ top: 50%;
361
+ left: 50%;
362
+ transform: translate(-50%, -50%);
363
+ animation: content 0.8s cubic-bezier(1, 0.06, 0.25, 1) backwards;
364
+ }
365
+ @keyframes content {
366
+ 0% {
367
+ width: 0;
368
+ }
369
+ }
370
+ .wrapper .container .one .content .piece,
371
+ .wrapper .container .two .content .piece,
372
+ .wrapper .container .three .content .piece,
373
+ .wrapper .container .circle .content .piece,
374
+ .wrapper .container .p404 .content .piece {
375
+ width: 200px;
376
+ height: 80px;
377
+ display: flex;
378
+ position: absolute;
379
+ border-radius: 80px;
380
+ z-index: 1;
381
+ animation: pieceLeft 8s cubic-bezier(1, 0.06, 0.25, 1) infinite both;
382
+ }
383
+ @keyframes pieceLeft {
384
+ 50% {
385
+ left: 80%;
386
+ width: 10%;
387
+ }
388
+ }
389
+ @keyframes pieceRight {
390
+ 50% {
391
+ right: 80%;
392
+ width: 10%;
393
+ }
394
+ }
395
+ @media screen and (max-width: 799px) {
396
+ .wrapper .container .one,
397
+ .wrapper .container .two,
398
+ .wrapper .container .three,
399
+ .wrapper .container .circle,
400
+ .wrapper .container .p404 {
401
+ width: 90%;
402
+ height: 90%;
403
+ top: 5% !important;
404
+ left: 5% !important;
405
+ min-width: 280px;
406
+ min-height: 280px;
407
+ }
408
+ }
409
+ @media screen and (max-height: 660px) {
410
+ .wrapper .container .one,
411
+ .wrapper .container .two,
412
+ .wrapper .container .three,
413
+ .wrapper .container .circle,
414
+ .wrapper .container .p404 {
415
+ min-width: 280px;
416
+ min-height: 280px;
417
+ width: 60%;
418
+ height: 60%;
419
+ top: 20% !important;
420
+ left: 20% !important;
421
+ }
422
+ }
423
+ .wrapper .container .text {
424
+ width: 60%;
425
+ height: 40%;
426
+ min-width: 400px;
427
+ min-height: 500px;
428
+ position: absolute;
429
+ margin: 40px 0;
430
+ animation: text 0.6s 1.8s ease backwards;
431
+ }
432
+ @keyframes text {
433
+ 0% {
434
+ opacity: 0;
435
+ transform: translateY(40px);
436
+ }
437
+ }
438
+ @media screen and (max-width: 799px) {
439
+ .wrapper .container .text {
440
+ min-height: 400px;
441
+ height: 80%;
442
+ }
443
+ }
444
+ .wrapper .container .text article {
445
+ width: 400px;
446
+ position: absolute;
447
+ bottom: 0;
448
+ z-index: 4;
449
+ display: flex;
450
+ flex-direction: column;
451
+ justify-content: center;
452
+ align-items: center;
453
+ text-align: center;
454
+ bottom: 0;
455
+ left: 50%;
456
+ transform: translateX(-50%);
457
+ }
458
+ @media screen and (max-width: 799px) {
459
+ .wrapper .container .text article {
460
+ width: 100%;
461
+ }
462
+ }
463
+ .wrapper .container .text article p {
464
+ color: white;
465
+ font-size: 18px;
466
+ letter-spacing: 0.6px;
467
+ margin-bottom: 40px;
468
+ text-shadow: 6px 6px 10px #32243E;
469
+ }
470
+ .wrapper .container .text article button {
471
+ height: 40px;
472
+ padding: 0 30px;
473
+ border-radius: 50px;
474
+ cursor: pointer;
475
+ box-shadow: 0px 15px 20px rgba(54, 24, 79, 0.5);
476
+ z-index: 3;
477
+ color: #695681;
478
+ background-color: white;
479
+ text-transform: uppercase;
480
+ font-weight: 600;
481
+ font-size: 12px;
482
+ transition: all 0.3s ease;
483
+ }
484
+ .wrapper .container .text article button:hover {
485
+ box-shadow: 0px 10px 10px -10px rgba(54, 24, 79, 0.5);
486
+ transform: translateY(5px);
487
+ background: #FB8A8A;
488
+ color: white;
489
+ }
490
+ .wrapper .container .p404 {
491
+ font-size: 200px;
492
+ font-weight: 700;
493
+ letter-spacing: 4px;
494
+ color: white;
495
+ display: flex !important;
496
+ justify-content: center;
497
+ align-items: center;
498
+ position: absolute;
499
+ z-index: 2;
500
+ animation: anime404 0.6s cubic-bezier(0.3, 0.8, 1, 1.05) both;
501
+ animation-delay: 1.2s;
502
+ }
503
+ @media screen and (max-width: 799px) {
504
+ .wrapper .container .p404 {
505
+ font-size: 100px;
506
+ }
507
+ }
508
+ @keyframes anime404 {
509
+ 0% {
510
+ opacity: 0;
511
+ transform: scale(10) skew(20deg, 20deg);
512
+ }
513
+ }
514
+ .wrapper .container .p404:nth-of-type(2) {
515
+ color: #36184F;
516
+ z-index: 1;
517
+ animation-delay: 1s;
518
+ filter: blur(10px);
519
+ opacity: 0.8;
520
+ }
521
+ .wrapper .container .circle {
522
+ position: absolute;
523
+ }
524
+ .wrapper .container .circle:before {
525
+ content: "";
526
+ position: absolute;
527
+ width: 800px;
528
+ height: 800px;
529
+ background-color: rgba(54, 24, 79, 0.2);
530
+ border-radius: 100%;
531
+ top: 50%;
532
+ left: 50%;
533
+ transform: translate(-50%, -50%);
534
+ box-shadow: inset 5px 20px 40px rgba(54, 24, 79, 0.25), inset 5px 0px 5px rgba(50, 36, 62, 0.3), inset 5px 5px 20px rgba(50, 36, 62, 0.25), 2px 2px 5px rgba(255, 255, 255, 0.2);
535
+ animation: circle 0.8s cubic-bezier(1, 0.06, 0.25, 1) backwards;
536
+ }
537
+ @keyframes circle {
538
+ 0% {
539
+ width: 0;
540
+ height: 0;
541
+ }
542
+ }
543
+ @media screen and (max-width: 799px) {
544
+ .wrapper .container .circle:before {
545
+ width: 400px;
546
+ height: 400px;
547
+ }
548
+ }
549
+ .wrapper .container .one .content:before {
550
+ content: "";
551
+ position: absolute;
552
+ width: 600px;
553
+ height: 600px;
554
+ background-color: rgba(54, 24, 79, 0.3);
555
+ border-radius: 100%;
556
+ box-shadow: inset 5px 20px 40px rgba(54, 24, 79, 0.25), inset 5px 0px 5px rgba(50, 36, 62, 0.3), inset 5px 5px 20px rgba(50, 36, 62, 0.25), 2px 2px 5px rgba(255, 255, 255, 0.2);
557
+ animation: circle 0.8s 0.4s cubic-bezier(1, 0.06, 0.25, 1) backwards;
558
+ }
559
+ @media screen and (max-width: 799px) {
560
+ .wrapper .container .one .content:before {
561
+ width: 300px;
562
+ height: 300px;
563
+ }
564
+ }
565
+ .wrapper .container .one .content .piece {
566
+ background: linear-gradient(90deg, #8077EA 13.7%, #EB73FF 94.65%);
567
+ }
568
+ .wrapper .container .one .content .piece:nth-child(1) {
569
+ right: 15%;
570
+ top: 18%;
571
+ height: 30px;
572
+ width: 120px;
573
+ animation-delay: 0.5s;
574
+ animation-name: pieceRight;
575
+ }
576
+ .wrapper .container .one .content .piece:nth-child(2) {
577
+ left: 15%;
578
+ top: 45%;
579
+ width: 150px;
580
+ height: 50px;
581
+ animation-delay: 1s;
582
+ animation-name: pieceLeft;
583
+ }
584
+ .wrapper .container .one .content .piece:nth-child(3) {
585
+ left: 10%;
586
+ top: 75%;
587
+ height: 20px;
588
+ width: 70px;
589
+ animation-delay: 1.5s;
590
+ animation-name: pieceLeft;
591
+ }
592
+ .wrapper .container .two .content .piece {
593
+ background: linear-gradient(90deg, #FFEDC0 0%, #FF9D87 100%);
594
+ }
595
+ .wrapper .container .two .content .piece:nth-child(1) {
596
+ left: 0%;
597
+ top: 25%;
598
+ height: 40px;
599
+ width: 120px;
600
+ animation-delay: 2s;
601
+ animation-name: pieceLeft;
602
+ }
603
+ .wrapper .container .two .content .piece:nth-child(2) {
604
+ right: 15%;
605
+ top: 35%;
606
+ width: 180px;
607
+ height: 50px;
608
+ animation-delay: 2.5s;
609
+ animation-name: pieceRight;
610
+ }
611
+ .wrapper .container .two .content .piece:nth-child(3) {
612
+ right: 10%;
613
+ top: 80%;
614
+ height: 20px;
615
+ width: 160px;
616
+ animation-delay: 3s;
617
+ animation-name: pieceRight;
618
+ }
619
+ .wrapper .container .three .content .piece {
620
+ background: #FB8A8A;
621
+ }
622
+ .wrapper .container .three .content .piece:nth-child(1) {
623
+ left: 25%;
624
+ top: 35%;
625
+ height: 20px;
626
+ width: 80px;
627
+ animation-name: pieceLeft;
628
+ animation-delay: 3.5s;
629
+ }
630
+ .wrapper .container .three .content .piece:nth-child(2) {
631
+ right: 10%;
632
+ top: 55%;
633
+ width: 140px;
634
+ height: 40px;
635
+ animation-name: pieceRight;
636
+ animation-delay: 4s;
637
+ }
638
+ .wrapper .container .three .content .piece:nth-child(3) {
639
+ left: 40%;
640
+ top: 68%;
641
+ height: 20px;
642
+ width: 80px;
643
+ animation-name: pieceLeft;
644
+ animation-delay: 4.5s;
645
+ }
646
+ </style>
647
+
648
+
649
+ <script src="https://cpwebassets.codepen.io/assets/common/stopExecutionOnTimeout-2c7831bb44f98c1391d6a4ffda0e1fd302503391ca806e7fcc7b9b87197aec26.js"></script>
650
+ <script src="https://cpwebassets.codepen.io/assets/editor/iframe/iframeConsoleRunner-6d8bf8b4b479137260842506acbb12717dace0823c023e08b96360e60b0840d9.js"></script>
651
+ <script src="https://cpwebassets.codepen.io/assets/editor/iframe/iframeRefreshCSS-44fe83e49b63affec96918c9af88c0d80b209a862cf87ac46bc933074b8c557d.js"></script>
652
+ <script src="https://cpwebassets.codepen.io/assets/editor/iframe/iframeRuntimeErrors-4f205f2c14e769b448bcf477de2938c681660d5038bc464e3700256713ebe261.js"></script>
653
  </head>
654
 
655
  <body>
656
+ <!-- about -->
657
+ <div class="about">
658
+ <a class="bg_links social portfolio" href="https://www.hf.co" target="_blank">
659
+ <span class="icon"></span>
660
+ </a>
661
+ <a class="bg_links social dribbble" href="https://dribbble.com" target="_blank">
662
+ <span class="icon"></span>
663
+ </a>
664
+ <a class="bg_links social linkedin" href="https://www.linkedin.com/" target="_blank">
665
+ <span class="icon"></span>
666
+ </a>
667
+ <a class="bg_links logo"></a>
668
+ </div>
669
+ <!-- end about -->
670
+
671
+ &lt;
672
+ <section class="wrapper">
673
+
674
+ <div class="container">
675
+
676
+ <div id="scene" class="scene" data-hover-only="false" style="transform: translate3d(0px, 0px, 0px) rotate(0.0001deg); transform-style: preserve-3d; backface-visibility: hidden; pointer-events: none;">
677
+
678
+
679
+ <div class="circle" data-depth="1.2" style="transform: translate3d(-99.4px, 42.6px, 0px); transform-style: preserve-3d; backface-visibility: hidden; position: relative; display: block; left: 0px; top: 0px;"></div>
680
+
681
+ <div class="one" data-depth="0.9" style="transform: translate3d(-74.5px, 32px, 0px); transform-style: preserve-3d; backface-visibility: hidden; position: absolute; display: block; left: 0px; top: 0px;">
682
+ <div class="content">
683
+ <span class="piece"></span>
684
+ <span class="piece"></span>
685
+ <span class="piece"></span>
686
+ </div>
687
+ </div>
688
+
689
+ <div class="two" data-depth="0.60" style="transform: translate3d(-49.7px, 21.3px, 0px); transform-style: preserve-3d; backface-visibility: hidden; position: absolute; display: block; left: 0px; top: 0px;">
690
+ <div class="content">
691
+ <span class="piece"></span>
692
+ <span class="piece"></span>
693
+ <span class="piece"></span>
694
+ </div>
695
+ </div>
696
+
697
+ <div class="three" data-depth="0.40" style="transform: translate3d(-33.1px, 14.2px, 0px); transform-style: preserve-3d; backface-visibility: hidden; position: absolute; display: block; left: 0px; top: 0px;">
698
+ <div class="content">
699
+ <span class="piece"></span>
700
+ <span class="piece"></span>
701
+ <span class="piece"></span>
702
+ </div>
703
+ </div>
704
+
705
+ <p class="p404" data-depth="0.50" style="transform: translate3d(-41.4px, 17.8px, 0px); transform-style: preserve-3d; backface-visibility: hidden; position: absolute; display: block; left: 0px; top: 0px;">404</p>
706
+ <p class="p404" data-depth="0.10" style="transform: translate3d(-8.3px, 3.6px, 0px); transform-style: preserve-3d; backface-visibility: hidden; position: absolute; display: block; left: 0px; top: 0px;">404</p>
707
+
708
+ </div>
709
+
710
+ <div class="text">
711
+ <article>
712
+ <p>Uh oh! Looks like you got lost. <br>Go try to find another resource, please.</p>
713
+
714
+ </article>
715
+ </div>
716
+
717
+ </div>
718
+ </section>
719
+
720
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/parallax/3.1.0/parallax.min.js"></script>
721
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
722
+ <script>// Parallax Code
723
+ var scene = document.getElementById('scene');
724
+ var parallax = new Parallax(scene);</script>
725
+
726
+
727
+ </body></html>