ai-icon-animation-style.module.css1121 lines · main
1/*
2* STEP ONE
3*/
4
5@keyframes step1_square1 {
6 0% {
7 transform: rotate(45deg);
8 top: 8px;
9 left: 8px;
10 width: 8px;
11 height: 8px;
12 border-radius: 100%;
13 }
14
15 100% {
16 transform: rotate(0deg);
17 top: 0px;
18 left: 0px;
19 width: 16px;
20 height: 16px;
21 border-radius: 0%;
22 }
23}
24
25@keyframes step1_square2 {
26 0% {
27 transform: rotate(45deg);
28 top: 8px;
29 left: 8px;
30 width: 8px;
31 height: 8px;
32 border-radius: 100%;
33 }
34
35 100% {
36 transform: rotate(0deg);
37 top: 0px;
38 left: 8px;
39 width: 16px;
40 height: 16px;
41 border-radius: 0%;
42 }
43}
44
45@keyframes step1_square3 {
46 0% {
47 transform: rotate(45deg);
48 top: 8px;
49 left: 8px;
50 width: 8px;
51 height: 8px;
52 border-radius: 100%;
53 }
54
55 100% {
56 transform: rotate(0deg);
57 top: 8px;
58 left: 0px;
59 width: 16px;
60 height: 16px;
61 border-radius: 0%;
62 }
63}
64
65@keyframes step1_square4 {
66 0% {
67 transform: rotate(45deg);
68 top: 8px;
69 left: 8px;
70 width: 8px;
71 height: 8px;
72 border-radius: 100%;
73 }
74
75 100% {
76 transform: rotate(0deg);
77 top: 8px;
78 left: 8px;
79 width: 16px;
80 height: 16px;
81 border-radius: 0%;
82 }
83}
84
85/*
86* STEP TWO
87*/
88
89@keyframes step2_square1 {
90 0% {
91 transform: rotate(0deg);
92 top: 0px;
93 left: 0px;
94 width: 16px;
95 height: 16px;
96 border-radius: 0%;
97 }
98 100% {
99 transform: rotate(45deg);
100 top: 1px;
101 left: 1px;
102 width: 8px;
103 height: 8px;
104 border-radius: 0%;
105 }
106}
107
108@keyframes step2_square2 {
109 0% {
110 transform: rotate(0deg);
111 top: 0px;
112 left: 8px;
113 width: 16px;
114 height: 16px;
115 border-radius: 0%;
116 }
117 100% {
118 transform: rotate(45deg);
119 top: 1px;
120 left: 15px;
121 width: 8px;
122 height: 8px;
123 border-radius: 0%;
124 }
125}
126
127@keyframes step2_square3 {
128 0% {
129 transform: rotate(0deg);
130 top: 8px;
131 left: 0px;
132 width: 16px;
133 height: 16px;
134 border-radius: 0%;
135 }
136 100% {
137 transform: rotate(45deg);
138 top: 15px;
139 left: 1px;
140 width: 8px;
141 height: 8px;
142 border-radius: 0%;
143 }
144}
145
146@keyframes step2_square4 {
147 0% {
148 transform: rotate(0deg);
149 top: 8px;
150 left: 8px;
151 width: 16px;
152 height: 16px;
153 border-radius: 0%;
154 }
155 100% {
156 transform: rotate(45deg);
157 top: 15px;
158 left: 15px;
159 width: 8px;
160 height: 8px;
161 border-radius: 0%;
162 }
163}
164
165/*
166* STEP THREE
167*/
168
169@keyframes step3_square1 {
170 0% {
171 transform: rotate(45deg);
172 top: 0px;
173 left: 0px;
174 width: 8px;
175 height: 8px;
176 border-radius: 0%;
177 }
178 100% {
179 transform: rotate(0deg);
180 top: 0px;
181 left: 0px;
182 width: 6px;
183 height: 6px;
184 border-radius: 100%;
185 }
186}
187
188@keyframes step3_square2 {
189 0% {
190 transform: rotate(45deg);
191 top: 0px;
192 left: 16px;
193 width: 8px;
194 height: 8px;
195 border-radius: 0%;
196 }
197 100% {
198 transform: rotate(0deg);
199 top: 0px;
200 left: 18px;
201 width: 6px;
202 height: 6px;
203 border-radius: 100%;
204 }
205}
206
207@keyframes step3_square3 {
208 0% {
209 transform: rotate(45deg);
210 top: 16px;
211 left: 0px;
212 width: 8px;
213 height: 8px;
214 border-radius: 0%;
215 }
216 100% {
217 transform: rotate(0deg);
218 top: 18px;
219 left: 0px;
220 width: 6px;
221 height: 6px;
222 border-radius: 100%;
223 }
224}
225
226@keyframes step3_square4 {
227 0% {
228 transform: rotate(45deg);
229 top: 16px;
230 left: 16px;
231 width: 8px;
232 height: 8px;
233 border-radius: 0%;
234 }
235 100% {
236 transform: rotate(0deg);
237 top: 18px;
238 left: 18px;
239 width: 6px;
240 height: 6px;
241 border-radius: 100%;
242 }
243}
244
245/*
246* STEP FOUR
247*/
248
249@keyframes step4_square1 {
250 0% {
251 transform: rotate(0deg);
252 top: 0px;
253 left: 0px;
254 width: 6px;
255 height: 6px;
256 border-radius: 100%;
257 }
258 100% {
259 transform: rotate(0deg);
260 top: 0px;
261 left: 8px;
262 width: 8px;
263 height: 8px;
264 border-radius: 100%;
265 }
266}
267
268@keyframes step4_square2 {
269 0% {
270 transform: rotate(0deg);
271 top: 0px;
272 left: 18px;
273 width: 6px;
274 height: 6px;
275 border-radius: 100%;
276 }
277 100% {
278 transform: rotate(0deg);
279 top: 8px;
280 left: 16px;
281 width: 8px;
282 height: 8px;
283 border-radius: 100%;
284 }
285}
286
287@keyframes step4_square3 {
288 0% {
289 transform: rotate(0deg);
290 top: 18px;
291 left: 0px;
292 width: 6px;
293 height: 6px;
294 border-radius: 100%;
295 }
296 100% {
297 transform: rotate(0deg);
298 top: 8px;
299 left: 0px;
300 width: 8px;
301 height: 8px;
302 border-radius: 100%;
303 }
304}
305
306@keyframes step4_square4 {
307 0% {
308 transform: rotate(0deg);
309 top: 18px;
310 left: 18px;
311 width: 6px;
312 height: 6px;
313 border-radius: 100%;
314 }
315 100% {
316 transform: rotate(0deg);
317 top: 16px;
318 left: 8px;
319 width: 8px;
320 height: 8px;
321 border-radius: 100%;
322 }
323}
324
325/* STEP FIVE */
326
327@keyframes step5_square1 {
328 0% {
329 transform: rotate(0deg);
330 top: 0px;
331 left: 8px;
332 width: 8px;
333 height: 8px;
334 border-radius: 100%;
335 }
336 100% {
337 transform: rotate(45deg);
338 top: 8px;
339 left: 8px;
340 width: 8px;
341 height: 8px;
342 border-radius: 100%;
343 }
344}
345
346@keyframes step5_square2 {
347 0% {
348 transform: rotate(0deg);
349 top: 8px;
350 left: 16px;
351 width: 8px;
352 height: 8px;
353 border-radius: 100%;
354 }
355 100% {
356 transform: rotate(45deg);
357 top: 8px;
358 left: 8px;
359 width: 8px;
360 height: 8px;
361 border-radius: 100%;
362 }
363}
364
365@keyframes step5_square3 {
366 0% {
367 transform: rotate(0deg);
368 top: 8px;
369 left: 0px;
370 width: 8px;
371 height: 8px;
372 border-radius: 100%;
373 }
374 100% {
375 transform: rotate(45deg);
376 top: 8px;
377 left: 8px;
378 width: 8px;
379 height: 8px;
380 border-radius: 100%;
381 }
382}
383
384@keyframes step5_square4 {
385 0% {
386 transform: rotate(0deg);
387 top: 16px;
388 left: 8px;
389 width: 8px;
390 height: 8px;
391 border-radius: 100%;
392 }
393 100% {
394 transform: rotate(45deg);
395 top: 8px;
396 left: 8px;
397 width: 8px;
398 height: 8px;
399 border-radius: 100%;
400 }
401}
402
403@keyframes spinAiIconContainer {
404 0% {
405 transform: rotate(0deg);
406 }
407 40% {
408 transform: rotate(-45deg);
409 }
410 80% {
411 transform: rotate(90deg);
412 }
413 /* 80% {
414 transform: rotate(90deg);
415 } */
416 100% {
417 transform: rotate(90deg);
418 }
419}
420
421.spin-ai-icon-container {
422 width: 100%;
423 height: 100%;
424 /*
425
426 please note
427
428 the duration is the setInterval in the component useEffect multiplied by 5
429 this is due having 5 steps in animation sequence
430
431 So if the setInterval is 800ms then the duration below should be is 4000ms
432
433 */
434 animation: spinAiIconContainer 2500ms infinite;
435 animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
436}
437
438.ai-icon__container {
439 width: 24px;
440 height: 24px;
441 /* background: red; */
442}
443
444.ai-icon__grid {
445 position: relative;
446 width: 24px;
447 height: 24px;
448}
449
450.ai-icon__grid__square {
451 position: absolute;
452 transition: all 0.2s;
453 border: 1px solid hsl(var(--brand-default));
454}
455
456.ai-icon__grid__square--static:nth-child(1) {
457 transform: rotate(45deg);
458 top: 4px;
459 left: 4px;
460 width: 16px;
461 height: 16px;
462 border-radius: 0%;
463}
464.ai-icon__grid__square--static:nth-child(2) {
465 transform: rotate(45deg);
466 top: 8px;
467 left: 8px;
468 width: 8px;
469 height: 8px;
470 border-radius: 100%;
471}
472.ai-icon__grid__square--static:nth-child(3) {
473 transform: rotate(45deg);
474 top: 8px;
475 left: 8px;
476 width: 8px;
477 height: 8px;
478 border-radius: 100%;
479}
480.ai-icon__grid__square--static:nth-child(4) {
481 transform: rotate(45deg);
482 top: 8px;
483 left: 8px;
484 width: 8px;
485 height: 8px;
486 border-radius: 100%;
487}
488
489.ai-icon__container--allow-hover-effect:hover .ai-icon__grid__square--static:nth-child(1),
490[data-selected='true'] .ai-icon__grid__square--static:nth-child(1) {
491 transform: rotate(45deg);
492 top: 8px;
493 left: 8px;
494 width: 8px;
495 height: 8px;
496 border-radius: 0%;
497}
498
499.ai-icon__container--allow-hover-effect:hover .ai-icon__grid__square--static:nth-child(2),
500[data-selected='true'] .ai-icon__grid__square--static:nth-child(2) {
501 transform: rotate(45deg);
502 top: 0;
503 left: 0;
504 width: 24px;
505 height: 24px;
506 border-radius: 100%;
507}
508
509.ai-icon__container--allow-hover-effect:hover .ai-icon__grid__square--static:nth-child(3),
510[data-selected='true'] .ai-icon__grid__square--static:nth-child(3) {
511 transform: rotate(45deg);
512 top: 0;
513 left: 0;
514 width: 24px;
515 height: 24px;
516 border-radius: 100%;
517}
518
519.ai-icon__container--allow-hover-effect:hover .ai-icon__grid__square--static:nth-child(4),
520[data-selected='true'] .ai-icon__grid__square--static:nth-child(4) {
521 transform: rotate(45deg);
522 top: 0;
523 left: 0;
524 width: 24px;
525 height: 24px;
526 border-radius: 100%;
527}
528
529.ai-icon__grid__square--step-1:nth-child(1) {
530 animation: step1_square1 0.4s forwards;
531 animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
532 /* animation-delay: 0; */
533}
534.ai-icon__grid__square--step-1:nth-child(2) {
535 animation: step1_square2 0.4s forwards;
536 animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
537 /* animation-delay: 200ms; */
538}
539.ai-icon__grid__square--step-1:nth-child(3) {
540 animation: step1_square3 0.4s forwards;
541 animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
542 /* animation-delay: 400ms; */
543}
544.ai-icon__grid__square--step-1:nth-child(4) {
545 animation: step1_square4 0.4s forwards;
546 animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
547 /* animation-delay: 600ms; */
548}
549
550.ai-icon__grid__square--step-2:nth-child(1) {
551 animation-delay: 200;
552 animation: step2_square1 0.4s forwards;
553 animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
554}
555.ai-icon__grid__square--step-2:nth-child(2) {
556 animation-delay: 400ms;
557 animation: step2_square2 0.4s forwards;
558 animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
559}
560.ai-icon__grid__square--step-2:nth-child(3) {
561 animation-delay: 600ms;
562 animation: step2_square3 0.4s forwards;
563 animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
564}
565.ai-icon__grid__square--step-2:nth-child(4) {
566 animation-delay: 800ms;
567 animation: step2_square4 0.4s forwards;
568 animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
569}
570
571.ai-icon__grid__square--step-3:nth-child(1) {
572 animation: step3_square1 0.4s forwards;
573 animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
574}
575.ai-icon__grid__square--step-3:nth-child(2) {
576 animation: step3_square2 0.4s forwards;
577 animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
578}
579.ai-icon__grid__square--step-3:nth-child(3) {
580 animation: step3_square3 0.4s forwards;
581 animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
582}
583.ai-icon__grid__square--step-3:nth-child(4) {
584 animation: step3_square4 0.4s forwards;
585 animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
586}
587
588.ai-icon__grid__square--step-4:nth-child(1) {
589 animation: step4_square1 0.4s forwards;
590 /* animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1); */
591 animation-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);
592}
593.ai-icon__grid__square--step-4:nth-child(2) {
594 animation: step4_square2 0.4s forwards;
595 /* animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1); */
596 animation-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);
597}
598.ai-icon__grid__square--step-4:nth-child(3) {
599 animation: step4_square3 0.4s forwards;
600 /* animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1); */
601 animation-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);
602}
603.ai-icon__grid__square--step-4:nth-child(4) {
604 animation: step4_square4 0.4s forwards;
605 /* animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1); */
606 animation-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);
607}
608
609.ai-icon__grid__square--step-5:nth-child(1) {
610 animation: step5_square1 0.4s forwards;
611 animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
612}
613.ai-icon__grid__square--step-5:nth-child(2) {
614 animation: step5_square2 0.4s forwards;
615 animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
616}
617.ai-icon__grid__square--step-5:nth-child(3) {
618 animation: step5_square3 0.4s forwards;
619 animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
620}
621.ai-icon__grid__square--step-5:nth-child(4) {
622 animation: step5_square4 0.4s forwards;
623 animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
624}
625
626/* EXIT ANIMATIONS */
627
628/*
629* STEP ONE
630*/
631
632@keyframes exit_step1_square1 {
633 0% {
634 transform: rotate(0deg);
635 top: 0px;
636 left: 0px;
637 width: 16px;
638 height: 16px;
639 border-radius: 0%;
640 }
641 100% {
642 transform: rotate(45deg);
643 top: 4px;
644 left: 4px;
645 width: 16px;
646 height: 16px;
647 border-radius: 0%;
648 }
649}
650
651@keyframes exit_step1_square2 {
652 0% {
653 transform: rotate(0deg);
654 top: 0px;
655 left: 8px;
656 width: 16px;
657 height: 16px;
658 border-radius: 0%;
659 }
660 100% {
661 transform: rotate(45deg);
662 top: 8px;
663 left: 8px;
664 width: 8px;
665 height: 8px;
666 border-radius: 100%;
667 }
668}
669
670@keyframes exit_step1_square3 {
671 0% {
672 transform: rotate(0deg);
673 top: 8px;
674 left: 0px;
675 width: 16px;
676 height: 16px;
677 border-radius: 0%;
678 }
679 100% {
680 transform: rotate(45deg);
681 top: 8px;
682 left: 8px;
683 width: 8px;
684 height: 8px;
685 border-radius: 100%;
686 }
687}
688
689@keyframes exit_step1_square4 {
690 0% {
691 transform: rotate(0deg);
692 top: 8px;
693 left: 8px;
694 width: 16px;
695 height: 16px;
696 border-radius: 0%;
697 }
698 100% {
699 transform: rotate(45deg);
700 top: 8px;
701 left: 8px;
702 width: 8px;
703 height: 8px;
704 border-radius: 100%;
705 }
706}
707
708/*
709* STEP TWO
710*/
711
712@keyframes exit_step2_square1 {
713 0% {
714 transform: rotate(45deg);
715 top: 1px;
716 left: 1px;
717 width: 8px;
718 height: 8px;
719 border-radius: 0%;
720 }
721 100% {
722 transform: rotate(45deg);
723 top: 4px;
724 left: 4px;
725 width: 16px;
726 height: 16px;
727 border-radius: 0%;
728 }
729}
730
731@keyframes exit_step2_square2 {
732 0% {
733 transform: rotate(45deg);
734 top: 1px;
735 left: 15px;
736 width: 8px;
737 height: 8px;
738 border-radius: 0%;
739 }
740 100% {
741 transform: rotate(45deg);
742 top: 8px;
743 left: 8px;
744 width: 8px;
745 height: 8px;
746 border-radius: 100%;
747 }
748}
749
750@keyframes exit_step2_square3 {
751 0% {
752 transform: rotate(45deg);
753 top: 15px;
754 left: 1px;
755 width: 8px;
756 height: 8px;
757 border-radius: 0%;
758 }
759 100% {
760 transform: rotate(45deg);
761 top: 8px;
762 left: 8px;
763 width: 8px;
764 height: 8px;
765 border-radius: 100%;
766 }
767}
768
769@keyframes exit_step2_square4 {
770 0% {
771 transform: rotate(45deg);
772 top: 15px;
773 left: 15px;
774 width: 8px;
775 height: 8px;
776 border-radius: 0%;
777 }
778 100% {
779 transform: rotate(45deg);
780 top: 8px;
781 left: 8px;
782 width: 8px;
783 height: 8px;
784 border-radius: 100%;
785 }
786}
787
788/*
789* STEP THREE
790*/
791
792@keyframes exit_step3_square1 {
793 0% {
794 transform: rotate(0deg);
795 top: 0px;
796 left: 0px;
797 width: 6px;
798 height: 6px;
799 border-radius: 100%;
800 }
801 100% {
802 transform: rotate(45deg);
803 top: 4px;
804 left: 4px;
805 width: 16px;
806 height: 16px;
807 border-radius: 0%;
808 }
809}
810
811@keyframes exit_step3_square2 {
812 0% {
813 transform: rotate(0deg);
814 top: 0px;
815 left: 18px;
816 width: 6px;
817 height: 6px;
818 border-radius: 100%;
819 }
820 100% {
821 transform: rotate(45deg);
822 top: 8px;
823 left: 8px;
824 width: 8px;
825 height: 8px;
826 border-radius: 100%;
827 }
828}
829
830@keyframes exit_step3_square3 {
831 0% {
832 transform: rotate(0deg);
833 top: 18px;
834 left: 0px;
835 width: 6px;
836 height: 6px;
837 border-radius: 100%;
838 }
839 100% {
840 transform: rotate(45deg);
841 top: 8px;
842 left: 8px;
843 width: 8px;
844 height: 8px;
845 border-radius: 100%;
846 }
847}
848
849@keyframes exit_step3_square4 {
850 0% {
851 transform: rotate(0deg);
852 top: 18px;
853 left: 18px;
854 width: 6px;
855 height: 6px;
856 border-radius: 100%;
857 }
858 100% {
859 transform: rotate(45deg);
860 top: 8px;
861 left: 8px;
862 width: 8px;
863 height: 8px;
864 border-radius: 100%;
865 }
866}
867
868/*
869* STEP FOUR
870*/
871
872@keyframes exit_step4_square1 {
873 0% {
874 transform: rotate(0deg);
875 top: 0px;
876 left: 8px;
877 width: 8px;
878 height: 8px;
879 border-radius: 100%;
880 }
881 100% {
882 transform: rotate(45deg);
883 top: 4px;
884 left: 4px;
885 width: 16px;
886 height: 16px;
887 border-radius: 0%;
888 }
889}
890
891@keyframes exit_step4_square2 {
892 0% {
893 transform: rotate(0deg);
894 top: 8px;
895 left: 16px;
896 width: 8px;
897 height: 8px;
898 border-radius: 100%;
899 }
900 100% {
901 transform: rotate(45deg);
902 top: 8px;
903 left: 8px;
904 width: 8px;
905 height: 8px;
906 border-radius: 100%;
907 }
908}
909
910@keyframes exit_step4_square3 {
911 0% {
912 transform: rotate(0deg);
913 top: 8px;
914 left: 0px;
915 width: 8px;
916 height: 8px;
917 border-radius: 100%;
918 }
919 100% {
920 transform: rotate(45deg);
921 top: 8px;
922 left: 8px;
923 width: 8px;
924 height: 8px;
925 border-radius: 100%;
926 }
927}
928
929@keyframes exit_step4_square4 {
930 0% {
931 transform: rotate(0deg);
932 top: 16px;
933 left: 8px;
934 width: 8px;
935 height: 8px;
936 border-radius: 100%;
937 }
938 100% {
939 transform: rotate(45deg);
940 top: 8px;
941 left: 8px;
942 width: 8px;
943 height: 8px;
944 border-radius: 100%;
945 }
946}
947
948/* STEP FIVE */
949
950@keyframes exit_step5_square1 {
951 0% {
952 transform: rotate(45deg);
953 top: 8px;
954 left: 8px;
955 width: 8px;
956 height: 8px;
957 border-radius: 100%;
958 }
959 100% {
960 transform: rotate(45deg);
961 top: 4px;
962 left: 4px;
963 width: 16px;
964 height: 16px;
965 border-radius: 0%;
966 }
967}
968
969@keyframes exit_step5_square2 {
970 0% {
971 transform: rotate(45deg);
972 top: 8px;
973 left: 8px;
974 width: 8px;
975 height: 8px;
976 border-radius: 100%;
977 }
978 100% {
979 transform: rotate(45deg);
980 top: 8px;
981 left: 8px;
982 width: 8px;
983 height: 8px;
984 border-radius: 100%;
985 }
986}
987
988@keyframes exit_step5_square3 {
989 0% {
990 transform: rotate(45deg);
991 top: 8px;
992 left: 8px;
993 width: 8px;
994 height: 8px;
995 border-radius: 100%;
996 }
997 100% {
998 transform: rotate(45deg);
999 top: 8px;
1000 left: 8px;
1001 width: 8px;
1002 height: 8px;
1003 border-radius: 100%;
1004 }
1005}
1006
1007@keyframes exit_step5_square4 {
1008 0% {
1009 transform: rotate(45deg);
1010 top: 8px;
1011 left: 8px;
1012 width: 8px;
1013 height: 8px;
1014 border-radius: 100%;
1015 }
1016 100% {
1017 transform: rotate(45deg);
1018 top: 8px;
1019 left: 8px;
1020 width: 8px;
1021 height: 8px;
1022 border-radius: 100%;
1023 }
1024}
1025
1026.ai-icon__grid__square--exiting--step-1:nth-child(1) {
1027 animation: exit_step1_square1 0.5s forwards;
1028 animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
1029 /* animation-delay: 0; */
1030}
1031.ai-icon__grid__square--exiting--step-1:nth-child(2) {
1032 animation: exit_step1_square2 0.5s forwards;
1033 animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
1034 /* animation-delay: 200ms; */
1035}
1036.ai-icon__grid__square--exiting--step-1:nth-child(3) {
1037 animation: exit_step1_square3 0.5s forwards;
1038 animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
1039 /* animation-delay: 400ms; */
1040}
1041.ai-icon__grid__square--exiting--step-1:nth-child(4) {
1042 animation: exit_step1_square4 0.5s forwards;
1043 animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
1044 /* animation-delay: 600ms; */
1045}
1046
1047.ai-icon__grid__square--exiting--step-2:nth-child(1) {
1048 animation-delay: exit_ 200;
1049 animation: exit_step2_square1 0.5s forwards;
1050 animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
1051}
1052.ai-icon__grid__square--exiting--step-2:nth-child(2) {
1053 animation-delay: exit_ 400ms;
1054 animation: exit_step2_square2 0.5s forwards;
1055 animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
1056}
1057.ai-icon__grid__square--exiting--step-2:nth-child(3) {
1058 animation-delay: exit_ 600ms;
1059 animation: exit_step2_square3 0.5s forwards;
1060 animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
1061}
1062.ai-icon__grid__square--exiting--step-2:nth-child(4) {
1063 animation-delay: exit_ 800ms;
1064 animation: exit_step2_square4 0.5s forwards;
1065 animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
1066}
1067
1068.ai-icon__grid__square--exiting--step-3:nth-child(1) {
1069 animation: exit_step3_square1 0.5s forwards;
1070 animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
1071}
1072.ai-icon__grid__square--exiting--step-3:nth-child(2) {
1073 animation: exit_step3_square2 0.5s forwards;
1074 animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
1075}
1076.ai-icon__grid__square--exiting--step-3:nth-child(3) {
1077 animation: exit_step3_square3 0.5s forwards;
1078 animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
1079}
1080.ai-icon__grid__square--exiting--step-3:nth-child(4) {
1081 animation: exit_step3_square4 0.5s forwards;
1082 animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
1083}
1084
1085.ai-icon__grid__square--exiting--step-4:nth-child(1) {
1086 animation: exit_step4_square1 0.5s forwards;
1087 /* animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1); */
1088 animation-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);
1089}
1090.ai-icon__grid__square--exiting--step-4:nth-child(2) {
1091 animation: exit_step4_square2 0.5s forwards;
1092 /* animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1); */
1093 animation-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);
1094}
1095.ai-icon__grid__square--exiting--step-4:nth-child(3) {
1096 animation: exit_step4_square3 0.5s forwards;
1097 /* animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1); */
1098 animation-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);
1099}
1100.ai-icon__grid__square--exiting--step-4:nth-child(4) {
1101 animation: exit_step4_square4 0.5s forwards;
1102 /* animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1); */
1103 animation-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);
1104}
1105
1106.ai-icon__grid__square--exiting--step-5:nth-child(1) {
1107 animation: exit_step5_square1 0.5s forwards;
1108 animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
1109}
1110.ai-icon__grid__square--exiting--step-5:nth-child(2) {
1111 animation: exit_step5_square2 0.5s forwards;
1112 animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
1113}
1114.ai-icon__grid__square--exiting--step-5:nth-child(3) {
1115 animation: exit_step5_square3 0.5s forwards;
1116 animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
1117}
1118.ai-icon__grid__square--exiting--step-5:nth-child(4) {
1119 animation: exit_step5_square4 0.5s forwards;
1120 animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
1121}