/* Підключення шрифтів */
@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");

/* Стилі за замовченням */
body {
    font-family: "Rubik";
    font-size: 0.875rem;
    color: #646D70;
}

.wrapper {
    min-height: 100%;
    overflow: clip;

    display: flex;
    flex-direction: column;

}


/* Загальні стилі */
.page {
    flex: 1 1 auto;
}

.page__main {}

.page__materials {}

.page__inovate {}

.page__info {}

/* Налаштування адаптиву */

[class*="__conteiner"] {
    max-width: 52.5rem;
    padding: 0rem 0.9375rem;
    margin: 0 auto;
}


/* Модулі */

.title {
    font-family: "Merriweather";
    font-size: 1.875rem;
    color: white;
    line-height: 130%;
}

.title--dark {
    color: #222F33;
}

.text {
    line-height: 185%;
}

.text p:not(:last-child) {
    margin-bottom: 0.9375rem;
}

/* Основні стилі */

/* Хедер */
.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__conteiner {
    position: relative;
    z-index: 2;
    display: flex;
    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 {}

.menu {}

.menu__list {
    display: flex;
    align-items: center;
    column-gap: 2.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    flex-wrap: wrap;
    row-gap: 0.625rem;
}

.menu__item {}

.menu__link {
    color: white;
}

.menu__link:hover {
    text-decoration: underline;
}

.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;
}



/* Головна секція */
.main-section {
    min-height: 100vh;
    position: relative;
    display: flex;
}

.main-section__conteiner {
    padding-top: 5.625rem;
    padding-bottom: 3.125rem;
    position: relative;
    z-index: 2;
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: 54.320988% 1fr;
    align-items: 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 {}

.title {}

.main-section__video-link {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 500;
}

.main-section__video-link:hover {
    text-decoration: underline;
}

.main-section__video-link::before {
    content: '';
    background: url("../img/main/Play.svg") left no-repeat;
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    border-radius: 50%;
}

.main-section__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
}

.main-section__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Матеріали */

.materials {
    position: relative;
    z-index: 2;
}

.materials__conteiner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    justify-content: space-between;
    align-items: start;
}

.materials__content {
    display: grid;
    gap: 0.8125rem;
    justify-items: start;
}

.materials__title {}

.materials__text {}

.materials__more {
    padding: 0.625rem 0.875rem;
    border: 1px solid #646d70;
    border-radius: 0.25rem;
    transition: all 0.3s;
}

.materials__more:hover {
    background-color: #333;
    color: #fff;
}

.materials__slider {
    transform: translate(0, -20.765027%);
    max-width: 20.3125rem;
    justify-self: end;
    position: relative;
}

.slider-materials {}

.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: 0rem 0.3125rem 1rem 0.3125rem;
    flex-wrap: wrap;
    gap: 0.5rem;
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
}

.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;
}

.swiper {
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
    box-sizing: content-box;

}

.swiper-slide {
    flex-shrink: 0;
}


/* Іновації */

.inovate {
    background-color: #222F33;
    padding: 4.5rem 5rem;
}

.inovate__conteiner {}

.invate__title {}

.invate__title:not(:last-child) {
    margin-bottom: 0.5rem;
}

.ivote__text {
    columns: 2 15.625rem;
    gap: 2.6875rem;
    color: #fff;
    opacity: 0.6;
}

/* Інформація */

.info {
    padding-top: 5.3125rem;
    padding-bottom: 5.3125rem;
}

.info__conteiner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 4.6875rem;
    row-gap: 1.875rem;
}

.info__image {}

.info__image img {
    max-width: 100%;
}


.info__content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    column-gap: 3.75rem;
    row-gap: 2.3125rem;
}

.info__item {}

.info__title {
    font-family: "Merriweather";
    font-size: 1.125rem;
    color: #222F33;
}

.info__title:not(:last-child) {
    margin-bottom: 0.25rem;
}

.info__text {
    font-size: 0.75rem;
}


/* Футер */

.footer {
    background-color: #222F33;
    padding-top: 2.0625rem;
    padding-bottom: 2.0625rem;
}

.footer__conteiner {
    align-items: center;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 0.9375rem;
    row-gap: 1.25rem;
}

.footer__mail {
    color: #fff;
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.6;
}

.footer__mail:hover {
    text-decoration: underline;
}

.footer__logo {
    justify-self: center;
}

.footer__menu {}

.menu-footer {
    gap: 1.875rem;
    justify-self: end;
    display: flex;

}

.menu-footer__item {}

.menu-footer__link {
    color: #fff;
    opacity: 0.6;
}

.menu-footer__link:hover {
    text-decoration: underline;

}