:root {
	--index: 1vh + 1vw;
}

html,
body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	position: relative;
	font-family: "Factor A", Arial, Helvetica, sans-serif;
	background: #000;
	/* touch-action: pan-left,pan-right,pan-up,pan-down; */
}

.paralax .slide {
	overflow: hidden;
	width: 100%;
	height: 100%;
	position: absolute;
	inset: 0;
	background-size: auto 100%;
	background-repeat: no-repeat;
	background-position: center;
	opacity: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1;
}

#gl_1 {
	opacity: 1;
}

.frame {
	overflow: hidden;
	position: relative;
	z-index: 10;
	height: 100%;
	display: none;
	align-items: center;
	justify-content: center;
}

.logo-site {
	position: absolute;
	width: 300px;
	bottom: 30px;
	left: 30px;
	z-index: 15;
	opacity: 0;
}

#zoom_point{
	position: absolute;
	bottom: 30px;
	right: 30px;
	width: 50px;
	height: 50px;
	z-index: 15;
	opacity: 0;
	cursor: pointer;
	z-index: 15;
}

#zoom_point .outer{
    fill: #000;
}

#zoom_point .middle{
    fill: transparent;
}

#close_zoom{
	position: absolute;
	width: 43px;
	height: 43px;
	right: 15px;
	top: 15px;
	z-index: 10;
}

.substrate {
	background: #000;
	width: 100vw;
	height: 100%;
	position: absolute;
	inset: 0;
	opacity: 0;
}

.transition_gl{
	transition: all ease 0.3s;
}

.transition_gl_blur{
	transition: all ease 0.3s 0.18s;
}

.pinch-zoom-container{
	width: 100%;
	z-index: -1;
}

.pinch-zoom-container img{
	width: 100%;
	height: fit-content;
}

.zoom-touch{
	width: 100%;
	height: 100%;
	overflow: scroll;
	/* transform-origin: 0% 0%; */
}

/* Points Панорамы */

.pointer_pano {
	z-index: 3;
	width: 27px;
	position: absolute;
	cursor: pointer;
	transition: filter ease 0.35s;
}

.pointer_pano:hover {
	filter: invert(1);
}

/* Гамбургер меню */

.hamburger-menu {
	z-index: 20;
	position: absolute;
}

#menu__toggle {
	opacity: 0;
	position: fixed;
}

.menu__btn {
	display: flex;
	align-items: center;
	position: fixed;
	top: 30px;
	left: 35px;
	width: 50px;
	height: 50px;
	cursor: pointer;
	z-index: 999;
	opacity: 0;
	transition: all ease 0.5s;
}

.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
	display: block;
	position: absolute;
	width: 100%;
	height: 8px;
	background-color: #000000;
	transition-duration: 0.25s;
}

.menu__btn > span::before {
	content: "";
	top: -16px;
}

.menu__btn > span::after {
	content: "";
	top: 16px;
}

.menu__box {
	z-index: 9999;
	display: flex;
	position: fixed;
	visibility: hidden;
	top: 0;
	left: -100%;
	will-change: left, top;
	max-width: 450px;
	width: 100%;
	padding: 0 30px;
	overflow: auto;
	justify-content: center;
	margin: 0;
	height: 100%;
	list-style: none;
	background-color: rgba(255, 255, 255, 0.9);
	transition-duration: 0.5s;
}

#close_burger {
	position: absolute;
	right: 30px;
	top: 30px;
	cursor: pointer;
}

/* Контент гамбургер меню */

#button_panoram_3, .content_menu_box a{
	font-size: 2em;
	font-weight: 500;
	text-decoration: none;
	color: #000;
	margin: 10px;
	cursor: pointer;
}

#button_panoram_3:hover, .content_menu_box a:hover{
	text-decoration:underline;
}

.content_menu_box {
	padding-top: 65px;
	display: flex;
	flex-direction: column;
	margin-right: 40px;
}

.menu__box__title {
	text-transform: uppercase;
	width: fit-content;
}

.menu__box_description {
	line-height: 1.3;
	font-weight: 600;
	margin-top: -25px;
	width: fit-content;
	margin-right: 60px;
}

.main_element_table {
	border-top: 2px solid #000;
}

.menu__box table {
	position: relative;
	border-collapse: collapse;
	max-width: 578px;
	width: 100%;
}

.menu__box table tr td {
	text-align: left;
	font-weight: 600;
	padding: 15px 0;
	width: fit-content;
}

.menu__box table .title_table_elem {
	padding-right: 30px;
	max-width: 400px;
}

.menu__box table tr td:last-child {
	width: 150px;
}

/* 3D панорама */

#container {
	position: absolute;
	inset: 0;
	display: none;
	overflow: hidden;
}

#container:hover {
	cursor: default;
}

.snow_button,
#close_panorama {
	width: 30px;
	height: 30px;
	position: absolute;
	background: rgba(0, 0, 0, 0.5);
	padding: 6px;
	border-radius: 50%;
	border: 1px solid #fff;
	opacity: 0.7;
	transition: all ease 0.3s;
	z-index: 10;
}

