*{
    margin: 0;
    padding: 0;
    
}
a{
    text-decoration: none;
}
li{
    list-style: none;
}
body{
    font-family: 'Open Sans', sans-serif;
}
header{
    width: 100%;
    background: #000;
    display: flex;
}

.header__logo{
  text-transform: uppercase;   /*Заглавные буквы*/
  color: #fff;               /* Цвет текста*/
  font-weight: 800;          /*  Делает шрифт жирнее*/
  font-size: 25px;
  cursor: pointer;              /*при наведении появляется курсов*/
  margin-top: 56px;
  margin-left: 12%;
}
nav{
    margin-top: 56px;
    margin-left: 29%;
}
.topnav a{
    color: #fff;
    text-align: center;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: bold;
}
.topnav a:hover{
    border-bottom: 3px solid #fcac45;

}
.topnav .icon{
    display: none;
}
main{
    display: flex;
    flex-direction: column;
    width: 100%;
}
main .main__welcome{
    background: #000;
    text-align: center;
    padding: 200px 0 410px 0;
    
}
main .main__welcome p{
    font-size: 20px;
    color: #999999;

}
main .main__welcome h1{
    font-size: 44px;
    color: #999999;
}
main .main__welcome h1:after{
display: none;
}
.mycompany{
    color: #fcac45;
}

.wrapper{
    width: 76%;
    margin: 0 auto;
}
main .main__about{
    display: flex;
    padding: 100px 0 100px 0;
}
.about__right{
    margin-left: 175px;
}
.about__right h1{
    display: inline-block;
    border-bottom: 3px solid #fcac45;
    padding-bottom: 20px;
}
.about__right h1:after{
    display: none;

}
.about__right p{
    margin: 30px 0 50px 0;
    color: #6c6c6c;
}

.about__right li{
    background: url(./img/.png) 0px no-repeat;
    padding-left: 25px;
    margin-top: 10px;
}
.mw-100{
    min-width: 100%;
}

.main__team{
    background: #000;
    text-align: center;
    padding: 100px 0 165px 0;
    color: #fff;
}
.main__team h1{
    font-size: 44px;
    padding-bottom: 30px;
}
/* .line{
    width: 100px;
    height: 3px;
    background: #fcac45;
    position: relative;
    left: 45.5%;
    margin-bottom: 85px;
} */

.photo{
    background: #d7d7d7;
    width: 125px;
    height: 125px;
    border-radius: 50%;
    margin: 20px auto;
}

.team__cards{
    display: inline-flex;
}
.card{
    margin: 0 20px;
}

.name{
    font-size: 20px;
    margin-bottom: 7px;
}
.position{
    font-size: 16px;
    margin-bottom: 35px;
}
.about__position{
    font-size: 14px;
}


.services__cards{
    text-align: center;
    display: grid;
    grid-template-columns: auto auto auto auto;
    grid-column-gap: 20px;
}
.main__services h1{
    text-align: center;
    padding: 100px 0 30px 0;
}
.main__services p{
    color: #6c6c6c;
    margin-bottom: 100px;
}

.services__card h4{
    margin-top: 20px ;
    margin-bottom: 15px;
}
.main__clients{
    background: #000;
    padding: 100px 0 205px 0 ;
    color: #fff;
    text-align: center;
}

.main__clients h1{
    margin-bottom: 30px;
    
}
.main__clients img{
    margin-top: 10px;
    margin-left: 30px;
}


.main__testimonials{
    background: #000;
    text-align: center;
    color: #fff;
    
}
.main__testimonials p{
    text-transform: uppercase;
    margin-bottom: 50px;
}
.main__testimonials h1{
text-transform: uppercase;
margin-top: 100px;
margin-bottom: 30px;
}


.main__work{
    text-align: center;
    padding: 100px 0 100px 0;
    
}
.main__work h1 {
    margin-bottom: 30px;
    margin-bottom: 30px;
}
.main__work p{
    margin-bottom: 175px;
    color: #6c6c6c;
}
.main__work img:hover{
    opacity: 0.8;
}

.contact__wrapper{
    width: 753px;
    margin: 0 auto;
    color: #636363;
}

.red{
    color: red;
}

.form__inputs{
    display: flex;
}
input{
    width: 360px;
    height: 40px;
    font-size: 20px;
    margin-bottom: 30px;
}
input:first-of-type{
    margin-right: 23px;
}
textarea{
    width: 100%;
    height: 163px;
    
}
input, textarea{
    border: 1px solid #999909;
    margin-top: 5px;
}


.button__block{
    display: flex;
    justify-content: flex-end;
}

input[type=submit] {
    width: 165px;
    height: 40px;
    background: #fcac45;
    color: #fff;
    margin-right: 0;
    margin-top: 20px;
}

.contact__from h1,p{
    text-align: center;
    font-size: ;
}
.contact__from h1{
    color: #000;
    padding: 100px 0 0px 0px;
    margin-bottom: 30px;
    font-size: 40px;
}




h1:after{
    content: "";
    display: block;
    margin: 0 auto;
    width: 100px;
    padding-top: 30px;
    border-bottom: 3px solid #fcac45;
}



footer{
    width: 100%;
    height: auto;
    background: #222222;
    padding: 30px 0;
}
.social{
    display: flex;
    justify-content: center;
}
.social img{
    margin-left: 12px;
    
}
.social img:hover{
    opacity: 0.6;
}

.main__welcome p span{
    color: rgb(207, 203, 203);
}











@media screen and (max-width: 1263px){
    nav{
        margin-left: 20%;
    }
}
@media screen and (max-width: 1105px){
    nav{
        margin-left: 10%;
    }
}

@media screen and (max-width: 1010px){
    .topnav a{
        display: none;
    }
    .topnav a.icon{
        float: right;
        margin-top: -17px;
        display: block;
        color: #fff;
        font-size: 25px;
    }
    nav{
        width: 100%;
    }
    .topnav.responsive{
        position: relative;
        top: 50px;
        left: -200px;
    }
    header .topnav.reponsive{
        height: 340px;
    }
    .topnav.responsive a.icon{
        position: absolute;
        top: -50px;
        right: -200px;
    }
    .topnav.responsive .a{
        float: none;
        display: block;
        text-align: left;

    }
    main .main__welcome{
        padding: 50px 0 50px 0;
    }
    main .main__welcome p{
        font-size: 14px;
    }
    main .main__welcome h1{
        font-size: 25px;
    }
    .mw-100{
        max-width: 100%;
    }
    
    .main__about{
        flex-direction: column;
    }
    .about__right{
        text-align: center;
        margin-left: 0;
    }
    .about__right li{
        text-align: left;
    }
    .about__right h1{
        margin-top: 10px;
        font-size: 20px;
    }
    .team__cards{
        flex-direction: column;
    }

    .services__cards{
        grid-template-columns: auto;
    }
    .line1 img:not(:first-child){
        display: none;
    }
    .line2 img:not(:first-child){
        display: none;
    }
    .line3 img:not(:first-child){
        display: none;
    }
}
