@import "https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;700&display=swap";

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box
}

html,
body,
.wrapper {
	min-height: 100%;
	height: 100%
}

html {
	font-size: 62.5%
}

body {
	font-family: "Noto Sans", Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.4;
	color: #333
}

p {
	font-size: 1.8rem;
	text-align: justify
}

.slider-block {
	display: none;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1;
	overflow: hidden
}

.common .slider-block {
	display: block
}

.slider-item {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: cover;
	opacity: 0;
	transition: opacity 0.3s linear
}

.slider-item.active {
	opacity: 1
}

.slider-item.item-1 {
	background-image: url(../images/1.1.jpg)
}

.slider-item.item-2 {
	background-image: url(../images/1.2.jpg)
}

.slider-item.item-3 {
	background-image: url(../images/1.3.jpg)
}

.slider-item.item-4 {
	background-image: url(../images/1.4.jpg)
}

.slider-item.item-5 {
	background-image: url(../images/1.5.jpg)
}

.slider-item.item-6 {
	background-image: url(../images/1.6.jpg)
}

.slider-block:after {
	content: "";
	display: block;
	position: fixed;
	background: linear-gradient(223deg, #fc865d, #ff3477);
	opacity: 0.7;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 0
}

.wrapper {
	display: flex;
	flex-direction: row;
	justify-content: center;
	background: linear-gradient(223deg, #fc865d, #ff3477)
}

.main-container {
	position: relative;
	z-index: 2;
	min-height: 100%;
	width: 100%;
	max-width: 40rem;
	display: flex;
	align-items: center;
	justify-content: center
}

.common .main-container::after,
.common .main-container::before {
	content: "";
	position: absolute;
	width: 100%;
	left: 0
}

.common .main-container::after {
	top: 2rem;
	border-top: 5px solid #fff
}

.common .main-container::before {
	bottom: 2rem;
	border-bottom: 5px solid #fff
}

.popup-block {
	height: 100%;
	width: 100%;
	padding: 1em;
	color: #000;
	display: flex;
	flex-direction: column;
	justify-content: space-between
}

.popup-images {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 5%
}

.popup-item {
	position: relative;
	overflow: hidden;
	width: 49%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50%;
	z-index: 4;
	cursor: pointer;
	transition: all 0.5s
}

.popup-item:after {
	content: "";
	display: block;
	padding-bottom: 100%
}

.popup-item.item-1 {
	background-image: url(../images/1d.jpg);
	transform-origin: 100% 100%;
	border-radius: 1rem 1rem 0 1rem;
	margin-bottom: 2%
}

.popup-item.item-1:hover {
	transform: scale(1.1)
}

.popup-item.item-2 {
	background-image: url(../images/2d.jpg);
	transform-origin: 0 100%;
	border-radius: 1rem 1rem 1rem 0;
	margin-bottom: 2%
}

.popup-item.item-2:hover {
	transform: scale(1.1)
}

.popup-item.item-3 {
	background-image: url(../images/3d.jpg);
	transform-origin: 100% 0;
	border-radius: 1rem 0 1rem 1rem
}

.popup-item.item-3:hover {
	transform: scale(1.1)
}

.popup-item.item-4 {
	background-image: url(../images/4d.jpg);
	transform-origin: 0 0;
	border-radius: 0 1rem 1rem 1rem
}

.popup-item.active,
.popup-item:nth-child(4):hover {
	transform: scale(1.1)
}

.grayscale {
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%)
}

.popup-header {
	border-top: 5px solid #fff;
	border-bottom: 5px solid #fff;
	width: 100%;
	padding: 12px 0;
	text-align: center
}

.popup-title {
	font-size: 2.8rem;
	font-weight: bold
}

.popup-content {
	font-size: 1.8rem
}

.step-block {
	display: none;
	width: 100%;
	padding: 1em;
	border-radius: 5px;
	color: #fff
}

.step-item {
	display: none;
	align-items: flex-start
}

.step-item.visible {
	display: flex;
	opacity: 1
}

.step-header {
	margin: 0 0 1rem;
	font-size: 2.8rem;
	text-align: center;
	font-weight: 600
}

.step-title {
	margin: 0 0 1rem;
	font-size: 2.6rem;
	font-weight: 600;
	text-transform: uppercase
}

.buttons-block {
	margin-top: 2rem;
	display: flex;
	justify-content: space-around;
	align-items: center
}

.loader-overlay {
	display: none
}

.hidden {
	display: none
}

.visible {
	display: block
}

.popup-btn,
.step-btn {
	width: 100%;
	height: 6rem;
	line-height: 6rem;
	padding: 0 2rem;
	position: relative;
	display: inline-block;
	color: #000;
	font-size: 1.6rem;
	text-decoration: none;
	text-transform: uppercase;
	text-align: center;
	letter-spacing: 0.1rem;
	border-radius: 1rem;
	cursor: pointer;
	margin-bottom: 1rem;
	font-weight: 600;
	background: #fff
}

.no-btn,
.yes-btn {
	width: 8rem;
	height: 8rem;
	background: #fff;
	border-radius: 1rem;
	padding: 0;
	text-align: center;
	color: #000;
	line-height: 8rem;
	font-size: 2.8rem
}

.no-btn::after,
.yes-btn::after {
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	background: no-repeat 50% 50%;
	background-size: 50px auto
}

.no-btn {
	background: #430b89
}

.no-btn::after {
	background-image: url(../images/close-cross.svg)
}

.yes-btn {
	background: #fff
}

.yes-btn::after {
	background-image: url(../images/back-arrow.svg)
}

.fadeInUp {
	animation: a 0.4s
}

@keyframes a {
	0% {
		opacity: 0;
		transform: translate3d(0, 10rem, 0);
	}

	to {
		opacity: 1;
		transform: translateZ(0);
	}
}

@media (min-width: 320px) and (max-width: 767px) {
	.popup {
		max-width: 30rem
	}
}

@media (min-width: 375px) {
	html {
		font-size: 75%
	}
}

@media (min-width: 768px) {
	html {
		font-size: 87.5%
	}

	.main-container {
		padding: 50px 0
	}
}

@media (min-width: 992px) {
	.common .main-container {
		max-width: 50rem
	}
}