/* Lightbox */

#lightbox {
    position: fixed;
    inset: 0;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#lightbox[hidden] {
    display: none;
}

#lightbox .content {
    max-width: 90vw;
    max-height: 90vh;
}

#lightbox img {
    max-width: 100%;
    max-height: 70vh;
    display: block;
}

#lightbox button {
    position: absolute;
    font-size: 2rem;
    cursor: pointer;
    width: 3rem;
    height: 3rem;
    background-color: white;
    border: none;
    border-radius: 0px;
    padding: 0px;
}

.meta {
    padding: 1rem 0;
    z-index: 10;
    position: relative;
}

.meta h3 {
    font-size: 1rem;
    font-weight: 400;
}

.meta p {
    font-size: 1rem;
    font-weight: 200;
}

.meta h3,
.meta p {
    margin: 0;
}

.close {
    top: 1rem;
    right: 1rem;
    display: block;
}

.prev,
.next {
    display: none;
}


@media screen and (min-width: 900px) {
    .prev,
    .next {
        display: block;
    }

    .prev {
        left: 1rem;
    }

    .next {
        right: 1rem;
    }
}