/* 
Hover card images will show up as 300px x 300px or 225 x 225. 
So make sure images are higher res, same size and square. Make sure they're large enough that they don't need to stretch.
*/

.hc-wrapper {
    display: flex;
    justify-content: center;
}

.hc-card {
    width: 225px;
    height: 225px;
    border-radius: 15px;
    padding: 1.5rem;
    background: #fff18d;
    position: relative;
    display: flex;
    align-items: flex-end;
    box-shadow: 0px 7px 10px ;
    transition: transform 0.4s ease-out;
}

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

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

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

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

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

.hc-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #201E1E;
    z-index: 2;
    border-radius: 15px;
    opacity: 0;
    transition: 0.5s;
}

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

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