@media screen and (max-width: 1600px) {
 
    .logo_img {
        width: 100px;
        height: 60px;
        margin: 0px 30px 0px 50px;
    }   
    
    .img {
        width: 45px;
        height: 45px;
    }
    .tractor_item {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .tractor_text {
        margin-left: 0px;
        width: calc(250px + 900*((100vw - 320px)/1920));
    }

    .tractor_img {
        object-fit: cover;
        width: calc(250px + 900*((100vw - 320px)/1920));
        height: calc(166.66px + 600*((100vw - 320px)/1920));
        
    }

}
@media screen and (max-width: 1400px) {

    .logo_img {
        width: 80px;
        height: 48px;
        margin: 0px 20px 0px 50px;
    }

    .list_item {
        margin: 0px 10px 0px 0px;
    }
    
    .img { 
        width: 38px;
        height: 38px;
        margin: 0px;
    }

    .navbar_item {
        font-size: 20px;
    }

    .header_contacts { 
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
    }
    .list_item {
        margin: 20px 10px 0px 10px;
    }
    .header_contacts {
        margin-bottom: 30px;
    }

}

@media screen and (max-width: 1124px) {
    
    .logo_img {
        width: 150px;
        height: 90px;
        margin: 0px 0px 0px 50px;
    }
    
    .logo_text {
        display: none;
    }

    .list_item {
        margin: 0px 20px 0px 0px;
    }
    
    .img {
        width: 38px;
        height: 38px;
        margin: 0px;
    }

    .navbar_item {
        font-size: 16px;
    }

    .footer_contacts_list {
        padding: 50px;
    }

    .our_factory_img_container {
        margin: 40px 0px;
        flex-direction: column;
        align-items: center;
    }

    .img_container {
        flex-direction: column;
    }

    .our_factory_img {
        margin: 20px 20px;
        width: calc(300px + 200*((100vw - 320px)/1920));
        height: calc(300px + 200*((100vw - 320px)/1920));
    }

    .transform {
        transform: rotate(90deg);
    }
    .major_repairs_div_list:first-child {
        margin-right: 50px;
    }
    .modal-content {
        width: 70%;
    }
    .header_contacts { 
        flex-direction: row;
        margin-bottom: 0px;
    }

}
@media screen and (max-width: 915px) { 
    .header_contacts {
        flex-direction: column;
    }

    .list_item {
        margin: 20px 10px 0px 10px;
    }
    .header_contacts {
        margin-bottom: 30px;
    }
    
}
@media screen and (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .logo_img {
        width: 150px;
        height: 90px;
        margin: 20px 0px;
    }
    
    .header_contacts {
        position: static;
    }
    
    .contacts_list { 
        margin: 0px;
    }
    
    .img {
        width: 36px;
        height: 36px;
    }

    .navbar_item {
        padding: 0px;
        font-size: 13px;
    }

    .footer_contacts_list {
        padding:  20px 10px;
    }

    .footer_img {
        margin: 10px 10px;
    }

    .our_factory_ul {
        flex-direction: column;
    }

    .our_factory_li:not(:last-child) {
        border-right: none;
    }

    .our_factory_li:not(:last-child) {
        border-bottom: 3px dotted #ababad;
    }

    .major_repairs_div {
        flex-direction: column;
    }
    .major_repairs_div_list:first-child {
        margin-right: 20px;
    }
    .modal-content {
        width: 100%;
    }
    .list_item {
        margin: 20px auto;
    }
    .header_contacts {
        margin-bottom: 30px;
    }
    .list_item {
        margin: 20px 10px 0px 10px;
    }
}

@media screen and (max-width: 640px) {
    .logo_img {
        width: 100px;
        height: 60px;
    }
    
    .contacts_list {
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
    }
    
    .header_contacts {
        margin-bottom: 30px;
        align-items: center;
    }
    .tractor_item {
        margin: 0px 10px;
        padding: 50px 0px;
    }

    .tractor_buttons {
        flex-direction: column;

    }

    .sale_btn {
        margin: 10px auto;
    }

    .work_conditon_list {
        display: flex;
        flex-direction: column;
    }

    .work_conditon_item {
        padding: 0px 0px 30px 0px;
        
    }

    .work_conditon_img {
        margin-bottom: 10px;
    }

    .footer_contacts_list {
        flex-direction: column;
        align-items: center;
        padding: 0px;
    }

    .footer_contacts_item {
        align-items: center;
        text-align: center;
        padding-bottom: 30px;
    }

    .our_factor_discripton_li {
        list-style: none;
        margin: 0px;
        padding: 10px;
        flex: auto;
    }

    .our_factory_img:hover {
        transform: none;
    }
    .burger_menu {
        display: block;
    }
    .navbar {
        display: none;
        position: fixed;
        width: 100%;
        height: 100%;
        z-index: 100;
        top: 100px;
        justify-content: flex-start;
        align-items: flex-start;
    }
    .navbar_list {
        flex-direction: column;
        width: 100%;
    }
    .navbar_item {
        color: white;
        font-size: calc(20px + 40*((100vw - 320px)/1920));
        justify-content: flex-start;
        line-height: calc(40px + 40*((100vw - 320px)/1920));;
    }
    .navbar_list {
        height: auto;
        
    }
    .navbar_text {
        padding-left: 30px;    
    }
    .active {
        display: flex;
    }

}