* {
  margin: 0;
  padding: 0;
}

html {
    height: 100%;
}

body {
  min-height: 100vh;
  font-family: "Lato", sans-serif;
}

.footer {
    height: 70px;
    display: flex;
    align-items: center;
    background-color: rgb(024, 090, 153);
}

.pics {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
}

.main {
    min-height: 100vh;
}

.left__top {
}

.left__bottom {
    margin-top: 20px;
}

.right__top {
}

.right__bottom {
    margin-top: 20px;
}

.main__content {
    min-height: calc(100vh - 340px);
    padding-top: 40px;
    padding-bottom: 90px;
    background-repeat: repeat;
    background-position: center;
    background-image: url(img/back-21.jpg);
}

.header {
    display: flex;
    flex-direction: column;
}
.header__top {
    height: 110px;
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: space-between
}
.header__top__left {
    display: flex;
    flex-direction: row;
}
a {
  text-decoration: none;
}
.header__email {
    margin-top: 20px;
}

.header__logo {
    height: 70px;
}

.content {
    margin-top: 10px;
    font-size: 20px;
    color: #3f3f3f;
}
.article__title {
    margin-bottom: 20px;
    font-size: 30px;
    color: #3f3f3f;
}
.nav {
    height: 30px;
    background-color: rgb(024, 090, 153);
}

.nav__content {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.nav__item {
    padding-top: 7px;
    padding-bottom: 5px;
    color: white;
    text-transform: uppercase;
}

.nav__item:hover {
    color: grey;
}
.slider{
    max-width: 100%;
    position: relative;
    margin: auto;
    height: 400px;
    margin-bottom: 15px;
}

.center {
  padding: 0 calc(50% - 570px);
}

.slider_block {
    margin-top: 30px;
}

.header__company-name {
    margin-left: 30px;
    font-size: 30px;
    font-style: normal;
}

.license__img {
    width: 150px;
    border: 1px solid lightgray; 
}

.license__content__title {
    width: 250px;
}

.license__content__content {
    margin-left: 50px;
}

.license__item {
    padding: 30px;
    margin-top: -1px;
    display: flex;
    justify-content: flex-start;
    border-bottom: 1px solid lightgray;
}

.license__item:last-of-type {
    border-bottom: none;
}

.license__item:first-of-type {
    margin-top: 40px;
}

.license__text {
    margin-left: 40px;
    text-align: left;
}

.license__a {
    font-size: 19px;
    color: dimgray;
}

.license__title {
    font-size: 19px;
    color: dimgray;
}
.licence__content {
    margin-top: 40px;
    display: flex;
}

.copy {
    color: lightgrey;
}

.works__item {
    display: flex;
    margin-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid grey;
    align-items: center;
}

.works__item:last-of-type {
    border-bottom: none;
}

.img__block {
    display: flex;
    align-items: center;
}

.works__img {
    height: 380px;
    width: 620px;
    margin-left: 10px;
    margin-right: 10px;
}

.left, .right {
    font-size: 40px;
    color: #3f3f3f;
}

.last {
    visibility: hidden;
}

.works__text {
    margin-left: 20px;
    font-size: 20px;
    color: #3f3f3f;
}

.h-small {
    font-size: 16px;
    color: #3c3c3c;
}

.email {
    margin-top: 20px;
}

.phone {
    margin-top: 20px;
}

.h-big {
    margin-top: 10px;
    font-size: 18px;
    color: #2f2f2f;
}

.contacts__content {
    margin-top: 40px;
    display: flex;
}

.form__title {
    font-size: 20px;
    color: #3f3f3f;
    margin-bottom: 30px;
}

.contacts__left {
    
}

.contacts__right {
    margin-left: 20px;
}

.pics {
    display: flex;
    flex-direction: row;
    margin-bottom: 40px;
}

.pics__left {
    height: 225px;
    width: 350px;
    background-size: cover;
    background-image: url(img/DSC_0061-1.jpg);
}

.pics__center {
    height: 225px;
    width: 350px;
    background-size: cover;
    background-image: url(img/DSC_0065-1.jpg);
}

.pics__right {
    height: 225px;
    width: 350px;
    background-size: cover;
    background-image: url(img/DSC_0159barkli-1.jpg);
}

.pics__top {
    width: 1140px;
    height: 280px;
    display: flex;
    justify-content: space-between;
}

.pics__middle {
    margin-top: 15px;
    display: flex;
    height: 250px;
    width: 1140px;
    justify-content: space-between;
}

.pics__top__left {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    height: 280px;
    width: 400px;
    background-size: cover;
    background-image: url(index-objects/1-1.jpg);
}

.pics__top__rigth {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    height: 280px;
    width: 725px;
    background-size: cover;
    background-image: url(index-objects/1-2.jpg);
}

.pics__middle__left {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    width: 790px;
    height: 250px;
    background-size: cover;
    background-image: url(index-objects/2-1.jpg);
}

.pics__middle__rigth {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    height: 250px;
    width: 335px;
    background-size: cover;
    background-image: url(index-objects/2-2.jpg);
}

.pics__bottom {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    margin-top: 15px;
    width: 1140px;
    height: 350px;
    background-size: cover;
    background-image: url(index-objects/3.jpg);
}

.pics__p {
    width: 290px;
    text-align: right;
    font-size: 17px;
    color: rgb(1, 34, 74);
    
}