@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;700&display=swap');
body {
    font-family: 'Source Sans Pro', sans-serif;
    margin: 0;
    padding: 0;
    overflow-y: scroll;
    height: 100vh;
    background-color: #6B4B2C;
}
.container {
    max-width: 1220px;
    padding: 0 15px;
    margin: 0 auto;
}
.top_part {
    background: #fff;
    /* padding: 170px 0; */
    padding: 8% 0 7.9% 0; 
}
.top_part h1 {
    font-size: calc(27px + 42 * ((100vw - 320px)/ 2400));
    font-weight: 600;
    line-height: 110%;
    text-align: center;
    text-transform: uppercase;
    color:  #663300;
    margin: 0 auto;
    max-width: 840px;
}

.top_part h4 {
    font-size: calc(18px + 9 * ((100vw - 320px)/ 1280)); 
    font-weight: 400;
    line-height: 120%;
    text-align: center;
    color:  #663300;
    padding: 0 40px;
    max-width: 960px;
    margin: 0 auto;
}
.top_part h1 span {
    text-transform: lowercase;
}

.bottom_part {
    background-color: #6B4B2C;
    padding: 62px 0 45px;
}
.bottom_part h4 {
    font-size: calc(18px + 9 * ((100vw - 320px)/ 1280)); 
    font-weight: 400;
    line-height: 120%;
    text-align: center;
    color: #fff;
    padding: 0 40px;
    max-width: 960px;
    margin: 0 auto;
}

@media (max-width: 720px) {
    .bottom_part h4 {
        padding: 0;
        margin-top: 30px;
    }
}
.products_wrap {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 58px;
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .products_wrap  {
        margin-top: 35px;
    }
}

.product_block {
    text-align: center;
    padding: 0 30px;
    margin-bottom: 30px;
    width: calc(100% / 4);
}
@media (max-width: 768px) {
    .product_block {
        padding: 0 15px;
    }
}
.product_img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform .3s ease;
}
.product_img:hover{
    transform: scale(1.1);
}
.product_logo-block {
    margin: 0 auto 4% auto;
    padding: 0 10%;
}
@media (max-width: 840px) {
    .product_logo-block {
        padding: 0 12%;
        margin-bottom: 0;
    }
}
@media (max-width: 545px) {
    .product_logo-block {
        padding: 0 10px;
    }
}
.product_logo {
    margin-bottom: 30px;
    width: calc(100% / 4);
    height: 85px;
    display: flex;
    justify-content: center;
    align-items: center;
    
}
@media (max-width: 991px) {
    body{
        height: auto;
    }
   .product_logo {
       margin-bottom: 0;
   }
   .product_logo {
    width: calc(100% / 3);
    }
}
@media (max-width: 500px) {
    .top_part{
        padding: 4% 0;
    }
    .bottom_part{
        padding-top: 30px;
    }
    .product_logo {
        width: 50%;
        height: 100px;
        width: calc(100% / 3);
    }
}
@media (max-width: 320px) {
    @media (max-width: 500px) {
        .product_logo {
            width: 50%;
            height: 80px;
        }
    }
}
