This example demonstrate the firefly animation in a forest night background. It is css only implementation.
Here is the example:
Example
<div class="stage">
<div class="firefly"></div>
<div class="firefly"></div>
<div class="firefly"></div>
<div class="firefly"></div>
<div class="firefly"></div>
<div class="firefly"></div>
<div class="firefly"></div>
<div class="firefly"></div>
<div class="firefly"></div>
<div class="firefly"></div>
<div class="firefly"></div>
<div class="firefly"></div>
<div class="firefly"></div>
<div class="firefly"></div>
<div class="firefly"></div>
</div>
<style>
.stage {
height: 500px;
width: 1000px;
background: url(https://i.pinimg.com/originals/44/6e/3b/446e3b79395a287ca32f7977dd83b290.jpg);
background-size: cover;
}
.firefly {
position: fixed;
left: 50%;
top: 50%;
width: 0.4vw;
height: 0.4vw;
margin: -0.2vw 0 0 9.8vw;
animation: ease 200s alternate infinite;
pointer-events: none;
}
.firefly::before, .firefly::after {
content: "";
position: absolute;
width: 100%;
height: 100%;
border-radius: 50%;
transform-origin: -10vw;
}
.firefly::before {
background: black;
opacity: 0.4;
animation: drift ease alternate infinite;
}
.firefly::after {
background: white;
opacity: 0;
box-shadow: 0 0 0vw 0vw yellow;
animation: drift ease alternate infinite, flash ease infinite;
}
.firefly:nth-child(1) {
animation-name: move1;
}
.firefly:nth-child(1)::before {
animation-duration: 15s;
}
.firefly:nth-child(1)::after {
animation-duration: 15s, 5217ms;
animation-delay: 0ms, 4262ms;
}
@keyframes move1 {
0% {
transform: translateX(30vw) translateY(8vh) scale(0.28);
}
3.5714285714% {
transform: translateX(-8vw) translateY(21vh) scale(0.93);
}
7.1428571429% {
transform: translateX(-8vw) translateY(-33vh) scale(0.67);
}
10.7142857143% {
transform: translateX(-3vw) translateY(-44vh) scale(0.62);
}
14.2857142857% {
transform: translateX(33vw) translateY(19vh) scale(0.83);
}
17.8571428571% {
transform: translateX(-5vw) translateY(1vh) scale(0.86);
}
21.4285714286% {
transform: translateX(-40vw) translateY(24vh) scale(0.46);
}
25% {
transform: translateX(-8vw) translateY(14vh) scale(0.92);
}
28.5714285714% {
transform: translateX(38vw) translateY(23vh) scale(0.47);
}
32.1428571429% {
transform: translateX(21vw) translateY(37vh) scale(1);
}
35.7142857143% {
transform: translateX(-8vw) translateY(-16vh) scale(0.5);
}
39.2857142857% {
transform: translateX(-23vw) translateY(30vh) scale(0.65);
}
42.8571428571% {
transform: translateX(1vw) translateY(42vh) scale(0.52);
}
46.4285714286% {
transform: translateX(30vw) translateY(-16vh) scale(0.47);
}
50% {
transform: translateX(21vw) translateY(24vh) scale(0.54);
}
53.5714285714% {
transform: translateX(-33vw) translateY(-30vh) scale(0.54);
}
57.1428571429% {
transform: translateX(-17vw) translateY(1vh) scale(0.42);
}
60.7142857143% {
transform: translateX(-26vw) translateY(-6vh) scale(0.32);
}
64.2857142857% {
transform: translateX(39vw) translateY(28vh) scale(0.87);
}
67.8571428571% {
transform: translateX(-6vw) translateY(-25vh) scale(0.55);
}
71.4285714286% {
transform: translateX(47vw) translateY(7vh) scale(0.96);
}
75% {
transform: translateX(33vw) translateY(0vh) scale(0.8);
}
78.5714285714% {
transform: translateX(-28vw) translateY(-45vh) scale(0.29);
}
82.1428571429% {
transform: translateX(-34vw) translateY(-14vh) scale(0.84);
}
85.7142857143% {
transform: translateX(14vw) translateY(-16vh) scale(0.55);
}
89.2857142857% {
transform: translateX(45vw) translateY(-36vh) scale(0.83);
}
92.8571428571% {
transform: translateX(-28vw) translateY(-25vh) scale(0.83);
}
96.4285714286% {
transform: translateX(38vw) translateY(23vh) scale(0.45);
}
100% {
transform: translateX(-14vw) translateY(-41vh) scale(0.73);
}
}
.firefly:nth-child(2) {
animation-name: move2;
}
.firefly:nth-child(2)::before {
animation-duration: 16s;
}
.firefly:nth-child(2)::after {
animation-duration: 16s, 8412ms;
animation-delay: 0ms, 2447ms;
}
@keyframes move2 {
0% {
transform: translateX(-47vw) translateY(-11vh) scale(0.42);
}
5% {
transform: translateX(-17vw) translateY(45vh) scale(0.95);
}
10% {
transform: translateX(-22vw) translateY(8vh) scale(0.5);
}
15% {
transform: translateX(40vw) translateY(-9vh) scale(0.37);
}
20% {
transform: translateX(12vw) translateY(6vh) scale(0.97);
}
25% {
transform: translateX(48vw) translateY(2vh) scale(0.35);
}
30% {
transform: translateX(-32vw) translateY(46vh) scale(0.26);
}
35% {
transform: translateX(-49vw) translateY(-5vh) scale(0.47);
}
40% {
transform: translateX(-43vw) translateY(37vh) scale(0.28);
}
45% {
transform: translateX(-4vw) translateY(25vh) scale(0.75);
}
50% {
transform: translateX(-47vw) translateY(-5vh) scale(0.48);
}
55% {
transform: translateX(-38vw) translateY(-28vh) scale(0.78);
}
60% {
transform: translateX(7vw) translateY(-47vh) scale(0.48);
}
65% {
transform: translateX(11vw) translateY(-30vh) scale(0.44);
}
70% {
transform: translateX(43vw) translateY(8vh) scale(0.8);
}
75% {
transform: translateX(43vw) translateY(29vh) scale(0.88);
}
80% {
transform: translateX(34vw) translateY(9vh) scale(0.51);
}
85% {
transform: translateX(-15vw) translateY(-29vh) scale(0.39);
}
90% {
transform: translateX(48vw) translateY(37vh) scale(0.38);
}
95% {
transform: translateX(-39vw) translateY(50vh) scale(0.84);
}
100% {
transform: translateX(11vw) translateY(11vh) scale(0.38);
}
}
.firefly:nth-child(3) {
animation-name: move3;
}
.firefly:nth-child(3)::before {
animation-duration: 18s;
}
.firefly:nth-child(3)::after {
animation-duration: 18s, 8641ms;
animation-delay: 0ms, 8215ms;
}
@keyframes move3 {
0% {
transform: translateX(2vw) translateY(42vh) scale(0.84);
}
5.5555555556% {
transform: translateX(-33vw) translateY(-40vh) scale(0.63);
}
11.1111111111% {
transform: translateX(-5vw) translateY(-40vh) scale(0.47);
}
16.6666666667% {
transform: translateX(41vw) translateY(12vh) scale(0.79);
}
22.2222222222% {
transform: translateX(-30vw) translateY(-14vh) scale(0.83);
}
27.7777777778% {
transform: translateX(-29vw) translateY(-28vh) scale(0.5);
}
33.3333333333% {
transform: translateX(-1vw) translateY(-34vh) scale(0.45);
}
38.8888888889% {
transform: translateX(-34vw) translateY(-31vh) scale(0.49);
}
44.4444444444% {
transform: translateX(1vw) translateY(22vh) scale(0.52);
}
50% {
transform: translateX(-13vw) translateY(-35vh) scale(0.67);
}
55.5555555556% {
transform: translateX(-24vw) translateY(40vh) scale(0.5);
}
61.1111111111% {
transform: translateX(-36vw) translateY(39vh) scale(0.99);
}
66.6666666667% {
transform: translateX(-8vw) translateY(-35vh) scale(0.54);
}
72.2222222222% {
transform: translateX(-7vw) translateY(-15vh) scale(0.81);
}
77.7777777778% {
transform: translateX(14vw) translateY(21vh) scale(0.92);
}
83.3333333333% {
transform: translateX(21vw) translateY(-14vh) scale(0.65);
}
88.8888888889% {
transform: translateX(2vw) translateY(36vh) scale(0.88);
}
94.4444444444% {
transform: translateX(30vw) translateY(-41vh) scale(0.26);
}
100% {
transform: translateX(-41vw) translateY(42vh) scale(0.62);
}
}
.firefly:nth-child(4) {
animation-name: move4;
}
.firefly:nth-child(4)::before {
animation-duration: 15s;
}
.firefly:nth-child(4)::after {
animation-duration: 15s, 6972ms;
animation-delay: 0ms, 2553ms;
}
@keyframes move4 {
0% {
transform: translateX(-46vw) translateY(-45vh) scale(0.42);
}
3.5714285714% {
transform: translateX(-43vw) translateY(-14vh) scale(0.52);
}
7.1428571429% {
transform: translateX(29vw) translateY(-17vh) scale(0.73);
}
10.7142857143% {
transform: translateX(46vw) translateY(41vh) scale(0.42);
}
14.2857142857% {
transform: translateX(31vw) translateY(7vh) scale(0.82);
}
17.8571428571% {
transform: translateX(-49vw) translateY(-6vh) scale(0.75);
}
21.4285714286% {
transform: translateX(-17vw) translateY(-25vh) scale(0.34);
}
25% {
transform: translateX(-20vw) translateY(13vh) scale(0.63);
}
28.5714285714% {
transform: translateX(-33vw) translateY(19vh) scale(0.43);
}
32.1428571429% {
transform: translateX(-47vw) translateY(-45vh) scale(0.34);
}
35.7142857143% {
transform: translateX(-23vw) translateY(0vh) scale(0.79);
}
39.2857142857% {
transform: translateX(-6vw) translateY(15vh) scale(0.47);
}
42.8571428571% {
transform: translateX(-2vw) translateY(6vh) scale(0.43);
}
46.4285714286% {
transform: translateX(34vw) translateY(-4vh) scale(0.88);
}
50% {
transform: translateX(25vw) translateY(6vh) scale(0.8);
}
53.5714285714% {
transform: translateX(-3vw) translateY(-1vh) scale(0.51);
}
57.1428571429% {
transform: translateX(33vw) translateY(32vh) scale(0.69);
}
60.7142857143% {
transform: translateX(-11vw) translateY(21vh) scale(0.54);
}
64.2857142857% {
transform: translateX(-31vw) translateY(-7vh) scale(0.79);
}
67.8571428571% {
transform: translateX(21vw) translateY(-19vh) scale(0.5);
}
71.4285714286% {
transform: translateX(48vw) translateY(-10vh) scale(0.56);
}
75% {
transform: translateX(0vw) translateY(18vh) scale(0.72);
}
78.5714285714% {
transform: translateX(-19vw) translateY(3vh) scale(0.96);
}
82.1428571429% {
transform: translateX(15vw) translateY(-45vh) scale(0.75);
}
85.7142857143% {
transform: translateX(-16vw) translateY(29vh) scale(0.62);
}
89.2857142857% {
transform: translateX(-11vw) translateY(16vh) scale(0.62);
}
92.8571428571% {
transform: translateX(-49vw) translateY(8vh) scale(0.49);
}
96.4285714286% {
transform: translateX(-19vw) translateY(32vh) scale(0.52);
}
100% {
transform: translateX(24vw) translateY(23vh) scale(0.79);
}
}
.firefly:nth-child(5) {
animation-name: move5;
}
.firefly:nth-child(5)::before {
animation-duration: 11s;
}
.firefly:nth-child(5)::after {
animation-duration: 11s, 5458ms;
animation-delay: 0ms, 4335ms;
}
@keyframes move5 {
0% {
transform: translateX(18vw) translateY(-35vh) scale(0.28);
}
4.347826087% {
transform: translateX(-19vw) translateY(-2vh) scale(0.73);
}
8.6956521739% {
transform: translateX(-11vw) translateY(-27vh) scale(0.5);
}
13.0434782609% {
transform: translateX(26vw) translateY(9vh) scale(0.99);
}
17.3913043478% {
transform: translateX(39vw) translateY(1vh) scale(0.93);
}
21.7391304348% {
transform: translateX(21vw) translateY(-35vh) scale(0.26);
}
26.0869565217% {
transform: translateX(-12vw) translateY(-9vh) scale(0.34);
}
30.4347826087% {
transform: translateX(41vw) translateY(-33vh) scale(0.27);
}
34.7826086957% {
transform: translateX(47vw) translateY(-32vh) scale(0.27);
}
39.1304347826% {
transform: translateX(-14vw) translateY(27vh) scale(0.51);
}
43.4782608696% {
transform: translateX(-9vw) translateY(-28vh) scale(0.7);
}
47.8260869565% {
transform: translateX(-33vw) translateY(-39vh) scale(0.94);
}
52.1739130435% {
transform: translateX(36vw) translateY(-21vh) scale(0.37);
}
56.5217391304% {
transform: translateX(42vw) translateY(-4vh) scale(0.9);
}
60.8695652174% {
transform: translateX(6vw) translateY(-10vh) scale(0.9);
}
65.2173913043% {
transform: translateX(44vw) translateY(7vh) scale(0.59);
}
69.5652173913% {
transform: translateX(-29vw) translateY(29vh) scale(0.4);
}
73.9130434783% {
transform: translateX(-40vw) translateY(-28vh) scale(0.87);
}
78.2608695652% {
transform: translateX(19vw) translateY(37vh) scale(0.55);
}
82.6086956522% {
transform: translateX(44vw) translateY(16vh) scale(0.47);
}
86.9565217391% {
transform: translateX(-41vw) translateY(2vh) scale(0.72);
}
91.3043478261% {
transform: translateX(5vw) translateY(-4vh) scale(0.28);
}
95.652173913% {
transform: translateX(32vw) translateY(-36vh) scale(0.57);
}
100% {
transform: translateX(-14vw) translateY(-45vh) scale(0.93);
}
}
.firefly:nth-child(6) {
animation-name: move6;
}
.firefly:nth-child(6)::before {
animation-duration: 16s;
}
.firefly:nth-child(6)::after {
animation-duration: 16s, 7840ms;
animation-delay: 0ms, 6613ms;
}
@keyframes move6 {
0% {
transform: translateX(24vw) translateY(-15vh) scale(0.81);
}
4.1666666667% {
transform: translateX(43vw) translateY(-28vh) scale(0.36);
}
8.3333333333% {
transform: translateX(22vw) translateY(-20vh) scale(0.76);
}
12.5% {
transform: translateX(-4vw) translateY(6vh) scale(0.84);
}
16.6666666667% {
transform: translateX(32vw) translateY(22vh) scale(0.38);
}
20.8333333333% {
transform: translateX(36vw) translateY(-24vh) scale(0.78);
}
25% {
transform: translateX(-1vw) translateY(-25vh) scale(0.95);
}
29.1666666667% {
transform: translateX(25vw) translateY(-37vh) scale(0.9);
}
33.3333333333% {
transform: translateX(17vw) translateY(-13vh) scale(0.84);
}
37.5% {
transform: translateX(45vw) translateY(14vh) scale(0.69);
}
41.6666666667% {
transform: translateX(-46vw) translateY(28vh) scale(0.82);
}
45.8333333333% {
transform: translateX(-23vw) translateY(34vh) scale(0.37);
}
50% {
transform: translateX(-8vw) translateY(33vh) scale(0.98);
}
54.1666666667% {
transform: translateX(-14vw) translateY(-46vh) scale(0.38);
}
58.3333333333% {
transform: translateX(12vw) translateY(0vh) scale(0.95);
}
62.5% {
transform: translateX(43vw) translateY(44vh) scale(0.52);
}
66.6666666667% {
transform: translateX(-30vw) translateY(-41vh) scale(0.96);
}
70.8333333333% {
transform: translateX(-31vw) translateY(4vh) scale(0.38);
}
75% {
transform: translateX(4vw) translateY(-40vh) scale(0.63);
}
79.1666666667% {
transform: translateX(-18vw) translateY(-44vh) scale(0.55);
}
83.3333333333% {
transform: translateX(8vw) translateY(-38vh) scale(0.65);
}
87.5% {
transform: translateX(-17vw) translateY(-25vh) scale(0.76);
}
91.6666666667% {
transform: translateX(9vw) translateY(-6vh) scale(0.65);
}
95.8333333333% {
transform: translateX(0vw) translateY(18vh) scale(1);
}
100% {
transform: translateX(11vw) translateY(-42vh) scale(0.31);
}
}
.firefly:nth-child(7) {
animation-name: move7;
}
.firefly:nth-child(7)::before {
animation-duration: 14s;
}
.firefly:nth-child(7)::after {
animation-duration: 14s, 9418ms;
animation-delay: 0ms, 4609ms;
}
@keyframes move7 {
0% {
transform: translateX(15vw) translateY(-41vh) scale(0.32);
}
4.5454545455% {
transform: translateX(29vw) translateY(-38vh) scale(0.36);
}
9.0909090909% {
transform: translateX(21vw) translateY(-26vh) scale(0.45);
}
13.6363636364% {
transform: translateX(-45vw) translateY(44vh) scale(0.52);
}
18.1818181818% {
transform: translateX(20vw) translateY(-12vh) scale(0.5);
}
22.7272727273% {
transform: translateX(31vw) translateY(-3vh) scale(0.26);
}
27.2727272727% {
transform: translateX(-46vw) translateY(-37vh) scale(0.95);
}
31.8181818182% {
transform: translateX(49vw) translateY(17vh) scale(0.64);
}
36.3636363636% {
transform: translateX(40vw) translateY(-16vh) scale(0.53);
}
40.9090909091% {
transform: translateX(-23vw) translateY(-49vh) scale(0.58);
}
45.4545454545% {
transform: translateX(-36vw) translateY(-20vh) scale(0.45);
}
50% {
transform: translateX(4vw) translateY(-8vh) scale(0.88);
}
54.5454545455% {
transform: translateX(49vw) translateY(-43vh) scale(0.82);
}
59.0909090909% {
transform: translateX(-41vw) translateY(49vh) scale(0.97);
}
63.6363636364% {
transform: translateX(9vw) translateY(-35vh) scale(0.54);
}
68.1818181818% {
transform: translateX(-32vw) translateY(0vh) scale(0.59);
}
72.7272727273% {
transform: translateX(41vw) translateY(-48vh) scale(0.64);
}
77.2727272727% {
transform: translateX(-16vw) translateY(14vh) scale(0.58);
}
81.8181818182% {
transform: translateX(3vw) translateY(8vh) scale(0.75);
}
86.3636363636% {
transform: translateX(29vw) translateY(49vh) scale(0.51);
}
90.9090909091% {
transform: translateX(-45vw) translateY(-28vh) scale(0.93);
}
95.4545454545% {
transform: translateX(22vw) translateY(28vh) scale(0.68);
}
100% {
transform: translateX(0vw) translateY(40vh) scale(0.98);
}
}
.firefly:nth-child(8) {
animation-name: move8;
}
.firefly:nth-child(8)::before {
animation-duration: 13s;
}
.firefly:nth-child(8)::after {
animation-duration: 13s, 8686ms;
animation-delay: 0ms, 7603ms;
}
@keyframes move8 {
0% {
transform: translateX(-9vw) translateY(26vh) scale(0.32);
}
4.7619047619% {
transform: translateX(-3vw) translateY(9vh) scale(0.5);
}
9.5238095238% {
transform: translateX(24vw) translateY(14vh) scale(0.76);
}
14.2857142857% {
transform: translateX(14vw) translateY(-23vh) scale(0.45);
}
19.0476190476% {
transform: translateX(9vw) translateY(-8vh) scale(0.84);
}
23.8095238095% {
transform: translateX(9vw) translateY(-5vh) scale(0.95);
}
28.5714285714% {
transform: translateX(19vw) translateY(-41vh) scale(0.74);
}
33.3333333333% {
transform: translateX(39vw) translateY(31vh) scale(0.59);
}
38.0952380952% {
transform: translateX(-11vw) translateY(10vh) scale(0.93);
}
42.8571428571% {
transform: translateX(-45vw) translateY(-44vh) scale(0.63);
}
47.619047619% {
transform: translateX(2vw) translateY(-3vh) scale(0.8);
}
52.380952381% {
transform: translateX(1vw) translateY(21vh) scale(0.8);
}
57.1428571429% {
transform: translateX(32vw) translateY(42vh) scale(0.28);
}
61.9047619048% {
transform: translateX(1vw) translateY(43vh) scale(0.41);
}
66.6666666667% {
transform: translateX(47vw) translateY(-13vh) scale(0.76);
}
71.4285714286% {
transform: translateX(-1vw) translateY(40vh) scale(0.94);
}
76.1904761905% {
transform: translateX(17vw) translateY(19vh) scale(0.67);
}
80.9523809524% {
transform: translateX(-18vw) translateY(7vh) scale(0.86);
}
85.7142857143% {
transform: translateX(-15vw) translateY(36vh) scale(0.78);
}
90.4761904762% {
transform: translateX(-38vw) translateY(-4vh) scale(0.73);
}
95.2380952381% {
transform: translateX(-18vw) translateY(-4vh) scale(0.93);
}
100% {
transform: translateX(-18vw) translateY(10vh) scale(0.53);
}
}
.firefly:nth-child(9) {
animation-name: move9;
}
.firefly:nth-child(9)::before {
animation-duration: 9s;
}
.firefly:nth-child(9)::after {
animation-duration: 9s, 9621ms;
animation-delay: 0ms, 6072ms;
}
@keyframes move9 {
0% {
transform: translateX(-28vw) translateY(44vh) scale(0.82);
}
3.8461538462% {
transform: translateX(14vw) translateY(3vh) scale(0.69);
}
7.6923076923% {
transform: translateX(-11vw) translateY(-14vh) scale(0.55);
}
11.5384615385% {
transform: translateX(-44vw) translateY(19vh) scale(0.48);
}
15.3846153846% {
transform: translateX(-30vw) translateY(48vh) scale(0.81);
}
19.2307692308% {
transform: translateX(-43vw) translateY(-35vh) scale(0.83);
}
23.0769230769% {
transform: translateX(2vw) translateY(-24vh) scale(0.85);
}
26.9230769231% {
transform: translateX(-14vw) translateY(-19vh) scale(0.48);
}
30.7692307692% {
transform: translateX(-30vw) translateY(-28vh) scale(0.93);
}
34.6153846154% {
transform: translateX(-47vw) translateY(-7vh) scale(0.52);
}
38.4615384615% {
transform: translateX(49vw) translateY(49vh) scale(0.94);
}
42.3076923077% {
transform: translateX(0vw) translateY(-36vh) scale(0.6);
}
46.1538461538% {
transform: translateX(-27vw) translateY(30vh) scale(0.99);
}
50% {
transform: translateX(24vw) translateY(-27vh) scale(0.96);
}
53.8461538462% {
transform: translateX(-47vw) translateY(-16vh) scale(0.58);
}
57.6923076923% {
transform: translateX(28vw) translateY(-44vh) scale(0.64);
}
61.5384615385% {
transform: translateX(-25vw) translateY(50vh) scale(0.98);
}
65.3846153846% {
transform: translateX(-39vw) translateY(-1vh) scale(0.3);
}
69.2307692308% {
transform: translateX(18vw) translateY(50vh) scale(0.98);
}
73.0769230769% {
transform: translateX(-27vw) translateY(-34vh) scale(0.38);
}
76.9230769231% {
transform: translateX(39vw) translateY(-42vh) scale(1);
}
80.7692307692% {
transform: translateX(-36vw) translateY(-28vh) scale(0.99);
}
84.6153846154% {
transform: translateX(-6vw) translateY(-10vh) scale(0.58);
}
88.4615384615% {
transform: translateX(-39vw) translateY(6vh) scale(0.63);
}
92.3076923077% {
transform: translateX(-2vw) translateY(-38vh) scale(0.4);
}
96.1538461538% {
transform: translateX(-27vw) translateY(-43vh) scale(0.89);
}
100% {
transform: translateX(11vw) translateY(-17vh) scale(0.79);
}
}
.firefly:nth-child(10) {
animation-name: move10;
}
.firefly:nth-child(10)::before {
animation-duration: 13s;
}
.firefly:nth-child(10)::after {
animation-duration: 13s, 9587ms;
animation-delay: 0ms, 3108ms;
}
@keyframes move10 {
0% {
transform: translateX(7vw) translateY(-21vh) scale(0.39);
}
4.5454545455% {
transform: translateX(40vw) translateY(36vh) scale(0.94);
}
9.0909090909% {
transform: translateX(9vw) translateY(3vh) scale(0.43);
}
13.6363636364% {
transform: translateX(31vw) translateY(-30vh) scale(0.5);
}
18.1818181818% {
transform: translateX(47vw) translateY(4vh) scale(0.49);
}
22.7272727273% {
transform: translateX(7vw) translateY(21vh) scale(0.54);
}
27.2727272727% {
transform: translateX(-30vw) translateY(-34vh) scale(0.27);
}
31.8181818182% {
transform: translateX(35vw) translateY(36vh) scale(0.59);
}
36.3636363636% {
transform: translateX(37vw) translateY(16vh) scale(0.64);
}
40.9090909091% {
transform: translateX(31vw) translateY(-48vh) scale(0.86);
}
45.4545454545% {
transform: translateX(-1vw) translateY(9vh) scale(0.7);
}
50% {
transform: translateX(5vw) translateY(-43vh) scale(0.7);
}
54.5454545455% {
transform: translateX(39vw) translateY(-28vh) scale(0.81);
}
59.0909090909% {
transform: translateX(26vw) translateY(-12vh) scale(0.35);
}
63.6363636364% {
transform: translateX(-47vw) translateY(12vh) scale(0.94);
}
68.1818181818% {
transform: translateX(23vw) translateY(-37vh) scale(0.51);
}
72.7272727273% {
transform: translateX(-7vw) translateY(23vh) scale(0.54);
}
77.2727272727% {
transform: translateX(-47vw) translateY(-18vh) scale(0.85);
}
81.8181818182% {
transform: translateX(-21vw) translateY(-17vh) scale(0.58);
}
86.3636363636% {
transform: translateX(16vw) translateY(27vh) scale(0.41);
}
90.9090909091% {
transform: translateX(-10vw) translateY(8vh) scale(0.66);
}
95.4545454545% {
transform: translateX(-23vw) translateY(22vh) scale(0.79);
}
100% {
transform: translateX(-5vw) translateY(-19vh) scale(0.29);
}
}
.firefly:nth-child(11) {
animation-name: move11;
}
.firefly:nth-child(11)::before {
animation-duration: 9s;
}
.firefly:nth-child(11)::after {
animation-duration: 9s, 9204ms;
animation-delay: 0ms, 2992ms;
}
@keyframes move11 {
0% {
transform: translateX(43vw) translateY(0vh) scale(0.68);
}
4.1666666667% {
transform: translateX(23vw) translateY(16vh) scale(0.69);
}
8.3333333333% {
transform: translateX(-25vw) translateY(16vh) scale(0.43);
}
12.5% {
transform: translateX(43vw) translateY(-15vh) scale(0.67);
}
16.6666666667% {
transform: translateX(-33vw) translateY(29vh) scale(0.89);
}
20.8333333333% {
transform: translateX(34vw) translateY(44vh) scale(0.52);
}
25% {
transform: translateX(22vw) translateY(15vh) scale(0.59);
}
29.1666666667% {
transform: translateX(30vw) translateY(-44vh) scale(0.98);
}
33.3333333333% {
transform: translateX(36vw) translateY(35vh) scale(0.54);
}
37.5% {
transform: translateX(3vw) translateY(-17vh) scale(0.31);
}
41.6666666667% {
transform: translateX(47vw) translateY(-6vh) scale(0.46);
}
45.8333333333% {
transform: translateX(50vw) translateY(-4vh) scale(0.75);
}
50% {
transform: translateX(43vw) translateY(26vh) scale(0.41);
}
54.1666666667% {
transform: translateX(4vw) translateY(-27vh) scale(0.62);
}
58.3333333333% {
transform: translateX(-9vw) translateY(23vh) scale(0.68);
}
62.5% {
transform: translateX(8vw) translateY(22vh) scale(0.95);
}
66.6666666667% {
transform: translateX(-38vw) translateY(22vh) scale(0.69);
}
70.8333333333% {
transform: translateX(-14vw) translateY(-21vh) scale(0.56);
}
75% {
transform: translateX(3vw) translateY(-26vh) scale(0.29);
}
79.1666666667% {
transform: translateX(-9vw) translateY(10vh) scale(1);
}
83.3333333333% {
transform: translateX(-44vw) translateY(-8vh) scale(0.79);
}
87.5% {
transform: translateX(-9vw) translateY(33vh) scale(0.68);
}
91.6666666667% {
transform: translateX(19vw) translateY(47vh) scale(0.65);
}
95.8333333333% {
transform: translateX(-35vw) translateY(-22vh) scale(0.44);
}
100% {
transform: translateX(18vw) translateY(-27vh) scale(0.76);
}
}
.firefly:nth-child(12) {
animation-name: move12;
}
.firefly:nth-child(12)::before {
animation-duration: 11s;
}
.firefly:nth-child(12)::after {
animation-duration: 11s, 7265ms;
animation-delay: 0ms, 7051ms;
}
@keyframes move12 {
0% {
transform: translateX(11vw) translateY(-8vh) scale(0.61);
}
4.7619047619% {
transform: translateX(-38vw) translateY(-21vh) scale(0.78);
}
9.5238095238% {
transform: translateX(-24vw) translateY(-22vh) scale(0.7);
}
14.2857142857% {
transform: translateX(21vw) translateY(-45vh) scale(0.26);
}
19.0476190476% {
transform: translateX(-33vw) translateY(-9vh) scale(0.43);
}
23.8095238095% {
transform: translateX(-45vw) translateY(-39vh) scale(0.34);
}
28.5714285714% {
transform: translateX(28vw) translateY(24vh) scale(0.44);
}
33.3333333333% {
transform: translateX(-8vw) translateY(42vh) scale(0.32);
}
38.0952380952% {
transform: translateX(-38vw) translateY(-9vh) scale(0.88);
}
42.8571428571% {
transform: translateX(-40vw) translateY(-37vh) scale(0.89);
}
47.619047619% {
transform: translateX(2vw) translateY(46vh) scale(0.82);
}
52.380952381% {
transform: translateX(-11vw) translateY(50vh) scale(0.98);
}
57.1428571429% {
transform: translateX(-3vw) translateY(31vh) scale(0.27);
}
61.9047619048% {
transform: translateX(33vw) translateY(-9vh) scale(0.46);
}
66.6666666667% {
transform: translateX(-23vw) translateY(40vh) scale(0.33);
}
71.4285714286% {
transform: translateX(9vw) translateY(43vh) scale(0.51);
}
76.1904761905% {
transform: translateX(4vw) translateY(-10vh) scale(0.9);
}
80.9523809524% {
transform: translateX(-18vw) translateY(-9vh) scale(0.47);
}
85.7142857143% {
transform: translateX(42vw) translateY(6vh) scale(0.27);
}
90.4761904762% {
transform: translateX(31vw) translateY(0vh) scale(0.43);
}
95.2380952381% {
transform: translateX(-36vw) translateY(45vh) scale(0.53);
}
100% {
transform: translateX(-37vw) translateY(30vh) scale(0.4);
}
}
.firefly:nth-child(13) {
animation-name: move13;
}
.firefly:nth-child(13)::before {
animation-duration: 12s;
}
.firefly:nth-child(13)::after {
animation-duration: 12s, 6362ms;
animation-delay: 0ms, 1414ms;
}
@keyframes move13 {
0% {
transform: translateX(-6vw) translateY(24vh) scale(0.96);
}
5% {
transform: translateX(34vw) translateY(5vh) scale(0.56);
}
10% {
transform: translateX(43vw) translateY(-4vh) scale(0.46);
}
15% {
transform: translateX(-13vw) translateY(-41vh) scale(0.85);
}
20% {
transform: translateX(29vw) translateY(-8vh) scale(0.41);
}
25% {
transform: translateX(-36vw) translateY(-41vh) scale(0.62);
}
30% {
transform: translateX(-45vw) translateY(-29vh) scale(0.35);
}
35% {
transform: translateX(-47vw) translateY(-8vh) scale(0.27);
}
40% {
transform: translateX(27vw) translateY(21vh) scale(0.6);
}
45% {
transform: translateX(-26vw) translateY(-14vh) scale(0.95);
}
50% {
transform: translateX(18vw) translateY(3vh) scale(0.63);
}
55% {
transform: translateX(28vw) translateY(30vh) scale(0.7);
}
60% {
transform: translateX(-20vw) translateY(2vh) scale(0.61);
}
65% {
transform: translateX(-34vw) translateY(14vh) scale(0.67);
}
70% {
transform: translateX(5vw) translateY(-9vh) scale(0.33);
}
75% {
transform: translateX(15vw) translateY(8vh) scale(0.52);
}
80% {
transform: translateX(-34vw) translateY(43vh) scale(1);
}
85% {
transform: translateX(-39vw) translateY(12vh) scale(0.45);
}
90% {
transform: translateX(-45vw) translateY(18vh) scale(0.8);
}
95% {
transform: translateX(-49vw) translateY(-40vh) scale(0.31);
}
100% {
transform: translateX(16vw) translateY(-40vh) scale(0.36);
}
}
.firefly:nth-child(14) {
animation-name: move14;
}
.firefly:nth-child(14)::before {
animation-duration: 12s;
}
.firefly:nth-child(14)::after {
animation-duration: 12s, 6235ms;
animation-delay: 0ms, 5347ms;
}
@keyframes move14 {
0% {
transform: translateX(-38vw) translateY(-25vh) scale(0.97);
}
3.5714285714% {
transform: translateX(24vw) translateY(31vh) scale(0.32);
}
7.1428571429% {
transform: translateX(26vw) translateY(-15vh) scale(0.47);
}
10.7142857143% {
transform: translateX(-10vw) translateY(3vh) scale(0.43);
}
14.2857142857% {
transform: translateX(-23vw) translateY(38vh) scale(0.82);
}
17.8571428571% {
transform: translateX(-11vw) translateY(3vh) scale(0.78);
}
21.4285714286% {
transform: translateX(-3vw) translateY(-15vh) scale(0.5);
}
25% {
transform: translateX(48vw) translateY(-29vh) scale(0.97);
}
28.5714285714% {
transform: translateX(-45vw) translateY(16vh) scale(0.67);
}
32.1428571429% {
transform: translateX(-43vw) translateY(46vh) scale(0.75);
}
35.7142857143% {
transform: translateX(-39vw) translateY(-43vh) scale(0.69);
}
39.2857142857% {
transform: translateX(29vw) translateY(-2vh) scale(0.56);
}
42.8571428571% {
transform: translateX(23vw) translateY(-1vh) scale(0.72);
}
46.4285714286% {
transform: translateX(46vw) translateY(15vh) scale(0.8);
}
50% {
transform: translateX(-29vw) translateY(-24vh) scale(1);
}
53.5714285714% {
transform: translateX(-47vw) translateY(13vh) scale(0.39);
}
57.1428571429% {
transform: translateX(30vw) translateY(-49vh) scale(0.86);
}
60.7142857143% {
transform: translateX(-22vw) translateY(-20vh) scale(0.42);
}
64.2857142857% {
transform: translateX(31vw) translateY(14vh) scale(0.7);
}
67.8571428571% {
transform: translateX(-41vw) translateY(-44vh) scale(0.77);
}
71.4285714286% {
transform: translateX(41vw) translateY(-14vh) scale(0.9);
}
75% {
transform: translateX(37vw) translateY(38vh) scale(0.41);
}
78.5714285714% {
transform: translateX(13vw) translateY(32vh) scale(0.87);
}
82.1428571429% {
transform: translateX(-17vw) translateY(27vh) scale(0.47);
}
85.7142857143% {
transform: translateX(1vw) translateY(-11vh) scale(0.78);
}
89.2857142857% {
transform: translateX(-7vw) translateY(-31vh) scale(0.77);
}
92.8571428571% {
transform: translateX(18vw) translateY(-35vh) scale(0.54);
}
96.4285714286% {
transform: translateX(1vw) translateY(9vh) scale(0.67);
}
100% {
transform: translateX(-10vw) translateY(7vh) scale(0.43);
}
}
.firefly:nth-child(15) {
animation-name: move15;
}
.firefly:nth-child(15)::before {
animation-duration: 14s;
}
.firefly:nth-child(15)::after {
animation-duration: 14s, 8014ms;
animation-delay: 0ms, 7710ms;
}
@keyframes move15 {
0% {
transform: translateX(-48vw) translateY(-19vh) scale(0.71);
}
4.5454545455% {
transform: translateX(-48vw) translateY(42vh) scale(0.64);
}
9.0909090909% {
transform: translateX(-4vw) translateY(42vh) scale(0.91);
}
13.6363636364% {
transform: translateX(2vw) translateY(-49vh) scale(0.93);
}
18.1818181818% {
transform: translateX(-24vw) translateY(35vh) scale(0.97);
}
22.7272727273% {
transform: translateX(-30vw) translateY(-20vh) scale(0.83);
}
27.2727272727% {
transform: translateX(-35vw) translateY(-7vh) scale(0.67);
}
31.8181818182% {
transform: translateX(14vw) translateY(3vh) scale(0.36);
}
36.3636363636% {
transform: translateX(8vw) translateY(18vh) scale(0.55);
}
40.9090909091% {
transform: translateX(-35vw) translateY(47vh) scale(0.92);
}
45.4545454545% {
transform: translateX(-14vw) translateY(-42vh) scale(0.89);
}
50% {
transform: translateX(-10vw) translateY(-6vh) scale(0.82);
}
54.5454545455% {
transform: translateX(-17vw) translateY(-36vh) scale(0.36);
}
59.0909090909% {
transform: translateX(50vw) translateY(-40vh) scale(0.53);
}
63.6363636364% {
transform: translateX(10vw) translateY(-28vh) scale(0.4);
}
68.1818181818% {
transform: translateX(3vw) translateY(-42vh) scale(0.26);
}
72.7272727273% {
transform: translateX(-32vw) translateY(-42vh) scale(0.86);
}
77.2727272727% {
transform: translateX(-41vw) translateY(-47vh) scale(0.52);
}
81.8181818182% {
transform: translateX(25vw) translateY(-4vh) scale(0.45);
}
86.3636363636% {
transform: translateX(-6vw) translateY(-36vh) scale(0.65);
}
90.9090909091% {
transform: translateX(-19vw) translateY(-1vh) scale(0.65);
}
95.4545454545% {
transform: translateX(-39vw) translateY(-28vh) scale(0.64);
}
100% {
transform: translateX(-29vw) translateY(-31vh) scale(0.84);
}
}
@keyframes drift {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
@keyframes flash {
0%, 30%, 100% {
opacity: 0;
box-shadow: 0 0 0vw 0vw yellow;
}
5% {
opacity: 1;
box-shadow: 0 0 2vw 0.4vw yellow;
}
}
</style>
<div class="firefly"></div>
<div class="firefly"></div>
<div class="firefly"></div>
<div class="firefly"></div>
<div class="firefly"></div>
<div class="firefly"></div>
<div class="firefly"></div>
<div class="firefly"></div>
<div class="firefly"></div>
<div class="firefly"></div>
<div class="firefly"></div>
<div class="firefly"></div>
<div class="firefly"></div>
<div class="firefly"></div>
<div class="firefly"></div>
</div>
<style>
.stage {
height: 500px;
width: 1000px;
background: url(https://i.pinimg.com/originals/44/6e/3b/446e3b79395a287ca32f7977dd83b290.jpg);
background-size: cover;
}
.firefly {
position: fixed;
left: 50%;
top: 50%;
width: 0.4vw;
height: 0.4vw;
margin: -0.2vw 0 0 9.8vw;
animation: ease 200s alternate infinite;
pointer-events: none;
}
.firefly::before, .firefly::after {
content: "";
position: absolute;
width: 100%;
height: 100%;
border-radius: 50%;
transform-origin: -10vw;
}
.firefly::before {
background: black;
opacity: 0.4;
animation: drift ease alternate infinite;
}
.firefly::after {
background: white;
opacity: 0;
box-shadow: 0 0 0vw 0vw yellow;
animation: drift ease alternate infinite, flash ease infinite;
}
.firefly:nth-child(1) {
animation-name: move1;
}
.firefly:nth-child(1)::before {
animation-duration: 15s;
}
.firefly:nth-child(1)::after {
animation-duration: 15s, 5217ms;
animation-delay: 0ms, 4262ms;
}
@keyframes move1 {
0% {
transform: translateX(30vw) translateY(8vh) scale(0.28);
}
3.5714285714% {
transform: translateX(-8vw) translateY(21vh) scale(0.93);
}
7.1428571429% {
transform: translateX(-8vw) translateY(-33vh) scale(0.67);
}
10.7142857143% {
transform: translateX(-3vw) translateY(-44vh) scale(0.62);
}
14.2857142857% {
transform: translateX(33vw) translateY(19vh) scale(0.83);
}
17.8571428571% {
transform: translateX(-5vw) translateY(1vh) scale(0.86);
}
21.4285714286% {
transform: translateX(-40vw) translateY(24vh) scale(0.46);
}
25% {
transform: translateX(-8vw) translateY(14vh) scale(0.92);
}
28.5714285714% {
transform: translateX(38vw) translateY(23vh) scale(0.47);
}
32.1428571429% {
transform: translateX(21vw) translateY(37vh) scale(1);
}
35.7142857143% {
transform: translateX(-8vw) translateY(-16vh) scale(0.5);
}
39.2857142857% {
transform: translateX(-23vw) translateY(30vh) scale(0.65);
}
42.8571428571% {
transform: translateX(1vw) translateY(42vh) scale(0.52);
}
46.4285714286% {
transform: translateX(30vw) translateY(-16vh) scale(0.47);
}
50% {
transform: translateX(21vw) translateY(24vh) scale(0.54);
}
53.5714285714% {
transform: translateX(-33vw) translateY(-30vh) scale(0.54);
}
57.1428571429% {
transform: translateX(-17vw) translateY(1vh) scale(0.42);
}
60.7142857143% {
transform: translateX(-26vw) translateY(-6vh) scale(0.32);
}
64.2857142857% {
transform: translateX(39vw) translateY(28vh) scale(0.87);
}
67.8571428571% {
transform: translateX(-6vw) translateY(-25vh) scale(0.55);
}
71.4285714286% {
transform: translateX(47vw) translateY(7vh) scale(0.96);
}
75% {
transform: translateX(33vw) translateY(0vh) scale(0.8);
}
78.5714285714% {
transform: translateX(-28vw) translateY(-45vh) scale(0.29);
}
82.1428571429% {
transform: translateX(-34vw) translateY(-14vh) scale(0.84);
}
85.7142857143% {
transform: translateX(14vw) translateY(-16vh) scale(0.55);
}
89.2857142857% {
transform: translateX(45vw) translateY(-36vh) scale(0.83);
}
92.8571428571% {
transform: translateX(-28vw) translateY(-25vh) scale(0.83);
}
96.4285714286% {
transform: translateX(38vw) translateY(23vh) scale(0.45);
}
100% {
transform: translateX(-14vw) translateY(-41vh) scale(0.73);
}
}
.firefly:nth-child(2) {
animation-name: move2;
}
.firefly:nth-child(2)::before {
animation-duration: 16s;
}
.firefly:nth-child(2)::after {
animation-duration: 16s, 8412ms;
animation-delay: 0ms, 2447ms;
}
@keyframes move2 {
0% {
transform: translateX(-47vw) translateY(-11vh) scale(0.42);
}
5% {
transform: translateX(-17vw) translateY(45vh) scale(0.95);
}
10% {
transform: translateX(-22vw) translateY(8vh) scale(0.5);
}
15% {
transform: translateX(40vw) translateY(-9vh) scale(0.37);
}
20% {
transform: translateX(12vw) translateY(6vh) scale(0.97);
}
25% {
transform: translateX(48vw) translateY(2vh) scale(0.35);
}
30% {
transform: translateX(-32vw) translateY(46vh) scale(0.26);
}
35% {
transform: translateX(-49vw) translateY(-5vh) scale(0.47);
}
40% {
transform: translateX(-43vw) translateY(37vh) scale(0.28);
}
45% {
transform: translateX(-4vw) translateY(25vh) scale(0.75);
}
50% {
transform: translateX(-47vw) translateY(-5vh) scale(0.48);
}
55% {
transform: translateX(-38vw) translateY(-28vh) scale(0.78);
}
60% {
transform: translateX(7vw) translateY(-47vh) scale(0.48);
}
65% {
transform: translateX(11vw) translateY(-30vh) scale(0.44);
}
70% {
transform: translateX(43vw) translateY(8vh) scale(0.8);
}
75% {
transform: translateX(43vw) translateY(29vh) scale(0.88);
}
80% {
transform: translateX(34vw) translateY(9vh) scale(0.51);
}
85% {
transform: translateX(-15vw) translateY(-29vh) scale(0.39);
}
90% {
transform: translateX(48vw) translateY(37vh) scale(0.38);
}
95% {
transform: translateX(-39vw) translateY(50vh) scale(0.84);
}
100% {
transform: translateX(11vw) translateY(11vh) scale(0.38);
}
}
.firefly:nth-child(3) {
animation-name: move3;
}
.firefly:nth-child(3)::before {
animation-duration: 18s;
}
.firefly:nth-child(3)::after {
animation-duration: 18s, 8641ms;
animation-delay: 0ms, 8215ms;
}
@keyframes move3 {
0% {
transform: translateX(2vw) translateY(42vh) scale(0.84);
}
5.5555555556% {
transform: translateX(-33vw) translateY(-40vh) scale(0.63);
}
11.1111111111% {
transform: translateX(-5vw) translateY(-40vh) scale(0.47);
}
16.6666666667% {
transform: translateX(41vw) translateY(12vh) scale(0.79);
}
22.2222222222% {
transform: translateX(-30vw) translateY(-14vh) scale(0.83);
}
27.7777777778% {
transform: translateX(-29vw) translateY(-28vh) scale(0.5);
}
33.3333333333% {
transform: translateX(-1vw) translateY(-34vh) scale(0.45);
}
38.8888888889% {
transform: translateX(-34vw) translateY(-31vh) scale(0.49);
}
44.4444444444% {
transform: translateX(1vw) translateY(22vh) scale(0.52);
}
50% {
transform: translateX(-13vw) translateY(-35vh) scale(0.67);
}
55.5555555556% {
transform: translateX(-24vw) translateY(40vh) scale(0.5);
}
61.1111111111% {
transform: translateX(-36vw) translateY(39vh) scale(0.99);
}
66.6666666667% {
transform: translateX(-8vw) translateY(-35vh) scale(0.54);
}
72.2222222222% {
transform: translateX(-7vw) translateY(-15vh) scale(0.81);
}
77.7777777778% {
transform: translateX(14vw) translateY(21vh) scale(0.92);
}
83.3333333333% {
transform: translateX(21vw) translateY(-14vh) scale(0.65);
}
88.8888888889% {
transform: translateX(2vw) translateY(36vh) scale(0.88);
}
94.4444444444% {
transform: translateX(30vw) translateY(-41vh) scale(0.26);
}
100% {
transform: translateX(-41vw) translateY(42vh) scale(0.62);
}
}
.firefly:nth-child(4) {
animation-name: move4;
}
.firefly:nth-child(4)::before {
animation-duration: 15s;
}
.firefly:nth-child(4)::after {
animation-duration: 15s, 6972ms;
animation-delay: 0ms, 2553ms;
}
@keyframes move4 {
0% {
transform: translateX(-46vw) translateY(-45vh) scale(0.42);
}
3.5714285714% {
transform: translateX(-43vw) translateY(-14vh) scale(0.52);
}
7.1428571429% {
transform: translateX(29vw) translateY(-17vh) scale(0.73);
}
10.7142857143% {
transform: translateX(46vw) translateY(41vh) scale(0.42);
}
14.2857142857% {
transform: translateX(31vw) translateY(7vh) scale(0.82);
}
17.8571428571% {
transform: translateX(-49vw) translateY(-6vh) scale(0.75);
}
21.4285714286% {
transform: translateX(-17vw) translateY(-25vh) scale(0.34);
}
25% {
transform: translateX(-20vw) translateY(13vh) scale(0.63);
}
28.5714285714% {
transform: translateX(-33vw) translateY(19vh) scale(0.43);
}
32.1428571429% {
transform: translateX(-47vw) translateY(-45vh) scale(0.34);
}
35.7142857143% {
transform: translateX(-23vw) translateY(0vh) scale(0.79);
}
39.2857142857% {
transform: translateX(-6vw) translateY(15vh) scale(0.47);
}
42.8571428571% {
transform: translateX(-2vw) translateY(6vh) scale(0.43);
}
46.4285714286% {
transform: translateX(34vw) translateY(-4vh) scale(0.88);
}
50% {
transform: translateX(25vw) translateY(6vh) scale(0.8);
}
53.5714285714% {
transform: translateX(-3vw) translateY(-1vh) scale(0.51);
}
57.1428571429% {
transform: translateX(33vw) translateY(32vh) scale(0.69);
}
60.7142857143% {
transform: translateX(-11vw) translateY(21vh) scale(0.54);
}
64.2857142857% {
transform: translateX(-31vw) translateY(-7vh) scale(0.79);
}
67.8571428571% {
transform: translateX(21vw) translateY(-19vh) scale(0.5);
}
71.4285714286% {
transform: translateX(48vw) translateY(-10vh) scale(0.56);
}
75% {
transform: translateX(0vw) translateY(18vh) scale(0.72);
}
78.5714285714% {
transform: translateX(-19vw) translateY(3vh) scale(0.96);
}
82.1428571429% {
transform: translateX(15vw) translateY(-45vh) scale(0.75);
}
85.7142857143% {
transform: translateX(-16vw) translateY(29vh) scale(0.62);
}
89.2857142857% {
transform: translateX(-11vw) translateY(16vh) scale(0.62);
}
92.8571428571% {
transform: translateX(-49vw) translateY(8vh) scale(0.49);
}
96.4285714286% {
transform: translateX(-19vw) translateY(32vh) scale(0.52);
}
100% {
transform: translateX(24vw) translateY(23vh) scale(0.79);
}
}
.firefly:nth-child(5) {
animation-name: move5;
}
.firefly:nth-child(5)::before {
animation-duration: 11s;
}
.firefly:nth-child(5)::after {
animation-duration: 11s, 5458ms;
animation-delay: 0ms, 4335ms;
}
@keyframes move5 {
0% {
transform: translateX(18vw) translateY(-35vh) scale(0.28);
}
4.347826087% {
transform: translateX(-19vw) translateY(-2vh) scale(0.73);
}
8.6956521739% {
transform: translateX(-11vw) translateY(-27vh) scale(0.5);
}
13.0434782609% {
transform: translateX(26vw) translateY(9vh) scale(0.99);
}
17.3913043478% {
transform: translateX(39vw) translateY(1vh) scale(0.93);
}
21.7391304348% {
transform: translateX(21vw) translateY(-35vh) scale(0.26);
}
26.0869565217% {
transform: translateX(-12vw) translateY(-9vh) scale(0.34);
}
30.4347826087% {
transform: translateX(41vw) translateY(-33vh) scale(0.27);
}
34.7826086957% {
transform: translateX(47vw) translateY(-32vh) scale(0.27);
}
39.1304347826% {
transform: translateX(-14vw) translateY(27vh) scale(0.51);
}
43.4782608696% {
transform: translateX(-9vw) translateY(-28vh) scale(0.7);
}
47.8260869565% {
transform: translateX(-33vw) translateY(-39vh) scale(0.94);
}
52.1739130435% {
transform: translateX(36vw) translateY(-21vh) scale(0.37);
}
56.5217391304% {
transform: translateX(42vw) translateY(-4vh) scale(0.9);
}
60.8695652174% {
transform: translateX(6vw) translateY(-10vh) scale(0.9);
}
65.2173913043% {
transform: translateX(44vw) translateY(7vh) scale(0.59);
}
69.5652173913% {
transform: translateX(-29vw) translateY(29vh) scale(0.4);
}
73.9130434783% {
transform: translateX(-40vw) translateY(-28vh) scale(0.87);
}
78.2608695652% {
transform: translateX(19vw) translateY(37vh) scale(0.55);
}
82.6086956522% {
transform: translateX(44vw) translateY(16vh) scale(0.47);
}
86.9565217391% {
transform: translateX(-41vw) translateY(2vh) scale(0.72);
}
91.3043478261% {
transform: translateX(5vw) translateY(-4vh) scale(0.28);
}
95.652173913% {
transform: translateX(32vw) translateY(-36vh) scale(0.57);
}
100% {
transform: translateX(-14vw) translateY(-45vh) scale(0.93);
}
}
.firefly:nth-child(6) {
animation-name: move6;
}
.firefly:nth-child(6)::before {
animation-duration: 16s;
}
.firefly:nth-child(6)::after {
animation-duration: 16s, 7840ms;
animation-delay: 0ms, 6613ms;
}
@keyframes move6 {
0% {
transform: translateX(24vw) translateY(-15vh) scale(0.81);
}
4.1666666667% {
transform: translateX(43vw) translateY(-28vh) scale(0.36);
}
8.3333333333% {
transform: translateX(22vw) translateY(-20vh) scale(0.76);
}
12.5% {
transform: translateX(-4vw) translateY(6vh) scale(0.84);
}
16.6666666667% {
transform: translateX(32vw) translateY(22vh) scale(0.38);
}
20.8333333333% {
transform: translateX(36vw) translateY(-24vh) scale(0.78);
}
25% {
transform: translateX(-1vw) translateY(-25vh) scale(0.95);
}
29.1666666667% {
transform: translateX(25vw) translateY(-37vh) scale(0.9);
}
33.3333333333% {
transform: translateX(17vw) translateY(-13vh) scale(0.84);
}
37.5% {
transform: translateX(45vw) translateY(14vh) scale(0.69);
}
41.6666666667% {
transform: translateX(-46vw) translateY(28vh) scale(0.82);
}
45.8333333333% {
transform: translateX(-23vw) translateY(34vh) scale(0.37);
}
50% {
transform: translateX(-8vw) translateY(33vh) scale(0.98);
}
54.1666666667% {
transform: translateX(-14vw) translateY(-46vh) scale(0.38);
}
58.3333333333% {
transform: translateX(12vw) translateY(0vh) scale(0.95);
}
62.5% {
transform: translateX(43vw) translateY(44vh) scale(0.52);
}
66.6666666667% {
transform: translateX(-30vw) translateY(-41vh) scale(0.96);
}
70.8333333333% {
transform: translateX(-31vw) translateY(4vh) scale(0.38);
}
75% {
transform: translateX(4vw) translateY(-40vh) scale(0.63);
}
79.1666666667% {
transform: translateX(-18vw) translateY(-44vh) scale(0.55);
}
83.3333333333% {
transform: translateX(8vw) translateY(-38vh) scale(0.65);
}
87.5% {
transform: translateX(-17vw) translateY(-25vh) scale(0.76);
}
91.6666666667% {
transform: translateX(9vw) translateY(-6vh) scale(0.65);
}
95.8333333333% {
transform: translateX(0vw) translateY(18vh) scale(1);
}
100% {
transform: translateX(11vw) translateY(-42vh) scale(0.31);
}
}
.firefly:nth-child(7) {
animation-name: move7;
}
.firefly:nth-child(7)::before {
animation-duration: 14s;
}
.firefly:nth-child(7)::after {
animation-duration: 14s, 9418ms;
animation-delay: 0ms, 4609ms;
}
@keyframes move7 {
0% {
transform: translateX(15vw) translateY(-41vh) scale(0.32);
}
4.5454545455% {
transform: translateX(29vw) translateY(-38vh) scale(0.36);
}
9.0909090909% {
transform: translateX(21vw) translateY(-26vh) scale(0.45);
}
13.6363636364% {
transform: translateX(-45vw) translateY(44vh) scale(0.52);
}
18.1818181818% {
transform: translateX(20vw) translateY(-12vh) scale(0.5);
}
22.7272727273% {
transform: translateX(31vw) translateY(-3vh) scale(0.26);
}
27.2727272727% {
transform: translateX(-46vw) translateY(-37vh) scale(0.95);
}
31.8181818182% {
transform: translateX(49vw) translateY(17vh) scale(0.64);
}
36.3636363636% {
transform: translateX(40vw) translateY(-16vh) scale(0.53);
}
40.9090909091% {
transform: translateX(-23vw) translateY(-49vh) scale(0.58);
}
45.4545454545% {
transform: translateX(-36vw) translateY(-20vh) scale(0.45);
}
50% {
transform: translateX(4vw) translateY(-8vh) scale(0.88);
}
54.5454545455% {
transform: translateX(49vw) translateY(-43vh) scale(0.82);
}
59.0909090909% {
transform: translateX(-41vw) translateY(49vh) scale(0.97);
}
63.6363636364% {
transform: translateX(9vw) translateY(-35vh) scale(0.54);
}
68.1818181818% {
transform: translateX(-32vw) translateY(0vh) scale(0.59);
}
72.7272727273% {
transform: translateX(41vw) translateY(-48vh) scale(0.64);
}
77.2727272727% {
transform: translateX(-16vw) translateY(14vh) scale(0.58);
}
81.8181818182% {
transform: translateX(3vw) translateY(8vh) scale(0.75);
}
86.3636363636% {
transform: translateX(29vw) translateY(49vh) scale(0.51);
}
90.9090909091% {
transform: translateX(-45vw) translateY(-28vh) scale(0.93);
}
95.4545454545% {
transform: translateX(22vw) translateY(28vh) scale(0.68);
}
100% {
transform: translateX(0vw) translateY(40vh) scale(0.98);
}
}
.firefly:nth-child(8) {
animation-name: move8;
}
.firefly:nth-child(8)::before {
animation-duration: 13s;
}
.firefly:nth-child(8)::after {
animation-duration: 13s, 8686ms;
animation-delay: 0ms, 7603ms;
}
@keyframes move8 {
0% {
transform: translateX(-9vw) translateY(26vh) scale(0.32);
}
4.7619047619% {
transform: translateX(-3vw) translateY(9vh) scale(0.5);
}
9.5238095238% {
transform: translateX(24vw) translateY(14vh) scale(0.76);
}
14.2857142857% {
transform: translateX(14vw) translateY(-23vh) scale(0.45);
}
19.0476190476% {
transform: translateX(9vw) translateY(-8vh) scale(0.84);
}
23.8095238095% {
transform: translateX(9vw) translateY(-5vh) scale(0.95);
}
28.5714285714% {
transform: translateX(19vw) translateY(-41vh) scale(0.74);
}
33.3333333333% {
transform: translateX(39vw) translateY(31vh) scale(0.59);
}
38.0952380952% {
transform: translateX(-11vw) translateY(10vh) scale(0.93);
}
42.8571428571% {
transform: translateX(-45vw) translateY(-44vh) scale(0.63);
}
47.619047619% {
transform: translateX(2vw) translateY(-3vh) scale(0.8);
}
52.380952381% {
transform: translateX(1vw) translateY(21vh) scale(0.8);
}
57.1428571429% {
transform: translateX(32vw) translateY(42vh) scale(0.28);
}
61.9047619048% {
transform: translateX(1vw) translateY(43vh) scale(0.41);
}
66.6666666667% {
transform: translateX(47vw) translateY(-13vh) scale(0.76);
}
71.4285714286% {
transform: translateX(-1vw) translateY(40vh) scale(0.94);
}
76.1904761905% {
transform: translateX(17vw) translateY(19vh) scale(0.67);
}
80.9523809524% {
transform: translateX(-18vw) translateY(7vh) scale(0.86);
}
85.7142857143% {
transform: translateX(-15vw) translateY(36vh) scale(0.78);
}
90.4761904762% {
transform: translateX(-38vw) translateY(-4vh) scale(0.73);
}
95.2380952381% {
transform: translateX(-18vw) translateY(-4vh) scale(0.93);
}
100% {
transform: translateX(-18vw) translateY(10vh) scale(0.53);
}
}
.firefly:nth-child(9) {
animation-name: move9;
}
.firefly:nth-child(9)::before {
animation-duration: 9s;
}
.firefly:nth-child(9)::after {
animation-duration: 9s, 9621ms;
animation-delay: 0ms, 6072ms;
}
@keyframes move9 {
0% {
transform: translateX(-28vw) translateY(44vh) scale(0.82);
}
3.8461538462% {
transform: translateX(14vw) translateY(3vh) scale(0.69);
}
7.6923076923% {
transform: translateX(-11vw) translateY(-14vh) scale(0.55);
}
11.5384615385% {
transform: translateX(-44vw) translateY(19vh) scale(0.48);
}
15.3846153846% {
transform: translateX(-30vw) translateY(48vh) scale(0.81);
}
19.2307692308% {
transform: translateX(-43vw) translateY(-35vh) scale(0.83);
}
23.0769230769% {
transform: translateX(2vw) translateY(-24vh) scale(0.85);
}
26.9230769231% {
transform: translateX(-14vw) translateY(-19vh) scale(0.48);
}
30.7692307692% {
transform: translateX(-30vw) translateY(-28vh) scale(0.93);
}
34.6153846154% {
transform: translateX(-47vw) translateY(-7vh) scale(0.52);
}
38.4615384615% {
transform: translateX(49vw) translateY(49vh) scale(0.94);
}
42.3076923077% {
transform: translateX(0vw) translateY(-36vh) scale(0.6);
}
46.1538461538% {
transform: translateX(-27vw) translateY(30vh) scale(0.99);
}
50% {
transform: translateX(24vw) translateY(-27vh) scale(0.96);
}
53.8461538462% {
transform: translateX(-47vw) translateY(-16vh) scale(0.58);
}
57.6923076923% {
transform: translateX(28vw) translateY(-44vh) scale(0.64);
}
61.5384615385% {
transform: translateX(-25vw) translateY(50vh) scale(0.98);
}
65.3846153846% {
transform: translateX(-39vw) translateY(-1vh) scale(0.3);
}
69.2307692308% {
transform: translateX(18vw) translateY(50vh) scale(0.98);
}
73.0769230769% {
transform: translateX(-27vw) translateY(-34vh) scale(0.38);
}
76.9230769231% {
transform: translateX(39vw) translateY(-42vh) scale(1);
}
80.7692307692% {
transform: translateX(-36vw) translateY(-28vh) scale(0.99);
}
84.6153846154% {
transform: translateX(-6vw) translateY(-10vh) scale(0.58);
}
88.4615384615% {
transform: translateX(-39vw) translateY(6vh) scale(0.63);
}
92.3076923077% {
transform: translateX(-2vw) translateY(-38vh) scale(0.4);
}
96.1538461538% {
transform: translateX(-27vw) translateY(-43vh) scale(0.89);
}
100% {
transform: translateX(11vw) translateY(-17vh) scale(0.79);
}
}
.firefly:nth-child(10) {
animation-name: move10;
}
.firefly:nth-child(10)::before {
animation-duration: 13s;
}
.firefly:nth-child(10)::after {
animation-duration: 13s, 9587ms;
animation-delay: 0ms, 3108ms;
}
@keyframes move10 {
0% {
transform: translateX(7vw) translateY(-21vh) scale(0.39);
}
4.5454545455% {
transform: translateX(40vw) translateY(36vh) scale(0.94);
}
9.0909090909% {
transform: translateX(9vw) translateY(3vh) scale(0.43);
}
13.6363636364% {
transform: translateX(31vw) translateY(-30vh) scale(0.5);
}
18.1818181818% {
transform: translateX(47vw) translateY(4vh) scale(0.49);
}
22.7272727273% {
transform: translateX(7vw) translateY(21vh) scale(0.54);
}
27.2727272727% {
transform: translateX(-30vw) translateY(-34vh) scale(0.27);
}
31.8181818182% {
transform: translateX(35vw) translateY(36vh) scale(0.59);
}
36.3636363636% {
transform: translateX(37vw) translateY(16vh) scale(0.64);
}
40.9090909091% {
transform: translateX(31vw) translateY(-48vh) scale(0.86);
}
45.4545454545% {
transform: translateX(-1vw) translateY(9vh) scale(0.7);
}
50% {
transform: translateX(5vw) translateY(-43vh) scale(0.7);
}
54.5454545455% {
transform: translateX(39vw) translateY(-28vh) scale(0.81);
}
59.0909090909% {
transform: translateX(26vw) translateY(-12vh) scale(0.35);
}
63.6363636364% {
transform: translateX(-47vw) translateY(12vh) scale(0.94);
}
68.1818181818% {
transform: translateX(23vw) translateY(-37vh) scale(0.51);
}
72.7272727273% {
transform: translateX(-7vw) translateY(23vh) scale(0.54);
}
77.2727272727% {
transform: translateX(-47vw) translateY(-18vh) scale(0.85);
}
81.8181818182% {
transform: translateX(-21vw) translateY(-17vh) scale(0.58);
}
86.3636363636% {
transform: translateX(16vw) translateY(27vh) scale(0.41);
}
90.9090909091% {
transform: translateX(-10vw) translateY(8vh) scale(0.66);
}
95.4545454545% {
transform: translateX(-23vw) translateY(22vh) scale(0.79);
}
100% {
transform: translateX(-5vw) translateY(-19vh) scale(0.29);
}
}
.firefly:nth-child(11) {
animation-name: move11;
}
.firefly:nth-child(11)::before {
animation-duration: 9s;
}
.firefly:nth-child(11)::after {
animation-duration: 9s, 9204ms;
animation-delay: 0ms, 2992ms;
}
@keyframes move11 {
0% {
transform: translateX(43vw) translateY(0vh) scale(0.68);
}
4.1666666667% {
transform: translateX(23vw) translateY(16vh) scale(0.69);
}
8.3333333333% {
transform: translateX(-25vw) translateY(16vh) scale(0.43);
}
12.5% {
transform: translateX(43vw) translateY(-15vh) scale(0.67);
}
16.6666666667% {
transform: translateX(-33vw) translateY(29vh) scale(0.89);
}
20.8333333333% {
transform: translateX(34vw) translateY(44vh) scale(0.52);
}
25% {
transform: translateX(22vw) translateY(15vh) scale(0.59);
}
29.1666666667% {
transform: translateX(30vw) translateY(-44vh) scale(0.98);
}
33.3333333333% {
transform: translateX(36vw) translateY(35vh) scale(0.54);
}
37.5% {
transform: translateX(3vw) translateY(-17vh) scale(0.31);
}
41.6666666667% {
transform: translateX(47vw) translateY(-6vh) scale(0.46);
}
45.8333333333% {
transform: translateX(50vw) translateY(-4vh) scale(0.75);
}
50% {
transform: translateX(43vw) translateY(26vh) scale(0.41);
}
54.1666666667% {
transform: translateX(4vw) translateY(-27vh) scale(0.62);
}
58.3333333333% {
transform: translateX(-9vw) translateY(23vh) scale(0.68);
}
62.5% {
transform: translateX(8vw) translateY(22vh) scale(0.95);
}
66.6666666667% {
transform: translateX(-38vw) translateY(22vh) scale(0.69);
}
70.8333333333% {
transform: translateX(-14vw) translateY(-21vh) scale(0.56);
}
75% {
transform: translateX(3vw) translateY(-26vh) scale(0.29);
}
79.1666666667% {
transform: translateX(-9vw) translateY(10vh) scale(1);
}
83.3333333333% {
transform: translateX(-44vw) translateY(-8vh) scale(0.79);
}
87.5% {
transform: translateX(-9vw) translateY(33vh) scale(0.68);
}
91.6666666667% {
transform: translateX(19vw) translateY(47vh) scale(0.65);
}
95.8333333333% {
transform: translateX(-35vw) translateY(-22vh) scale(0.44);
}
100% {
transform: translateX(18vw) translateY(-27vh) scale(0.76);
}
}
.firefly:nth-child(12) {
animation-name: move12;
}
.firefly:nth-child(12)::before {
animation-duration: 11s;
}
.firefly:nth-child(12)::after {
animation-duration: 11s, 7265ms;
animation-delay: 0ms, 7051ms;
}
@keyframes move12 {
0% {
transform: translateX(11vw) translateY(-8vh) scale(0.61);
}
4.7619047619% {
transform: translateX(-38vw) translateY(-21vh) scale(0.78);
}
9.5238095238% {
transform: translateX(-24vw) translateY(-22vh) scale(0.7);
}
14.2857142857% {
transform: translateX(21vw) translateY(-45vh) scale(0.26);
}
19.0476190476% {
transform: translateX(-33vw) translateY(-9vh) scale(0.43);
}
23.8095238095% {
transform: translateX(-45vw) translateY(-39vh) scale(0.34);
}
28.5714285714% {
transform: translateX(28vw) translateY(24vh) scale(0.44);
}
33.3333333333% {
transform: translateX(-8vw) translateY(42vh) scale(0.32);
}
38.0952380952% {
transform: translateX(-38vw) translateY(-9vh) scale(0.88);
}
42.8571428571% {
transform: translateX(-40vw) translateY(-37vh) scale(0.89);
}
47.619047619% {
transform: translateX(2vw) translateY(46vh) scale(0.82);
}
52.380952381% {
transform: translateX(-11vw) translateY(50vh) scale(0.98);
}
57.1428571429% {
transform: translateX(-3vw) translateY(31vh) scale(0.27);
}
61.9047619048% {
transform: translateX(33vw) translateY(-9vh) scale(0.46);
}
66.6666666667% {
transform: translateX(-23vw) translateY(40vh) scale(0.33);
}
71.4285714286% {
transform: translateX(9vw) translateY(43vh) scale(0.51);
}
76.1904761905% {
transform: translateX(4vw) translateY(-10vh) scale(0.9);
}
80.9523809524% {
transform: translateX(-18vw) translateY(-9vh) scale(0.47);
}
85.7142857143% {
transform: translateX(42vw) translateY(6vh) scale(0.27);
}
90.4761904762% {
transform: translateX(31vw) translateY(0vh) scale(0.43);
}
95.2380952381% {
transform: translateX(-36vw) translateY(45vh) scale(0.53);
}
100% {
transform: translateX(-37vw) translateY(30vh) scale(0.4);
}
}
.firefly:nth-child(13) {
animation-name: move13;
}
.firefly:nth-child(13)::before {
animation-duration: 12s;
}
.firefly:nth-child(13)::after {
animation-duration: 12s, 6362ms;
animation-delay: 0ms, 1414ms;
}
@keyframes move13 {
0% {
transform: translateX(-6vw) translateY(24vh) scale(0.96);
}
5% {
transform: translateX(34vw) translateY(5vh) scale(0.56);
}
10% {
transform: translateX(43vw) translateY(-4vh) scale(0.46);
}
15% {
transform: translateX(-13vw) translateY(-41vh) scale(0.85);
}
20% {
transform: translateX(29vw) translateY(-8vh) scale(0.41);
}
25% {
transform: translateX(-36vw) translateY(-41vh) scale(0.62);
}
30% {
transform: translateX(-45vw) translateY(-29vh) scale(0.35);
}
35% {
transform: translateX(-47vw) translateY(-8vh) scale(0.27);
}
40% {
transform: translateX(27vw) translateY(21vh) scale(0.6);
}
45% {
transform: translateX(-26vw) translateY(-14vh) scale(0.95);
}
50% {
transform: translateX(18vw) translateY(3vh) scale(0.63);
}
55% {
transform: translateX(28vw) translateY(30vh) scale(0.7);
}
60% {
transform: translateX(-20vw) translateY(2vh) scale(0.61);
}
65% {
transform: translateX(-34vw) translateY(14vh) scale(0.67);
}
70% {
transform: translateX(5vw) translateY(-9vh) scale(0.33);
}
75% {
transform: translateX(15vw) translateY(8vh) scale(0.52);
}
80% {
transform: translateX(-34vw) translateY(43vh) scale(1);
}
85% {
transform: translateX(-39vw) translateY(12vh) scale(0.45);
}
90% {
transform: translateX(-45vw) translateY(18vh) scale(0.8);
}
95% {
transform: translateX(-49vw) translateY(-40vh) scale(0.31);
}
100% {
transform: translateX(16vw) translateY(-40vh) scale(0.36);
}
}
.firefly:nth-child(14) {
animation-name: move14;
}
.firefly:nth-child(14)::before {
animation-duration: 12s;
}
.firefly:nth-child(14)::after {
animation-duration: 12s, 6235ms;
animation-delay: 0ms, 5347ms;
}
@keyframes move14 {
0% {
transform: translateX(-38vw) translateY(-25vh) scale(0.97);
}
3.5714285714% {
transform: translateX(24vw) translateY(31vh) scale(0.32);
}
7.1428571429% {
transform: translateX(26vw) translateY(-15vh) scale(0.47);
}
10.7142857143% {
transform: translateX(-10vw) translateY(3vh) scale(0.43);
}
14.2857142857% {
transform: translateX(-23vw) translateY(38vh) scale(0.82);
}
17.8571428571% {
transform: translateX(-11vw) translateY(3vh) scale(0.78);
}
21.4285714286% {
transform: translateX(-3vw) translateY(-15vh) scale(0.5);
}
25% {
transform: translateX(48vw) translateY(-29vh) scale(0.97);
}
28.5714285714% {
transform: translateX(-45vw) translateY(16vh) scale(0.67);
}
32.1428571429% {
transform: translateX(-43vw) translateY(46vh) scale(0.75);
}
35.7142857143% {
transform: translateX(-39vw) translateY(-43vh) scale(0.69);
}
39.2857142857% {
transform: translateX(29vw) translateY(-2vh) scale(0.56);
}
42.8571428571% {
transform: translateX(23vw) translateY(-1vh) scale(0.72);
}
46.4285714286% {
transform: translateX(46vw) translateY(15vh) scale(0.8);
}
50% {
transform: translateX(-29vw) translateY(-24vh) scale(1);
}
53.5714285714% {
transform: translateX(-47vw) translateY(13vh) scale(0.39);
}
57.1428571429% {
transform: translateX(30vw) translateY(-49vh) scale(0.86);
}
60.7142857143% {
transform: translateX(-22vw) translateY(-20vh) scale(0.42);
}
64.2857142857% {
transform: translateX(31vw) translateY(14vh) scale(0.7);
}
67.8571428571% {
transform: translateX(-41vw) translateY(-44vh) scale(0.77);
}
71.4285714286% {
transform: translateX(41vw) translateY(-14vh) scale(0.9);
}
75% {
transform: translateX(37vw) translateY(38vh) scale(0.41);
}
78.5714285714% {
transform: translateX(13vw) translateY(32vh) scale(0.87);
}
82.1428571429% {
transform: translateX(-17vw) translateY(27vh) scale(0.47);
}
85.7142857143% {
transform: translateX(1vw) translateY(-11vh) scale(0.78);
}
89.2857142857% {
transform: translateX(-7vw) translateY(-31vh) scale(0.77);
}
92.8571428571% {
transform: translateX(18vw) translateY(-35vh) scale(0.54);
}
96.4285714286% {
transform: translateX(1vw) translateY(9vh) scale(0.67);
}
100% {
transform: translateX(-10vw) translateY(7vh) scale(0.43);
}
}
.firefly:nth-child(15) {
animation-name: move15;
}
.firefly:nth-child(15)::before {
animation-duration: 14s;
}
.firefly:nth-child(15)::after {
animation-duration: 14s, 8014ms;
animation-delay: 0ms, 7710ms;
}
@keyframes move15 {
0% {
transform: translateX(-48vw) translateY(-19vh) scale(0.71);
}
4.5454545455% {
transform: translateX(-48vw) translateY(42vh) scale(0.64);
}
9.0909090909% {
transform: translateX(-4vw) translateY(42vh) scale(0.91);
}
13.6363636364% {
transform: translateX(2vw) translateY(-49vh) scale(0.93);
}
18.1818181818% {
transform: translateX(-24vw) translateY(35vh) scale(0.97);
}
22.7272727273% {
transform: translateX(-30vw) translateY(-20vh) scale(0.83);
}
27.2727272727% {
transform: translateX(-35vw) translateY(-7vh) scale(0.67);
}
31.8181818182% {
transform: translateX(14vw) translateY(3vh) scale(0.36);
}
36.3636363636% {
transform: translateX(8vw) translateY(18vh) scale(0.55);
}
40.9090909091% {
transform: translateX(-35vw) translateY(47vh) scale(0.92);
}
45.4545454545% {
transform: translateX(-14vw) translateY(-42vh) scale(0.89);
}
50% {
transform: translateX(-10vw) translateY(-6vh) scale(0.82);
}
54.5454545455% {
transform: translateX(-17vw) translateY(-36vh) scale(0.36);
}
59.0909090909% {
transform: translateX(50vw) translateY(-40vh) scale(0.53);
}
63.6363636364% {
transform: translateX(10vw) translateY(-28vh) scale(0.4);
}
68.1818181818% {
transform: translateX(3vw) translateY(-42vh) scale(0.26);
}
72.7272727273% {
transform: translateX(-32vw) translateY(-42vh) scale(0.86);
}
77.2727272727% {
transform: translateX(-41vw) translateY(-47vh) scale(0.52);
}
81.8181818182% {
transform: translateX(25vw) translateY(-4vh) scale(0.45);
}
86.3636363636% {
transform: translateX(-6vw) translateY(-36vh) scale(0.65);
}
90.9090909091% {
transform: translateX(-19vw) translateY(-1vh) scale(0.65);
}
95.4545454545% {
transform: translateX(-39vw) translateY(-28vh) scale(0.64);
}
100% {
transform: translateX(-29vw) translateY(-31vh) scale(0.84);
}
}
@keyframes drift {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
@keyframes flash {
0%, 30%, 100% {
opacity: 0;
box-shadow: 0 0 0vw 0vw yellow;
}
5% {
opacity: 1;
box-shadow: 0 0 2vw 0.4vw yellow;
}
}
</style>