.card3D {
    perspective:1000px;
    transform-style: preserve-3d;
    transition: all 2s ease;

}

.card3D-item {
    background-color: #eee;
    /* width: clamp(150px, 40vw, 250px); */
    width:100%;
    /* height: clamp(150px, 40vw, 250px); */
    height: clamp(220px, 37vw, 220px);
    transition: all 0.4s linear;
    cursor:pointer;
}
.card3D-item img{
    /* height:100%;
    width:100%;
    object-fit: contain; */

    height: 100%;
    width: 100%;
    text-align: center;
    object-fit: cover;
   
 
}
.card3D-item h6{
color:var(--primary-clr);
}