html, body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	background: #000;
}

#slideshow-page {
	width: 100vw;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;

	background-image:
		url("../images/overlay.png"),
		-moz-linear-gradient(top, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, 0.65)),
		-webkit-linear-gradient(top, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, 0.65)),
		-ms-linear-gradient(top, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, 0.65)),
		linear-gradient(to bottom, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, 0.65)),
		url("../../images/bg.jpg");

	background-position: top left, bottom left, bottom left, bottom left, center center;
	background-size: auto, 100% 100%, 100% 100%, 100% 100%, cover;
	background-attachment: fixed;
	background-repeat: repeat, no-repeat, no-repeat, no-repeat, no-repeat;
	background-color: #150C07;
}


#slideshow-container {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.slideshow-image {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: contain;
	top: 0;
	left: 0;
	opacity: 0;
	filter: blur(0px);
	transition: opacity 1s ease-in-out, filter 0.6s ease-in-out;
	z-index: 0;
	background-color: transparent; /* 🔥 KEY LINE TO FIX BLACK BACKGROUND */
}


.slideshow-image.active {
  opacity: 1;
  z-index: 2;
}

.slideshow-image.out {
  opacity: 0;
  filter: blur(5px);
  z-index: 1;
}


#fullscreen-btn {
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 10;
	padding: 10px 16px;
	background-color: rgba(255,255,255,0.7);
	border: none;
	cursor: pointer;
	border-radius: 5px;
}

#slideshow-container.fullscreen #fullscreen-btn {
	display: none;
}

/* Thumbnail borders */
.item.thumb img {
    border: 4px solid #990000;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

/* Fullscreen or main slideshow image */
.slideshow img,
#fullscreen-container img, 
:fullscreen img {
    border: 6px solid #990000;
    border-radius: 0px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    background-color: #000;
}

.gallery-item {
    position: relative;
    display: inline-block;
    margin: 10px;
}

.item.thumb {
    position: relative;
}

.uploader-name {
    position: absolute;
    top: 8px;
    left: 12px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 6px;
    font-family: sans-serif;
}



