body {
	font-family: 'Roboto', sans-serif;
	color: #0e131c;
	background-color: #fff;
	height: 200vh;
	position: relative;
	font-weight: 400;
}

body:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	-webkit-transition: 0.3s all ease;
	-o-transition: 0.3s all ease;
	transition: 0.3s all ease;
	opacity: 0;
	visibility: hidden;
	z-index: 1;
}
body.offcanvas-menu:before {
	opacity: 1;
	z-index: 1002;
	visibility: visible;
}

:root {
	--primary1: #e8eff5;
	--second: #e08c62;
	--primary2: #0e131c;
}

h1,
h2,
h3,
h4 {
	color: var(--second);
	font-weight: 500;
	font-family: "Roboto", sans-serif;
}

h2 {
	font-size: 32px;
}

@media (max-width: 700px) {
	h2 {
		font-size: 26px;
	}

	.head__page h1 {
		font-size: 30px;
	}
}

p {
	font-family: "Roboto", sans-serif;
	margin-bottom: 25px;
	font-weight: 400;
	line-height: 1.6;
}

.ramka {
	border-radius: 0.73vw;
	box-shadow: inset 0 0 0 1px rgba(79, 126, 170, 0.3);
	padding: 30px;
}

.flex__center {
	display: flex;
	justify-content: center;
	text-align: center;
}

.map,
.map-mobile {
	position: relative;
}

.first-screen {
	background-image: url(../img/var3.png);
	height: 90vh;
}

svg {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
}

.part,
.room {
	opacity: 0.7;
	fill: transparent;
	cursor: pointer;
}

.part:hover,
.room:hover {
	fill: rgb(250, 245, 175);
}

img {
	height: auto;
	max-width: 100%;
}

.popup {
	display: none;
	padding: 15px 20px;
	background: #fff;
	border-radius: 15px;
	width: 260px;
	height: 166px;
	z-index: 9999;
	font-size: 20px;
	box-shadow: inset 0 0 0 1px rgba(79, 126, 170, 0.3);

	transform: translateY(20%) translateX(30%);
	position: absolute; /* задаём абсолютное позиционирование, чтобы элемент не влиял на остальные элементы и его можно было бы позиционировать следом за курсором */
	z-index: 999; /* чтобы элемент был над остальными элементами */
	pointer-events: none; /* чтобы сквозь элемент можно было взаимодействовать с элементами, находящимися под ним */
	transition: width 0.64s, height 0.64s, border-radius 0.64s, background 0.64s;
}

.popup span {
	font-weight: 500;
	color: var(--second);
	margin-bottom: 7px;
	display: block;
	font-size: 22px;
}

.popupmob,
.popupmob-room {
	display: none;
	padding: 15px 20px;
	background: #fff;
	border-radius: 15px;
	width: 260px;
	height: 206px;
	z-index: 9999;
	font-size: 20px;
	margin: 0 auto;
	transition: width 0.64s, height 0.64s, border-radius 0.64s, background 0.64s;
}

.popupmob-room {
	/* background-color: var(--primary1); */
	border-radius: 15px;
	box-shadow: inset 0 0 0 1px rgba(79, 126, 170, 0.3);
}

.popupmob-room__text {
	line-height: 1.2;
}

.popupmob span,
.popupmob-room span {
	font-weight: 500;
	color: var(--second);
	margin-bottom: 7px;
	display: block;
	font-size: 22px;
}

.url_div,
.url_etaz,
.url_room {
	text-align: center;
}

.popupmob a,
.popupmob-room a {
	border-radius: 100px;
	padding: 16px 34px;
	background: #e08c62 linear-gradient(90deg, #e08c62, #f8a47a);
	font-size: 17px;
	color: var(--primary2);
	text-align: center;
	display: inline;
	cursor: pointer;
	font-weight: 500;
}

.popupmob a:hover,
.popupmob-room a:hover {
	text-decoration: none;
	color: var(--primary2);
}

.map-mobile {
	display: none;
}

