body {
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
    margin: 0;
  }
section {
    padding-left: 100px;
    padding-right: 100px;
}
section h2{
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
font-size: 50px;
line-height: 120%;
color: #333333;
flex: none;
order: 0;
flex-grow: 0;

}
.header__wrapper{
    background-image: url(./images/headerbackimg.svg);
    margin: 10px;
    border-radius: 10px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    padding-left: 100px;
    padding-right: 100px;
    
}
.header__wrapper__main{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 140px;  
    padding:  15px 30px;
}
.header__wrapper__href{
    display: flex;
    align-items: center;
    gap: 140px;
}
.navbar{
    display: flex;
    gap: 70px;
}
.navbar__text{
    color: #fff;
    display: flex;
    justify-content: center;
    gap: 15px;
}
.navbar__text:hover{
    color: #EF801B;
}
.navbar__arrow{
    transition: all 0.3s ease-in-out;
    background-color: transparent;
}
.header__wrapper__search{
    display: flex;
    gap: 30px;
}
.header__input input,button {
    border: none;
    outline: none;
    background-color: transparent;
  }
.header__input{
    width: 100%;
    max-width: 620px;
    display: flex; 
    padding: 0 20px;
    overflow: hidden;
    border: 1px solid #ccc;
    border-radius: 50px;
   
}
.header__input input[type="text"] {
        width: 100%;
        padding: 15px 20px;
      
}
.header__input button[type="submit"] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 15px;
    cursor: pointer;
  }
.header__type_form input{
    background-color: transparent; 
    overflow: hidden;
    border-color: #fff;
    color: #fff;
    transition: border .3s;
}
.header__input:hover{
    border: 1px solid #fff;
}
.header__type_form::after{
   
    content: "";
    position: absolute;
    transform: translateY(-50%);
    background-image: url(./images/search.svg);
}
.button_B2B{
    background-color: transparent; 
    overflow: hidden;
    border-color: #fff;
    color: #fff;
    padding: 0 20px;
    height: 100%;
    width: auto;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    border: 1px solid rgba(255, 255, 255, 0.51);
    transition: border .3s;
    border-radius: 15px;
}
.button_B2B:hover{
    background-color: #EF801B;
}
.header__container{
    padding: 140px 15px 130px 15px ;
}
.container__title{
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
font-size: 65px;
line-height: 110%;
color: #FFFFFF;
flex: none;
order: 0;
flex-grow: 0;
}
.container__button{
    padding: 20px 30px;
    border-radius: 100px;
    background-color: #fff;
    color: #333333;
}
.container__button:hover{
    background-color: #EF801B;
}
.articles__items{
    position: relative;
    width: auto;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    text-align: left;
    font-weight: 400;
    background-color: #fff;
    font-size: clamp(0.938rem, 0.892rem + 0.19vw, 1.125rem);
    line-height: 120%;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.catalog_article{
    display: flex;
    padding: clamp(1.875rem, 1.572rem + 1.29vw, 3.125rem) clamp(0.938rem, 0.786rem + 0.65vw, 1.563rem);
    border-bottom: 1px solid #E0E0E0;
    gap: 206px;
}
.catalog_article:hover{
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); 
    border: 2px solid #E0E0E0;
    border-radius: 20px;
}
.item_icon{
    background-image: url(./images/Arrow.svg);
    width: 60px;
    height: 60px;
    transition: background-image 0.3s ease;
}
.catalog_article:hover .item_icon{
    background-image: url(./images/Arroworange.svg);
}

.items_main{
    display: flex;
    gap: 70px;
}
.items_navigation{
    display: flex;
    justify-content: space-between;
    gap: clamp(1.406rem, 0.686rem + 3.07vw, 4.375rem);
    padding-right: 15px;

}
.item_navigation__text{
    list-style-type: none; 
}
.item_navigation__text:hover:before li{
        content: '→'; 
        position: absolute; 
        left: 0; 
        color: #EF801B;
}
.item_title{
    max-width: 340px;
    display: flex;
    flex-wrap: wrap;
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
font-size: 30px;
line-height: 120%;

color: #333333;
flex: none;
order: 1;
flex-grow: 0;

}
.item_title a{
    color: #333333;
    text-decoration: none; 
    word-wrap: break-word; 
    overflow-wrap: break-word; 
    white-space: nowrap;  
}
.item_title:hover a{
color: #EF801B;
}

