/* hovercard images should be 300 x 300 px or 225 x 225 px
make all hovercards the same size when using in a group.
Make sure the image is large enough so that it doesn't stretch.
Hover cards are built with square cards.  */

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

.hc-card {
    height: 225px;
    width: 225px;
    border-radius: 15px;
    background-color: wheat;
    position: relative;
    padding: 1.5rem;
    box-shadow: 0px 7px 10px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-end;
    transition: transform 0.25s ease-in-out;
}

.hc-card::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6);
    height: 100%;
    width: 100%;
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.25s ease-in-out;
}

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

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

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

.hc-card .hc-content {
    z-index: 3;
    position: relative;
    color: var(--ts-light-color);
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.25s ease-in-out, opacity 0.25s ease-in-out;
}

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

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

.turbo-tickets-card {
    overflow: hidden;
}

.turbo-tickets-card:after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 40%;
    height: 100%;
    transform: skewX(-30deg);
    animation: slide 2.5s linear infinite;
    transition: 0.2s;
    background: var(--ts-theme-100);
    opacity: 0.4;
}

.turbo-tickets-card:hover:after {
    background: rgba(255, 255, 255, 0);
}


@keyframes slide {
	0% {left: -100%;}
    40% {
        left: 140%;
    }
	100% {
        left: 140%;
    }     
          
}

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