.card {
    position: sticky;
    top: 40px;
}

#card-1 {
    --index: 1
}

#card-2 {
    --index: 2
}

#card-3 {
    --index: 3
}

#card-4 {
    --index: 4
}

#card-5 {
    --index: 5
}

.card_industry {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    /* background-color: #1F1D3D; */
}

.card_industry img {
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
    aspect-ratio: 4 / 3;
    transition: transform 0.4s ease;
}

.card_industry:hover img {
    transform: scale(1.05);
}

.card_industry .content {
    /* cursor: pointer;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: flex-start;
    height: 100%; */
    padding: 0.75rem;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.07) 100%);
    color: #fff;
}

/* .card_industry .content:before {
    content: "";
    position: absolute;
    top: 0px;
    background-image: linear-gradient(rgb(0, 0, 0) -19.34%, rgba(0, 0, 0, 0.24) 69.85%, rgba(0, 0, 0, 0) 100%);
    left: 0px;
    right: 0px;
    height: 40%;
    transition: height 0.4s ease-in-out;
}

.card_industry .content:after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    height: 62%;
    background: linear-gradient(365deg, rgb(0, 0, 0) 0px, rgba(0, 0, 0, 0.5) 23%, rgba(0, 0, 0, 0.24) 50%, rgba(0, 0, 0, 0) 100%);
    transition: height 0.4s ease-in-out;
} */

.card_industry .content:hover::before,
.card_industry .content:hover::after {
    height: 100%;
}

.card_industry .content span {
    font-size: 0.8rem;
    line-height: 1.2;
    backdrop-filter: blur(7.5px);
    display: inline-block;
    align-self: flex-start;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background-color: #1F1D3D;
    /* background: rgba(255, 255, 255, 0.15); */
    padding: 8px 15px;
    position: relative;
    z-index: 1;
}

.playbutton {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
}

.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0px rgba(251, 0, 0, 0.42);
    }

    100% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }
}