/* custom-floating-bubbles.css */

.floating-bubbles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    pointer-events: none; /* Allow clicks through container, but not bubbles */
    z-index: 999999999; /* Adjust as needed */
}

.floating-bubble {
    position: absolute;
    width: 100px; /* Adjust size */
    height: 100px;
    pointer-events: auto; /* Enable interactions on bubbles */
    cursor: pointer;
    opacity: 1;
    transition: transform 0.1s ease-out; /* Smooth movement for parallax */
}

.bubble-inner {
    width: 100%;
    height: 100%;
    animation: scaleUp 5s ease-in-out forwards; /* Scale from 0.5 to 1.3 over 5 seconds */
}

.floating-bubble img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%; /* Circular style */
}

.floating-bubble.fade-out {
    animation: fadeOut 1s ease-in-out forwards;
}

@keyframes scaleUp {
    0% {
        transform: scale(0.5);
    }
    100% {
        transform: scale(1.3);
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Fancybox z-index override */
.fancybox__container {
    z-index: 99999999 !important;
}

/* External URL button styles */
.external-url-button {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999999999;
    padding: 12.5px 25px;
    background-color: rgba(255, 0, 0, 0.8); /* Red with slight transparency */
    color: white;
    border: 3px dashed white;
    cursor: pointer;
    font-size: 1em; /* Adjust as needed */
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    14% {
        transform: translate(-50%, -50%) scale(1.1);
    }
    28% {
        transform: translate(-50%, -50%) scale(1);
    }
    42% {
        transform: translate(-50%, -50%) scale(1.1);
    }
    70% {
        transform: translate(-50%, -50%) scale(1);
    }
}