
.loader-album {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    z-index: 100;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;

}
.loader-album article {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    top: -150px;
}
.loader-album article h6 {
   font-family: var(--nunito);
   text-transform: uppercase;
    font-size: 6.5rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: black;
    margin-bottom: 2rem;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  
  .spinner {
    width: 100px;
    height: 100px;
    border: 8px solid #e6e6e6;
    border-top: 8px solid var(--gold); /* bleu = couleur du spinner */
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  








section.gallery {
    padding: 1rem;
    margin-bottom: 5rem;
}

ul.gallery-list {
    width: 100%;;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    row-gap: 4.5vmin;
    column-gap: 2vmin;
    padding: 0 14px;
}

ul.gallery-list li {
    list-style-type: none;
    height: 250px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}
ul.gallery-list li p {
    font-family: var(--nunito);
color: var(--p-text);
font-size: 1.6rem;
line-height: 1.625em;
font-weight: 600;

}
ul.gallery-list li img, ul.gallery-list li video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    margin-bottom: 0.2rem;
}

.dark-bg {
    position:fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    z-index: 35;
    background-color: #000000da;
    cursor: pointer;
    animation: darkbg-opacity 0.15s ease-in-out;
}
.zoomable_container {
    overflow: hidden;
}

.dark-bg img {
    position: relative;
    top: 15px;
height: 800px;

}

.dark-bg img:hover {
    cursor: zoom-in;
    scale: 1.75;
}

@media only screen and (max-width: 800px) {
    .dark-bg img {
        height: 500px;
    }
    .loader-album article h6 {
        
         font-size: 3.5rem;
         
     }
     
     ul.gallery-list {
        padding: 0;
        row-gap: 8vmin;
    }
    .body-wrapper {
        padding: 0;
    }
    header {
        padding: 0 2vmin;
    }
    
    ul.gallery-list li img, ul.gallery-list li video {
        
        cursor: initial;
    
    }
}
@media only screen and (max-width: 650px) {
    .dark-bg img {
        height: auto;
        width: 100%;
    }
}



@keyframes darkbg-opacity {
    from {
        opacity: 0;
    } to {
        opacity: 1;
    }
}
@keyframes darkbg-opacity-remove {
    from {
        opacity: 1;
    } to {
        opacity: 0;
    }
}