@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    text-decoration: none;
    font-family: 'Montserrat';
    color: black;
}

/* ------ HEADER ------ */

.header {
    display: flex;
    min-height: 150px;
    align-items: center;
    width: 100%;
}

.header_logo {
    display: flex;
    align-items: center;
}

.logo_img {
    width: 150px;
    height: 90px;
    margin: 0px 40px 0px 50px;
}

.logo_text {
    display: block;
}

.logo_name {
    font-weight: 600;
    font-size: calc(18px + 27*((100vw - 320px)/1920));

}

.logo_discription {
    font-weight: 300;
    font-size: calc( 3px + (100vw - 320px)/96);
}

.header_contacts {
    display: flex; 
    position: absolute;
    right: 0px;
}

.list_link { 
    color: black;
}

.contacts_list {
    align-items: center;  
    display: flex;  
    margin: 0px 30px 0px 0px;
    font-weight: 400;
    font-size: calc(14px + 7*((100vw - 320px)/1920));
}

.list_item {
    margin: 0px 10px 0px 0px;
    display: flex;  
    list-style: none;
}

.img {
    display: flex;  
    width: 49px;
    height: 49px;
    margin: 0px 10px 0px 0px;
}

/* ------ END HEADER ------ */


/* ------ NAVBAR ------ */

.navbar {
    background-color: #219653;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.navbar_list {
    display: flex;
    height: inherit;
    justify-content: center;
}

.navbar_item {
    display: flex;
    flex-direction: row;
    color: white;
    font-size: 24px;
    line-height: 60px;
}

.navbar_text {
    height: inherit;
    padding: 0px calc(5px + 15*((100vw - 320px)/1920));
    justify-content: center;
    align-items: center;

}

.navbar_text:hover {
    background-color: #27AE60;
}

/* ------ END NAVBAR ------ */

/* ------ SALE TRACTOR SECTION ------ */

.sale {
    max-height: 800px;
    background-color: #27AE60;
    font-family: 'Montserrat';
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: space-around;
}

.sale_tittle {
    padding: calc(13px + 20*((100vw - 320px)/1920)) 0px;
    display: flex;
    justify-content: center;
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: calc(24px + 27*((100vw - 320px)/1920));
    color: white;
}

.sale_list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0px auto;  
    padding: 0px 30px;  
}

.sale_item {
    display: flex;
    font-weight: 400;
    font-size: calc(12px + 10*((100vw - 320px)/1920));
    line-height: calc(20px + 20*((100vw - 320px)/1920));
    color: white;
}
.sale_item:before {
    content: "–";
}

.sale_btn {
    width: calc(150px + 200*((100vw - 320px)/1920));
    height: calc(40px + 20*((100vw - 320px)/1920));
    display: flex;
    border-radius: 100px;
    justify-content: center;
    align-items: center;
    border: 0em;
    background-color: #219653;
    color: white;
    font-size: calc(13px + 10*((100vw - 320px)/1920));
    margin: 50px auto;
    padding: 0px 10px;
    cursor: pointer;
}

.sale_btn:hover {
    backdrop-filter: contrast(40%);
}

/* ------ END SALE TRACTOR SECTION ------ */

/* ------ GALERY TRACTOR SECTION ------ */

.tractor_img {
    object-fit: cover;
    width: calc(250px + 600*((100vw - 320px)/1920));
    height: calc(166.66px + 400*((100vw - 320px)/1920));
    
}

.tractors_container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px 100px;
    min-height: 800px;
}

.tractor_item {
    display: flex;
    margin: 0px 20px;
    padding: 100px 0px;
    flex-direction: row;
    align-items: flex-start;
}

.tractor_text {
    margin-left: 30px;
    display: flex;
    flex-direction: column;
    width: calc(250px + 600*((100vw - 320px)/1920));
}

.tractor_tittle {
    font-size: calc(18px + 18*((100vw - 320px)/1920));
    font-weight: 500;
    margin-bottom: calc(8px + 10*((100vw - 320px)/1920));
}

.tractor_price {
    font-size: calc(15px + 15*((100vw - 320px)/1920));
    font-weight: 400;
    margin-bottom: calc(8px + 10*((100vw - 320px)/1920));
}

