* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
:root {
	--index: calc(1vw + 1vh);
	--gutter: 30px;
	--side-small: 26;
	--side-big: 36;
	--depth: 250vh;
	--transition: .75s cubic-bezier(.075, .5, 0, 1)
}

/* Скрываем Scrollbar */
body {
	scrollbar-width: none; /* Firefox */
}
body::-webkit-scrollbar { 
	display: none; /* Safari and Chrome */
}

body {
	background-color: #000;
	color: #fff;
	font-size: calc(var(--index) * .8);
	
	height: var(--depth);
	font-weight: 300;
}
.container1 {
	width: 100%;
	height: 100%;
	position: fixed;
	perspective: 1500px;
}
.gallery {
	transform-style: preserve-3d;
	height: 100%;
}
.frame {
	width: 100%;
	height: 100%;
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: var(--transition), opacity .75s ease;
	will-change: transform;
	transform-style: preserve-3d;
}
h1, h2, h3, h4 {
	font-weight: 100;
	text-transform: uppercase;
	width: min-content;
	line-height: 1;
}
.frame h1 {
	text-align: center;
	font-size: calc(var(--index) * 3.3);
}

.frame__content{
	line-height: 1.75;
}
.frame-media {
	position: relative;
	width: calc(var(--index) * var(--side-small));
	height: calc(var(--index) * var(--side-big));
	background-position: center;
	background-size: cover;
}
.frame-media_left {
	right: calc(var(--side-small) / 2 * var(--index) + var(--gutter));
}
.frame-media_right {
	left: calc(var(--side-small) / 2 * var(--index) + var(--gutter));
}
.frame_bg {
	background-color: rgb(0 0 0 / .87);
}
video.frame-media {
	width: calc(var(--index) * var(--side-big));
	height: calc(var(--index) * var(--side-small));
}
video.frame-media_right {
	left: calc(var(--side-big) / 2 * var(--index) + var(--gutter));
}
video.frame-media_left {
	right: calc(var(--side-big) / 2 * var(--index) + var(--gutter));
}
.text-right{
	position: relative;
	left: 18vw;
}
.text-left{
	position: relative;
	right: 18vw;
}
.frame h3 {
	font-size: calc(var(--index) * 3);
}
.frame p {
	max-width: 30vw;
	margin-top: 3vh;
}
.soundbutton {
	position: fixed;
	bottom: 5vh;
	right: 5vw;
	cursor: pointer;
	width: 24px;
	transition: .25s ease;
}
.soundbutton.paused {
	opacity: .25;
}

/*MOBILE Only Frame*/

#mobile-frame{
	display: none;
}
#mobile-frame1{
	display: none;
}


    /* Laptop */

    @media only screen and (min-width: 1124px) and (max-width: 1400px){

		:root{
			--depth: 430vh;
		}

		#mobile-frame{
			display: none;
		}
		#mobile-frame1{
			display: none;
		}

	}

	/* Tablet */

	@media only screen and (min-width: 760px) and (max-width: 1124px){
		:root{
			--depth:335vh;
		}

		.mobile-frame{
			display: none;
		}

	}

	/* MOBILE */

@media screen and (max-width: 760px){

	:root{
		--depth:382vh;
	}

	#mobile-frame{
		display:initial;
	}
	#mobile-frame1{
		display:initial;
	}

	.frame-media_left {
		right: calc(var(--side-small) / -9 * var(--index) + var(--gutter));
	}
	
	.frame__content text-right{
		width: 100%;
		background-color: rgba(0, 0, 0, 0.877);
	}
	
	.frame p{
		max-width: 70vw;
	}
	
	.text-right{
		left: 5vw!important;
		background-color: rgba(0, 0, 0, 0.877);
	}

	.frame-media_right {
		left: calc(var(--side-small) / -9 * var(--index) + var(--gutter));
	}

	.text-left{
		right: 0vw!important;
		background-color: rgba(0, 0, 0, 0.877);
		max-width: 55vw;
	}

}



