@import './reset.css';
@import './components/advantages.css';
@import './components/partners.css';

.hero {
    height: 878px;
    padding: 100px 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.hero__video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.hero__info {
    max-width: 722px;
    padding: 38px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero__title {
    font-family: "Epilogue", sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 100%;
    color: #2d532d;
    margin-bottom: 26px;
}

.hero__subtitle {
    font-weight: 400;
    font-size: 20px;
    line-height: 150%;
    color: #171200;
    margin-bottom: 48px;
    text-align: justify;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

/** ABOUT */

.about__wrapper {
    display: flex;
    justify-content: space-between;
    gap: 92px;
}

.about__info {
    padding: 90px 0;
    padding-left: 120px;

    @media (max-width: 1600px) {
        padding-left: 120px;
    }
}

.about__subtitle {
    font-size: clamp(
        32px,
        calc(20.74px + 3.004vw),
        64px
      );
    line-height: 120%;
    margin-bottom: 26px;
}

.about__description {
    font-weight: 400;
    font-size: clamp(14px, 1.2vw, 16px);
    line-height: 30px;
    color: #575757;
    margin-bottom: 48px;
}

.about__image {
    & img {
        max-width: 573px;
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 1500px) {
    .about__subtitle {
        max-width: 520px;
    }
}

@media (max-width: 1400px) {
    .about__wrapper {
        gap: 60px;
    }
}

@media (max-width: 1200px) {
    .about__image {
        padding: 0;
        max-width: 100%;
        width: 100%;
        padding: 0 40px 20px;

        img {
            width: 100%;
            max-width: 100%;
        }
    }

    .about__info {
        padding-left: 0;
        padding: 90px 40px 20px;
    }

    .about__subtitle {
        max-width: 100%;
    }

    .about__wrapper {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }
}

@media (max-width: 800px) {

    .hero {
        padding: 60px 0;
        height: initial;
    }
    .hero__info {
        padding: 20px;
    }
    .hero__title {
        font-size: 20px;
        line-height: 100%;
        font-weight: 700;
    }
    .hero__subtitle {
        font-size: 14px;
        line-height: 150%;
        font-weight: 400;
    }
    .hero__actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;

        a {
            width: 100%;
        }
    }

    .about__info {
        padding: 80px 16px 12px;
    }
    .about__subtitle {
        font-size: 32px;
    }
    .about__wrapper {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        /* margin-bottom: 64px; */
    }

    .about__image {
        padding: 0 16px 20px;
    }
}

@media (max-width: 600px) {
    .about__image {
        padding: 0;
    }
}