.head__page {
	padding-top: 180px;
	padding-bottom: 40px;
	background-color: var(--primary1);
	background-repeat: no-repeat;
	background-image: url(../img/shema.png);
	background-position: right;
}

.head__page h1 {
	color: var(--second);
	font-size: 44px;
}

.action__wrap {
	position: absolute;
	top: 270px;
	max-width: 360px;
	line-height: 1.3;
	font-weight: 500;
}

.action__title {
	font-size: 36px;
	font-weight: bold;
	color: #fff;
	margin-bottom: 25px;
}

.action__subtitle {
	font-size: 17px;
	color: var(--second);
	margin-bottom: 10px;
}

.action__text {
	font-size: 17px;
	color: #fff;
	margin-bottom: 45px;
}

.action__btn {
	border-radius: 100px;
	padding: 16px 34px;
	background: #e08c62 linear-gradient(90deg, #e08c62, #f8a47a);
	font-size: 17px;
	color: var(--primary2);
	text-align: center;
	display: inline;
	cursor: pointer;
	font-weight: 500;
	text-decoration: none;
}

.action__btn:hover {
	background: #fff;
	color: var(--primary2) !important;
	text-decoration: none;
}

.section {
	padding: 80px 0;
}

.about__text {
	padding: 60px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	line-height: 1.3;
	
}

.about__box {
	border-radius: 40px;
	background-color: var(--primary1);
	position: relative;

	font-size: 18px;
	text-align: center;
	font-weight: 500;

	min-height: 200px;
	margin-bottom: 20px;
}

.about__box-img {
	height: 100%;
	width: 100%;
	border-radius: 40px;

	position: absolute;
	opacity: 0.1;
}

.about__box span {
	display: block;
	font-weight: 700;
	font-size: 52px;
}

.about__box-img--1 {
	background-image: url(../img/box/box1.png);
	background-size: cover;
	background-position: center;
}

.about__box-img--2 {
	background-image: url(../img/box/box2.png);
	background-size: cover;
	background-position: center;
}

.about__box-img--3 {
	background-image: url(../img/box/box3.png);
	background-size: cover;
	background-position: center;
}

.about__box-img--4 {
	background-image: url(../img/box/box4.png);
	background-size: cover;
	background-position: center;
}

.about__width {
	max-width: 85%;
}

.choose-house {
	padding-top: 0;
}

.nebo {
	background: linear-gradient(180deg, #a9cdef 0%, #e3e1de 100%);
}

.map img {
	max-width: 60%;
}

.choose-house__padding {
	padding: 80px 0;
}

.map__title {
	border-radius: 100px;
	padding: 16px 34px;
	background: #fff;
	color: var(--primary2);
	display: inline;
	margin: 0 auto;
}

.map__subtitle {
	font-size: 24px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--primary2);
}

.choose-floor {
	padding-top: 0;
}

.choose-floor__padding {
	padding: 80px 0;
	padding-bottom: 10px!important;
}

.choose-floor .map img {
	max-width: 40%;
}

.floor .map img {
	max-width: 100%;
}

.part-buy {
	fill: red;
}

.part-buy:hover {
	fill: red;
}

@media (max-width: 700px) {
	.choose-house__padding,
	.choose-floor__padding {
		padding: 30px 0;
	}
	.map img {
		max-width: 100%;
	}

	.choose-floor .map img,
	.floor .map img {
		max-width: 100%;
	}
	.section {
		padding: 40px 0;
	}
	.about__text {
		padding: 30px;
		min-height: 174px;
	}
	.choose-house,
	.choose-floor,
	.floor {
		padding-top: 0;
	}
	.map__subtitle {
		font-size: 16px;
	}
	.popup {
		display: none;
	}
	.popupmob,
	.popupmob-room {
		display: block;
		margin-top: 30px;
	}
	.popupmob-room__text,
	.popupmob__text {
		min-height: 173px;
	}

	.popupmob a,
	.popupmob-room a {
		font-size: 15px;
	}
}
