.falling-hearts {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 3;
}

.falling-hearts span {
    position: absolute;
    top: -30px;

    color: white;
    font-size: 30px;

    opacity: 0.8;

    animation: fall 7s linear infinite;
}


.falling-hearts span:nth-child(1) {
    left: 5%;
    animation-delay: 0s;
}

.falling-hearts span:nth-child(2) {
    left: 15%;
    animation-delay: 2s;
}

.falling-hearts span:nth-child(3) {
    left: 25%;
    animation-delay: 4s;
}

.falling-hearts span:nth-child(4) {
    left: 35%;
    animation-delay: 1s;
}

.falling-hearts span:nth-child(5) {
    left: 45%;
    animation-delay: 3s;
}

.falling-hearts span:nth-child(6) {
    left: 55%;
    animation-delay: 5s;
}

.falling-hearts span:nth-child(7) {
    left: 65%;
    animation-delay: 2s;
}

.falling-hearts span:nth-child(8) {
    left: 75%;
    animation-delay: 4s;
}

.falling-hearts span:nth-child(9) {
    left: 85%;
    animation-delay: 1s;
}

.falling-hearts span:nth-child(10) {
    left: 95%;
    animation-delay: 3s;
}

@keyframes fall {
    0% {
        transform: translateY(-30px) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    90% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(110vh) rotate(360deg);
        opacity: 0;
    }
}