.lightbox {
    width: 100%;
    height: 100dvh;
    position: fixed;
    background: var(--background-color);
    z-index: 200;
    overflow: hidden;
    display: flex;
}

.lightbox::-webkit-scrollbar {
    display: none;
}

.lightbox-slide {
    height: 100dvh;
    width: 100vw;
    overflow-y: scroll;
    position: relative;
    margin: auto;
    line-height: 0;
    flex-shrink: 0;
    opacity: 1;
    transition: opacity 1.75s var(--easier);
}

.lightbox-slide-fade-in {
    opacity: 0;
}

.lightbox-slide img {
    width: 100%;
    max-width: 2000px;
    display: block;
    margin: auto;
}

.lightbox-nav {
    position: fixed;
    z-index: 100;
    left: var(--unit);
    top: calc(50% - 60px);
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: calc(var(--unit) * 6);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    transition: opacity .25s var(--easier), transform .25s var(--easier);
    cursor: pointer;
}

.lightbox-nav-right {
    left: auto;
    right: var(--unit);
}

.lightbox-nav-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
}

.lightbox-inner-nav-left-hide {
    opacity: 0;
    transition: opacity .25s var(--easier);
}

.lightbox-nav-inner-fill {
    position: absolute;
    width: 70%;
    height: 70%;
    border-radius: 120px;
    background-color: var(--background-color);
    transform: scale();
    transition: transform .45s var(--easier), border-radius .45s var(--easier), background-color .45s var(--easier);
}

.lightbox-nav-inner-button {
    color: var(--text-color);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
}

.lightbox-nav-inner-button svg {
    stroke: var(--text-color);
    fill: none;
    stroke-width: 2;
    width: 24px;
    height: 24px;
}

.lightbox-nav-right .lightbox-nav-inner-button {
    transform: rotate(180deg);
}

.lightbox-helptext {
    position: fixed;
    z-index: 100;
    background-color: var(--background-color);
    color: var(--text-color);
    padding-left: 20px;
    padding-right: 20px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 25px;
    opacity: 1;
}

.lightbox-helptext-hide {
    opacity: 0;
    transition: opacity 1.25s var(--easier);
}

@media screen and (min-width: 500px) {
    .lightbox-nav {
        width: 70px;
        height: 70px;
    }
}

@media (hover) {
    .lightbox-nav:hover .lightbox-nav-inner-fill {
        transform: scale(1.25);
        opacity: 1;
        border-radius: 120px;
        background-color: var(--background-color);
        transition: transform .45s var(--easier), border-radius .45s var(--easier), background-color .45s var(--easier);
    }
}