.image-container {
    position: relative;
    width: fit-content;
    margin: 50px auto;
}

.star {
    position: absolute;
    color: white;
    font-size: 16px;
    pointer-events: none;
    animation: sparkle 1s ease-out forwards;
    text-shadow:
        0 0 5px white,
        0 0 10px #ffd6f6,
        0 0 20px #ffffff;
    z-index: 10;
}

@keyframes sparkle {
    0% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }

    30% {
        opacity: 1;
        transform: scale(1.4) rotate(45deg);
    }

    100% {
        opacity: 0;
        transform: scale(0.2) translateY(-25px) rotate(90deg);
    }
}
/* ✨ Automatisk stjernedrys */

.image-container {
    position: relative;
}

.star {
    position: absolute;
    color: white;
    font-size: 18px;
    pointer-events: none;
    z-index: 10;

    text-shadow:
        0 0 5px white,
        0 0 10px #ffd6f6,
        0 0 20px #ffffff;

    animation: sparkle 2.5s infinite ease-in-out;
}

/* Forskellige placeringer */

.star1 {
    top: 8%;
    left: 10%;
    animation-delay: 0s;
}

.star2 {
    top: 18%;
    left: 85%;
    animation-delay: 0.7s;
}

.star3 {
    top: 35%;
    left: 6%;
    animation-delay: 1.3s;
}

.star4 {
    top: 45%;
    left: 92%;
    animation-delay: 0.4s;
}

.star5 {
    top: 65%;
    left: 12%;
    animation-delay: 1.8s;
}

.star6 {
    top: 75%;
    left: 88%;
    animation-delay: 0.9s;
}

.star7 {
    top: 90%;
    left: 25%;
    animation-delay: 2s;
}

.star8 {
    top: 85%;
    left: 70%;
    animation-delay: 1.1s;
}

.star9 {
    top: 12%;
    left: 48%;
    animation-delay: 1.5s;
}

.star10 {
    top: 55%;
    left: 50%;
    animation-delay: 0.2s;
}


@keyframes sparkle {

    0%, 100% {
        opacity: 0;
        transform: scale(0.3) rotate(0deg);
    }

    50% {
        opacity: 1;
        transform: scale(1.4) rotate(45deg);
    }
}