: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; */
	-webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    -moz-user-select: -moz-none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Крест */

.close {
	width: 25px;
	height: 25px;
	background: rgba(0, 0, 0, 0.5);
	border-radius: 50%;
	border: 1px solid #fff;
	position: absolute;
	right: 25px;
	top: 25px;
	padding: 8px;
	z-index: 9999;
	cursor: pointer;
	transition: all ease 0.5s;
}

.close:hover {
	background: rgba(0, 0, 0, 1);
}

/* 3D панорама */

#container {
	position: absolute;
	inset: 0;
	display: none;
	overflow: hidden;
}

#container:hover {
	cursor: default;
}

/* Процесс бар */

#progress_3d_svg circle{
	stroke-dashoffset: 0;
	transition: stroke-dashoffset 1s linear;
	stroke: rgba(0, 0, 0, 0.42);
	stroke-width: 1em;
}

#progress_3d_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 {
	position: absolute;
	top: calc(50% - 35px);
	left: 50%;
	transform: translate(-50%, -50%);
	width: 130px;
}

/* Оверлей */

.overlay{
	width: fit-content;
	display: none;
	gap: 10px;
	justify-content: flex-end;
	align-items: center;
	position: absolute;
	right: 30px;
	bottom: 30px;
}

.overlay div{
	width: 30px;
	height: 30px;
	padding: 9px 10px 10px 9px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.5);
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border: 1px solid #fff;
	transition: all ease 0.5s;
}

.overlay div:hover{
	background: rgba(0, 0, 0, 1);
}

.overlay img{
	width: 22px;
}

.overlay div span{
	display: none;
	position: absolute;
    white-space: nowrap;
    text-align: center;
    top: -35px;
    background: #fff;
    padding: 5px 10px;
    border-radius: 5px;
}

.overlay .full_screen span {
    right: 0;
}


@media (min-width: 1024px) {
	.overlay div:hover span{
		display: flex;
	}
}
/* Попап планировки */

.modal_plan{
	display: none;
	align-items: center;
	justify-content: center;
	background-color: #000;
	z-index: 99;
	width: calc(100% - 30px);
	height: calc(100% - 30px);
	position: absolute;
	top: 0;
	left: 0;
	padding: 15px;
}

.modal_plan img{
	width: 100%;
	max-width: 800px;
}

@media (max-width: 600px) {
	.logo-site-preload {
		width: 130px;
		padding: 0 20px;
		padding-bottom: 50px;
	}

	#progress_3d {
		top: 45%;
	}
}