.images-container {
    gap: 15px;
    justify-content: center;
}
.images-container .image {
    flex: 0 0 300px;
    height: 300px;
    cursor: pointer;
    border: 3px solid white;
}

.image {
    overflow: hidden;
}

.image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    vertical-align: middle;
}

.image.hover img {
    transition: 0.35s ease-in-out;
}
.image.hover:hover img {
    transform: scale(1.1);
}
.image.full-height {
    height: 100%;
}
.image.grey img {
    filter: grayscale(1);
}


.transition {
    height: 400px;
    position: relative;
}
.transition:after {
    box-shadow: inset 0px 0px 30px 0 black;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    width: 100%;
}
.transition img {
    position: absolute;
    width: 100%;
    top: 0;
    height: auto;
}


/**
 * Diaporama photo
 */
#image-lightbox {
    visibility: hidden;
    opacity: 0;
    padding: 60px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1000;
    box-sizing: border-box;
    overflow: hidden;
    background: rgba(0,0,0,0.8);
    text-align: center;
}
#image-lightbox.visible {
    height: 100vh;
    width: 100vw;
    transition-duration: 0.5s;
    visibility: visible;
    opacity: 1;
    z-index: 5000;
}
#image-lightbox .image-container {
    margin: 0 auto;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: fit-content;
    max-height: 100%;
    visibility: hidden;
    opacity: 0;
    transition: 0.5s all ease-in;
}
#image-lightbox .image-container.visible {
    transform: translate(-50%, -50%) !important;
    visibility: visible;
    opacity: 1;
    transition: 0.5s all ease-out;
}
#image-lightbox .image-container.hidden {
    transition: none;
}
#image-lightbox .image-container.left {
    transform: translate(-200%, -50%);
}
#image-lightbox .image-container.right {
    transform: translate(100%, -50%);
}
#image-lightbox .image-container img {
    box-shadow: 0 0 6px 1px var(--black);
    max-height: calc(100vh - 120px);
    max-width: calc(100vw - 150px);
    display: block;
    border: 3px solid white;
}

/* Icônes */
#image-lightbox .close-lightbox,
#image-lightbox .previous-image,
#image-lightbox .next-image {
    position: absolute;
    line-height: 1em;
    color: white;
    cursor: pointer;
}
#image-lightbox .close-lightbox:hover,
#image-lightbox .previous-image:hover,
#image-lightbox .next-image:hover {
    color: var(--light);
}

/* Bouton pour fermer */
#image-lightbox .close-lightbox {
    top: -16px;
    right: 10px;
    font-size: 4em;
    z-index: 5020;
}
#image-lightbox .previous-image,
#image-lightbox .next-image,
#image-lightbox .previous-image .icon,
#image-lightbox .next-image .icon {
    top: 0;
    width: 60px;
    height: 100vh;
}
#image-lightbox .previous-image,
#image-lightbox .next-image {
    font-size: 4em;
    z-index: 5010;
}
#image-lightbox .previous-image .icon,
#image-lightbox .next-image .icon {
    position: absolute;
}
#image-lightbox .previous-image,
#image-lightbox .previous-image .icon,
#image-lightbox .previous-image .icon:before {
    left: 0;
}
#image-lightbox .next-image,
#image-lightbox .next-image .icon,
#image-lightbox .next-image .icon:before {
    right: 0;
}
#image-lightbox .previous-image .icon:before,
#image-lightbox .next-image .icon:before {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
}
.icon-previous:before {
    content: "\2039";
}
.icon-next:before {
    content: "\203A";
}
.icon-close:before {
    content: "\00D7";
}