.custom-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
	margin: 0 auto;
}

.custom-lightbox.open {
    opacity: 1;
}

.custom-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background-color: white; /* Adding a background color for the border to show */
    border: 10px solid white;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.custom-lightbox-content.open {
    transform: scale(1);
}

.custom-lightbox img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

.custom-lightbox-close, 
.custom-lightbox-prev,
.custom-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2em;
    color: white;
    cursor: pointer;
    user-select: none;
}

.custom-lightbox-close {
	font-size: 3rem;
}

.custom-lightbox-close {
    top: 10px;
    right: 20px;
    transform: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Text shadow for the X icon */
}

.custom-lightbox-prev {
    left: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Text shadow for the left arrow */
}

.custom-lightbox-next {
    right: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Text shadow for the right arrow */
}