#close_panorama {
	right: 0;
	top: 0;
}

.snow_button {
	opacity: 1;
}

.snow_button:hover,
#close_panorama:hover {
	opacity: 0.9;
	cursor: pointer;
}

#minimap {
	width: 360px;
	height: 360px;
	position: absolute;
	right: 20px;
	bottom: 20px;
	z-index: 2;
	border-radius: 50%;
	transition: all cubic-bezier(0.43, 0.02, 0.44, 0.45) 0.45s;
	background: rgba(0, 0, 0, 0.42);
}

#minimap .dot_jump:hover {
	cursor: pointer;
	background: rgba(255, 255, 255, 0.45);
}

#minimap .dot_jump {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #000;
	border: 3px solid #fff;
	position: absolute;
	transition: all ease 0.45s;
	pointer-events: none;
}

#minimap .active_dot {
	cursor: default;
	pointer-events: none !important;
	background: #fff;
}

/* #jump_0 {
	top: 63px;
	right: 42px;
} */

#jump_0 {
	top: 165px;
    left: 133px;
}

#jump_1 {
	bottom: 130px;
    right: 145px;
}

#jump_3 {
	top: 28px;
	right: 85px;
}

#jump_4 {
	top: 90px;
	right: 108px;
}

#jump_5 {
	top: 127px;
	left: 16px;
}

#jump_6 {
	bottom: 55px;
	right: 82px;
}

#img_minimap {
	width: 100%;
	height: 100%;
	transition: all ease 0.5s;
}

/* Процесс бар */

#progress_crutilka {
	z-index: 17;
	position: absolute;
	right: 0;
	bottom: -20px;
	scale: 0.5;
	display: block;
	height: 200px;
	width: 200px;
	border-radius: 100%;
}
#progress_crutilka:after {
	position: absolute;
	display: flex;
	justify-content: center;
	height: 160px;
	width: 160px;
	left: 50%;
	top: 50%;
	content: attr(data-pct) "%";
	margin-top: -80px;
	margin-left: -80px;
	border-radius: 100%;
	line-height: 160px;
	font-size: 3.2em;
	font-weight: bold;
}

#progress_3d_svg circle,
#progress_crutilka_svg circle {
	stroke-dashoffset: 0;
	transition: stroke-dashoffset 1s linear;
	stroke: rgba(0, 0, 0, 0.42);
	stroke-width: 1em;
}
#progress_3d_svg #bar,
#progress_crutilka_svg #bar {
	stroke: #000;
}
#progress_3d {
	position: absolute;
	left: calc(50% - 100px);
	top: calc(50% - 20px);
	scale: 0.5;
	display: block;
	height: 200px;
	width: 200px;
	border-radius: 100%;
}
#progress_3d:after {
	color: #fff;
	position: absolute;
	display: flex;
	justify-content: center;
	height: 160px;
	width: 160px;
	left: 50%;
	top: 50%;
	content: attr(data-pct) "%";
	margin-top: -80px;
	margin-left: -80px;
	border-radius: 100%;
	line-height: 160px;
	font-size: 5em;
	font-weight: bold;
}

.logo-site-preload {
	/* filter: invert(1); */
	position: absolute;
	top: calc(50% - 35px);
	left: 50%;
	transform: translate(-50%, -50%);
	width: 480px;
}

/* Подсказка при бездействии */

.helper {
	overflow: hidden;
	z-index: 17;
	position: absolute;
	width: 100vw;
	height: 100%;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	display: none;
}

.helper img {
	position: absolute;
	perspective: 500px;
	transform-style: preserve-3d;
	transform-origin: top left 45px;
	animation: rotate 2.4s ease infinite;
	left: 50%;
	top: 48%;
	transform: translate(-50%, -50%);
}

.helper p {
	position: absolute;
	left: 50%;
	top: 49%;
	transform: translate(-50%, -50%);
	color: #fff;
	font-weight: 600;
	text-align: center;
	line-height: 1.5;
	width: 100%;
}

@-webkit-keyframes rotate {
	0% {
		transform: rotate(90deg) rotateY(-110deg) rotate(1turn)
			translate(-50%, -50%);
	}
	to {
		transform: rotate(90deg) rotateY(-110deg) rotate(0deg) translate(-50%, -50%);
	}
}
@keyframes rotate {
	0% {
		transform: rotate(90deg) rotateY(-110deg) rotate(1turn)
			translate(-50%, -50%);
	}
	to {
		transform: rotate(90deg) rotateY(-110deg) rotate(0deg) translate(-50%, -50%);
	}
}

/* Адптивность */

@media (max-width: 1600px) {
	.menu__box {
		width: 45%;
	}
}

@media (max-width: 1200px) {
	.menu__box {
		width: 100%;
	}
}

@media (max-width: 800px) {
	.menu__box {
		border: none;
	}
	.menu__box table {
		max-width: 100%;
		width: calc(100% - 60px);
	}
	.menu__btn {
		left: 15px;
		top: 15px;
	}
}

