/**
 * @package   floatingstars
 * @copyright (c)2024 WeDevlops Team / WeDevlops.com
 * @license   GNU General Public License version 2 or later
 */
.star {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background-color: transparent;
    clip-path: polygon(
        50% 0%,
        61% 35%,
        98% 35%,
        68% 57%,
        79% 91%,
        50% 70%,
        21% 91%,
        32% 57%,
        2% 35%,
        39% 35%
    );
    animation: floatUp 5s linear infinite;
    pointer-events: none;
    opacity: 0.8;
}

/* Floating animation */
@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}