/* Підключення шрифтів */
@import url("https://fonts.googleapis.com/css?family=Rubik:regular,500&display=swap");
@import url("https://fonts.googleapis.com/css?family=Merriweather:900&display=swap");

/* Обнулення */
* {
	padding: 0;
	margin: 0;
	border: 0;
}
*,
*::before,
*::after {
	box-sizing: border-box;
}
html,
body {
	height: 100%;
	min-width: 20rem;
	line-height: 1;
}
a {
	color: inherit;
	text-decoration: none;
}
ul li {
	list-style: none;
}
img {
	vertical-align: top;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: inherit;
	font-size: inherit;
}
button {
	line-height: inherit;
	font-weight: inherit;
	font-size: inherit;
	cursor: pointer;
	color: inherit;
	background-color: transparent;
}

/* Стилі за замовченням */
body {
	font-family: Rubik;
	font-weight: 400;
	font-size: 0.875rem;
	color: #646d70;
}
.wrapper {
	min-height: 100%;
	overflow: clip;
	display: flex;
	flex-direction: column;
}

/* Налаштування адаптиву */
[class*="__container"] {
	max-width: 52.5rem; /* Обмежуючий + відступи */
	padding-left: 0.9375rem;
	padding-right: 0.9375rem;
	margin: 0 auto;
}

/* Модулі */
.title {
	font-family: Merriweather;
	color: #fff;
	line-height: 130%;
	font-size: 1.875rem;
}
.title--dark {
	color: #222f33;
}

@media (max-width: 47.9988em) {
	.title {
		font-size: 1.5rem;
	}
}

.text {
	line-height: 185%;
}
.text p:not(:last-child) {
	margin-bottom: 0.9375rem;
}

/* Загальні стилі */
.page {
	flex: 1 1 auto;
}
.page__main {
}
.page__materials {
}

/* Основні стилі */

/* Хедер */
.header {
	position: fixed;
	width: 100%;
	left: 0;
	top: 0;
	z-index: 50;
}
.header::before {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.7);
	opacity: 0;
	transition: opacity 0.3s;
}

.header.scroll::before {
	opacity: 1;
}

.header__container {
	display: flex;
	position: relative;
	z-index: 2;
	gap: 1.25rem;
	justify-content: space-between;
	align-items: center;
	padding-top: 0.3125rem;
	padding-bottom: 0.3125rem;
	min-height: 6.5625rem;
}
.header__logo {
	overflow: hidden;
}
.header__logo img {
	width: 8.4375rem;
}

.header__body {
	display: flex;
	align-items: center;
	column-gap: 2.6875rem;
}

.header__menu {
}
.header__button {
	padding: 0.625rem 1.3125rem;
	background-color: #fff;
	border-radius: 0.25rem;
	transition: all 0.3s;
}
.header__button:hover {
	background-color: #333;
	color: #fff;
}
.menu {
}
.menu__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 2.5rem;
	row-gap: 0.625rem;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 500;
}
.menu__item {
}
.menu__link {
}
.menu__link:hover {
	text-decoration: underline;
}

@media (max-width: 39.0625em) {
	.header__container {
		min-height: 70px;
	}
	.header__body {
		column-gap: 1.25rem;
	}
	.header__button {
		padding: 0.625rem 0.9375rem;
	}
	.menu__list {
		column-gap: 1.25rem;
		font-size: 14px;
	}
	.header__logo {
		flex: 0 0 2.0625rem;
	}
}

/* Головна секція */
.main-section {
	min-height: 100vh;
	position: relative;
	display: flex;
}
.main-section__container {
	padding-top: 5.625rem;
	padding-bottom: 3.125rem;
	position: relative;
	z-index: 2;
	gap: 1.25rem;
	grid-template-columns: 54.320988% 1fr;
	align-items: center;
	display: grid;
	flex: 1 1 auto;
}

@media (max-width: 43.75em) {
	.main-section__container {
		grid-template-columns: auto;
		align-content: center;
	}
}

.main-section__content {
}
.main-section__label {
	font-size: 1rem;
	font-weight: 500;
	color: #fff;
}
.main-section__label:not(:last-child) {
	margin-bottom: 0.75rem;
}
.main-section__title {
}
.main-section__video-link {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 500;
}
@media (min-width: 43.75em) {
	.main-section__video-link {
		justify-self: center;
	}
}

.main-section__video-link::before {
	content: "";
	width: 2rem;
	height: 2rem;
	flex: 0 0 2rem;
	border-radius: 50%;
	background: url("../img/main/play.svg") left no-repeat;
}

.main-section__image {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: #000;
}
.main-section__image img {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	object-fit: cover;
}
@media (max-width: 43.75rem) {
	.main-section__image img {
		opacity: 0.6;
	}
}

