/*---------------- 
Hover Card images are 200px x 200 px or 300px x 300px.
1. Make all the hover cards the same size if you are using them in a group
2. Make sure the source images are large enough so they don't stretch.
3. The images are assumed to be square. 
4. 
------------------*/
.hc-wrapper{
    display: flex;
    justify-content: center;

}

.hc-card{
    display: flex;
    align-items: flex-end;
    position:relative;
    width:200px;
    height:200px;
    border-radius: 15px;
    padding: 1.5rem;
    background: white;
    box-shadow: 0px 7px 10 px rgba(0,0,0,0.5);
    transition: .5s;
    margin-bottom:30px;
}

/* find the img in the hc card */
.hc-card img{
    width:100%;
    height:100%;
    object-fit: cover;
    -o-object-fit: cover;
    position: absolute;
    top:0;
    left:0;
    border-radius:15px;
    
}

.hc-card:hover{
    transform: translateY(20px);
}

.hc-card .hc button:hover{
    background-color: var(--ts-highlight-color);
}

.hc-card:hover .hc-content{
    opacity: 1;
    transform: translateY(0px);
}


.hc-card:hover::before{
    opacity: 1;
}

.hc-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    display:block;
    width:100%;
    height: 100%;
    border-radius:15px;
    background: rgba(0,0,0,0.7);
    transition:.5s;
    opacity:0;
    z-index:2
}


.hc-card .hc-content{
    position:relative;
    z-index:3;
    color: white;
    transform: translateY(30px);
    transition:0.5s;
    opacity: 0;
}

.hc-card .hc-content p{
    letter-spacing: 1px;
    font-size: .9rem;
}

.hc-card .hc-content button{
    padding: 0.6rem;
    outline: none;
    border:none;
    border-radius: 3px;
    font-weight: bold;
    cursor: pointer;
    transition: .4s ease-in-out;
}

.hc-card .hc button:hover{
    background-color: var(--ts-highlight-color);
}

@media(min-width:1200px){
    .hc-card{
        width:300px;
        height: 300px;;
    }
}

