@import url(homepage-hero.css);

@keyframes slide-in{
    0%{
        margin-top: -70px;
    }
    100%{
        margin-top: 0px;
    }   
}

.cat-showcase{
    margin-top: 100px;
}

.cat-container{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.cat-container a{
    text-decoration: none;
    display: inline-flex;
    width: 250px;
    aspect-ratio: 3/2;
    overflow: hidden;
}

.cat-container a .img-box{
    display: flex;
    width: 100%;
    flex-direction: column;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.cat-container a .img-box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s ease;
}

.cat-container a .img-box h3{
    position: absolute;
    bottom: 20px;
    left: 20px;
    margin: 0;
    font-size: 20px;
    color: #fff;
    z-index: 99;
}

.cat-container a .img-box .bottom-overlay{
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(to top, #000c, #fff0);
}

/*

.cat-container{
    display: flex;
    flex-wrap: wrap;
    width: 80%;
    margin-left: 10%;
    place-items: center;
    justify-content: center;
    gap: 10px;
}

.cat-container a{
    display: inline-flex;
    text-decoration: none;
}

.cat-container .cat-box{
    height: 150px;
    width: 250px;
    border-radius: 20px;
    display: flex;
    align-items: flex-end;
}

.cat-container .cat-box h3{
    margin: 20px;
    font-size: 22px;
    padding: 0;
    color: #fff;
}

.cat-container .cat-box:nth-child(odd){
    background: linear-gradient(to bottom, #0000, #0000, #000), url("../img/img1.jpeg");
    background-size: cover;
    background-position: center;
}
.cat-container .cat-box:nth-child(even){
    background: linear-gradient(to bottom, #0000, #0000, #000), url("../img/img2.png");
    background-size: cover;
    background-position: center;
} */

/* .cat-container .cat-box:nth-child(3){
    background: linear-gradient(to bottom, #0000, #0000, #000), url("../img/img1.jpeg");
    background-size: cover;
    background-position: center;
}
.cat-container .cat-box:nth-child(4){
    background: linear-gradient(to bottom, #0000, #0000, #000), url("../img/img2.png");
    background-size: cover;
    background-position: center;
} */

.cat-showcase .see-more-btn{
    display: inline-block;
    margin-left: 50%;
    transform: translateX(-50%);
    margin-top: 50px;
    text-decoration: none;
    color: #000;
    font-size: 20px;
    font-weight: 700;
    position: relative;
}

.cat-showcase .see-more-btn::after{
    content: '';
    position: absolute;
    display: block;
    height: 2px;
    width: 0%;
    margin-top: 10px;
    background: #000;
    transition: 0.3s ease;
}

.cat-showcase .see-more-btn:hover::after{
    width: 100%;
}

@media(max-width: 1024px){

    .wa p{
        padding-right: 20px;
    }

    .wa:hover{
        width: 50px;
    }
    
    .wa:hover p{
        transform: translateX(10px);
    }

    .cat-container a{
        width: 40%;
    }

    .cat-container .cat-box{
        width: 100%;
    }

    .cat-container .cat-box h3{
        font-size: 18px;
    }

    .img-showcase .img-container{
        gap: 10px;
    }

    .img-showcase .img-container a{
        width: calc(50% - 20px);
    }
}