.text__item{
    color: #333333;
    text-decoration: none; 
}
.text__item:hover {
    color: #EF801B;
}
.advantages{
    padding-bottom: 50px;
    margin-bottom: 50px;
    background-image: url(./images/mainimg.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    background-attachment: fixed;
}
.advantages_title{
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
font-size: 50px;
line-height: 120%;
color: #FFFFFF;
flex: none;
order: 0;
flex-grow: 0;

}
.advantages__block{
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
}
.advantages__items{
    grid-column: 4 span;
    grid-row-end: unset !important;
    
    border-radius: 20px;
    padding: 30px;
}
 .advantages__items {
    grid-column: 3 span;
    padding: 30px;
    min-height: 150px;
    border: 1px solid #ccc;
    border-radius: 20px;
    background-color: #FFFFFF;
}


.advantages_header{

font-family: 'Roboto';
font-style: normal;
font-weight: 400;
font-size: 20px;
line-height: 120%;
color: #333333;
flex: none;
order: 0;
flex-grow: 0;
}
.advantages_desc{

font-family: 'Roboto';
font-style: normal;
font-weight: 300;
font-size: 18px;
line-height: 120%;
color: #333333;
flex: none;
order: 1;
flex-grow: 0;
}
.advantages_footer{
font-family: 'Roboto';
font-style: normal;
font-weight: 500;
font-size: 20px;
line-height: 120%;
color: #EF801B;
display: flex;
justify-content: space-between;
}
.vendors{
display: flex;
flex-direction: column;
}
.vendor_buttons{
    gap: 5px;
}
.vendors_header{
    display: flex;
    justify-content: space-between;
}
.vendor_btn{
    background-color: transparent;
    border: none; 
}
.vendor_slider{
    display: flex;
    gap: 20px;
}
.slider_btn{
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); 
    border: 2px solid var(--clr-gray-1);
    border-radius: 20px;
    background-color: #FFFFFF;
}
.article_item  {
    grid-column: 3 span;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); 
    border: 2px solid var(--clr-gray-1);
    border-radius: 20px;
    width: 342px;
}
.article_item img {
    width: 100%;
}
.article_item_text{
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news_items{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}
.news__footer{
    display: flex;
    justify-content: center;
    border-bottom-width: 25px;
    margin-bottom: 25px;
}
.news_button{
    padding: 20px 40px;
    border-radius: 20px;
    background-color: #EF801B;
    border: none;
    margin-top: 45px;
   
}
.news_button a{
    text-decoration: none;
    color:#FFFFFF;
} 
footer{
    background-color: #010028;
    padding: 50px 100px;
    margin: 0px;
}
.footer_links{
    display: flex;
    gap:51px;
}
.footer_links li{
    list-style-type: none; 
}
.footer_links a{
    text-decoration: none;
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 120%;
color: rgba(255, 255, 255, 0.67);
}
.footer_links a:hover{
    color:#FFFFFF
}
.footer_links ul li:first-child a{
font-family: 'Roboto';
font-style: normal;
font-weight: 600;
font-size: 20px;
line-height: 152.9%;
color: #FFFFFF;
}
.footer_left{
    display: flex;
    flex-wrap: wrap;
}
.footer_logo{
    display: flex;
    flex-direction: column;
    gap:40px;
}
.footer_copyright p {
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 120%;
color: rgba(255, 255, 255, 0.28);
}
.footer_nav_item{
    display: flex;
    flex-direction: column;
    gap:20px;
}
.footer_items_catalog{
    display: flex;
    flex-direction: column;
    gap:20px;
}
.contacts_item{
    display: flex;
    flex-direction: column;
    gap:20px;
}
.footer_comtacts_hh{
    display: flex;
    justify-content: flex-end;
}

@media (min-width: 767px) {
    .advantages__items:nth-child(3) {
       grid-row-end: span 2;
       grid-column: 2 span;
   }
 }
 
 @media (max-width: 767px) {
   .advantages__block {
       grid-template-columns: repeat(2, 1fr);
   }
   .advantages__items {
     grid-column: 1 span;
   }
   .header__wrapper{
       gap:74px;
       padding-left: 16px;
    padding-right: 16px;
   }
   .header__wrapper__main{
       gap:60px;
   }
   .header__input  input{
       display: none;
   }
   .header__input {
       border: none;
       padding: 0px;
   }
   .header__wrapper__href {
       gap: 60px;
   }
   .header__wrapper__search{
       gap:15px;
   }
   .navbar{
       gap: 50px;
   }
   .button_B2B{
       padding: 10px 20px;
   }
   .catalog_article{
       gap: 106px;
   }
   .item_title{
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
font-size: 20px;
line-height: 120%;
white-space: normal;
word-wrap: break-word; 
overflow-wrap: break-word; 
white-space: normal;
   }
   section{
    padding-left: 16px;
    padding-right: 16px;
}
section h2 {
font-weight: 400;
font-size: 35px;
line-height: 120%;
}
.advantages_title{
font-weight: 400;
font-size: 35px;
line-height: 120%;
    }
    .container__title{
font-weight: 400;
font-size: 45px;
line-height: 110%;
    }
 }
 
 @media (max-width: 576px) {
   .advantages__block {
       grid-template-columns: repeat(1, 1fr);
   }
 }
 @media (max-width: 475px) {
section{
    padding-left: 16px;
    padding-right: 16px;
}
section h2 {
font-weight: 400;
font-size: 30px;
line-height: 120%;
}
.advantages_title{
font-weight: 400;
font-size: 30px;
line-height: 120%;
}
.container__title{
font-weight: 400;
font-size: 35px;
line-height: 110%;
}
    .burger {
        cursor: pointer;
        display: flex;
        flex-direction: column;
        width: 30px;
        margin: 20px;
    }
    
    .line {
        height: 4px;
        background-color: #FFFFFF;
        margin: 4px 0;
        transition: all 0.3s ease;
    }
    
    .navbar {
        display: none; 
        flex-direction: column;
        background-color: #f8f8f8;
        padding: 10px;
        border: 1px solid #ddd;
    }
    
    .navbar__text {
        text-decoration: none;
        color: #333;
        padding: 10px 0;
    }
    
    .navbar__arrow {
        margin-left: 5px;
    }

    .catalog_article{
        display: flex;
        flex-direction: column;
        gap: 51px;

    }
    .items_main{
        gap:15px;
    }
    .news_items{
        display: flex;
        flex-direction: column;
    }
    .footer_links{
        flex-direction: column;

    justify-content: center;
    align-items: center;
    }
 }