.headerNavbarContainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logoLink {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logoLink img {
    max-width: 118px;
    max-height: 40px;
}

.headerNavbar {
    background-color: var(--main-blue);
    color: var(--main-white-text);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 20px 8%;
    min-height: 80px;
    height: 107px;
}

.headerNavbar ul, .headerNavbar li, .headerNavbar a {
    text-decoration: none;
    list-style: none;
    color: var(--main-white-text);
}

.headerNavbarList ul {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: max-content;
    margin: 0;
    padding: 0;
}

.headerNavbarList li {
    font-size: 18px;
    margin-right: 45px;
}

.headerNavbarList li:hover {
    cursor: pointer;
}

.headerBlock {
    height: 100%;
}

.headerInfo img {
    height: auto;
    width: 100%;
!important;
}

.headTitle {
    position: absolute;
    top: 280px;
    width: 100%;
    min-width: 1400px !important;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    text-align: center;
    align-items: center;
    color: var(--main-white-text);
}

.headTitle ul, .headTitle li, .headTitle a {
    text-decoration: none;
    list-style: none;
    color: var(--main-white-text);
}

.headTitle ul {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    width: max-content;
}

.headTitle p {
    margin: 0;
}

.headerThirdTitle {
    font-size: 20px;
    margin-top: 8px !important;
}

.headTitle p:first-child, .headTitle p:last-child {
    font-size: 20px;
}

.headTitle p:nth-child(3) {
    font-size: 70px;
    font-weight: bold;
    margin: 0 0 0 0;
    line-height: 80px;
}

.headSmallNavbar {
    font-size: 20px;
    margin: 10px 0 0 0;
    height: max-content;
}

.headSmallNavbar ul {
    margin: 0;
    padding: 0;
}

.headSmallNavbar li {
    margin: 0 10px 0 0;
}

.selectedNav:nth-child(2) {
    color: #A4B8B8 !important;
}

#hiddenNav {
    position: absolute;
    top: 40px;
    left: -15px;
    background-color: var(--main-blue);
    display: none;
    flex-direction: column;
    justify-content: center;
    flex-wrap: nowrap;
    width: max-content;
}

.hiddenNavItem {
    padding: 15px 20px 10px 15px;
    margin: 0;
}

.hiddenNavItem:nth-child(2) {
    margin: 10px 0;
}

.hiddenNavItem a:hover {
    color: #A4B8B8;
}

.mobileSizeText {
    display: none;
}

.contactsLink {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 1400px) {
    .headerInfo img {
        height: auto;
        min-width: 100%;
        aspect-ratio: 1440 / 800;
    }

    .headTitle {
        max-width: 100%;
        min-width: auto !important;
        top: auto !important;
    }

    #headerInfo {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .headTitle p:nth-child(3) {
        font-size: 60px !important;
        font-weight: bold;
        margin: 0;
        line-height: 66px !important;
        text-transform: capitalize;
    }

    .projectsPreview .projectsPreviewSecondLine {
        flex-direction: column-reverse;
    }

    .projectsPreviewFirstLine, .projectsPreviewSecondLine, .projectsPreviewThirdLine {
        justify-content: space-between !important;
    }

    .projectsPreview .projectsPreviewThirdLine {
        flex-direction: row;
        width: 100%;
    }

    .previewPicture img {
        max-width: 100%;
        width: 100%;
    }


    .projectsPreviewThirdLine .previewPicture:nth-child(1) {
        max-width: 55%;
        width: 55%;
    }

    .projectsPreviewThirdLine .previewPicture:nth-child(2) {
        max-width: 39%;
        width: 39%;
    }
}

.mob_menu_btn {
    display: none;
}

.mob_menu {
    position: absolute;
    top: 100%;
    background: #1a2a3a;
    width: 100%;
    left: 0;
    border-radius: 0 0 30px 30px;
    z-index: 999;
    display: none;
    padding: 50px 30px;
}


.mob_menu a {
    text-transform: capitalize;
    color: #fff;
}

.mob_menu li {
    padding-bottom: 12px;
}

.mob_menu_btn svg path {
    transition: all 0.5s;
}

.mob_menu_btn.mob_activ svg path:nth-child(2) {
    display: none;
}

.mob_menu_btn.mob_activ svg path:nth-child(1) {
    transform: translate(15px, -8px) rotate(45deg);
    transform-origin: left top;
}

.mob_menu_btn.mob_activ svg path:nth-child(3) {
    transform: translate(1px, -19px) rotate(-45deg);
    transform-origin: right bottom;
}

@media (max-width: 980px) {
    .headerNavbar {
        height: 80px !important;
    }

    .headerNavbarContainer {
        display: none;
    }

    .logoLink img {
        width: 94px;
        height: 32px;
    }

    .contactsLink {
        display: none;
    }

    .mob_menu_btn {
        display: block;

        max-width: fit-content;
    }


    .selectedNav a {
        color: #A4B8B8 !important;
    }

    .headerNavbar {
        position: relative;
        align-items: center;
    }
}

@media (max-width: 770px) {
    .headTitle p:nth-child(3) {
        font-size: 45px !important;
        line-height: 50px !important;
    }

    .fullSizeText {
        display: inline-block;
    }

    .mobileSizeText {
        display: none;
    }
}

@media (max-width: 640px) {
    .headerThirdTitle {
        font-size: 14px;
        line-height: 22px;
    }

    .headerInfo img {
        height: auto;
        min-width: 100%;
        aspect-ratio: 640 / 1060;
    }

    .headTitle p:nth-child(3) {
        font-size: 28px !important;
        line-height: 36px !important;
        font-weight: 700 !important;
        margin: 16px 0 !important;
    }

    .headTitle p:nth-child(4) {
        max-width: 280px !important;
    }

    .headerInfo_image {
        aspect-ratio: auto !important;
    }

    .headSmallNavbar {
        width: 100%;
        font-size: 14px !important;
    }

    .headSmallNavbar ul {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: nowrap;
        max-width: 270px !important;
        margin: 0 auto;
    }

    .headSmallNavbar li {
        margin: 0 3px 0 0 !important;
    }

    .fullSizeText {
        display: none;
    }

    .mobileSizeText {
        display: inline-block;
    }

    .headerCallbackButton {
        width: 200px !important;
    }
}
