#owl-animation-1, #owl-animation-2 {
    width: auto; /* Changed to auto */
    height: 11rem;
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    opacity: 1;
    transition: opacity 0.5s; /* Adjust the duration of the fade effect */
    z-index: 1050; /* Add a z-index higher than the Bootstrap modal overlay (1040) */

}

#owl-animation-1 > svg {
    width: auto; /* Changed to auto */
    height: 11rem;
}

/* Updated media query for mobile devices */
@media only screen and (max-width: 767px) {
    #owl-animation-1, #owl-animation-2 {
        height: 8rem; /* Larger height for mobile devices */
    }

    #owl-animation-1 > svg {
        height: 8rem; /* Larger height for mobile devices */
    }
}

@media only screen and (max-width: 1180px) {
    #owl-animation-1, #owl-animation-2 {
        right: 0; /* Updated to 0 */
    }
}

.lottie-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.resting-owl-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 170px;
    height: 170px;
    overflow: hidden;
    border-radius: 50%;
    display: none;
}


.resting-owl-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile version */
.resting-owl-container-mobile {
    position: fixed;
    bottom: 20px;
    right: 20px;
    text-align: center;
    z-index: 2;
}

.resting-owl-container-mobile > .resting-owl-img-container {
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 50%;
    background-color: #e6eeff;
    margin: auto;
}

.resting-owl-container-mobile > h3 {
    font-weight: 700;
    color: #1d6adf;
}

.resting-owl-image-solo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive stylings */
.desktop-only {
    display: none;
}

.mobile-only {
    display: block;
}

/* For screens larger than 767px (desktop) */
@media screen and (min-width: 768px) {
    .desktop-only {
        display: block;
    }

    .mobile-only {
        display: none;
    }
}