html,
body {
	min-height: 100%;
	width: 100%;
}

body {
	--gallery-height: clamp(220px, min(36.5vh, 42vw), 320px);
    font-family: 'Lucida Sans Unicode';
	background-color: #090706;
    margin: 0 0;
    padding: 0;
	width: 100%;
	height: 100vh;
	height: 100dvh;
	min-height: 100vh;
	min-height: 100dvh;
	position: relative;
	overflow: hidden;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 0;
	background-image: url(../siteImgs/BG2.jpg);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	pointer-events: none;
}

.photoCarusel {
	width: 100%;
    height: var(--gallery-height);
	border: 0px solid grey;
	top: clamp(105px, 23.5vh, 220px);
	left: 0px;
	position: absolute;
	z-index: 2;
	overflow: hidden;

}
#photoLenta{
	height: var(--gallery-height);
	position: relative;
	width: max-content;
	white-space: nowrap;
	top: 0px;
	z-index: 3;
	touch-action: pan-y;
	user-select: none;
	cursor: grab;
	will-change: transform;

}
#photoLenta:active {
	cursor: grabbing;
}
#photoLenta a {
	display: inline-block;
	height: var(--gallery-height);
	vertical-align: top;
}
#photo {
	height: var(--gallery-height);
	width: auto;
	position: relative;
	top: 0px;
	z-index: 4;
	vertical-align: top;
}
#photo:hover {
  filter: brightness(110%);
}
#bgLightOff {
	background-image: url(../siteImgs/bgLightOffImg.png);
	background-repeat: repeat;
	position: fixed;
	z-index: 5;
	width:	100vw;
	height: 100vh;
	height: 100dvh;
	display: none;
	top: 0px;
	left: 0px;
	border: 0px solid #FFFFFF;
	overflow: hidden;
	touch-action: none;
}

#fullImageInner {
	position: fixed;
	z-index: 6;
	max-width: 100vw;
	max-height: 100vh;
	max-height: 100dvh;
	overflow: hidden;
	touch-action: none;

/*	background-color: #313131;*/
	border: 0px solid #FFFFFF;
}
#fullImageInner img {
	display: block;
	max-width: 100vw;
	max-height: 100vh;
	max-height: 100dvh;
	object-fit: contain;
	-webkit-user-drag: none;
	user-select: none;
	touch-action: none;
}
#fullImageInnerExit {
	position: absolute;
	z-index: 8;
	width: 80px;
	height:80px;
	top: 30px;
	right: 30px;
	opacity: 0.3;
	/*background-color: #313131;*/
	border: 0px solid #FFFFFF;
	display: none;
	background-image: url(../siteImgs/close.png);
	transition: opacity 0.25s ease;
}
#fullImageInnerExit:hover {
	opacity: 1;
}
#fullImageInnerNext {
	position: absolute;
	z-index: 7;
	width: 250px;
	height:100%;
	top: 0px;
	right: 0px;
	background-color: #ffffff;
	border: 0px solid #FFFFFF;
	display: none;
	opacity: 0;
	background-repeat: repeat;
	transition: opacity 0.25s ease;
}
#fullImageInnerPrevious {
	position: absolute;
	z-index: 7;
	width: 250px;
	height:100%;
	top: 0px;
	left: 0px;
	background-color: #ffffff;
	border: 0px solid #FFFFFF;
	display: none;
	opacity: 0;
	background-repeat: repeat;
	transition: opacity 0.25s ease;
}
#fullImageInnerNextButton {
	position: absolute;
	z-index: 6;
	width: 100px;
	height:100px;
	right: 60px;
	display: none;
	opacity: 0;
	transition: opacity 0.25s ease;
}
#fullImageInnerPrevButton {
	position: absolute;
	z-index: 6;
	width: 100px;
	height:100px;
	left: 60px;
	display: none;
	opacity: 0;
	transition: opacity 0.25s ease;
}
#fullImageInnerNextButton2 {
	position: absolute;
	z-index: 6;
	width: 100px;
	height:100px;
	right: 60px;
	display: none;
	opacity: 0;
	transition: opacity 0.1s ease;
	
}
#fullImageInnerPrevButton2 {
	position: absolute;
	z-index: 6;
	width: 100px;
	height:100px;
	left: 60px;
	display: none;
	opacity: 0;
	transition: opacity 0.1s ease;
}
#fullImageInnerNext:hover + #fullImageInnerNextButton 		{	opacity: 0.6;	}
#fullImageInnerPrevious:hover + #fullImageInnerPrevButton	{	opacity: 0.6;	}
#fullImageInnerNext:active + #fullImageInnerNextButton		{	opacity: 1;		}
#fullImageInnerPrevious:active + #fullImageInnerPrevButton	{	opacity: 1;		}



#elem {
	position: absolute;
	z-index: 100;
	border: 0px solid #13d0a1;
	display: none;
}
#elem2 {
	top: 10px;
	position: absolute;
	z-index: 100;
	border: 0px solid #13d0a1;
	display: none;
}

@media (max-width: 700px) {
	body {
		--gallery-height: clamp(260px, 46dvh, 430px);
	}

	.photoCarusel {
		top: clamp(110px, 19dvh, 170px);
	}

	#fullImageInnerNext,
	#fullImageInnerPrevious {
		display: none !important;
	}

	#fullImageInnerNextButton,
	#fullImageInnerNextButton2 {
		display: none !important;
	}

	#fullImageInnerPrevButton,
	#fullImageInnerPrevButton2 {
		display: none !important;
	}
}
