@import url(https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap);

*,
html {
	margin: 0;
	padding: 0
}

body {
	background-color: #fff;
	color: #000;
	font-family: "Montserrat", sans-serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 22px;
	position: relative
}

.main {
	height: calc(100vh - 40px);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	backdrop-filter: blur(80px);
	padding: 20px 16px;
	overflow: hidden;
	gap: 16px;
	transition: all .8s ease-in-out
}

.question-4,
.question-5,
.question-6,
.question-7,
.start-page {
	gap: 24px
}

.final-page,
.notice,
.question-1,
.question-2,
.question-3,
.question-4,
.question-5,
.question-6,
.question-7 {
	display: none
}

.header {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	text-align: center;
	font-weight: 500;
	font-size: 22px;
	line-height: 27px;
	padding-top: 56px;
	gap: 12px;
	width: 50vh;
	max-width: 100%;
	animation: appearance .8s forwards;
	position: relative;
    margin-bottom: 20px;
}

.header--first {
	padding-top: 36px;
	gap: 29px;
	font-weight: 400;
	font-size: 28px;
	line-height: 34px
}

.header--question {
	font-weight: 400
}

.header--choose {
	padding-top: 0;
	font-weight: 400;
	font-size: 18px;
	line-height: 22px;
	gap: 16px;
	height: 100%
}

.header--final {
	padding-top: 36px;
	gap: 24px;
	font-weight: 500;
	font-size: 22px;
	line-height: 27px
}

h1 {
	font-weight: 600;
	font-size: 40px;
	line-height: 44px;
	margin: 0 auto;
	color: #191bdf
}

.header--first>h1 {
	max-width: 340px
}

h2 {
	font-weight: 600;
	font-size: 36px;
	line-height: 36px;
	text-transform: uppercase;
	color: #191bdf
}

h3 {
	font-weight: 600;
	font-size: 34px;
	line-height: 30px;
	text-transform: uppercase
}

.header--choose>h1 {
	color: #000
}

.header--final>h1 {
	text-transform: uppercase
}

.image {
	max-width: calc(100vw - 32px);
	width: 50vh;
	height: 100%;
	border-radius: 10px;
	overflow: hidden;
	animation: appearance .8s forwards
}

.girl {
	width: 100%;
	height: auto;
	border-radius: 10px
}

.shadow-overlay {
	backdrop-filter: blur(40px);
	display: flex;
	justify-content: center;
	position: relative;
	padding-left: 10%
}

.question {
	position: absolute;
	left: calc(43% - 19px);
	top: calc(50% - 27px)
}

.buttons-block {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	text-align: center;
	gap: 10px;
	width: 50vh;
	max-width: calc(100vw - 32px);
	animation: appearance .8s forwards
}

.buttons-block--start {
	font-weight: 500;
	font-size: 20px;
	line-height: 24px
}

.button {
	background: #f71c46;
	border: none;
	border-radius: 10px;
	height: 61px;
	color: #fff;
	text-transform: uppercase;
	font-family: Montserrat;
	font-weight: 700;
	font-size: 24px;
	line-height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0 8px
}

.button:disabled {
	background: #848282
}

.button--no {
	background: #fff;
	color: #f71c46;
	border: 3px solid #f71c46
}

.button--skip {
	background: #fff;
	color: #000;
	border: 2px solid #000
}

.buttons-block--grid {
	display: grid;
	grid-template-columns: 1fr 1fr
}

.choose-block {
	display: flex;
	flex-direction: column;
	gap: 11px
}

.choose-line {
	display: flex;
	justify-content: center;
	width: 100%;
	gap: 10px
}

.choose-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	font-weight: 500;
	font-size: 18px;
	line-height: 22px;
	animation: appearance .8s forwards;
	text-align: center
}

.choose__image {
	width: 174px;
	max-height: 15vh;
	height: 140px;
	object-fit: cover;
	border-radius: 10px;
	cursor: pointer
}

.choose-item--active>.choose__image {
	width: 162px;
	max-height: calc(14vh - 3px);
	height: 138px;
	border: 6px solid #2566ff
}

footer {
	text-align: center;
	display: block;
	left: 0;
	width: 100%;
	font-size: 11px;
	font-family: Arial, serif;
	position: absolute;
	background-color: #fff
}

footer a {
	text-decoration: none
}

@keyframes appearance {
	0% {
		transform: scale(0)
	}

	100% {
		transform: scale(1)
	}
}

@media screen and (width > 880px) {
	.main {
		flex-wrap: wrap;
		justify-content: center;
	}

	.image {
		order: 0;
		height: calc(100vh - 40px);
		width: 40vw;
		display: flex;
		align-items: center
	}

	.choose-block {
		order: 0;
		height: calc(100vh - 40px);
		width: 40vw;
		justify-content: center
	}

	.choose__image {
		height: calc(30vh - 20px);
		max-height: calc(30vh - 20px);
		width: calc(45vw / 2 - 20px);
		max-width: calc(40vh - 20px)
	}

	.choose-item--active>.choose__image {
		height: calc(30vh - 32px);
		max-height: calc(30vh - 32px);
		width: calc(45vw / 2 - 32px);
		max-width: calc(40vh - 32px);
		border: 6px solid #2566ff
	}

	.header--choose {
		height: auto
	}

	.header {
		order: 1
	}

	.buttons-block {
		order: 2
	}
}