/* Containeren som også centrer boksen */
#bellis-container {
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: 100%;
    max-width: 700px;
    pointer-events: none;
}

/* boksen */
.bellis-box {
    background: #F4F2EA;
    border: 1px solid #BD3001;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    pointer-events: all;
    transition: transform 0.6s ease, opacity 0.6s ease !important;
}

/* Overskrift */
.bellis-box h2 {
    margin-top: 0;
    color: #BD3001!important;
    font-family: inherit;
    font-size: 140% !important;
  font-weight: bold;
}

/* Billede */
.bellis-box img {
    max-width: 60% !important;
    height: auto;
    margin: 10px 0;
}

/* Tekst */
.bellis-box p {
    margin: 10px 0;
    color: #BD3001 !important;
    font-family: inherit;
  font-size: 90% ;
}

/* Knap */
.button-holder {
    margin-top: 10px;
}
.button-holder button {
    padding: 10px 20px;
    background: #BD3001 !important;
    color: #F4F2EA !important;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.button-holder button:hover {
    background: #76250A !important;
}

/* Lukkeknap */
.bellis-close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 18px;
    color: #BD3001!important;
}

.bellis-close-button :hover{
  background: #76250A !important;
}

/* Start-position (skjult over toppen) */
.slide-top {
    transform: translateY(-150%) !important;
    opacity: 0 !important;
}

/* Synlig position */
.slide-down {
    transform: translateY(0) !important;
    opacity: 1 !important;
}

/* --- Puls/zoom animation til PNG --- */

.bellis-pulse {
    display: inline-block;           /* Sørger for korrekt transform */
    transform-origin: center center; /* Zoom fra midten */
    will-change: transform;          /* Performance hint */
    backface-visibility: hidden;
    /* Animation: name duration timing-function delay iteration-direction fill-mode */
    animation: bellis-pulse 4s ease-in-out infinite;
}

/* Keyframes: fra 0% (normal) -> 50% (stor) -> 100% (normal) */
@keyframes bellis-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.09); /* Ændr 1.06 for mere/færre zoom */
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* pause animation ved hover */
.bellis-pulse:hover {
    animation-play-state: paused;
}
