@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

* {
	margin: 0;
	padding: 0;
	outline: 0;
	box-sizing: border-box
}

html {
	font-size: 62.5%
}

html,
body {
	height: 100%
}

body {
	min-height: 100%;
	margin: 0 auto;
	background-color: #fff;
	font-family: "Bebas Neue", sans-serif;
	font-weight: 400
}

.wrapper {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: stretch;
	height: 100%;
	min-height: 400px;
	background: #4c5da5 url(../images/bg-1.jpg) no-repeat center top;
	background-size: cover
}

.step-block {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: stretch;
	flex: 1
}

.step-item {
	display: none;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	flex: 1
}

.step-item.is-active {
	display: flex
}

.btn-block {
	position: relative;
	text-align: center;
	margin-bottom: 20px
}

.step-inner {
	max-width: 60%;
}

.btn {
	display: inline-block;
	padding: 14px 50px;
	background: linear-gradient(to right, #f953c6, #b91d73);
	color: #fff;
	font-size: 40px;
	font-weight: 600;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 2rem;
	cursor: pointer
}

.step-title {
	color: #f953c6;
	text-shadow: 2px 2px 6px #b91d73;
	font-weight: 600;
	font-size: 12rem;
	text-align: center
}

.step-text {
	margin-bottom: 4rem;
	color: #fff;
	font-size: 38px;
	text-align: center
}

.members-block {
	display: flex;
	flex-direction: column;
	height: 100%;
	width: 100%;
	max-height: 68rem;
	max-width: 56rem;
	background-color: #292B49;
	border: 10px solid #b91d73;
	border-radius: 1.6rem
}

.preview-block {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	flex: 1;
	position: relative
}

.preview-member {
	position: relative;
	width: 60%;
	padding-top: 60%;
	border-radius: 50%
}

.preview-loader {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 50%;
	left: 50%;
	background-color: rgba(0, 0, 0, 0.2);
	border-radius: 50%;
	transform: translate(-50%, -50%) scale(0);
	border: 4px solid rgba(0, 0, 0, 0.6);
	background-clip: padding-box;
	animation: loader .5s ease-out forwards
}

.preview-member svg {
	display: block;
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	border: 4px solid transparent
}

#preview-sector {
	stroke-width: 0;
	stroke: none
}

.preview-circle {
	stroke-width: 0;
	fill: transparent;
	stroke: none
}

.members-btn-block {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-items: center;
	overflow: hidden
}

.members-btn {
	position: relative;
	height: 12rem;
	width: 50%;
	cursor: pointer;
	background: no-repeat center center;
	background-size: auto 60%;
	animation: btnAnimation .8s linear forwards
}

.members-btn.btn-yes {
	background-color: #21233E;
	background-image: url(../images/like.svg);
	border-bottom-left-radius: 1rem;
	transform: translateX(-20%)
}

.members-btn.btn-no {
	background-color: #1A1C38;
	background-image: url(../images/dislike.svg);
	border-bottom-right-radius: 1rem;
	transform: translateX(20%)
}

.preview-video {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	border-radius: 50%;
	overflow: hidden;
	opacity: 0;
	transform: scale(.585);
	transition: opacity .25s ease-out
}

.preview-video.is-active {
	opacity: 1;
	transform: scale(1);
	border-radius: 0;
	transition: opacity .25s ease-out, transform .4s ease-out, border-radius .4s ease-out
}

.preview-video .video {
	display: none;
	position: absolute;
	min-height: 100%;
	min-width: 100%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%)
}

.users-block {
	display: none;
	flex-direction: row;
	justify-content: space-around;
	align-items: center;
	flex-wrap: wrap;
	height: 31.5rem;
	background-color: #292B49;
	overflow: hidden
}

[data-step="1"] .users-block,
[data-step="3"] .users-block {
	display: flex
}

.users-item {
	height: 22rem;
	width: 22rem;
	margin: 4rem 1rem 5.5rem;
	background: no-repeat center center;
	background-size: cover;
	border-radius: .8rem
}

.users-item.item-1 {
	background-image: url(../images/user-1.jpg)
}

.users-item.item-2 {
	background-image: url(../images/user-2.jpg)
}

.users-item.item-3 {
	background-image: url(../images/user-3.jpg)
}

.users-item.item-4 {
	background-image: url(../images/user-4.jpg)
}

.users-item.item-5 {
	background-image: url(../images/user-5.jpg)
}

.users-item.item-6 {
	background-image: url(../images/user-6.jpg)
}

.users-item.item-7 {
	background-image: url(../images/user-7.jpg)
}

@keyframes loader {
	from {
		transform: translate(-50%, -50%) scale(0);
	}
	to {
		transform: translate(-50%, -50%) scale(1);
	}
}

@keyframes btnAnimation {
	0% {
		background-size: auto 0;
	}
	40% {
		transform: translateX(0);
		background-size: auto 0;
	}
	55% {
		background-size: auto 70%;
	}
	70% {
		background-size: auto 55%;
	}
	85% {
		background-size: auto 65%;
	}
	100% {
		background-size: auto 60%;
		transform: translateX(0);
	}
}

@media screen and (max-width: 800px) {
	html {
		font-size: 32%
	}
	.members-block {
		max-height: 100%;
		max-width: 100%;
		border: 0;
		border-radius: 0
	}
	.users-block {
		height: 22.5rem
	}
	.users-item {
		height: 17rem;
		width: 17rem;
		margin: 2rem 1rem 3.5rem
	}
	[data-step="3"] .step-title {
		font-size: 9rem
	}
	.step-text {
		padding: 0 4rem
	}
	.step-inner {
		max-width: 80%;
	}
}

@media screen and (min-width: 801px) {
	.step-text span {
		display: block
	}
}