:root {
	--font-color: #fff;
	--font-color-accent: #000;
}

@font-face {
	font-family: 'Montserrat';
	src: url('./fonts/Montserrat-Regular.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Montserrat';
	src: url('./fonts/Montserrat-Bold.woff2') format('woff2');
	font-weight: bold;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Montserrat';
	src: url('./fonts/Montserrat-SemiBold.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

html,
body {
	height: auto;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--font-color);
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	font-size: 32px;
	box-sizing: border-box;
	text-align: center;
}

body {
	background-color: #000;
	height: 100%;
}

h1,
h2,
p {
	margin: 0;
}

h1 {
	font-size: 45px;
}

.nohover {
	pointer-events: none;
}

.main {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	max-width: 1440px;
	height: 100%;
	width: 100%;
	padding-block: 80px 105px;
	column-gap: 84px;
	background-image: url(./images/bg.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	padding-inline: 10px;
}

.main__content-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	row-gap: 80px;
	max-width: 612px;
}

.main__content-text-wrapper {
	display: flex;
	flex-direction: column;
	justify-content: center;
	row-gap: 30px;
}

.main__content-subtitle {
	font-size: 32px;
	font-weight: 400;
}

.main__content-advantages {
	font-weight: 600;
	display: flex;
	justify-content: center;
}

.main__content-button-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	row-gap: 50px;
}

.button {
	max-width: 596px;
	max-height: 114px;
	height: 100vh;
	width: 100%;
	border-radius: 65px;
	text-align: center;
	font-size: 32px;
	font-weight: 700;
	font-family: 'Montserrat', sans-serif;
	text-decoration: none;
	display: flex;
	justify-content: center;
	align-items: center;
	padding-inline: 64px;
	box-sizing: border-box;
	outline-offset: -9px;
}

.button--yellow {
	color: var(--font-color-accent);
	background: linear-gradient(
		83deg,
		#e66f00 -22.87%,
		#f2ec00 48.3%,
		#e66e00 147.06%
	);
	box-shadow: 0px 10px 0px 0px #da8300;
	outline: 3px solid #fff057;
}

.button--blue {
	color: var(--font-color);
	background: linear-gradient(
		83deg,
		#02dee4 -22.87%,
		#157fdd 48.3%,
		#02d1e5 147.06%
	);
	box-shadow: 0px 10px 0px 0px #085c86;
	outline: 3px solid #81d9ff;
}

.main__images-wrapper {
	display: flex;
	width: 100%;
	height: auto;
	flex-direction: column;
	max-width: 598px;
	max-height: 837px;
	row-gap: 10px;
}

.main__image-container {
	width: 100%;
	height: auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.main__image-container:nth-child(1) {
	max-height: 245px;
	margin-bottom: -30px;
	aspect-ratio: 598 / 245;
}
.main__image-container:nth-child(2) {
	max-height: 352px;
	margin-bottom: -30px;
	aspect-ratio: 598 / 352;
}

.main__image-container:nth-child(3) {
	max-height: 280px;
	aspect-ratio: 598 / 280;
}
.main__image {
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	height: 100%;
	transition-duration: 0.3s;
}

.main__image--1 {
	background-image: url(./images/1.png);
	max-height: 245px;
}

.main__image--2 {
	background-image: url(./images/2.png);
	max-height: 352px;
}

.main__image--3 {
	background-image: url(./images/3.png);
	max-height: 280px;
}

@media (hover: hover) {
	.main__image--1:hover {
		background-image: url(./images/1_over.png);
	}

	.main__image--2:hover {
		background-image: url(./images/2_over.png);
	}

	.main__image--3:hover {
		background-image: url(./images/3_over.png);
	}
}

@media (max-width: 1150px) {
	.main__content-wrapper {
		min-width: 450px;
	}

	.main__content-title {
		font-size: 32px;
	}

	.main__content-subtitle {
		font-size: 24px;
	}

	.main__content-advantages {
		font-size: 24px;
	}
}

@media (max-width: 1000px) {
	.main {
		flex-direction: column;
		padding-inline: 14px;
		padding-block: 20px;
	}

	.main__content-wrapper,
	.main__content-text-wrapper {
		display: contents;
	}

	.main__content-title,
	.main__content-subtitle {
		max-width: 612px;
	}

	.main__content-advantages--visible-desktop {
		display: none;
	}

	.main__content-wrapper {
		min-width: 612px;
	}

	.main__content-title {
		font-size: 45px;
		margin-bottom: 22px;
		order: -1;
	}

	.main__content-subtitle {
		font-size: 32px;
		margin-bottom: 30px;
	}

	.main__content-advantages {
		font-size: 32px;
	}

	.main__images-wrapper {
		order: -1;
		margin-bottom: 22px;
	}
}

@media (max-width: 550px) {
	.main__content-title {
		font-size: 24px;
	}

	.main__content-subtitle {
		font-size: 22px;
	}

	.button {
		font-size: 22px;
	}
}

@media (max-width: 460px) {
	.main__content-title {
		font-size: 20px;
		max-width: 280px;
	}

	.main__content-subtitle {
		font-size: 18px;
		max-width: 300px;
	}

	.main__content-button-wrapper {
		row-gap: 30px;
	}

	.main__images-wrapper {
		max-width: 301px;
	}

	.button {
		font-size: 18px;
		max-width: 348px;
		max-height: 71px;
		padding-inline: 32px;
	}

	.button--yellow {
		box-shadow: 0px 4px 0px 0px #da8300;
	}

	.button--blue {
		box-shadow: 0px 4px 0px 0px #085c86;
	}

	.main__image-container:nth-child(1),
	.main__image-container:nth-child(2) {
		margin-bottom: -25px;
	}
}