/* Секція Матеріали */
.swiper {
	overflow: hidden;
}
.swiper-initialized {
	touch-action: pan-y;
}
.swiper-wrapper {
	width: 100%;
	height: 100%;
	display: flex;
	box-sizing: content-box;
}
.swiper-slide {
	flex-shrink: 0;
}

.materials {
	position: relative;
	z-index: 2;
}
.materials__container {
	position: relative;
	padding-bottom: 1.25rem;
	z-index: 2;
	display: grid;
	grid-template-columns: 50% minmax(17.5rem, 20.3125rem);
	justify-content: space-between;
	align-items: start;
	gap: 1.25rem;
	min-width: 0;
}
.materials__content {
	padding-top: 1.5625rem;
	display: grid;
	gap: 0.8125rem;
	justify-items: start;
}
.materials__title {
}
.materials__text {
}
.materials__more {
	border-radius: 0.25rem;
	font-size: 0.75rem;
	font-weight: 500;
	padding: 0.625rem 0.875rem;
	border: 1px solid #646d70;
}
.materials__slider {
	transform: translate(0, -20.765027%);
}
.slider-materials {
	position: relative;
}
.slider-materials__wrapper {
}
.slider-materials__slide {
	aspect-ratio: 325 / 366;
	position: relative;
}
.slider-materials__slide img {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	object-fit: cover;
}
.slider-materials__pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 0.3125rem 1rem 0.3125rem;
	flex-wrap: wrap;
	gap: 0.5rem;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
}
.slider-materials__pagination .swiper-pagination-bullet {
	flex: 0 0 0.5rem;
	height: 0.5rem;
	background-color: #fff;
	opacity: 0.4;
	border-radius: 50%;
	cursor: pointer;
	transition: opacity 0.3s;
}
.slider-materials__pagination .swiper-pagination-bullet-active {
	opacity: 1;
}

@media (min-width: 47.9988em) {
	.materials::before {
		content: "";
		background-color: #fff;
		position: absolute;
		left: 0;
		top: 0;
		height: 2.3125rem;
		transform: translate(0px, -100%);
		width: 61.7%;
	}
	.materials::after {
		content: "";
		position: absolute;
		bottom: 0;
		right: 0;
		height: 8.75rem;
		background-color: #222f33;
		width: 38.3%; /* 383/1000 */
	}
}

@media (max-width: 47.9988em) {
	.materials__container {
		grid-template-columns: auto;
	}
	.materials__slider {
		transform: translate(0, 0);
	}
}

/* Секція Іновації */

.inovate {
	background-color: #222f33;
	padding: 70px 0px 80px 0px;
}
.inovate__container {
}
.inovate__title {
}
.inovate__title:not(:last-child) {
	margin-bottom: 0.5rem;
}
.inovate__text {
	color: #fff;
	columns: 2 15.625rem;
	gap: 2.6875rem;
}

@media (max-width: 47.9988em) {
	.inovate {
		padding: 1.875rem 0px;
	}
}

.info {
	padding-top: 5.3125rem;
	padding-bottom: 5.3125rem;
}
.info__container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: 4.6875rem;
	row-gap: 1.875rem;
}
.info__image {
	text-align: center;
}
.info__image img {
	max-width: 100%;
}

.info__content {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: 3.75rem;
	row-gap: 2.3125rem;
}
.info__item {
}
.info__title {
	font-family: Merriweather;
	color: #222f33;
	font-size: 1.125rem;
}
.info__title:not(:last-child) {
	margin-bottom: 0.25rem;
}
.info__text {
	font-size: 0.75rem;
}

@media (max-width: 52.5em) {
	.info__content {
		column-gap: 1.25rem;
	}
	.info__container {
		column-gap: 1.5625rem;
	}
}
@media (max-width: 47.9988rem) {
	.info {
		padding-top: 2.5rem;
		padding-bottom: 2.5rem;
	}
	.info__container {
		grid-template-columns: auto;
	}
	.info__image {
		order: 2;
	}
	.info__content {
		order: 1;
	}
}

.footer {
	background-color: #222f33;
	padding-top: 2.0625rem;
	padding-bottom: 2.0625rem;
}
.footer__container {
	display: grid;
	column-gap: 0.9375rem;
	row-gap: 20px;
	color: #fff;
	align-items: center;
	grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 37.5em) {
	.footer__container {
		grid-template-columns: auto;
		justify-content: center;
		text-align: center;
	}
}
.footer__mail {
	font-size: 0.75rem;
	font-weight: 500;
}
.footer__mail:hover {
	text-decoration: underline;
}
.footer__logo {
	justify-self: center;
}
.footer__menu {
}
.menu-footer {
	justify-self: end;
	display: flex;
	gap: 1.875rem;
	align-items: center;
}
.menu-footer__item {
}
.menu-footer__link {
	font-size: 0.75rem;
	font-weight: 500;
}
.menu-footer__link:hover {
	text-decoration: underline;
}
