/* RESET  */

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    line-height: 1;
    transition: 0.2s ease;
}

body {
    padding: 0;
    margin: 0;
    font-family: sans-serif;
}

img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.row-rev {
    flex-direction: row-reverse;
}

h1,
h2,
h3,
h4,
h5,
h5,
p {
    padding: 0;
    margin: 0;
    line-height: 1;
}

a {
    text-decoration: none;
    color: inherit;
}

input {
    outline: none;

}

.btn__close {
    display: none;
}

.input-reset {
    padding: 0;
    margin: 0;
    background: none;
    border: none;
}

.title-sm {
    font-size: 38px;
    font-weight: bold;
    padding: 32px 0 14px 0;
}

.list-reset {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.btn-reset {
    padding: 0;
    margin: 0;
    border: none;
    background: none;
    cursor: pointer;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.title-sm span {
    color: #397DB8;
}

.header__btn {
    display: none;
}

/* COMP */

.header {
    background-color: #1D2730;
    position: relative;
    z-index: 100;
    -webkit-box-shadow: 1px -1px 24px 10px rgba(0, 0, 0, 0.29);
    -moz-box-shadow: 1px -1px 24px 10px rgba(0, 0, 0, 0.29);
    box-shadow: 1px -1px 24px 10px rgba(0, 0, 0, 0.29);

    position: fixed;
    z-index: 1000;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__logo img,
.header__logo img {
    display: block;
    width: 120px;
}

.header__list {
    display: flex;
    align-items: center;
    gap: 52px;
}

.header__list.active {
    left: 0;
}

.header__list-link {
    color: #fff;
    display: block;
}

.header__list-link:hover {
    transform: scale(1.2);
}

.header__action-btn {
    background-color: #78A32F;
    color: #fff;
    font-size: 18px;
    padding: 14px 32px;
    display: inline-block;
}

.header__action-btn:hover {
    transform: scale(1.1);
}

.main_content h2, .main-content h3, .main-content h4 {
    font-size: 38px;
    font-weight: bold;
    padding: 24px 0 12px 0;
}
@media(max-width: 440px) {
    .main_content h2, .main-content h3, .main-content h4 {
    font-size: 20px;
}
}
.main_content p {
    font-size: 14px;
    font-weight: 400;
    margin: 10px 0;
}

.main_content ul, .main_content ol {
    padding-left: 30px;
}

.work {
    margin-top: 119px;
}



/* hero  */

.hero {
    margin-top: 119px;
    height: 605px;
    width: 100%;
    background-image: url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 120px;

    position: relative;
    z-index: 100;
    -webkit-box-shadow: 1px -1px 24px 10px rgba(0, 0, 0, 0.29);
    -moz-box-shadow: 1px -1px 24px 10px rgba(0, 0, 0, 0.29);
    box-shadow: 1px -1px 24px 10px rgba(0, 0, 0, 0.29);
}

.hero__content {
    max-width: 720px;
}

.hero__title {
    padding: 92px 0 22px 0;
    font-size: 52px;
    color: #fff;
    line-height: 115%;
    text-shadow: #000 1px 0 10px;
}

.hero__subtitle {
    color: #fff;
    line-height: 150%;
    max-width: 380px;
    margin-bottom: 32px;
    text-shadow: #000 1px 0 10px;
}

.hero__btn {
    background-color: #78A32F;
    color: #fff;
    font-size: 18px;
    padding: 14px 32px;
}

.hero__btn:hover {
    transform: scale(1.1);
}

.hero-inf__list {
    display: flex;
    align-items: center;
    justify-content: space-between;

    position: relative;
    top: 140px;
}

.hero-inf__list-item {
    text-align: center;
}

.hero-inf__list-item p {
    position: relative;
    bottom: 12px;
}

.hero-inf__list-item:hover img {
    transform: scale(1.1);
}

/* about */

.about__inner {
    padding-top: 42px;
}

.about__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about__info_blocks-block {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 52px 0;
}

.about__info_blocks-subtitle {
    font-size: 14px;
    font-weight: 400;
    padding: 12px 0;
    max-width: 480px;
    line-height: 120%;
}

.about__right {
    animation: animateImgLogo 2s infinite forwards;
}

@keyframes animateImgLogo {
    0% {
        transform: scale(1.0);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1.0);
    }
}

/* user */

.user__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.user__info_blocks {
    display: flex;
    flex-direction: column;
    gap: 42px;
}

.user__left {
    animation: animateImgLogo 2s infinite forwards;
}

.user__right {
    max-width: 585px;
    width: 100%;
}

.user__info_blocks-content {
    display: flex;
    align-items: center;
    gap: 36px;
}

.user__count {
    border-radius: 100px;
    color: #fff;
    font-size: 14px;
    position: relative;
}

.user__count::before {
    position: absolute;
    content: '';
    width: 42px;
    height: 42px;
    background-color: #397DB8;
    left: 50%;
    right: 0;
    top: 50%;
    bottom: 0;
    border-radius: 100px;
    z-index: -1;
    transform: translate(-50%, -50%);
}

.user__info_blocks {
    margin-top: 22px;
}

.user__info_content-subtitle {
    font-size: 14px;
    font-weight: 400;
    max-width: 480px;
    line-height: 120%;
}

/*work*/

.work__blocks_block {
    -webkit-box-shadow: 1px 1px 13px 1px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 1px 1px 13px 1px rgba(0, 0, 0, 0.5);
    box-shadow: 1px 1px 13px 1px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    width: 100%;
    border-radius: 42px;
    padding: 32px;
    margin: 0 auto;
    position: relative;
    margin: 42px 0;
}

/*.work__blocks_block::before {
    position: absolute;
    content: '1';
    font-size: 72px;
    color: #397DB8;
    opacity: 0.6;
    right: 32px;
    top: 32px;
    font-weight: bolder;
}*/

.work__blocks_block:hover {
    transform: scale(1.006);
}

.work__blocks_content {
    max-width: 630px;
}

.work__blocks_block:nth-child(2)::before {
    content: '2';
    left: 32px;
    top: 32px;
}

.work__blocks_block:nth-child(3)::before {
    content: '3';
}

.work__blocks_block:nth-child(4)::before {
    content: '4';
    left: 32px;
    top: 32px;
}

.work__blocks_content-subtitle {
    font-size: 14px;
    font-weight: 400;
    max-width: 480px;
    line-height: 140%;
}

.work__title {
    display: block;
    margin: 0 auto;
    text-align: center;
    margin: 42px 0 22px 0;
    `
}


/*form*/

.form {
    background-color: #397DB8;
    color: #fff;
    -webkit-box-shadow: 1px -1px 24px 10px rgba(0, 0, 0, 0.29);
    -moz-box-shadow: 1px -1px 24px 10px rgba(0, 0, 0, 0.29);
    box-shadow: 1px -1px 24px 10px rgba(0, 0, 0, 0.29);
    padding: 122px 0;
    margin-top: 122px;
}


.form input {
    width: 100%;
    padding: 14px 0 12px 32px;
    margin: 6px 0;
}

.form__block_input {
    margin: 12px 0;
}

.form__title {
    font-size: 72px;
}

.form__letf_list-item {
    font-size: 42px;
    margin: 12px 0;
}

.form__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 240px;
}

.form__content {
    background-color: #fff;
    padding: 50px 32px 80px 32px;
    border-radius: 12px;
    color: #000;
}

.form__submit-btn {
    background-color: #78A32F;
    color: #fff;
    font-size: 18px;
    padding: 14px 32px;
    width: 100%;
    margin-top: 22px;
}

.form__submit-btn:hover {
    transform: scale(1.02);

}

.form__letf_list-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.form__title_user {
    color: #397DB8;
}

/* footer */

.footer {
    background-color: #1D2730;
    padding: 42px 0;
    position: relative;
    z-index: 100;
    -webkit-box-shadow: 1px -1px 24px 10px rgba(0, 0, 0, 0.29);
    -moz-box-shadow: 1px -1px 24px 10px rgba(0, 0, 0, 0.29);
    box-shadow: 1px -1px 24px 10px rgba(0, 0, 0, 0.29);
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__list {
    display: flex;
    align-items: center;
    gap: 52px;
}

.footer__list-link {
    color: #fff;
    display: block;
}

.footer__list-link:hover {
    transform: scale(1.2);
}

.footer__copyright {
    color: #fff;
    text-align: center;
    font-size: 12px;
    padding-top: 32px;
}

@media (max-width: 1000px) {
    .header__list {
        gap: 32px;
    }

    .header__action-btn {
        font-size: 14px;
        padding: 10px 22px;
    }

    .title-sm {
        font-size: 28px;
    }

    .form__inner {
        justify-content: space-between;
    }

    .footer__list {
        gap: 32px;
    }

    .form__title {
        font-size: 58px;
    }

    .form__letf_list-item i {
        font-size: 22px;
    }

    .form__letf_list-item p {
        font-size: 18px;
    }

    .form__inner {
        gap: 42px;
    }
}

@media (max-width: 768px) {
    .form__right {
        width: 100%;
    }

    .form__inner {
        flex-direction: column;
        gap: 32px;
    }

    .hero-inf__list {
        top: 230px;
    }

    .hero__title {
        font-size: 32px;
    }

    .hero__subtitle {
        font-size: 14px;
    }

    .about__inner {
        padding-top: 0;
    }

    .about__info_blocks-block {
        margin: 26px 0;
    }

    .user__info_blocks {
        gap: 28px;
    }

    .work__title {
        margin: 32px 0 0 0;
    }

    .work__blocks_block {
        flex-direction: column;
    }

    .hero-inf__list-item {
        width: 100px;
    }

    .form {
        padding: 42px 0;
        margin-top: 122px;
    }

    .hero__content {
        max-width: 520px;
    }

    .header__list {
        gap: 22px;
    }
}

@media (max-width: 640px) {
    .about__content {
        flex-direction: column-reverse;
    }

    .about__right {
        width: 300px;
    }

    .user__inner {
        flex-direction: column;
    }

    .user__left {
        width: 300px;
    }

    .footer__inner {
        flex-direction: column;
    }

    .footer__list {
        gap: 32px;
        flex-direction: column;
        margin: 22px 0;
    }

    .header__list {
        position: fixed;
        left: -100%;
        right: 0;
        top: 0;
        bottom: 0;
        z-index: 1000;
        background: #1D2730;
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 42px;
    }

    .header__btn {
        display: block;
    }

    .header__btn i {
        color: #fff;
        font-size: 52px;
    }
}

@media (max-width: 440px) {
    .container {
        padding: 0 12px;
    }

    .header__action-btn {
        font-size: 10px;
        padding: 10px 22px;
    }

    .header__logo {
        width: 100px;
    }

    .hero {
        margin-top: 40px;
        height: 570px;

    }

    .hero__content {
        max-width: 520px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        transform: translateY(30%);
    }

    .hero-inf__list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin: 0 auto;
    }

    .hero-inf__list-item {
        width: 100px;
        margin: auto;
        padding: 8px 0;
    }

    .hero {
        margin-top: 40px;
        height: 570px;
        margin-bottom: 350px !important;
    }

    .hero-inf__list {
        top: 285px;
    }

    .user__count::before {
        position: absolute;
        content: '';
        width: 22px;
        height: 22px;
        background-color: #397DB8;
        left: 50%;
        right: 0;
        top: 50%;
        bottom: 0;
        border-radius: 100px;
        z-index: -1;
        transform: translate(-50%, -50%);
    }

    .user__count {
        left: 12px;
    }

    .form__title {
        font-size: 48px;
    }

    .footer__list {
        margin-bottom: 40px;
    }


    .footer__copyright {
        font-size: 10px;
        padding-top: 32px;
    }

    .form__content {
        background-color: #fff;
        padding: 0px 32px 40px 32px;
        border-radius: 12px;
        color: #000;
    }

    .title-sm {
        font-size: 22px;
        font-weight: bold;
        padding: 20px 0 0 0;
    }

    .work__blocks_block img {
        max-width: 80%;
        margin: 0 auto;
        display: block;
    }

    .btn__close {
        display: block;
        position: absolute;
        right: 32px;
        top: 32px;
    }

    .btn__close i {
        color: #fff;
        font-size: 32px;
    }

    .hero-inf__list {
        top: 270px;
    }

    .work__blocks_block {
        gap: 12px;
    }
}