/* Floating Background */
.floating-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: -999;
    overflow: hidden;
}

.floating-emoji {
    position: absolute;
    width: 30px;
    height: 30px;
    opacity: 0.7; 
    animation: floatFromBottom 20s infinite linear;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -999;
    bottom: -50px;
}

/* Updated animation with full opacity */
@keyframes floatFromBottom {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
        bottom: -50px;
    }
    10% {
        opacity: 0.7; 
        bottom: 10vh;
    }
    25% {
        transform: translateY(-25vh) translateX(-20px) rotate(90deg);
        opacity: 0.7; 
        bottom: 25vh;
    }
    50% {
        transform: translateY(-50vh) translateX(20px) rotate(180deg);
        opacity: 0.7; 
        bottom: 50vh;
    }
    75% {
        transform: translateY(-75vh) translateX(-10px) rotate(270deg);
        opacity: 0.7; 
        bottom: 75vh;
    }
    90% {
        opacity: 0.7; 
        bottom: 85vh;
    }
    100% {
        transform: translateY(-100vh) translateX(0) rotate(360deg);
        opacity: 0;
        bottom: 100vh;
    }
}

/* Background GIF overlay */
.background-gif {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/background.gif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.7; 
    z-index: -1000;
    pointer-events: none;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .floating-emoji {
        width: 25px;
        height: 25px;
        opacity: 0.7; /
    }
}

@media (max-width: 480px) {
    .floating-emoji {
        width: 20px;
        height: 20px;
        opacity: 0.7; 
    }
}