/**
custom
m.daroueche@htomail.fr
*/


/* Loader styles */
.gallery-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 40px 0;
}

#gallery-loader {
    position: absolute;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: revert;
    padding: 150px 0;
    top: 0;
    left: 0;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

/*  #gallery-container {
      max-width: 1450px;
      margin: 50px auto;
      display: flex;
      flex-direction: column;
      justify-content: center;
      position: relative;

  }*/
#image-gallery{
    display: none;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Bouton Voir plus */
.load-more-btn {
    display: block;
    margin: 20px auto;
    padding: 12px 30px;
    background-color: #007cba;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.load-more-btn:hover {
    background-color: #005a87;
}

.load-more-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* Animation pour les nouveaux éléments */
.st_image_scrolling_item {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.st_image_scrolling_item.hidden {
    display: none;
}

.st_image_scrolling_item.fade-in {
    opacity: 0;
    transform: translateY(20px);
}

.st_image_scrolling_item.visible {
    opacity: 1;
    transform: translateY(0);
}