.tractor_price_number {
    color: #219653;
}

.tractor_disc {
    display: flex;
    font-size: calc(15px + 15*((100vw - 320px)/1920));
    font-weight: 275;
    line-height: calc(15px + 27*((100vw - 320px)/1920));;
}

.tractor_buttons {
    display: flex;
    justify-content: space-around;
    align-items: center;
    
}

.prev, .next {
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    font-size: 30px;
    color: black;
    transition: 0.6s ease;
    user-select: none;
}

.next {
    order: 100;
}

.slides_btn {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ------ END GALERY TRACTOR SECTION ------ */

.leave_contacts_container {
    background-color: #333333;
    max-height: 500px;
    display: flex;
    flex-direction: column;
    line-height: calc(40px + 20*((100vw - 320px)/1920));
    font-size: calc(10px + 20*((100vw - 320px)/1920));
    color: white;
    align-items: center;
    padding: 50px 30px;
    text-align: center;
}
.upper_info_leave_contacts, .down_info_leave_contacts {
    color: white;
    font-weight: 700px;

}
.middle_info_leave_contacts {
    color: #EB5757;
    font-weight: 700px;
}
.leave_contacts_container .tractor_sale_btn {
    margin: auto 0px;
}
.our_factory_container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.our_factory_tittle {
    padding: 50px;
    font-weight: 600;
    font-size: calc(24px + 27*((100vw - 320px)/1920));
}
.our_factory_ul {
    display: flex;
    margin: 0px 15%;
}
.our_factory_li {
    display: flex;
    padding: 20px;
    font-size: calc(15px + 10*((100vw - 320px)/1920));

}

.our_factory_li:not(:last-child) {
    border-right: 2px dotted #ababad;
}
.our_factory_img {
    display: flex;
    margin: 100px 20px;
    width: calc(150px + 300*((100vw - 320px)/1920));
    height: calc(150px + 300*((100vw - 320px)/1920));
    object-fit: cover;
    transition: transform 0.5s;

}
.img_container {
    display: flex;
}

.our_factory_img:hover {
    transform: scale(1.5);
    z-index: 2;
}

.prev {
    order: -1;
}

.our_factory_img_container {
    display: flex;

}

.our_factory_discripton {
    display: flex;
    margin: 0px 0px 100px 0px;
}

.our_factory_discripton_ul {
    display: flex;
    flex-wrap: wrap;
    margin: 0px 15%;
    border: 1px solid grey;
}

.our_factor_discripton_li {
    list-style: none;
    margin: 30px;
    padding: 10px;
    flex: 400px;
}
.our_factory_disc_tittle {
    font-weight: 700;
    font-size: calc(16px + 27*((100vw - 320px)/1920));
}
.our_factory_disc_text {
    font-size: calc(12px + 27*((100vw - 320px)/1920));
    font-weight: 400;
}

.detail_sale_container {
    background-color: #333333;
}

.detail_sale_tittle {
    color: white;
    text-align: center;
    font-weight: 700;
    padding: 50px 0px;
    font-size: calc(20px + 27*((100vw - 320px)/1920));
}
.detail_sale_img {
    width: calc(240px + 320*((100vw - 320px)/1920));
    height: calc(180px + 240*((100vw - 320px)/1920));
    object-fit: cover;
    margin: 20px;
}
.detail_sale_list {
    display: flex;
    align-items: space-around;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 0px 100px;
}
.detail_sale_item {
    flex: 33%;
    padding-bottom: 50px;
    list-style: none;
    text-align: center;
    flex-direction: column;
    align-items: center;
}
.detail_sale_name {
    font-size: calc(12px + 27*((100vw - 320px)/1920));
    font-weight: 600;
    color: white;
    padding: 20px 0px;
}

.white_container {
    background-color: white;
}
.black_text {
    color: #333333;
}

.black_background {
    background-color: #333333;
}
.work_conditon_container{
    background-color: #333333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0px 20px;
}

.work_conditon_tittle {
    color: white;
    font-weight: 700;
    font-size: calc(24px + 27*((100vw - 320px)/1920));
    padding: 50px 0px;
}
.work_conditon_discription {
    color: white;
    text-align: center;
    font-size: 18px;
    padding-bottom: 50px;
}
.work_conditon_list {
    display: flex;
}
.work_conditon_item {
    display: block;
    flex: 25%;
    text-align: center;
    
}
.work_conditon_item_tittle {
    font-size: 18px;
    font-weight: 700;
    color: white;
}

.work_conditon_item_disc {
    color: white;
    font-weight: 300;
}
.major_repairs_container {
    border-top: 1px dotted #333333;
    border-bottom: 1px dotted #333333;
    background-color: white;
}
.major_repairs_tittle {
    margin: 50px auto;
    text-align: center;
    font-weight: 700;
    font-size: calc(20px + 20*((100vw - 320px)/1920));
}
.major_repairs_name {
    font-weight: 600;
    font-size: calc(16px + 20*((100vw - 320px)/1920));
}
.major_repairs_div {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 0px auto;
    width: calc(300px + 1500*((100vw - 320px)/1920));
}
.major_repairs_item {
    list-style: none;
    line-height: calc(20px + 27*((100vw - 320px)/1920));
    font-size: calc(14px + 20*((100vw - 320px)/1920));
}

.major_repairs_item::before {
    content: "– ";
}
.major_repairs_div_list {
    margin-bottom: 50px;
}
.major_repairs_div_list:first-child {
    margin-right: 100px;
}
.major_repairs_div_list_block {
    margin: 0px 0px 50px 0px;
}

.work_conditon_footer {
    color: #EB5757;
    font-weight: 600;
    font-size: 20px;
    padding: 50px 0px;
    text-align: center;
}
.work_conditon_img {
    width: 64px;
    height: 64px;
    filter: invert(1);
    margin-bottom: 30px;
}
.footer_contacts {
    color: #333333;
    font-weight: 700;
    font-size: 35px;
    text-align: center;
    padding: 30px 0px;
}
.footer_container {
    background-color:  #E0E0E0;
}

.footer_contacts_list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 100px 100px 100px;
}
.footer_contacts_item {
    display: flex;
    flex-direction: column;
    font-size: calc(16px + 7*((100vw - 320px)/1920));
    width: calc(250px + 150*((100vw - 320px)/1920));
}
.social_links {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: auto;
}
.footer_img {
    width: 49px;
    height: 49px;
    margin: 10px;
}
.footer_text {
    font-weight: 500;
}

