/*
Theme Name: EarlyBirds
Theme URI: https://earlybirds.qodeinteractive.com
Description: Café and Coffee Shop Theme
Author: Select Themes
Author URI: https://qodeinteractive.com
Text Domain: earlybirds
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-menu, featured-images, flexible-header, post-formats, sticky-post, threaded-comments, translation-ready
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
/* Container styling */
.image-container {
    position: relative;
    display: inline-block;
    margin: 10px;
    width: 300px; /* Adjust width as needed */
    height: 200px; /* Adjust height as needed */
}

/* Spinner styling */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top-color: #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Animation keyframes */
@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Image styling */
.lazy-image {
    opacity: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
}

/* Loaded images will fade in */
.lazy-image.loaded {
    opacity: 1;
}
