@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-SemiBoldItalic.woff2') format('woff2');
	font-weight: 600;
	font-style: italic;
	font-display: swap;
}

:root {
	--font-family: 'Montserrat', sans-serif;
	--color-font: #000;
	--color-font-accent: #fff;
	--color-yellow: #ffae00;
	--border-radius: 61px;
	--container-width: 1440px;
}

html {
	width: 100%;
	height: auto;
}

body {
	font-family: var(--font-family);
	color: var(--color-font);
	width: 100%;
	height: 100%;
	max-width: var(--container-width);
	margin: 0 auto;
	background-color: black;
	text-align: center;
}

a {
	border-radius: var(--border-radius);
	color: var(--color-font);
	text-decoration: none;
	background-color: var(--color-yellow);
}

h1,
h2 {
	margin: 0;
}

main {
	width: 100%;
	height: 100%;
	background-color: #f4f4f4;
}

section {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.button {
	transition-duration: 0.3s;
}

.header {
	width: 100%;
	height: 100vh;
	max-height: 559px;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	background-image: url('../images/header_bg.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: var(--color-font-accent);
}

.header__container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	row-gap: 65px;
	max-width: 726px;
	margin-bottom: 88px;
	padding-inline: 10px;
}

.header__text-container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	row-gap: 25px;
}

.header__title {
	text-transform: uppercase;
	font-weight: 700;
}

.header__subtitle {
	font-weight: 500;
	font-size: 28px;
	max-width: 618px;
}

.header__button {
	width: 100%;
	max-width: 490px;
	height: 68px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 28px;
	font-weight: 700;
}

.about__container {
	display: flex;
	align-items: center;
	justify-content: center;
	padding-block: 50px;
	padding-inline: 33px;
}

.about__text {
	margin: 0;
	max-width: 1187px;
	font-size: 28px;
	font-weight: 500;
}

.slogan {
	background-color: var(--color-font-accent);
}

.slogan__container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	row-gap: 44px;
	padding-top: 44px;
	padding-bottom: 10px;
	overflow: hidden;
}

.slogan__title {
	font-size: 28px;
	font-weight: 600;
	font-style: italic;
}

.slogan__pictures {
	display: flex;
	justify-content: center;
	align-items: center;
	column-gap: 12px;
	max-height: 376px;
}

.slogan__picture {
	width: 100%;
	object-fit: cover;
}

.conditions {
	padding-top: 33px;
	padding-bottom: 70px;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	max-width: 100%;
}

.conditions__container {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	row-gap: 43px;
	height: 100%;
	width: 100%;
	max-width: 1190px;
	padding-inline: 14px;
}

.conditions__title {
	font-size: 32px;
	font-weight: 600;
	font-style: italic;
}

.conditions__swiper {
	margin: 0 !important;
	width: 100%;
}

.conditions__swiper-wrapper {
	max-width: 1190px;
	height: 100vh !important;
	width: 100% !important;
	max-height: 318px;
}

.conditions__swiper-slide {
	background-color: var(--color-font-accent);
	display: flex !important;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	row-gap: 36px;
}

.conditions__swiper-slide_small {
	max-width: 342px;
}

.conditions__swiper-slide_big {
	max-width: 442px;
}

.conditions__swiper-slide_small .swiper__text {
	max-width: 270px;
}

.conditions__swiper-slide_big .swiper__text {
	max-width: 388px;
}

.swiper__text {
	font-size: 32px;
	font-weight: 500;
}

.footer {
	width: 100%;
	height: 100vh;
	max-height: 570px;
	display: flex;
	justify-content: center;
	align-items: center;
	background-image: url('../images/footer_bg.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: var(--color-font-accent);
}

.footer__container {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	row-gap: 54px;
}

.footer__title {
	font-size: 32px;
	font-weight: 700;
	text-transform: uppercase;
}

.footer__subtitle {
	font-size: 28px;
	font-weight: 500;
	max-width: 510px;
}

.footer__button {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 82px;
	width: 100%;
	max-width: 323px;
	font-size: 30px;
	font-weight: 700;
}

@media (max-width: 1240px) {
	.conditions__swiper-wrapper,
	.conditions__swiper {
		max-width: 1102px;
	}

	.conditions__swiper-slide_small {
		max-width: 346px;
	}

	.conditions__swiper-slide_big {
		max-width: 346px;
	}

	.swiper__text {
		font-size: 26px;
	}

	.slogan__pictures {
		max-height: 100%;
		flex-wrap: wrap;
		max-width: 764px;
		gap: 5px;
	}

	.slogan__picture-container {
		width: 100%;
		height: 100%;
		max-height: 376px;
		max-width: 376px;
	}

	.slogan__picture {
		object-fit: cover;
	}
}

@media (max-width: 800px) {
	.slogan__container {
		padding-top: 20px;
		row-gap: 20px;
		padding-bottom: 18px;
	}

	.slogan__title {
		font-size: 22px;
	}

	.slogan__picture-container {
		height: 220px;
		width: 220px;
	}

	.slogan__pictures {
		max-width: 450px;
	}

	.slogan__picture {
		height: 220px;
		width: 220px;
	}
	.footer {
		background-image: url(../images/footer_bg_mobile.png);
	}
}

@media (max-width: 640px) {
	.header {
		background-image: url(../images/header_bg_mobile.png);
	}

	.header__title {
		font-size: 26px;
	}

	.header__subtitle {
		font-size: 24px;
	}

	.header__button {
		max-width: 300px;
		font-size: 20px;
	}

	.about__text {
		font-size: 22px;
	}

	.about__container {
		padding-block: 32px;
	}

	.conditions {
		padding-top: 20px;
		padding-bottom: 30px;
	}

	.conditions__title {
		font-size: 20px;
	}

	.conditions__swiper-wrapper {
		max-height: 204px;
	}

	.conditions__swiper-slide {
		row-gap: 22px;
	}

	.swiper__text {
		font-size: 20px;
		max-width: 294px !important;
	}

	.footer {
		align-items: flex-end;
	}

	.footer__container {
		padding-inline: 26px;
		margin-bottom: 104px;
	}
}

@media (max-width: 500px) {
	.slogan__title {
		font-size: 20px;
		max-width: 293px;
	}

	.slogan__picture-container {
		height: 171px;
		width: 171px;
	}

	.slogan__pictures {
		max-width: 347px;
	}

	.slogan__picture {
		height: 171px;
		width: 171px;
	}
}

@media (max-width: 375px) {
	.header {
		background-image: url(../images/header_bg_mobile.png);
	}

	.header__container {
		margin-bottom: 60px;
		row-gap: 160px;
	}

	.header__title {
		font-size: 20px;
		max-width: 300px;
	}

	.header__subtitle {
		font-size: 18px;
		max-width: 274px;
	}

	.header__button {
		max-width: 182px;
		font-size: 18px;
		padding-inline: 40px;
	}

	.about__container {
		padding-block: 23px;
	}

	.about__text {
		font-size: 18px;
	}

	.footer__title {
		max-width: 288px;
	}

	.footer__subtitle {
		max-width: 304px;
		margin-bottom: 30px;
	}

	.footer__container {
		row-gap: 24px;
	}
}

@media (hover: hover) {
	.button:hover {
		background-color: #ffc952;
	}
}
