*,
*::before,
*::after {
    box-sizing: border-box;
}
:root {
    --main-text-color: #757575;
    --title-text-color:  #212121;
    --accent-color: #2196F3;
    --main-bg-color: #FFFFFF;
    
}
/* основной шрифт, цвет фона и основной цвет текста*/ 
body {
    max-width: 1600px;
    background-color: var(--main-bg-color);
    color: var(--main-text-color);
    font-family: Roboto, sans-serif;
    letter-spacing: 0.03em;
}
/* убираем точки у списка*/
ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
/* устанавливаем размеры контейнера*/
.container {
    margin-left: auto;
    margin-right: auto;
    width: 1200px;
    padding-left: 15px;
    padding-right: 15px;
}
.section {
    padding-top: 94px;
    padding-bottom: 94px;
}
a {
    text-decoration: none;
}
img {
    display: block;
    width: 100%;
    height: auto;

}
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
}

/* нижняя рамка блока навигации*/
.header-nav {
    border-bottom: 1px solid #ECECEC;
}
/* распологаем меню навигации по гризонтали*/
.main-nav {
    display: flex;
    align-items: center;
    
}
/* шрифт,цвет логотипа */
.web {
    color: var(--accent-color);
    font-family: Raleway;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
}
.logo {
    color: #000000;
    font-family: Raleway;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
}
/* шрифт,цвет, расположение ссылок в меню навигации */
.site-nav {
    display: flex;
    margin-left: 93px;
   
}
.site-nav .item + .item {
    margin-left: 50px;
}
.site-nav .link {
    display: block;
    padding-top: 32px;
    padding-bottom: 32px;

    color: var(--title-text-color);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.1;
}
.site-nav .link:hover,
.site-nav .link:focus {
    color: var(--accent-color);
}
.site-nav .link.current{
    color: var(--accent-color);
}
.site-contact {
    display: flex;
    margin-left: auto;
}
.site-contact .item + .item {
    margin-left: 50px ;
}
.site-contact .link {
    color: var(--main-text-color);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.1;
}
.site-contact .link:hover,
.site-contact .link:focus {
    color: var(--accent-color);
}
.nav-adres {
    display: flex;
    align-items: center;
}
.hero {
    padding: 200px 0;
    max-width: 1600px;
    text-align: center;
    background-color: #2F303A;
}
/* шрифт,цвет фона и заголовка героя, размеры*/
.hero-title {
    margin-top: 0;
    margin-bottom: 30px;
    min-width: 696px;

    color: var(--main-bg-color);
    font-size: 44px;
    font-weight: 900;
    line-height: 1.4;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
/* кнопка заказать услугу*/
.button-order {
    display: inline-block;
    border-radius: 4px;
    padding: 10px 32px;
    min-width: 200px;
    border: 1 px solid transparent;

    color: var(--main-bg-color);
    background-color: #188CE8;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.9;
}

/* цвет заголовков в секциях*/

.section-title {
    margin-top: 0;
    margin-bottom: 50px;

    color: var(--title-text-color);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}
/* расположение, шрифт в секции особенности*/
.features {
    display: flex;
}
.features .item {
    width: 270px;
}
.features .item + .item {
    margin-left: 30px;
}
/*.features {
    display: flex;
    margin: -15px;
}
.features .item {
    width: 270px;
    margin: 15px;
}*/
.features-title {
    padding-bottom: 0;
    color: var(--title-text-color);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.features-text{
    margin-top: 0;
    margin-bottom: 0;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
}
/* расположение секции чем занимаемся*/
.specification {
    padding-top: 0;
}
.specification-title {
    text-align: center;
}
.specification-image {
    display: flex;
}
.specification .item + .item{
    margin-left: 30px; 
}
/* расположение карточек,шрифт в секции наша команда*/
.team {
background: #F5F4FA;
}
.team-title {
    text-align: center;
}
.team-image {
    display: flex;
}
.team-image .item + .item{
   margin-left: 30px; 
}

.team-name {
    color: var(--title-text-color);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
}
.team-profession {
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
}
.team-border {
    padding-top: 30px;
    padding-bottom: 30px;
    text-align: center;
    background: #FFFFFF;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.12), 0px 1px 1px rgba(0, 0, 0, 0.14), 0px 2px 1px rgba(0, 0, 0, 0.2);
    border-radius: 0px 0px 4px 4px;
    border-right: 1px solid #EEEEEE; 
    border-bottom: 1px solid #EEEEEE;
    border-left: 1px solid #EEEEEE;
}
/* цвет фона футера и цвет логотипа*/
.footer-adres {
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: #2F303A;
}
.logo-footer {
    display: inline-block;
    color: #FFFFFF;
    font-family: Raleway;
    font-family: Raleway;
    font-size: 26px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.2;
}
.adres {
    margin-top: 20px;
}
.adres-link {
    color: #FFFFFF99;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.7;
}
.adres-link:hover,
.adres-link:focus {
    color: var(--accent-color);
}

/* стили ПОРТФОЛИО */
/* кнопки фильтров*/
.filter {
    display: flex;
    justify-content: center;
    margin-bottom: 34px;
}
.filter .item + .item {
    margin-left: 8px;
}
.button-filter {
    padding: 6px 22px;
    border-radius: 4px;
    min-width: 73px;
    border-color: transparent;
    color: var(--title-text-color);
    background-color: #F5F4FA;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6; 

}
.button-filter:hover,
.button-filter:focus {
    color: var(--main-bg-color);
    background-color: var(--accent-color);
}

/*расположение карточек, цвет заголовков проектов*/
.project {
    display: flex;
    flex-wrap: wrap;
}
.card {
width: 370px;
margin-right: 30px;
margin-bottom: 30px;
}
.card:nth-child(3n) {
    margin-right: 0;
}
.card:nth-last-child(-n + 3) {
    margin-bottom: 0;
}
.project-title {
    margin-top: 0;
    margin-bottom: 0;
    margin-bottom: 4px;
    color: var(--title-text-color);
    font-size: 18px;
    font-weight: 700;
    line-height: 2.0; 
}
.project-filter {
    margin-top: 0;
    margin-bottom: 0;
    color: var(--main-text-color);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.9;
}
.project-border {
    padding-top: 20px;
    padding-bottom: 20px;
    border-right: 1px solid #EEEEEE; 
    border-bottom: 1px solid #EEEEEE;
    border-left: 1px solid #EEEEEE;
}


