.thumbnails {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #000000aa;
}

.lightbox-content {
    position: relative;
    align-content: center;
    margin: auto;
    padding: 0;
    max-width: 1200px;
}

.close {
    color: white;
    text-shadow: 0 0 6px #000000;
    position: absolute;
    z-index: 1;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
}

.cursor {
    cursor: pointer;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    text-shadow: 0 0 6px #000000;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
    color: white;
    background-color: rgba(0, 0, 0, 0.8);
}

img {
    margin-bottom: -4px;
}

.caption-container {
    font-family: 'Atkinson Hyperlegible', sans-serif;
    font-weight: 400;
    font-size: 1.3em;
    text-align: center;
    background-color: black;
    padding: 2px 16px;
    border-radius: 4px;
    color: white;
}

.gallery {
    background-color: white;
    height: 10vh;
    max-width: 80px;
    object-fit: cover;
    opacity: 0.6;
}

.active,
.gallery:hover {
    opacity: 1;
}

img.hover-shadow {
    transition: 0.3s;
}

.hover-shadow:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.step-slides {
    display: none;
}

.step-slides figure {
    display: inline-grid;
    margin-top: 0;
    margin-bottom: 0;
}

.step-slides img {
    box-sizing: border-box;
    background-color: white;
    background-clip: content-box;
    max-width: 100%;
    max-height: 80vh;
    display: block;
    margin: auto;
    padding: 5px;
    object-fit: contain;
}

.step-slides figcaption:before {
    content: "Crédit: ";
}

.step-slides figcaption {
    background-clip: content-box;
    background-color: #0000005c;
    color: #fff;
    font-family: 'Atkinson Hyperlegible', sans-serif;
    font: italic smaller sans-serif;
    padding: 5px;
    text-align: right;
    position: relative;
    z-index: 1;
    margin-top: -25px;
}

.step-slides a {
    text-decoration: none;
    color: white;
}