.modal {
    display: none;
    position: fixed;
    z-index: 50;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}
.modal-window {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    position: relative;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: default;
}
.close {
    color: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0px;
    right: 0px;
    position: absolute;
    font-weight: bold;
    width: 40px;
    height: 40px;
    font-size: 36px;
    cursor: pointer;
}

.form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.form-field {
    border-radius: 100px;
    width: 100%;
    height: 40px;
    margin: 10px;
    padding-left: 10px;
    border: 1px solid #333333;
}
.form-button {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    width: 400px;
    height: 50px;
    margin: 10px;
    padding-left: 10px;
    border: 1px solid #333333;
    color: white;
    background-color: #333333;
    cursor: pointer;
}

.text-button {
    font-size: 28px;
    font-weight: 600;
    color: white;
}

.burger_menu {
    display: none;
    position: absolute;
    top: 30px;
    left: 30px;
    object-fit: cover;
}
.burger {
    width: 32px;
    height: 32px;
    object-fit: cover;
}

.cross {
    width: 28px;
    height: 28px;
    object-fit: cover;
    display: none;
}

.repair_tittle {
    font-size: calc(14px + 20*((100vw - 320px)/1920));
    font-weight: 800;
}
#repairText {
    font-size: calc(8px + 10*((100vw - 320px)/1920));
    font-weight: 400;
    padding: 20px;
}

#modalTittle {
    font-size: calc(16px + 15*((100vw - 320px)/1920));
    font-weight: 600;
}

#modalDiscription {
    font-size: calc(12px + 15*((100vw - 320px)/1920));
    font-weight: 400;
    border: none;
    font: inherit;
    color: inherit;
    background-color: transparent;
}
#modalDiscriptionInput {
    display: none;
}
.repair_footer {
    font-size: calc(10px + 14*((100vw - 320px)/1920));
    font-weight: 600;   
}