* {
    box-sizing: border-box;
    /* для того чтобы падинг не влиял на ширину контейнера */
}

body {
    
    color: black;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 10px;
}

.btn__lang{
    padding: 5px 10px;
    border: 1px solid #fff;
    border-radius: 5px;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.menu {
    margin-left: auto;
}

.menu__list {
    display: flex;
}

.menu__list-item+.menu__list-item {
    /*Первый обьект смотрит есть ли у него сосед и выполняет след. стиль
    первій обьект не имеет отступ*/
    margin-left: 40px;
}

.menu__list-link {
    text-decoration: none;
    font-size: 16px;
    line-height: 22px;
    color: #fff;
}

.logo__img {
    width: 135px;
}

.top {
    padding-bottom: 130px;
}

.top__inner {
    background-image: url('../images/lh.png');
    background-repeat: no-repeat;
    background-size: contain;
    padding: 180px 0 80px;
    background-position: center right;
}

.top__title {
    font-weight: 800;
    font-size: 55px;
    line-height: 71px;
    margin-bottom: 30px;
}

.top__text {
    font-weight: 500;
    font-size: 18px;
    line-height: 29px;
    max-width: 560px;
    margin-bottom: 85px;
    text-align: justify;
}

.top__link {
    text-decoration: none;
    color: #fff;
    background-color: #3A68B8;
    padding-left: 55px;
    padding-right: 30px;
    padding-top: 15px;
    padding-bottom: 15px;
    border-radius: 5px;
    font-weight: 500;
    font-size: 20px;
    line-height: 27px;
    position: relative;
}

.top__link::before {
    content: "";
    position: absolute;
    left: 25px;
    width: 27px;
    height: 26px;
    background-image: url('../images/arrow.svg');
    background-repeat: no-repeat;
}

.about__inner {
    padding-bottom: 170px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

}

.about__img {
    max-width: 100%;
    max-height: 100%;
}

.about__title {
    font-weight: 700;
    font-size: 40px;
    line-height: 52px;
    margin-bottom: 30px;
}

.about__content {
    width: 500px;
}

.line {
    border: 0;
    height: 7px;
    background-image: linear-gradient(to top, #3341ff4d, #4b29b1, #3341ff4d);
}

.about__text {
    font-weight: 500;
    font-size: 16px;
    line-height: 26px;
}

.tools {
    margin-bottom: 230px;
}

.tools__title {
    text-align: center;
    font-weight: 700;
    font-size: 40px;
    line-height: 52px;
    margin-bottom: 70px;
}

.tools__items {
    display: flex;
    justify-content: space-between;
}

.tools__item {
    width: 240px;
    padding: 20px;
    background-color: #263c63;
    border-radius: 10px;
}

.tools__item-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;

}

.tools__item-text {
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    text-align: justify;
}

.tools__item-text+.tools__item-text {
    margin-left: 30px;
}

.feedback {
    margin-bottom: 170px;
}

.feedback__inner {
    background-image: url('../images/feedback.svg');
    background-repeat: no-repeat;
    padding: 100px 0 10px;
    background-position: center right;
}

.feedback__title {
    font-weight: 800;
    font-size: 55px;
    line-height: 71px;
    margin-bottom: 30px;
    margin-top: 30px;
}

.feedback__text {
    font-weight: 500;
    font-size: 18px;
    line-height: 29px;
    max-width: 720px;
    margin-bottom: 85px;
    text-align: justify;
}

.photo {
    padding: 150px 0;
}

.photo__title {
    font-weight: 800;
    font-size: 50px;
    line-height: 71px;
}

.photo__title {
    margin-bottom: 40px;
}

.photo__items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-gap: 20px;
}

.photo__item {
    width: 300px;
    height: 300px;
}

.photo__item:nth-child(3){
    grid-column: span 2;
    grid-row: span 2;
}

.item {
    width: 550px;
    height: 620px;
}



.team {
    padding-bottom: 200px;
    padding-top: 200px;
    margin-bottom: 150px;
}

.team__inner {
    padding: 230px 0 230px;
    position: relative;
}

.team__box {
    text-align: center;
    max-width: 542px;
    margin: 0 auto;

}

.team__title {
    margin-bottom: 22px;
    font-weight: 700;
    font-size: 40px;
    line-height: 52px;
}

.team__text {
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
}

.team__item {
    position: absolute;
    text-align: center;
}

.team__item-1 {
    top: -75px;
    right: 180px;
}

.team__item-2 {
    top: -75px;
    left: 265px;
}

.team__item-3 {
    bottom: -140px;
    right: 520px;
}

.team__item-4 {
    right: 40px;
    top: 350px;
}

.team__item-5 {
    left: 90px;
    bottom: 40px;
}

.team__item-text {
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    max-width: 200px;
    margin: 0 auto;
}

.team__item-img {
    width: 160px;
    margin-bottom: 30px;
}

.footer {
    background-color: #001c4a;
}

.footer__inner {
    padding: 100px 0 90px;
    display: flex;
    justify-content: space-between;
}


.footer__menu-title {
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 32px;
}

.footer__menu-item {
    list-style: none;
    margin-bottom: 20px;
}

.footer__menu-link {
    text-decoration: none;
    color: #fff;
    font-weight: 450;
    font-size: 14px;
    line-height: 18px;
}

.footer__img {
    width: 230px;
}

.modalDialog {
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.8);
    z-index: 99999;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    display: none;
    pointer-events: none;
}

.modalDialog:target {
    display: block;
    pointer-events: auto;
}

.modalDialog > div {
    width: 600px;
    position: relative;
    margin: 10% auto;
    background: -moz-linear-gradient(#fff, #999);
    background: -webkit-linear-gradient(#fff, #999);
    background: -o-linear-gradient(#fff, #999);
}
.modalphoto{
    width: 600px;
}
.close {
    background: #606061;
    color: #FFFFFF;
    line-height: 25px;
    position: absolute;
    right: -12px;
    text-align: center;
    top: -10px;
    width: 24px;
    text-decoration: none;
    font-weight: bold;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    -moz-box-shadow: 1px 1px 3px #000;
    -webkit-box-shadow: 1px 1px 3px #000;
    box-shadow: 1px 1px 3px #000;
}

.close:hover { background: #00d9ff; }