/* || Lightbox */

.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    /* background-color: rgba(0, 0, 0, 1); */
    backdrop-filter: blur(10px);
    cursor: default;
}

.lightbox__content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
    padding: var(--x-s);
}

.lightbox img {
    max-width: 1280px;
    max-height: 80%;
    object-fit: contain;
}

.lightbox__close {
    position: absolute;
    top: var(--x-s);
    right: var(--x-s);
    color: var(--color-tx-normal);
    cursor: pointer;
}

.lightbox__prev,
.lightbox__next {
    font-family: arial;
    position: absolute;
    bottom: var(--x-s);
    font-size: 1rem;
    color: var(--color-tx-normal);
    background-color: transparent;
    border: none;
    cursor: pointer;
    transform: translateY(-50%);

    display: none;
}

.lightbox__prev {
    left: var(--x-s);
}

.lightbox__next {
    right: var(--x-s);
}

.lightbox__note {
    position: absolute;
    bottom: var(--x-s);
}