@keyframes firework {
    0% {
        transform: translate(-50%, 60vh);
        width: 4px;
        height: 4px;
        opacity: 1;
    }
    50% {
        width: 4px;
        height: 4px;
        opacity: 1;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

@keyframes fireworkParticle {
    0% {
        transform: translate(-50%, -50%) scale(1);
        width: 4px;
        height: 4px;
        opacity: 1;
    }
    50% {
        width: 8px;
        height: 8px;
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(10);
        width: 20px;
        height: 20px;
        opacity: 0;
    }
}

.firework,
.firework::before,
.firework::after {
    content: "";
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    box-shadow: 0 0 10px 4px rgba(255, 25, 0, 0.75);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: firework 2s ease-in-out infinite;
}

.firework::before {
    animation: fireworkParticle 2s ease-in-out infinite;
    box-shadow: 0 0 10px 4px rgba(0, 200, 255, 0.75);
    animation-delay: -0.2s;
}

.firework::after {
    animation: fireworkParticle 2s ease-in-out infinite;
    box-shadow: 0 0 10px 4px rgba(255, 220, 0, 0.75);
    animation-delay: -0.4s;
}

.firework-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
}

.firework:nth-child(2) {
    animation-delay: -0.5s;
}

.firework:nth-child(3) {
    animation-delay: -1s;
}
