@media screen and (max-width: 1600px) {
    #about{
        text-align: center;
        margin-top: -150px;
    }
}

@media screen and (max-width: 1558px) {
    .main-img #kaz .button{
        background-size: 200px 50px;
        width: 200px;
        height: 50px;
    }
}

@media screen and (max-width: 1366px) {
    .main-phone{
        margin-top: 100px;
        font-size: 14px;
    }
    .main-img #kaz .button{
        background-size: 180px 50px;
        width: 180px;
    }
    #about {
        margin-top: -282px;
    }
}


/*mobile*/
@media screen and (max-width: 1080px) {
    header{
        height: 1241px;
        background: url('../img/header_min.png') no-repeat;
    }

    .header-menu{
        font-size: 13px;
    }

    .header-menu a {
        margin-right: 15px;
    }

    .main-img{
        display: none;
    }

    #phone{
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        margin-top: 45%;
    }

    #phone .button.active{
        background-size: 220px 65px;
        width: 220px;
    }

    #phone p{
        text-transform: uppercase;
        width: 100%;
    }

    .flex-block span{
        display: none;
    }

    #catalog img.desc{
        display: none;
    }

    #catalog img.mob{
        display: block;
    }

    #catalog .col-md-6 {
        flex: 0 0 auto;
        width: 50%;
    }

    #catalog .row .button {
        background-size: 100px 65px;
        width: 100px;
        height: 65px;
        font-size: 12px;
    }

    #catalog .row .button.active {
        background-size: 100px 65px;
        width: 290px;
        height: 65px;
        font-size: 13px;
        font-weight: 500;
        background-image: url(../img/button.png);
    }

    #contacts .contacts-block:first-child{
        justify-content: center;
        padding-right: 0;
    }

    #contacts .contacts-block:nth-child(2) {
        padding-left: 0;
        display: flex;
        justify-content: center;
        margin-top: 30px;
    }
}

@media screen and (max-width: 460px) {
    header{
        height: 80vh;
    }

    #about {
        margin-top: -150px;
    }

    #about img {
        width: 80%;
    }

    #to-know{
        margin-top: 50px;
    }

    .photos .photo {
        width: auto;
        height: 227px;
    }
}


