/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}

body {
	line-height: 1;
}

ol,
ul {
	list-style: none;
}

blockquote,
q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

a {
	color: var(--light-grey);
	text-decoration: none;
}

a:active,
a:focus,
a:hover {
	transition: 0.3s;
	transition-property: all;
	text-decoration: none;
}

/****************************************************************************************************/
* {
	box-sizing: border-box;
}

input {
	border: none;
}

select {
	outline: none;
	border: none;
}

@font-face {
    font-family: 'UAF Sans';
    src: url('../fonts/uaf-sans/UAFSans-Bold.eot');
    src: url('../fonts/uaf-sans/UAFSans-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/uaf-sans/UAFSans-Bold.woff2') format('woff2'),
        url('../fonts/uaf-sans/UAFSans-Bold.woff') format('woff'),
        url('../fonts/uaf-sans/UAFSans-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'UAF Sans';
    src: url('../fonts/uaf-sans/UAFSans-SemiBold.eot');
    src: url('../fonts/uaf-sans/UAFSans-SemiBold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/uaf-sans/UAFSans-SemiBold.woff2') format('woff2'),
        url('../fonts/uaf-sans/UAFSans-SemiBold.woff') format('woff'),
        url('../fonts/uaf-sans/UAFSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'UAF Sans';
    src: url('../fonts/uaf-sans/UAFSans-Medium.eot');
    src: url('../fonts/uaf-sans/UAFSans-Medium.eot?#iefix') format('embedded-opentype'),
        url('../fonts/uaf-sans/UAFSans-Medium.woff2') format('woff2'),
        url('../fonts/uaf-sans/UAFSans-Medium.woff') format('woff'),
        url('../fonts/uaf-sans/UAFSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'UAF Sans';
    src: url('../fonts/uaf-sans/UAFSans-Regular.eot');
    src: url('../fonts/uaf-sans/UAFSans-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/uaf-sans/UAFSans-Regular.woff2') format('woff2'),
        url('../fonts/uaf-sans/UAFSans-Regular.woff') format('woff'),
        url('../fonts/uaf-sans/UAFSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

input[type='text'],
input[type='email'],
input[type='tel'] {
	font-size: 14px;
	line-height: 19px;
}

:root {
  --font-family: "UAF Sans", sans-serif;
  --second-family: "Inter", sans-serif;
  --third-family: "Fixel Display", sans-serif;
	--green: #a3ff9c;
	--very-light-green: #d6ffd3;
	--dark-grey: #6c6c6c;
	--black: #000;
	--mid-grey: #99999b;
	--light-grey: #eee;
}

html,
body {
	height: 100%;
	margin: 0;
	padding: 0;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	min-height: 100vh;
}

body {
	font-family: var(--font-family);
	font-weight: 400;
	font-size: 24px;
	line-height: 130%;
	color: var(--light-grey);
	background: #171717;
	padding: 0;
	max-width: 100vw;
	overflow-x: hidden;
}

input,
textarea,
select,
button {
	font-family: inherit;
	-webkit-appearance: none;
}

select {
	cursor: pointer;
}

button {
	border: none;
	cursor: pointer;
}

img {
	max-width: 100%;
	height: auto;
}

strong {
	font-weight: 500;
}

.wrapper {
	display: flex;
	flex-direction: column;
	height: 100vh;
	max-height: 100vh;
}

.header {
	padding: 13px 80px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	background: #171717;
}

.match {
	flex: 1;
	display: flex;
	align-items: center;
	background: url('../img/match-nemesis/nemesis-green-bg.png') no-repeat center center #171717;
	background-size: cover;
}
.match_inner {
	background-image: url('../img/match-nemesis/nemesis-bg.png');
}
.match_end {
	background: #171717;
}

.match-content {
	max-width: 696px;
	display: flex;
	align-items: center;
	align-self: center;
	justify-content: center;
	flex-direction: column;
	width: 100%;
	margin: 0 auto;
	text-align: center;
	font-family: var(--font-family);
	font-weight: 400;
	font-size: 18px;
	line-height: 133%;
	color: #737373;
	position: relative;
}

.match-content h1 {
	font-family: var(--font-family);
	font-weight: 700;
	font-size: 56px;
	line-height: 104%;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	text-align: center;
	color: #fff;
	margin-bottom: 16px;
}
.match-content h1 strong {
	font-weight: 700;
	color: #25dd6f;
}
.match-content h3 {
	font-family: var(--font-family);
	font-weight: 400;
	font-size: 24px;
	line-height: 133%;
	letter-spacing: -0.03em;
	text-align: center;
	color: #fff;
	margin-bottom: 16px;
}
.match-content p {
	padding: 0 90px;
	margin-bottom: 32px;
}

.btn {
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1), 0 0 2px 0 rgba(0, 0, 0, 0.15);
	background: #25dd6f;
	border-radius: 10px;
	padding: 10px 24px;
	font-family: var(--font-family);
	font-weight: 500;
	font-size: 16px;
	line-height: 125%;
	text-transform: uppercase;
	text-align: center;
	color: #000;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #25dd6f;
	box-sizing: border-box;
}

.btn:hover {
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.15), 0 0 2px 0 rgba(0, 0, 0, 0.1), 0 0 2px 1px rgba(0, 0, 0, 0.08), 0 0 1px 3px rgba(168, 85, 247, 0.6);
}

.btn:after {
	content: '';
	display: block;
	background-size: contain;
	width: 24px;
	height: 24px;
	margin-left: 8px;
	background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.75 12H20.25' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M13.5 5.25L20.25 12L13.5 18.75' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}

.btn_hide-arrow:after {
	display: none;
}

.btn_transparent {
	border: 1px solid #fff;
	background-color: transparent;
	color: #fff;
}

.match-quiz {
	flex: 1;
	height: calc(100vh - 70px);
	overflow: hidden;
	display: flex;
}

.match-quiz__left {
	width: 50%;
	flex: none;
	align-items: center;
	display: flex;
}

.match-quiz__right {
	width: 50%;
	flex: none;
}

.match-quiz__right img {
	display: block;
	width: 100%;
	height: 100%;
	border: 1px solid #a3a3a3;
	border-radius: 20px;
	object-fit: cover;
	object-position: center center;
}
.match-quiz_result .match-quiz__right img {
	border-color: #000;
}

.match-quiz_result .match-quiz__left {
	width: auto;
	flex: 1;
	align-items: center;
	display: flex;
	padding: 20px 40px;
}

.match-quiz_result .match-quiz__right {
	width: auto;
	flex: none;
	max-width: 50%;
}

.match-quiz__left-wrapper {
	max-width: 392px;
	margin: 0 20px 0 104px;
}

.match-quiz__left-wrapper_big {
	max-width: 526px;
	margin: 0 auto;
	max-height: 80%;
	overflow-x: auto;
	padding-top: 16px;
	padding-bottom: 16px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	/* Firefox */
	scrollbar-color: rgba(255, 255, 255, 0.4) transparent;
}

/* Chrome, Safari */
.match-quiz__left-wrapper_big::-webkit-scrollbar {
	height: 6px;
	/* для горизонтального скролла */
	border-radius: 3px;
}

.match-quiz__left-wrapper_big::-webkit-scrollbar-track {
	background: transparent;
}

.match-quiz__left-wrapper_big::-webkit-scrollbar-thumb {
	background-color: rgba(255, 255, 255, 0.4);
	border-radius: 3px;
}

.match-quiz__number {
	width: 48px;
	height: 48px;
	border-radius: 100%;
	background-color: #404040;
	font-family: var(--font-family);
	font-weight: 600;
	font-size: 24px;
	line-height: 175%;
	text-align: center;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 32px;
}

.match-quiz__title {
	font-family: var(--font-family);
	font-weight: 900;
	font-size: 36px;
	line-height: 117%;
	text-transform: uppercase;
	color: #fff;
	margin-bottom: 26px;
}

.match-quiz__name {
	font-family: var(--font-family);
	font-weight: 700;
	font-size: 24px;
	line-height: 133%;
	color: #efefef;
	margin-bottom: 16px;
}

.match-quiz__text {
	font-family: "Inter", sans-serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 133%;
	color: #737373;
	margin-bottom: 32px;
}

.match-quiz__answers {
	margin-bottom: 32px;
}

.match-quiz__answer {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	cursor: pointer;
	margin-bottom: 26px;
	font-family: var(--third-family);
	font-weight: 400;
	font-size: 14px;
	line-height: 150%;
	color: #fff;
}

.match-quiz__answer input[type="radio"] {
	display: none;
}

.match-quiz__answer-dot {
	margin-top: 4px;
	width: 16px;
	height: 16px;
	border: 1px solid #404040;
	border-radius: 50%;
	flex-shrink: 0;
	position: relative;
	transition: border-color 0.2s;
}

.match-quiz__answer input[type="radio"]:checked+.match-quiz__answer-dot {
	border-color: white;
	background-color: white;
}

.match-quiz__answer input[type="radio"]:checked+.match-quiz__answer-dot::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 8px;
	height: 8px;
	background-color: #000;
	border-radius: 50%;
}

.match-quiz__btns {
	display: flex;
	gap: 16px;
	align-items: center;
	margin-bottom: 40px;
}
.match-content__mobile-images {
	display: none;
}

@media (max-width: 1023px) {
	.header {
		gap: 15px;
	}
	.match {
		display: block;
		background: url('../img/match-nemesis/nemesis-green-mobile-bg.png?v=2') no-repeat center center #171717;
		background-size: cover;
	}
	.match_inner {
		background-image: url('../img/match-nemesis/nemesis-mobile-bg.png');
	}
	.match-content__mobile-images {
		display: block;
		margin: 40px 0 0 0;
		width: calc(100% + 32px);
		right: -16px;
		position: relative;
	}
	.match_end {
		background: #171717;
	}
	.match-content {
		padding: 12.31vw 16px 0;
		font-weight: 400;
		font-size: 4.1vw;
		line-height: 125%;
		text-align: center;
		color: #737373;
	}

	.match-content__images {
		max-width: 100vw;
		width: 100vw;
		height: 360px;
		overflow: hidden;
		position: relative;
		order: 999;
		box-sizing: border-box;
	}

	.match-content h1 {
		font-weight: 700;
		font-size: 10.26vw;
		line-height: 105%;
		letter-spacing: -0.02em;
		text-transform: uppercase;
		text-align: center;
		color: #fff;
		margin-bottom: 16px;
	}
	.match-content h3 {
    font-size: 18px;
	}

	.match-content p {
		padding: 0;
	}

	.match-content__image_1 {
		width: 217px;
		height: auto;
		top: auto;
		bottom: 0;
		left: 0;
		margin: 0 0 135px 15px;
	}

	.match-content__image_2 {
		width: 342px;
		height: auto;
		top: auto;
		bottom: 0;
		left: auto;
		margin: 0 0 193px 0;
		right: -47px;
	}

	.match-content__image_3 {
		width: 197px;
		height: auto;
		top: auto;
		bottom: 0;
		left: 0;
		margin: 0 0 -12px 10px;
	}

	.match-content__image_4 {
		width: 174px;
		height: auto;
		top: auto;
		bottom: 0;
		left: auto;
		margin: 0 31px 0 0;
		right: 0;
	}

	.match-quiz {
		height: max-content;
		flex-direction: column;
	}

	.match-quiz__left {
		order: 2;
		width: 100%;
		margin-bottom: 32px;
	}

	.match-quiz__right {
		order: 1;
		width: 100%;
		margin-bottom: 32px;
	}
	.match-quiz_result .match-quiz__right {
		max-width: 100%;
	}

	.match-quiz__left-wrapper {
		max-width: 100%;
		margin: 0;
		padding: 0 16px;
	}

	.match-quiz__btns {
		flex-direction: column;
	}
	.match-quiz_result .match-quiz__left {
		padding: 0;
	}
	.match-quiz__qr {
		margin: 0 auto;
    display: block;
	}
}

@media (min-width: 1024px) and (orientation: portrait) and (min-height: 1000px) {
	.match {
		display: block;
		align-items: flex-start;
		background: url('../img/match-nemesis/nemesis-green-mobile-bg.png?v=2') no-repeat center center #171717;
		background-size: cover;
	}
	.match_inner {
		background-image: url('../img/match-nemesis/nemesis-mobile-bg.png');
	}
	.match_end {
		background: #171717;
	}
	.match-content {
		padding: 12.31vw 16px 0;
		font-weight: 400;
		font-size: 3vw;
		line-height: 125%;
		text-align: center;
		color: #fff;
		max-width: 100%;
	}
	.match-content__mobile-images {
		display: block;
		margin: 40px 0 0 0;
		width: calc(100% + 32px);
		right: -16px;
		position: relative;
	}
	.match-content__images {
		max-width: 100vw;
		width: 100vw;
		height: 360px;
		overflow: hidden;
		position: relative;
		order: 999;
		box-sizing: border-box;
	}

	.match-content h1 {
		font-size: 54px;
	}
	.match-content h3 {
		font-size: 24px;
	}

	.match-content p {
		padding: 0;
		opacity: 0.8;
	}

	.match-content__image_1 {
		width: 217px;
		height: auto;
		top: auto;
		bottom: 0;
		left: 0;
		margin: 0 0 135px 15px;
	}

	.match-content__image_2 {
		width: 342px;
		height: auto;
		top: auto;
		bottom: 0;
		left: auto;
		margin: 0 0 193px 0;
		right: -47px;
	}

	.match-content__image_3 {
		width: 197px;
		height: auto;
		top: auto;
		bottom: 0;
		left: 0;
		margin: 0 0 -12px 10px;
	}

	.match-content__image_4 {
		width: 174px;
		height: auto;
		top: auto;
		bottom: 0;
		left: auto;
		margin: 0 31px 0 0;
		right: 0;
	}

	.match-quiz {
		height: 100%;
		flex-direction: column;
		justify-content: space-between;
	}

	.match-quiz__left {
		order: 1;
		width: 100%;
		margin-bottom: 32px;
	}

	.match-quiz_result .match-quiz__right,
	.match-quiz__right {
		order: 2;
		width: 100%;
		max-width: 100%;
	}

	.match-quiz__left-wrapper {
		max-width: 100%;
		margin: 0;
		padding: 0 16px;
	}

	.match-quiz_result .match-quiz__left-wrapper {
		max-height: max-content;
	}

	.match-quiz__answer {
		font-size: 18px;
	}

	.match-quiz__btns {
		flex-direction: column;
	}

	.match-quiz__text {
		color: #fff;
		opacity: 0.8;
	}

	.match .btn {
		font-size: 24px;
		padding: 18px 35px;
	}
	.match-quiz__qr {
		margin: 0 auto;
    display: block;
	}
}

@media (min-width: 1480px) {
	.header svg {
		width: 150px;
		height: auto;
	}

	.match-quiz {
		height: calc(100vh - 84px);
	}

	.match-quiz__title {
		font-size: 46px;
	}

	.match-quiz__left-wrapper {
		max-width: 560px;
	}

	.match-quiz__answer {
		font-size: 18px;
	}

	.match-quiz__left-wrapper_big {
		max-width: 760px;
	}

	.match-quiz__name {
		font-size: 28px;
	}

	.match-quiz__text {
		font-size: 21px;
	}
}