@media (max-width: 760px) {
	.menu__box {
		width: calc(100% - 30px);
		padding: 0 15px;
	}
	.menu__box table {
		max-width: 100%;
		width: 100%;
	}
	/* .helper img{
		width: calc(70%);
	} */
}

@media (max-width: 660px) {
	#progress_crutilka {
		scale: 0.3;
		right: -50px;
		bottom: -50px;
	}
	.snow_button,
	#close_panorama {
		padding: 3px;
		width: 21px;
		height: 21px;
	}
	.pointer_pano {
		width: 20px;
	}
	.logo-site {
		width: 150px;
		bottom: 15px;
	}
}

@media (max-width: 600px) {
	.logo-site-preload {
		width: calc(100% - 40px);
		padding: 0 20px;
	}

	#progress_3d {
		top: 45%;
	}

	#minimap {
		width: 210px;
		height: 210px;
	}

	#minimap .dot_jump {
		width: 8px;
		height: 8px;
		border: 2px solid #fff;
	}

	#jump_0 {
		top: 97px;;
		right: 125px;
		left: 76px;
	}

	#jump_1 {
		top: auto;
		bottom: 76px;
		left: 113px;
	}

	#jump_2 {
		top: 133px;
		left: 101px;
	}

	#jump_3 {
		top: 16px;
		right: 50px;
	}

	#jump_4 {
		top: 51px;
		right: 62px;
	}

	#jump_5 {
		top: 74px;
		left: 9px;
	}

	#jump_6 {
		bottom: 32px;
		right: 47px;
	}
}

@media (max-width: 500px) {
	#close_zoom{
		width: 35px;
		height: 35px;
		top: 15px;
		right: 15px;
	}
	#zoom_point{
		width: 38px;
		height: 38px;
		bottom: 10px;
		right: 15px;
	}
	.menu__box_description {
		margin-top: 0;
		margin-right: 0;
	}
	.menu__box table tr td:last-child {
		width: 95px;
	}
	.menu__btn {
		width: 35px;
		height: 35px;
	}
	.menu__btn > span,
	.menu__btn > span::before,
	.menu__btn > span::after {
		display: block;
		position: absolute;
		width: 100%;
		height: 6px;
		background-color: #000000;
		transition-duration: 0.25s;
	}

	.menu__btn > span::before {
		content: "";
		top: -12px;
	}

	.menu__btn > span::after {
		content: "";
		top: 12px;
	}

	.logo-site {
		width: 150px;
		bottom: 15px;
		left: 15px;
	}
	#close_burger {
		width: 35px;
		height: 35px;
		right: 18px;
		top: 18px;
	}
}

@media (max-height: 450px) {
	#close_zoom{
		width: 35px;
		height: 35px;
		top: 15px;
		right: 15px;
	}
	#zoom_point{
		width: 38px;
		height: 38px;
		bottom: 10px;
		right: 15px;
	}
	.menu__btn {
		width: 35px;
		height: 35px;
	}
	.menu__btn > span,
	.menu__btn > span::before,
	.menu__btn > span::after {
		display: block;
		position: absolute;
		width: 100%;
		height: 6px;
		background-color: #000000;
		transition-duration: 0.25s;
	}

	.menu__btn > span::before {
		content: "";
		top: -12px;
	}

	.menu__btn > span::after {
		content: "";
		top: 12px;
	}

	.logo-site {
		width: 150px;
		bottom: 15px;
		left: 15px;
	}

	#close_burger {
		width: 35px;
		height: 35px;
		right: 18px;
		top: 18px;
	}

	.snow_button,
	#close_panorama {
		padding: 3px;
		width: 21px;
		height: 21px;
	}

	.pointer_pano {
		width: 18px;
	}

	.logo-site {
		width: 150px;
		bottom: 15px;
	}

	#minimap {
		width: 210px;
		height: 210px;
	}

	#minimap .dot_jump {
		width: 8px;
		height: 8px;
		border: 2px solid #fff;
	}

	#jump_0 {
		top: 95px;
		right: 25px;
		left: 76px;
	}

	#jump_1 {
		top: auto;
		bottom: 76px;
		left: 112px;
	}

	#jump_2 {
		top: 133px;
		left: 101px;
	}

	#jump_3 {
		top: 16px;
		right: 50px;
	}

	#jump_4 {
		top: 51px;
		right: 62px;
	}

	#jump_5 {
		top: 74px;
		left: 9px;
	}

	#jump_6 {
		bottom: 32px;
		right: 47px;
	}
}

/* Анимации */

@keyframes opacity-animations {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}

@keyframes hourglass{
	0%{
		transform:rotate(0deg);
		box-shadow:
			inset #000 0 -0em 0 0,
			inset #000 0 -2em 0 0,
			inset #000 0 -4em 0 0;
	}
	80%{
		transform:rotate(0deg);
		box-shadow:
			inset #000 0 -2em 0 0,
			inset #000 0 -2em 0 0,
			inset #000 0 -2em 0 0;
	}
	100%{
		transform:rotate(180deg);
		box-shadow:
			inset #000 0 -2em 0 0,
			inset #000 0 -2em 0 0,
			inset #000 0 -2em 0 0;
	}
}
