/**
* Подключение шрифтов локально из папки "./src/fonts"
*/
@font-face {
    font-display: swap;
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 400;
    src: url("/local/templates/.default/fonts/MontserratRegular.woff2") format("woff2"), url("/local/templates/.default/fonts/MontserratRegular.woff") format("woff");
}

@font-face {
    font-display: swap;
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 500;
    src: url("/local/templates/.default/fonts/MontserratMedium.woff2") format("woff2"), url("/local/templates/.default/fonts/MontserratMedium.woff") format("woff");
}
@font-face {
    font-display: swap;
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 600;
    src: url("/local/templates/.default/fonts/MontserratSemiBold.woff2") format("woff2"), url("/local/templates/.default/fonts/MontserratSemiBold.woff") format("woff");
}
@font-face {
    font-display: swap;
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 700;
    src: url("/local/templates/.default/fonts/MontserratBold.woff2") format("woff2"), url("/local/templates/.default/fonts/MontserratBold.woff") format("woff");
}
@font-face {
    font-family: MontserratThin;
    font-display: swap;
    src: url("/local/templates/.default/fonts/Montserrat-Thin.woff2") format("woff2");
    font-weight: 100;
    font-style: normal;
}
@font-face {
    font-family: MontserratThinItalic;
    font-display: swap;
    src: url("/local/templates/.default/fonts/Montserrat-ThinItalic.woff2") format("woff2");
    font-weight: undefined;
    font-style: normal;
}


html, body {
    font-family: "Montserrat", sans-serif;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


ul, li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.container {
    max-width: calc(1440px + 40px);
    padding: 0 20px;
    margin: 0 auto;
}


.header{
    padding: 20px 0px;
    background-color: #8C8CF0;
}

.header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header__item {
    display: flex;
}

.header__item img {
    width: 100%;
}


.footer {
    margin-top: auto;
    padding: 40px 0px;
    background-color: #8C8CF0;
    background-image: url("/images/technical-work/footer-bg.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.footer__up {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.footer__left {
    display: flex;
    align-items: flex-end;
    gap: 64px;
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__item-text {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.footer__phone {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 38px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    margin-bottom: 12px;
}

.footer__item-social {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-top: 24px;
}

.footer__item-social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
}

.footer__logo img{
    min-width: 100px;
}

.footer__right {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.main {
    padding: 40px 0px;
    flex: 1 1 auto;
}

.main__container {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.main__block {
    border-radius: 16px;
    overflow: hidden;
    background-color: #F3F3FD;

    background-image: url("/images/technical-work/main-decor.svg");
    background-repeat: no-repeat;
    /*background-size: 100% 100%;*/

    width: 100%;
    display: flex;
    flex-direction: column;
}

.main__block-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.main__block-title {
    font-weight: 600;
    font-size: 26px;
    line-height: 120%;
    color: #343435;
    margin-bottom: 24px;
}

.main__block-text {
    font-size: 14px;
    line-height: 120%;
    color: #343435;
}

.main__block-img {
    display: flex;
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.main__block-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media screen and (max-width: 1080px){
    .footer__up {
        flex-direction: column;
    }

    .footer__left {
        width: 100%;
        justify-content: space-between;
    }

    .footer__right {
        width: 100%;
    }
}

@media screen and (max-width: 850px) {
    .footer {
        padding: 40px 0px;
        background-image: url("/images/technical-work/footer-bg-mob.png");
        background-size: auto;
    }

    .footer__phone {
        font-size: 32px;
    }

    .footer__left {
        gap: 20px;
    }
}

@media screen and (max-width: 768px) {
    .footer__left {
        flex-direction: column;
        gap: 48px;
        align-items: flex-start;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .footer__item-social-link {
        font-size: 14px;
    }
    .footer__phone {
        gap: 14px;
    }

    .footer__phone svg{
        width: 36px;
        height: 36px;
    }

    .footer__item-social {
        gap: 22px;
    }

    .main__block-info {
        align-items: flex-start;
        justify-content: flex-start;
        padding: 20px;
    }

    .main__block-img {
        max-height: 180px;
    }

    .main__block-img img {
        width: initial;
    }
}

@media screen and (max-width: 576px) {

    .main__block {
        background-image: url("/images/technical-work/main-decor-mobile.svg");
    }

    .header {
        padding: 28px 0px;
    }

    .header__row {
        flex-direction: column;
        gap: 16px;
    }

    .header__logo {
        order: 2;
    }

    .header__list {
        gap: 28px;
    }
}

@media screen and (max-width: 350px)  {
    .footer__phone {
        font-size: 28px;
    }

    .footer__item-social-link {
        font-size: 12px;
    }
}