.upper{
    display: flex;
    justify-content: center;

    margin-top: 60px;

    padding-left: 40px;
    padding-right: 40px;
}

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

    width: 100%;
}

.upper__title{
    font-size: 35px;
    font-weight: 400;
    line-height: 42.36px;
    text-align: left;
}

.upper__text{
    font-size: 14px;
    font-weight: 400;
    line-height: 16.94px;

    max-width: 679px;
}


/* CITIES */


.cities{
    display: flex;
    justify-content: center;

    margin-top: 46px;
}

.cities__container{
    width: 100%;

    padding-left: 40px;
    padding-right: 40px;
}

.cities__buttons{
    display: flex;
    justify-content: center;

    flex-wrap: wrap;
}


.cities__button{
    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 14px;

    padding: 4px 10px;

    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    text-align: left;

    color: #121313;

    border: 1px solid  #F2F3F4;

    border-radius: 5px;

    transition: .3s linear;

    margin-left: 10px;
    margin-right: 10px;

    cursor: pointer;
}

.cities__button.active{
    background: #F2F3F4;
}

.cities__button:hover{
    background:#121313;
    color: #F2F3F4;
}


/* STUDIOS */


.studios{
    margin-top: 40px;

    display: flex;
    justify-content: center;
}

.studios__container{
    width: 100%;
}

.studios__blocks{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    justify-content: center;

    row-gap: 40px;
    column-gap: 8px;

    width: 100%;
}

.studios__block{
    width: 100%;
}

.studios__img{
    width: 100%;
}

.studios__block-content{
    background: #F2F3F4;

    padding: 20px 23px 24px 23px;

    height: 174px;

    position: relative;
}

.studios__location{
    display: flex;
}

.studios__location-title{
    margin-left: 14px;

    font-size: 20px;
    font-weight: 600;
    line-height: 24.2px;
    text-align: left;

    color: #121313;
}

.studios__street{
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    text-align: left;
    color: #121313;

    margin-top: 10px;
}

.studios__time{
    margin-top: 20px;

    display: flex;
    align-items: center;
    
}

.studios__mobile{
    display: flex;
    align-items: center;

    margin-top: 3px;
}

.studios__text{
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    text-align: left;

    color: #121313;
}

.studios__icon-holder{
    width: 25px;
}

.studios__info{
    position: absolute;
    bottom: 23px;
}

.studios__blocks-holder{
    width: 100%;
}

@media screen and (max-width: 1300px){
    .studios__blocks{
        grid-template-columns: 1fr 1fr 1fr;
     }
}

@media screen and (max-width: 1024px){
    .upper__container{
        flex-direction: column;
        align-items: start;
    }

    .upper__text{
        margin-top: 24px;
    }
}

.studios__container{
    padding-left: 40px;
    padding-right: 40px;
}


@media screen and (max-width: 991px){

    
    .studios__container{
        padding-left: 20px;
        padding-right: 20px;
    }


    .cities__container{
        padding-left: 20px;
        padding-right: 20px;
    }

    .upper{
        padding-left: 20px;
        padding-right: 20px;
    }

    .upper__title{
        font-size: 24px;
        font-weight: 400;
        line-height: 29.05px;
        text-align: left;
        
    }

    .upper__text{
        margin-top: 24px;

        font-size: 14px;
        font-weight: 400;
        line-height: 16.94px;
        text-align: left;
    }

    .cities{
        margin-top: 40px;
    }
}

@media screen and (max-width: 800px){
    .studios__blocks{
        grid-template-columns: 1fr 1fr;
     }
}

@media screen and (max-width: 650px){

    .studios__blocks-holder{
        display: flex;
        justify-content: center;
    }
    
    .studios__blocks{
        grid-template-columns: 1fr;
     }
}