* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1 {
    font-size: 48px;
    font-weight: 600;
    line-height: 58px;
    padding: 17px 0 0 21px;
    margin-bottom: 20px;
    position: relative;
}

h2 {
    font-size: 30px;
    font-weight: 600;
    line-height: 40px;
    color: #444444;
    text-align: center;
    text-transform: uppercase;
    margin-top: 30px;
}

h2 > span {
    position: relative;
    color: black;
    font-size: 30px;
    font-weight: 600;
}

h2 > span::after{
    content: "";
    height: 2px;
    background: #444444;
    width: 40%;
    margin-left: -20%;
    left: 50%;
    top:120%;
    position: absolute;
}

h3 {
    font-size: 24px;
    font-weight: 600;
}

.bb {
    border:1px solid red
}

body {
    font-family: Arial, Helvetica, sans-serif;
}

.services, .works, .team, .blog, .contact, footer {
    padding: 30px 0;
}

header {
    height: 48px;
    background: black;
    position: sticky;
    top: 0;
    z-index: 10;
}

.main-wrapper {
    margin: 0 auto;
    width: 1170px;
}


.main-menu > ul > li {
    display: inline-block;
}

header .main-wrapper {
    display: flex;
    align-items: center;
    justify-content: normal;
    height: 100%;
}

.main-menu > ul > li a {
    color: white;
    text-decoration-line: none;
    font-weight: bold;
    letter-spacing: 1px;
    margin-right: 15px;
    position: relative;
}

.main-wrapper {
    padding: 0 15px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: white;
}

img.img_logo {
    margin-right: 50px;
}

.main-menu > ul > li a::after {
    content: "";
    width: 10%;
    height: 3px;
    background: rgb(255, 255, 255);
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 20px;
    transition-duration: 0.3s;
    opacity: 0;
}

.main-menu > ul > li a:hover::after {
width: 100%;
opacity: 1;
color: white;
}

.main-board .main-wrapper {
    display: flex;
    align-items: flex-start;
    height: 100%;
    position: relative;
    z-index: 2;
}

.main-board {
    background: url(src/bg.jpg) no-repeat fixed;
    background-position: 50% -50px;
    background-size: cover;
    height: 320px;
    position: relative;
}

.main-board_left-block {
    width: 50%;
    margin-right: 350px;
    margin-top: 20px;
}

.main-board .main-wrapper > img {
    margin: auto;
}

.main-board::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 320px;
    bottom: 0;
    top: 0;
    background: #4a2a0fa1;;
}

.main-board h1::before {
    content: "";
    width: 115px;
    height: 5px;
    position: absolute;
    background: #ef7c19;
    top: 0;
    left: 0;
}

.main-board h1::after {
    content: "";
    width: 5px;
    height: 115px;
    position: absolute;
    background: #ef7c19;
    top: 0;
    left: 0;
}

.main-board_left-block > div:first-of-type {
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 20px;
}

.main-board__button-link {
    display: flex;
    align-items: center;
    width: 250px;
    height: 50px;
    border: 3px solid #ef7c19;
    font-size: 18px;
    border-radius: 0 5px 0 5px;
    text-decoration: none;
    color: #FFFFFF;
    font-size: 12px;
    transition-duration: 0.3s;
    background: #2f1c0d 
}

.main-board__button-link > i {
    margin-left: 20px;
    margin-right: 15px;
    font-size: 30px;
    color: white;
    width: 26px;
    transition-duration: 0.3s;
}

.main-board__button-link:first-of-type {
    margin-right: 20px;
    margin-top: 20px;
}

.main-board__button-link_bold {
    font-size: 14px;
    font-weight: 600;
    margin-left: 5px;
}

.main-board__button-link:hover {
    background: white;
}

.main-board__button-link:hover > i {
    color: #82c91e;
}

.main-board__button-link:hover > div {
    color: black;
}

.main-wrapper > i {
    margin-left: 20px;
    margin-right: 15px;
    font-size: 30px;
    color: white;
    width: 26px;
    transition-duration: 0.3s;
}

