@media screen and (max-width: 1440px) {
    .logo{
        max-height: 50px;
    }

    .title{
        font-size: 1.25rem;
        margin-bottom: 20px;
    }

    .logo_link{
        margin-bottom: 40px;
    }

    .wpcf7-form label{
        font-size: .75rem;
    }

    .wpcf7-form input {
        min-height: 40px;
    }

    .wpcf7-form textarea {
        min-height: 90px;
    }
}


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

    .wpcf7-form-control.wpcf7-submit{
        font-size: .875rem;
    }
}

@media screen and (max-width: 910px) {
    .mainpage-body{
        flex-direction: column;
    }

    .title{
        font-size: 1.2rem;
        font-weight: 400;
        line-height: 1.33;
    }

    .mainpage-content{
        width: 100%;
        padding: 20px 20px 40px 20px;
    }

    .mainpage-img{
        width: 100%;
        min-height: 500px;
        margin: 0 -20px;
        position: relative;
        top: unset;
        right: unset;
        bottom: unset;
    }

    .wpcf7-form label{
        font-size: .875rem;
    }

    .mainpage .container{
        padding: 0;
    }

    .logo{
        max-height: 50px;
    }
}

@media screen and (max-width: 768px) {
    .mainpage-content{
        padding: 20px 20px 40px 20px;
    }

    .title{
        font-size: 1.125rem;
    }


    .wpcf7-form input{
        min-height: 45px;
    }

    .wpcf7-form textarea{
        min-height: 90px;
    }

    .wpcf7-form-control.wpcf7-submit{
        min-height: 45px;
    }

    .title{
        font-size: 1.125rem;
        margin-bottom: 20px;
    }
}

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

    .logo_link {
        margin-bottom: 30px;
    }

    .title{
        font-size: 1rem;
    }
}