.cover-block{
    /*background-image: url('./imgs/home_cover_image.webp');*/
    background-repeat: no-repeat;
    background-size: cover;
    display: block;
    height: 88vh;
    margin-top: 100px;
}
.cover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.cover-block .text{
    display: flex;
    flex-direction: column;
    justify-content: end;
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}
.cover-block .text h1{
    font-size: 36px;
    color: var(--bc);
    margin-bottom: 14px;
}
.cover-block .text p{
    font-size: 22px;
    margin-top: 0;
    color: var(--bc)
}
.cover-block .text .white_button{
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/*CATEGORIES BLOCK*/
.categories-block{
    text-align: center;
    margin: 48px 30px;

}
.categories-block h2{
    font-size: 32px;
    color: var(--ac);
    margin-bottom: 14px;
}
.categories-block p{
    font-size: 22px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    margin-bottom: 32px;
    color: var(--ac);
}
.categories-block .category-cards{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    margin-bottom: 32px;
}
.categories-block .category-cards .category-card{
    box-shadow: 0 0 2px 0 gray;
    border-radius: 12px;
    text-decoration: none;
}
.categories-block .category-cards .category-card:hover{
    box-shadow: 0 2px 2px 0 gray;
}
.categories-block .category-cards .category-card img{
    width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.categories-block .category-cards .category-card h3{
    color: var(--ac);
    font-size: 24px;
}
/* Industrie Block */
.industry-products{
    margin: 48px 40px;
}
#products-carousel-track{
    height: fit-content;
}
.industry-products .industry-products-header{
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: center;
    margin-bottom: 32px;
}
.industry-products .splide__pagination{
    bottom:-1em !important;
}
.industry-products .industry-products-header .right-side{
    flex:1;
}
.industry-products .industry-products-header .left-side{
    flex:1;
}

.industry-products .industry-products-header .right-side img{
    width: 514px;
    height: 314px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 12px;
    box-shadow: 0 2px 2px 0 gray;
}
.industry-products ul{
    height: fit-content;
    padding: 8px 0 !important; 
    
}
.industry-products ul li{
    display: flex;
    justify-content: center;
}
.industry-products ul li a{
    display: block;
    height: 95%;
}
.splide__track{
    overflow: unset !important;
}
/*Types BLOCK*/
.shop_types{
    margin: 48px 40px;
}
.shop_types h2, .shop_types p{
    text-align: center;
}
.shop_types p{
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}
.shop_types .cards{
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    margin-top: 24px;
}
.shop_types .cards .shop_type_card{
    width: 420px;
    height: 420px;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--bc);
}
.shop_types .cards .shop_type_card:hover{
    opacity: 0.95;
}

.shop_types .cards .l{
    background-image: url('./imgs/living.webp');
}
.shop_types .cards .i{
    background-image: url('./imgs/industry.webp');
}
/* BENEFITS */
.benefits{
    margin: 48px 40px;
}
.benefits .benefits-header{
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    gap: 24px;
}
.benefits .benefits-header img{
    width: 400px;
    height: 400px;
}
.benefits .benefits-header .text{
    width: 40%;
}
.benefits .benefits-header .text h2{
    font-size: 36px;
}
.red-text{
    color: #E52B2C;
}
.yellow-text{
    color:#EF8223;
}
.secondary_label{
    padding: 6px 18px;
    border: 1px solid var(--ac);
    color: var(--ac);
    border-radius: 12px;
    font-weight: 600;
}
.benefits .benefits-items{
    padding: 24px 0;
    margin-top: 24px;
    margin-left: 40px;
    margin-right: 40px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 24px;
    border-bottom: 1px solid var(--ac);
    border-top: 1px solid var(--ac);
}
.benefits .benefits-items .item{
    flex: 1;
    text-align: center;
}
.benefits .benefits-items .item h3{
    font-size: 24px;
    margin-bottom: 14px;
}
.benefits .benefits-items .item p{
    margin-top: 0;
}

