*{margin: 0; padding: 0;font-family: Arial;}

.header{
    background-color: #131415;
    padding: 15px 0;
}

.container{
    max-width: 1060px;
    margin: auto;
}

.row{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo{
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    color: #f89513;
    font-size: 18px;;
    text-transform: uppercase;
}

.menu__list{
    list-style: none;
    display: flex;
}

.menu__list-item{
    margin-right: 28px;
}

.menu__list-item:last-child{margin-right: 0;}

.menu__list-link{
    color: #ffffff;
    text-decoration: none;
    background-repeat: no-repeat;
    padding-left: 37px;
    font-size: 12px;
    height: 20px;
    display: inline-block;
    line-height: 1.4;
}



.main{
    background-image: url(images/main_icon.png);   
}

.feed{
    background-image: url(images/feed_icon.png);

}

.service{
    background-image: url(images/service_icon.png);
    color: #f89513;
    
}

.contacts__number{
    color: #ffffff;
    font-size: 21px;
    text-decoration: none;    
}

.work__time{
    color: #f89513;
    text-decoration: underline;
    text-align: right;
}

.main__block{
    max-width: 880px;
    margin: 47px auto;
}

.links{
    list-style: none;
    display: flex;
    font-style: italic;
    font-size: 10px;
}

.main-link{
    color: #f89513;
}

.feed-link::before{
    content: "/";
}

.feed-link{
    text-decoration: none;
    color: gray;
}

.title{
    margin-top: 26px;
    font-size: 35px;
    margin-bottom: 50px;
}

.service__list{
    list-style: none;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}

.service__list-item{
    max-width: calc(100%/3 - 60px);  
    box-sizing: border-box;
    margin-bottom: 60px;
}

.service__list-item__image{
    position: relative;
    width: 100%;
    height: 153px;
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    margin-bottom: 20px;
}

.service__first{
    background: url(images/sports-1962574_1920.png);
}

.service__second{
    background: url(images/apple-841169_1920.png);
}

.service__third{
    background: url(images/yoga-1146277_1920.png);
}

.service__fourth{
    background: url(images/trx-1730331_1920.png);
    background-position: center;
}

.service__fivth{
    background: url(images/women-1621297_1920.png);
}

.service__sixth{
    background: url(images/swimming-78112_1920.png);
}

.service__first::before{
    content: "ФИТНЕС";
}

.service__second::before{
    content: "ДИЕТОЛОГ";
}

.service__third::before{
    content:"ЙОГА";
}

.service__fourth::before{
    content: "ПЕТЛИ TPX";
}

.service__fivth::before{
    content: "КРОССФИТ";
}

.service__sixth::before{
    content: "БАССЕЙН";
}

.service__list-item__image::before{
    position: absolute;
    background-color: rgba(0,0,0,0.5);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border-radius: 3px;
    overflow: hidden;
}

.service__list-item__title{
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 16px;
}

.service__list-item__text{
    font-size: 16px;
}

@media(max-width:850px){
    .service__list-item{
        max-width: calc(100%/2 - 60px);
        
    }
}

@media(max-width:570px){
    .service__list-item{
        max-width: calc(100% - 60px);
    }
}