.services__block-item {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.services__item {
    padding: 30px;
    flex: 0 0 32%;
    text-align: center;
    transition-duration: 0.3s;
    border-radius: 5px;
}

.services__item:hover {
    box-shadow: 0 5px 25px 0 black;
}

.box-icon {
    border: 1px solid black;
    border-radius: 50%;
    height: 108px;
    line-height: 108px;
    text-align: center;
    width: 108px;
    margin: 0 auto;
    transition-duration: 0.3s;
}

.box-icon > i {
    font-size: 54px;
    color: #ef7c19;
    line-height: 108px;
    transition-duration: 0.3s;
}

.services__item:hover .box-icon {
    background: #2f1c0d;
}

.services__item:hover .box-icon > i {
    color: #FFFFFF;
}

.services__item > h3 {
    margin:23px 0;
    color: black;
    text-align: center;
}

.services__item > p {
    font-size: 16px;
    font-weight: 400;
    font-family: 'Open Sans', sans-serif;
    line-height: 24px;
    margin-bottom: 20px;
    color: #666666;
}

.services__item > a {
    display: inline-block;
    width: 150px;
    height: 50px;
    line-height: 50px;
    color: black;
    font-size: 18px;
    border-radius: 0 5px 0 5px;
    border: 1px solid black;
    text-decoration: none;
    transition-duration: 0.3s;
}

.services__item > a:hover {
    background: #2f1c0d;
    color: #FFFFFF;
}

.works {
    background: url(src/banner-bg.jpg) no-repeat;
    background-size: cover;
    position: relative;
}

.works::after, .blog::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(33, 42, 73, 0.6);
    z-index: 1;
}

.works > .main-wrapper, .blog > .main-wrapper {
    position: relative;
    z-index: 2;
}

.works > .main-wrapper > div {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

.works h2, .blog h2{
    color: #FFFFFF;
}

.works h2 > span::after, .blog h2 > span::after {
    background: #FFFFFF;
}

.works__container {
    flex: 0 0 60%;
    margin-top: 30px;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Open Sans', sans-serif;
    line-height: 24px;
    color: #FFFFFF;
}

.works__container > h3 {
    margin-bottom: 30px;
}

.works__container > ul {
    margin-top: 20px;
    list-style: none;
}

.works__container > ul > li {
    padding-left: 22px;
    position: relative;
    margin-bottom: 15px;
}

.works__container > ul > li::before {
    content: '\f105';
    position: absolute;
    left: 0;
    font-family: fontawesome;
    color: #00D5C3;
}


p {
    color: black;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Open Sans', sans-serif;
    margin-top: 30px;
    text-indent: 30px;
}

.logistic {
    margin-bottom: 30px;
}

.form {
    height: 200px;
    background: url(src/bg.jpg) no-repeat fixed;
    background-position: 50% -50px;
    background-size: cover;
    position: relative;
}

.form::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(33, 42, 73, 0.6);
    z-index: 1;
}

.form > .main-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.form input[type="email"]{
    background: white;
    border: 3px solid #2f1c0d;
    color: #FFFFFF;
    font-size: 18px;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    padding: 10px;
    width: 450px;
}

.form input[type="email"]:focus {
    border: 1px solid #2f1c0d;
    outline: none;
}

.form button {
    background: #2f1c0d;
    border: 1px solid #2f1c0d;
    color: #FFFFFF;
    font-size: 22px;
    width: 100px;
    transition-duration: 0.3s;
}

.form button:hover {
    background: white;
    border: 1px solid #2f1c0d;
    color: black;
    cursor: pointer;
}

.form__main-text {
    color: #ef7c19;
    font-weight: 300;
    margin-bottom: 20px;
    font-size: 20px;
}

.form__main-text > span {
    color: white;
    font-weight: 600;
}

.form form {
    display: flex;
    justify-content: center;
}

.form input::-webkit-input-placeholder {
    color: rgb(204, 204, 204);
}

footer > .main-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-cont {
    margin: 20px 0;
}

.social-cont > a {
    color: black;
    font-size: 16px;
    margin: 10px;
    text-decoration: none;
    position: relative;
    width: 20px;
    text-align: center;
    display: inline-block;
    transition-duration: 0.3s;
}

.social-cont > a::before {
    content: '';
    width: 25px;
    height: 25px;
    border: 1px solid black;
    transform: rotate(45deg);
    position: absolute;
    left: -3px;
    top: -5px;
    transition-duration: 0.3s;
    z-index: -1;
}

.social-cont > a:hover {
    color: white;
}