/*BLOG SECTION*/
.blog-section{
    margin: 48px 40px;
}
.blog-section .header{
    text-align: center;
}
.blog-section .header p{
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}
.blog-section .posts{
    display: flex;
    flex-direction: row;
    gap:20px;
    justify-content: center;
}
.blog-section .posts .post-card{
    background-color: var(--bc);
    width: 400px;
    box-shadow: 0 0px 2px 0 gray;
    border-radius: 12px;
    text-decoration: none;
    color: var(--ac);
}
.blog-section .posts .post-card:hover{
    box-shadow: 0 2px 2px 0 gray;
}
.blog-section .posts .post-card .post_info{
    padding: 8px 12px;
}
.blog-section .posts .post-card .post_info h3{
    font-size: 24px;
    margin: 0;
    margin-bottom: 4px;
    color: black;
}
.blog-section .posts .post-card img{
    width: 400px;
    height: 250px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}
.blog-section .posts .post-card .post_info .date{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    color: var(--ac);
}
.blog-section .default_button{
    margin-top: 32px;
    display: block;
    text-align: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}
/*PARTNERS SECTION*/
.partners-section{
    margin: 48px 40px;
}
.partners-section .header{
    text-align: center;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}
.partners-section .partners{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-left: 40px;
    margin-right: 40px;
   
}
.partners-section .partners .partner{
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    margin-left: auto;
    width: 250px;
    height: 250px;
    margin-right: auto;
    gap: 24px;
    color: var(--ac);
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 0 2px 0 gray;
    border-radius: 12px;
    padding: 18px;
}
.partners-section .partners .partner span{
    font-size: 30px;
}
.partners-section .partners .partner:hover{
    box-shadow: 0 0 4px 0 gray;
}

.partners-section .partners .partner img{
    width: 220px;
    height: 80px;
    object-fit: contain;

}

@media screen and (max-width: 1255px) {
    .blog-section .posts .post-card{
        width: 350px;
    }
    .blog-section .posts .post-card img{
        width: 350px;
    }
}
@media screen and (max-width: 1100px) {
    .categories-block .category-cards .category-card img{
        width: 250px;
        height: 250px;
    }
    .categories-block .category-cards .category-card h3{
        font-size: 20px;
    }
    .blog-section .posts .post-card{
        width: 300px;
    }
    .blog-section .posts .post-card img{
        width: 300px;
    }
    .industry-products ul li{
        display: flex;
        justify-content: center;
    }
}
@media screen and (max-width: 950px) {
    .blog-section .header p{
        width: 100%;
    }
    .categories-block p{
        width: 100%;
    }
    .blog-section .posts{
        flex-wrap: wrap;
    }
    .blog-section .posts .post-card{
        width: 380px;
    }
    .blog-section .posts .post-card img{
        width: 380px;
    }
    .industry-products .industry-products-header{
        flex-direction: column;
        text-align: center;
    }
}
@media screen and (max-width: 768px) {
    .categories-block .category-cards{
        flex-wrap: wrap;
    }
    .categories-block .category-cards .category-card img{
        width: 300px;
        height: 300px;
    }
    .shop_types .cards .shop_type_card{
        height: 350px;
    }
    .benefits .benefits-header img{
        width: 300px;
        height: 300px;
    }
    .benefits .benefits-header .text h2{
        font-size: 28px;
    }
    .benefits .benefits-items{
        margin-left: 20px;
        margin-right: 20px;
        flex-direction: column;
        gap: 12px;
    }
    .partners-section .header{
        width: 100%;
    }
}
@media screen and (max-width: 500px) {
   .cover-block{
        background-position: -500px;
    }
    .cover-block .text{
        top:70%;
        width: 80%;
    }
    
    .blog-section{
        margin: 48px 20px;
    }
    .partners-section{
        margin: 48px 20px;
    }
    .shop_types .cards{
        flex-wrap: wrap;
        
    }
    .shop_types .cards .shop_type_card{
        height: 350px;
    }
    .benefits{
        margin: 48px 20px;
    }
    .benefits .benefits-header{
        flex-direction: column;
        gap: 12px;
    }
    .benefits .benefits-header .text{
        width: 80%;
        text-align: center;
    }
    .benefits .benefits-items .item h3{
        text-align: center;
    }
    .benefits .benefits-items .item p{
        text-align: center;
    }
    .blog-section .posts .post-card{
        width: 360px;
    }
    .blog-section .posts .post-card img{
        width: 360px;
    }
    .industry-products .industry-products-header .right-side img{
        width: 380px;
        height: auto;
    }
}
