# Fireflies

> Little points of light float and blink over the glow of a dark forest, quiet and a bit magical.

- Category: [Backgrounds](https://library.aimran.es/components/patterns)
- Built with: HTML + CSS
- Live editor: https://library.aimran.es/blocks/pt-fireflies
- Library: AIMRAN Library (https://library.aimran.es), free, no sign-up, by Aimran Oukham

## Where to use it

Fireflies set a warm, slightly dreamy mood. Try them on the invitation page of an outdoor wedding, the website of a summer festival, a bedtime story app or a glamping booking page. Each light drifts and fades on its own rhythm, so it never looks like a loop. A calm animated firefly background in HTML and CSS.

Warm yellows and greens on a very dark background give the most natural look; blue fireflies read more like fantasy. Serif headings in cream or soft white sit nicely on top without competing with the lights.

## Code

### HTML

```html
<div class="pt-fireflies"><b></b><i style="left:0.0%;top:79.8%;--z:6.5;--t:11.1s;--dl:-2.6s"></i><i style="left:59.8%;top:99.0%;--z:4.0;--t:8.1s;--dl:-8.8s"></i><i style="left:5.4%;top:92.2%;--z:4.8;--t:11.8s;--dl:-1.7s"></i><i style="left:12.4%;top:23.0%;--z:3.6;--t:6.4s;--dl:-5.7s"></i><i style="left:76.7%;top:50.9%;--z:4.5;--t:10.3s;--dl:-10.8s"></i><i style="left:6.6%;top:94.2%;--z:5.9;--t:11.9s;--dl:-10.2s"></i><i style="left:11.7%;top:15.5%;--z:5.0;--t:14.0s;--dl:-6.4s"></i><i style="left:89.3%;top:39.3%;--z:6.5;--t:12.5s;--dl:-9.4s"></i><i style="left:18.8%;top:68.9%;--z:3.7;--t:12.6s;--dl:-9.5s"></i><i style="left:52.6%;top:37.5%;--z:5.3;--t:11.8s;--dl:-2.3s"></i><i style="left:9.6%;top:17.8%;--z:7.0;--t:12.2s;--dl:-7.6s"></i><i style="left:49.7%;top:33.4%;--z:6.4;--t:6.7s;--dl:-3.8s"></i><i style="left:99.8%;top:65.6%;--z:6.4;--t:11.6s;--dl:-10.1s"></i><i style="left:37.4%;top:65.1%;--z:6.6;--t:13.2s;--dl:-7.7s"></i><i style="left:51.5%;top:20.7%;--z:6.3;--t:7.5s;--dl:-1.7s"></i><i style="left:75.3%;top:79.6%;--z:3.2;--t:13.9s;--dl:-2.4s"></i><i style="left:38.4%;top:68.8%;--z:4.3;--t:9.7s;--dl:-3.3s"></i><i style="left:22.0%;top:54.2%;--z:3.9;--t:13.9s;--dl:-9.2s"></i><i style="left:89.7%;top:51.8%;--z:4.5;--t:12.2s;--dl:-5.8s"></i><i style="left:76.6%;top:70.6%;--z:5.7;--t:11.2s;--dl:-10.1s"></i><i style="left:28.3%;top:85.2%;--z:3.1;--t:12.0s;--dl:-3.2s"></i><i style="left:0.5%;top:87.3%;--z:5.8;--t:7.8s;--dl:-6.6s"></i><i style="left:6.3%;top:75.7%;--z:5.6;--t:11.6s;--dl:-1.7s"></i><i style="left:68.3%;top:45.2%;--z:4.9;--t:6.1s;--dl:-10.3s"></i><i style="left:91.1%;top:80.1%;--z:3.3;--t:11.6s;--dl:-7.9s"></i><i style="left:90.6%;top:74.1%;--z:3.2;--t:12.4s;--dl:-9.4s"></i><i style="left:62.7%;top:73.9%;--z:3.6;--t:8.5s;--dl:-1.4s"></i><i style="left:14.2%;top:57.0%;--z:3.4;--t:8.6s;--dl:-10.6s"></i><i style="left:39.2%;top:20.4%;--z:5.7;--t:6.9s;--dl:-9.1s"></i><i style="left:58.4%;top:98.1%;--z:6.5;--t:8.4s;--dl:-3.6s"></i><i style="left:74.5%;top:30.6%;--z:5.6;--t:7.6s;--dl:-9.9s"></i><i style="left:21.5%;top:71.2%;--z:5.7;--t:6.4s;--dl:-12.1s"></i><i style="left:20.5%;top:15.4%;--z:3.7;--t:8.1s;--dl:-8.3s"></i><i style="left:93.5%;top:96.3%;--z:6.9;--t:13.2s;--dl:-8.6s"></i><i style="left:75.5%;top:65.9%;--z:6.7;--t:9.2s;--dl:-6.9s"></i><i style="left:67.2%;top:41.7%;--z:6.3;--t:9.6s;--dl:-7.9s"></i><i style="left:34.0%;top:57.4%;--z:7.0;--t:10.5s;--dl:-9.6s"></i><i style="left:52.0%;top:38.1%;--z:3.3;--t:8.0s;--dl:-1.1s"></i><i style="left:89.7%;top:68.1%;--z:5.4;--t:7.4s;--dl:-12.2s"></i><i style="left:70.7%;top:98.2%;--z:4.2;--t:7.8s;--dl:-4.5s"></i><i style="left:46.9%;top:78.4%;--z:5.9;--t:6.3s;--dl:-12.3s"></i><i style="left:7.6%;top:39.3%;--z:6.2;--t:7.4s;--dl:-9.7s"></i><i style="left:11.1%;top:49.7%;--z:4.0;--t:8.6s;--dl:-3.6s"></i><i style="left:2.8%;top:84.3%;--z:6.3;--t:10.6s;--dl:-5.6s"></i><i style="left:60.7%;top:17.1%;--z:5.9;--t:9.0s;--dl:-13.7s"></i></div>
```

### CSS

```css
.pt-fireflies {
  --c1: #d9f99d;
  --c2: #fde68a;
  --c3: #14532d;
  --k: 1;
  /* velocidad */
  --d: 1;
  /* densidad / escala */
  --o: 1;
  /* opacidad */
  --bg: #05060a;
  --fg: #ffffff;
  --blend: screen;
  min-height: 100vh;
}

.pt-fireflies {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg);
  container-type: size;
  isolation: isolate;
}

.pt-fireflies>* {
  opacity: var(--o);
}

.pt-fireflies {
  background: linear-gradient(0deg,color-mix(in srgb,var(--c3) 70%,var(--bg)),var(--bg) 75%)!important;
}

.pt-fireflies b {
  position: absolute;
  inset: auto -10% -20% -10%;
  height: 60%;
  background: radial-gradient(ellipse at 50% 100%,color-mix(in srgb,var(--c3) 80%,transparent),transparent 70%);
  filter: blur(30px);
}

.pt-fireflies i {
  position: absolute;
  width: calc(var(--z) * 1px * var(--d));
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle,#fff,var(--c1) 45%,transparent 72%);
  box-shadow: 0 0 14px 4px color-mix(in srgb,var(--c1) 55%,transparent);
  animation: pt-ff-m calc(var(--t) / var(--k)) ease-in-out infinite alternate,pt-ff-b calc(var(--t) / 2.5 / var(--k)) ease-in-out infinite;
  animation-delay: var(--dl);
}

.pt-fireflies i:nth-child(3n) {
  background: radial-gradient(circle,#fff,var(--c2) 45%,transparent 72%);
  box-shadow: 0 0 14px 4px color-mix(in srgb,var(--c2) 55%,transparent);
  animation-name: pt-ff-m2,pt-ff-b;
}

.pt-fireflies i:nth-child(3n+1) {
  animation-name: pt-ff-m3,pt-ff-b;
}

@keyframes pt-ff-m {
  0% {
    transform: translate(0,0);
  }
  33% {
    transform: translate(30px,-40px);
  }
  66% {
    transform: translate(-20px,-70px);
  }
  100% {
    transform: translate(15px,-20px);
  }
}

@keyframes pt-ff-m2 {
  0% {
    transform: translate(0,0);
  }
  50% {
    transform: translate(-40px,-30px);
  }
  100% {
    transform: translate(20px,-60px);
  }
}

@keyframes pt-ff-m3 {
  0% {
    transform: translate(0,0);
  }
  40% {
    transform: translate(25px,30px);
  }
  100% {
    transform: translate(-30px,-15px);
  }
}

@keyframes pt-ff-b {
  0%,100% {
    opacity: calc(var(--o) * .1);
  }
  50% {
    opacity: var(--o);
  }
}
```

### React

```tsx
// @ts-nocheck
import { useEffect, useRef } from "react";

const css = `
.pt-fireflies {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg);
  container-type: size;
  isolation: isolate;
}

.pt-fireflies>* {
  opacity: var(--o);
}

.pt-fireflies {
  background: linear-gradient(0deg,color-mix(in srgb,var(--c3) 70%,var(--bg)),var(--bg) 75%)!important;
}

.pt-fireflies b {
  position: absolute;
  inset: auto -10% -20% -10%;
  height: 60%;
  background: radial-gradient(ellipse at 50% 100%,color-mix(in srgb,var(--c3) 80%,transparent),transparent 70%);
  filter: blur(30px);
}

.pt-fireflies i {
  position: absolute;
  width: calc(var(--z) * 1px * var(--d));
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle,#fff,var(--c1) 45%,transparent 72%);
  box-shadow: 0 0 14px 4px color-mix(in srgb,var(--c1) 55%,transparent);
  animation: pt-ff-m calc(var(--t) / var(--k)) ease-in-out infinite alternate,pt-ff-b calc(var(--t) / 2.5 / var(--k)) ease-in-out infinite;
  animation-delay: var(--dl);
}

.pt-fireflies i:nth-child(3n) {
  background: radial-gradient(circle,#fff,var(--c2) 45%,transparent 72%);
  box-shadow: 0 0 14px 4px color-mix(in srgb,var(--c2) 55%,transparent);
  animation-name: pt-ff-m2,pt-ff-b;
}

.pt-fireflies i:nth-child(3n+1) {
  animation-name: pt-ff-m3,pt-ff-b;
}

@keyframes pt-ff-m {
  0% {
    transform: translate(0,0);
  }
  33% {
    transform: translate(30px,-40px);
  }
  66% {
    transform: translate(-20px,-70px);
  }
  100% {
    transform: translate(15px,-20px);
  }
}

@keyframes pt-ff-m2 {
  0% {
    transform: translate(0,0);
  }
  50% {
    transform: translate(-40px,-30px);
  }
  100% {
    transform: translate(20px,-60px);
  }
}

@keyframes pt-ff-m3 {
  0% {
    transform: translate(0,0);
  }
  40% {
    transform: translate(25px,30px);
  }
  100% {
    transform: translate(-30px,-15px);
  }
}

@keyframes pt-ff-b {
  0%,100% {
    opacity: calc(var(--o) * .1);
  }
  50% {
    opacity: var(--o);
  }
}

`;

export default function PatternFireflies() {
  const ref = useRef(null);
  return (
    <>
      <style>{css}</style>
      <div
        ref={ref}
        className="pt-fireflies"
        style={{
          "--c1": "#d9f99d",
          "--c2": "#fde68a",
          "--c3": "#14532d",
          "--k": 1,
          "--d": 1,
          "--o": 1,
          "--bg": "#05060a",
          "--fg": "#ffffff",
          "--blend": "screen",
          minHeight: "100vh",
        }}
      >
        <b></b><i style={{ left: "0.0%", top: "79.8%", "--z": "6.5", "--t": "11.1s", "--dl": "-2.6s" } as CSSProperties}></i><i style={{ left: "59.8%", top: "99.0%", "--z": "4.0", "--t": "8.1s", "--dl": "-8.8s" } as CSSProperties}></i><i style={{ left: "5.4%", top: "92.2%", "--z": "4.8", "--t": "11.8s", "--dl": "-1.7s" } as CSSProperties}></i><i style={{ left: "12.4%", top: "23.0%", "--z": "3.6", "--t": "6.4s", "--dl": "-5.7s" } as CSSProperties}></i><i style={{ left: "76.7%", top: "50.9%", "--z": "4.5", "--t": "10.3s", "--dl": "-10.8s" } as CSSProperties}></i><i style={{ left: "6.6%", top: "94.2%", "--z": "5.9", "--t": "11.9s", "--dl": "-10.2s" } as CSSProperties}></i><i style={{ left: "11.7%", top: "15.5%", "--z": "5.0", "--t": "14.0s", "--dl": "-6.4s" } as CSSProperties}></i><i style={{ left: "89.3%", top: "39.3%", "--z": "6.5", "--t": "12.5s", "--dl": "-9.4s" } as CSSProperties}></i><i style={{ left: "18.8%", top: "68.9%", "--z": "3.7", "--t": "12.6s", "--dl": "-9.5s" } as CSSProperties}></i><i style={{ left: "52.6%", top: "37.5%", "--z": "5.3", "--t": "11.8s", "--dl": "-2.3s" } as CSSProperties}></i><i style={{ left: "9.6%", top: "17.8%", "--z": "7.0", "--t": "12.2s", "--dl": "-7.6s" } as CSSProperties}></i><i style={{ left: "49.7%", top: "33.4%", "--z": "6.4", "--t": "6.7s", "--dl": "-3.8s" } as CSSProperties}></i><i style={{ left: "99.8%", top: "65.6%", "--z": "6.4", "--t": "11.6s", "--dl": "-10.1s" } as CSSProperties}></i><i style={{ left: "37.4%", top: "65.1%", "--z": "6.6", "--t": "13.2s", "--dl": "-7.7s" } as CSSProperties}></i><i style={{ left: "51.5%", top: "20.7%", "--z": "6.3", "--t": "7.5s", "--dl": "-1.7s" } as CSSProperties}></i><i style={{ left: "75.3%", top: "79.6%", "--z": "3.2", "--t": "13.9s", "--dl": "-2.4s" } as CSSProperties}></i><i style={{ left: "38.4%", top: "68.8%", "--z": "4.3", "--t": "9.7s", "--dl": "-3.3s" } as CSSProperties}></i><i style={{ left: "22.0%", top: "54.2%", "--z": "3.9", "--t": "13.9s", "--dl": "-9.2s" } as CSSProperties}></i><i style={{ left: "89.7%", top: "51.8%", "--z": "4.5", "--t": "12.2s", "--dl": "-5.8s" } as CSSProperties}></i><i style={{ left: "76.6%", top: "70.6%", "--z": "5.7", "--t": "11.2s", "--dl": "-10.1s" } as CSSProperties}></i><i style={{ left: "28.3%", top: "85.2%", "--z": "3.1", "--t": "12.0s", "--dl": "-3.2s" } as CSSProperties}></i><i style={{ left: "0.5%", top: "87.3%", "--z": "5.8", "--t": "7.8s", "--dl": "-6.6s" } as CSSProperties}></i><i style={{ left: "6.3%", top: "75.7%", "--z": "5.6", "--t": "11.6s", "--dl": "-1.7s" } as CSSProperties}></i><i style={{ left: "68.3%", top: "45.2%", "--z": "4.9", "--t": "6.1s", "--dl": "-10.3s" } as CSSProperties}></i><i style={{ left: "91.1%", top: "80.1%", "--z": "3.3", "--t": "11.6s", "--dl": "-7.9s" } as CSSProperties}></i><i style={{ left: "90.6%", top: "74.1%", "--z": "3.2", "--t": "12.4s", "--dl": "-9.4s" } as CSSProperties}></i><i style={{ left: "62.7%", top: "73.9%", "--z": "3.6", "--t": "8.5s", "--dl": "-1.4s" } as CSSProperties}></i><i style={{ left: "14.2%", top: "57.0%", "--z": "3.4", "--t": "8.6s", "--dl": "-10.6s" } as CSSProperties}></i><i style={{ left: "39.2%", top: "20.4%", "--z": "5.7", "--t": "6.9s", "--dl": "-9.1s" } as CSSProperties}></i><i style={{ left: "58.4%", top: "98.1%", "--z": "6.5", "--t": "8.4s", "--dl": "-3.6s" } as CSSProperties}></i><i style={{ left: "74.5%", top: "30.6%", "--z": "5.6", "--t": "7.6s", "--dl": "-9.9s" } as CSSProperties}></i><i style={{ left: "21.5%", top: "71.2%", "--z": "5.7", "--t": "6.4s", "--dl": "-12.1s" } as CSSProperties}></i><i style={{ left: "20.5%", top: "15.4%", "--z": "3.7", "--t": "8.1s", "--dl": "-8.3s" } as CSSProperties}></i><i style={{ left: "93.5%", top: "96.3%", "--z": "6.9", "--t": "13.2s", "--dl": "-8.6s" } as CSSProperties}></i><i style={{ left: "75.5%", top: "65.9%", "--z": "6.7", "--t": "9.2s", "--dl": "-6.9s" } as CSSProperties}></i><i style={{ left: "67.2%", top: "41.7%", "--z": "6.3", "--t": "9.6s", "--dl": "-7.9s" } as CSSProperties}></i><i style={{ left: "34.0%", top: "57.4%", "--z": "7.0", "--t": "10.5s", "--dl": "-9.6s" } as CSSProperties}></i><i style={{ left: "52.0%", top: "38.1%", "--z": "3.3", "--t": "8.0s", "--dl": "-1.1s" } as CSSProperties}></i><i style={{ left: "89.7%", top: "68.1%", "--z": "5.4", "--t": "7.4s", "--dl": "-12.2s" } as CSSProperties}></i><i style={{ left: "70.7%", top: "98.2%", "--z": "4.2", "--t": "7.8s", "--dl": "-4.5s" } as CSSProperties}></i><i style={{ left: "46.9%", top: "78.4%", "--z": "5.9", "--t": "6.3s", "--dl": "-12.3s" } as CSSProperties}></i><i style={{ left: "7.6%", top: "39.3%", "--z": "6.2", "--t": "7.4s", "--dl": "-9.7s" } as CSSProperties}></i><i style={{ left: "11.1%", top: "49.7%", "--z": "4.0", "--t": "8.6s", "--dl": "-3.6s" } as CSSProperties}></i><i style={{ left: "2.8%", top: "84.3%", "--z": "6.3", "--t": "10.6s", "--dl": "-5.6s" } as CSSProperties}></i><i style={{ left: "60.7%", top: "17.1%", "--z": "5.9", "--t": "9.0s", "--dl": "-13.7s" } as CSSProperties}></i>
      </div>
    </>
  );
}
```

## Prompt for AI assistants

Paste this into ChatGPT, Claude, Cursor, v0 or Lovable to adapt the block to your stack (Tailwind, Vue, Svelte…):

````text
I want to add the “Fireflies” block (Backgrounds) from AIMRAN Library to my project.

## What it is
Little points of light float and blink over the glow of a dark forest, quiet and a bit magical.

## Chosen settings
- Color 1: #d9f99d
- Color 2: #fde68a
- Color 3: #14532d
- Speed: 1x (from 0.2 to 3x)
- Density / scale: 1x (from 0.5 to 2x)
- Opacity: 1 (from 0.2 to 1)

## What I need
1. Add it to my project with the same look and animation as the reference code: same sizes, colours, radii, shadows, timings and easing.
2. It is built with plain HTML and CSS (the reference wraps it in a React component with its CSS). If my project uses something else (Vue, Svelte, Astro, plain HTML…), translate it without losing any behaviour. If I use Tailwind, turn the styles into classes; if not, keep the CSS in its own file.
3. Expose the settings above as props (or CSS variables) with those values as defaults.
4. Make it work well on phones: nothing that depends only on hover, touch targets of at least 44 px and no overflow on 320 px screens.
5. Make it look right in light and dark mode.
6. Keep it accessible: semantic HTML, roles and aria-* where needed, visible focus and keyboard support.
7. Respect prefers-reduced-motion: with reduced motion, no big animations but the same end result.

## Reference code
```tsx
// @ts-nocheck
import { useEffect, useRef } from "react";

const css = `
.pt-fireflies {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg);
  container-type: size;
  isolation: isolate;
}

.pt-fireflies>* {
  opacity: var(--o);
}

.pt-fireflies {
  background: linear-gradient(0deg,color-mix(in srgb,var(--c3) 70%,var(--bg)),var(--bg) 75%)!important;
}

.pt-fireflies b {
  position: absolute;
  inset: auto -10% -20% -10%;
  height: 60%;
  background: radial-gradient(ellipse at 50% 100%,color-mix(in srgb,var(--c3) 80%,transparent),transparent 70%);
  filter: blur(30px);
}

.pt-fireflies i {
  position: absolute;
  width: calc(var(--z) * 1px * var(--d));
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle,#fff,var(--c1) 45%,transparent 72%);
  box-shadow: 0 0 14px 4px color-mix(in srgb,var(--c1) 55%,transparent);
  animation: pt-ff-m calc(var(--t) / var(--k)) ease-in-out infinite alternate,pt-ff-b calc(var(--t) / 2.5 / var(--k)) ease-in-out infinite;
  animation-delay: var(--dl);
}

.pt-fireflies i:nth-child(3n) {
  background: radial-gradient(circle,#fff,var(--c2) 45%,transparent 72%);
  box-shadow: 0 0 14px 4px color-mix(in srgb,var(--c2) 55%,transparent);
  animation-name: pt-ff-m2,pt-ff-b;
}

.pt-fireflies i:nth-child(3n+1) {
  animation-name: pt-ff-m3,pt-ff-b;
}

@keyframes pt-ff-m {
  0% {
    transform: translate(0,0);
  }
  33% {
    transform: translate(30px,-40px);
  }
  66% {
    transform: translate(-20px,-70px);
  }
  100% {
    transform: translate(15px,-20px);
  }
}

@keyframes pt-ff-m2 {
  0% {
    transform: translate(0,0);
  }
  50% {
    transform: translate(-40px,-30px);
  }
  100% {
    transform: translate(20px,-60px);
  }
}

@keyframes pt-ff-m3 {
  0% {
    transform: translate(0,0);
  }
  40% {
    transform: translate(25px,30px);
  }
  100% {
    transform: translate(-30px,-15px);
  }
}

@keyframes pt-ff-b {
  0%,100% {
    opacity: calc(var(--o) * .1);
  }
  50% {
    opacity: var(--o);
  }
}

`;

export default function PatternFireflies() {
  const ref = useRef(null);
  return (
    <>
      <style>{css}</style>
      <div
        ref={ref}
        className="pt-fireflies"
        style={{
          "--c1": "#d9f99d",
          "--c2": "#fde68a",
          "--c3": "#14532d",
          "--k": 1,
          "--d": 1,
          "--o": 1,
          "--bg": "#05060a",
          "--fg": "#ffffff",
          "--blend": "screen",
          minHeight: "100vh",
        }}
      >
        <b></b><i style={{ left: "0.0%", top: "79.8%", "--z": "6.5", "--t": "11.1s", "--dl": "-2.6s" } as CSSProperties}></i><i style={{ left: "59.8%", top: "99.0%", "--z": "4.0", "--t": "8.1s", "--dl": "-8.8s" } as CSSProperties}></i><i style={{ left: "5.4%", top: "92.2%", "--z": "4.8", "--t": "11.8s", "--dl": "-1.7s" } as CSSProperties}></i><i style={{ left: "12.4%", top: "23.0%", "--z": "3.6", "--t": "6.4s", "--dl": "-5.7s" } as CSSProperties}></i><i style={{ left: "76.7%", top: "50.9%", "--z": "4.5", "--t": "10.3s", "--dl": "-10.8s" } as CSSProperties}></i><i style={{ left: "6.6%", top: "94.2%", "--z": "5.9", "--t": "11.9s", "--dl": "-10.2s" } as CSSProperties}></i><i style={{ left: "11.7%", top: "15.5%", "--z": "5.0", "--t": "14.0s", "--dl": "-6.4s" } as CSSProperties}></i><i style={{ left: "89.3%", top: "39.3%", "--z": "6.5", "--t": "12.5s", "--dl": "-9.4s" } as CSSProperties}></i><i style={{ left: "18.8%", top: "68.9%", "--z": "3.7", "--t": "12.6s", "--dl": "-9.5s" } as CSSProperties}></i><i style={{ left: "52.6%", top: "37.5%", "--z": "5.3", "--t": "11.8s", "--dl": "-2.3s" } as CSSProperties}></i><i style={{ left: "9.6%", top: "17.8%", "--z": "7.0", "--t": "12.2s", "--dl": "-7.6s" } as CSSProperties}></i><i style={{ left: "49.7%", top: "33.4%", "--z": "6.4", "--t": "6.7s", "--dl": "-3.8s" } as CSSProperties}></i><i style={{ left: "99.8%", top: "65.6%", "--z": "6.4", "--t": "11.6s", "--dl": "-10.1s" } as CSSProperties}></i><i style={{ left: "37.4%", top: "65.1%", "--z": "6.6", "--t": "13.2s", "--dl": "-7.7s" } as CSSProperties}></i><i style={{ left: "51.5%", top: "20.7%", "--z": "6.3", "--t": "7.5s", "--dl": "-1.7s" } as CSSProperties}></i><i style={{ left: "75.3%", top: "79.6%", "--z": "3.2", "--t": "13.9s", "--dl": "-2.4s" } as CSSProperties}></i><i style={{ left: "38.4%", top: "68.8%", "--z": "4.3", "--t": "9.7s", "--dl": "-3.3s" } as CSSProperties}></i><i style={{ left: "22.0%", top: "54.2%", "--z": "3.9", "--t": "13.9s", "--dl": "-9.2s" } as CSSProperties}></i><i style={{ left: "89.7%", top: "51.8%", "--z": "4.5", "--t": "12.2s", "--dl": "-5.8s" } as CSSProperties}></i><i style={{ left: "76.6%", top: "70.6%", "--z": "5.7", "--t": "11.2s", "--dl": "-10.1s" } as CSSProperties}></i><i style={{ left: "28.3%", top: "85.2%", "--z": "3.1", "--t": "12.0s", "--dl": "-3.2s" } as CSSProperties}></i><i style={{ left: "0.5%", top: "87.3%", "--z": "5.8", "--t": "7.8s", "--dl": "-6.6s" } as CSSProperties}></i><i style={{ left: "6.3%", top: "75.7%", "--z": "5.6", "--t": "11.6s", "--dl": "-1.7s" } as CSSProperties}></i><i style={{ left: "68.3%", top: "45.2%", "--z": "4.9", "--t": "6.1s", "--dl": "-10.3s" } as CSSProperties}></i><i style={{ left: "91.1%", top: "80.1%", "--z": "3.3", "--t": "11.6s", "--dl": "-7.9s" } as CSSProperties}></i><i style={{ left: "90.6%", top: "74.1%", "--z": "3.2", "--t": "12.4s", "--dl": "-9.4s" } as CSSProperties}></i><i style={{ left: "62.7%", top: "73.9%", "--z": "3.6", "--t": "8.5s", "--dl": "-1.4s" } as CSSProperties}></i><i style={{ left: "14.2%", top: "57.0%", "--z": "3.4", "--t": "8.6s", "--dl": "-10.6s" } as CSSProperties}></i><i style={{ left: "39.2%", top: "20.4%", "--z": "5.7", "--t": "6.9s", "--dl": "-9.1s" } as CSSProperties}></i><i style={{ left: "58.4%", top: "98.1%", "--z": "6.5", "--t": "8.4s", "--dl": "-3.6s" } as CSSProperties}></i><i style={{ left: "74.5%", top: "30.6%", "--z": "5.6", "--t": "7.6s", "--dl": "-9.9s" } as CSSProperties}></i><i style={{ left: "21.5%", top: "71.2%", "--z": "5.7", "--t": "6.4s", "--dl": "-12.1s" } as CSSProperties}></i><i style={{ left: "20.5%", top: "15.4%", "--z": "3.7", "--t": "8.1s", "--dl": "-8.3s" } as CSSProperties}></i><i style={{ left: "93.5%", top: "96.3%", "--z": "6.9", "--t": "13.2s", "--dl": "-8.6s" } as CSSProperties}></i><i style={{ left: "75.5%", top: "65.9%", "--z": "6.7", "--t": "9.2s", "--dl": "-6.9s" } as CSSProperties}></i><i style={{ left: "67.2%", top: "41.7%", "--z": "6.3", "--t": "9.6s", "--dl": "-7.9s" } as CSSProperties}></i><i style={{ left: "34.0%", top: "57.4%", "--z": "7.0", "--t": "10.5s", "--dl": "-9.6s" } as CSSProperties}></i><i style={{ left: "52.0%", top: "38.1%", "--z": "3.3", "--t": "8.0s", "--dl": "-1.1s" } as CSSProperties}></i><i style={{ left: "89.7%", top: "68.1%", "--z": "5.4", "--t": "7.4s", "--dl": "-12.2s" } as CSSProperties}></i><i style={{ left: "70.7%", top: "98.2%", "--z": "4.2", "--t": "7.8s", "--dl": "-4.5s" } as CSSProperties}></i><i style={{ left: "46.9%", top: "78.4%", "--z": "5.9", "--t": "6.3s", "--dl": "-12.3s" } as CSSProperties}></i><i style={{ left: "7.6%", top: "39.3%", "--z": "6.2", "--t": "7.4s", "--dl": "-9.7s" } as CSSProperties}></i><i style={{ left: "11.1%", top: "49.7%", "--z": "4.0", "--t": "8.6s", "--dl": "-3.6s" } as CSSProperties}></i><i style={{ left: "2.8%", top: "84.3%", "--z": "6.3", "--t": "10.6s", "--dl": "-5.6s" } as CSSProperties}></i><i style={{ left: "60.7%", top: "17.1%", "--z": "5.9", "--t": "9.0s", "--dl": "-13.7s" } as CSSProperties}></i>
      </div>
    </>
  );
}
```

Give me the complete final code, ready to paste, and tell me in one line where to put it in my project.
````