.social-cont > a:hover::before {
   background: #ef7c19;
}

.tel {
    margin-left: 370px;
}

.img-footer {
    width: 25%;
}

@media  (max-width: 1100px) {    
    .team-container {
        overflow-y: scroll;
        padding-bottom: 20px;
    }

    .team-container__item {
        margin-right: 10px;
    }

    .team-container__item:last-of-type {
        margin-right: 0
    }

    .services__item {
        border: 1px solid #161c356e;
    }
}

@media  (max-width: 980px) {
    .works > .main-wrapper > div {
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .works__container {
        flex-grow: 1;
    }

    .blog-container__item-text-container {
        padding: 20px;
    }
}

@media  (max-width: 920px) {
    .main-board__left-block {
        min-width: 450px;
        width: auto;
    }

    .main-board > .main-wrapper {
        flex-wrap: wrap;
    }

    .main-board {
        height: auto;
        padding: 30px 0;
        background: url(src/bg.jpg) no-repeat;
    }

    .main-board__left-block > div:last-of-type {
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }

    .services__item {
        height: 450px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .services__item > p {
        flex-shrink: 1;
        overflow: hidden;
    }

    .services, .works, .team, .blog, .contact, footer {
        padding: 30px 0;
    }
}

@media  (max-width: 780px) {
    .services__block-item {
        flex-wrap: wrap;
        justify-content: center;
    }

    .services__item {
        flex-basis: 320px;
        margin: 10px;
    }

    .blog-container {
        flex-wrap: wrap;
    }

    .blog-container__item {
        flex-basis: 100%;
    }
}

@media  (max-width: 720px) {
    header > .main-wrapper {
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-menu {
        margin: 10px 0;
    }

    header {
        height: auto;
    }

    .logo {
        margin: 5px 0;
    }
}

@media  (max-width: 640px)  {
    h1 {
        font-size: 36px;
        line-height: unset;
    }

    .main-board h1 {
        padding: 8px 0 0 18px;
    }

    .main-board h1::before  {
        width: 80px;
        height: 4px;
    }

    .main-board h1::after {
        height: 90px;
        width: 4px;
    }
    
    .main-board__left-block {
        min-width: unset;
    }
}

@media  (max-width: 580px)  {
    .form input[type="email"] {
        width: 80%;
    }
}

@media  (max-width: 510px) {
    .main-menu > ul > li {
        padding-bottom: 22px;
    }

    .main-menu > ul {
        text-align: center;
    }

    .main-menu {
        margin: 0;
    }

    .blog-container__item-text-container {
        padding: 5px;
    }
}

@media  (max-width: 414px) {
    .main-board__image, .works img {
        width: 100%;
    }

    .main-board_left-block > h1 {
        width: 350px;
    }

    .main-board__left-block > div:last-of-type {
        flex-wrap: wrap;
        }
    .main-wrapper > div {
            width: 350px;
        }
    
        .main-board__button-link:first-of-type {
            margin-right: 0;
            margin-bottom: 10px;
        }
    
        .services__block-item {
            display: flex;
            flex-wrap: wrap;
            flex-grow: 1;
        }
    
       p {
           width: 100%;
       }
    
       .img-footer {
        width: 50%;
       }
    
       .main-wrapper {
        width: 375px;}
    
        .tel {
            margin-left: 100px;
        }
    
        .img_logo {
            margin-left: 50px;        
        }
    
        .main-menu {
            margin-top: 10px;
        }
    
        .social-cont {
            margin-left: 170px;
            }
       }


@media  (max-width: 375px) {
    .main-board__left-block > div:last-of-type {
        flex-wrap: wrap;
        }

    .main-board_left-block > h1 {
        width: 300px;
    }
    .main-wrapper > div {
        width: 350px;
    }

    .main-board__button-link:first-of-type {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .services__block-item {
        display: flex;
        flex-wrap: wrap;
        flex-grow: 1;
    }

   p {
       width: 100%;
       margin-bottom: 30px;
   }

   .img-footer {
    width: 25%;
   }

   .main-wrapper {
    width: 370px;}

    .tel {
        margin-left: 100px;
    }

    .img_logo {
        margin-left: 50px;        
    }

    .main-menu {
        margin-top: 10px;
    }

    .social-cont {
        margin-left: 170px;
        }
}
