/* Video video_category Start */
.video_category,
.video_inner {
    padding: 40px 0;
}

.video_category .section_heading {
    text-align: center;
}

main .card {
    width: 100%;
    height: 16rem;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    color: #f0f0f0;
    box-shadow: 0 10px 30px 5px rgba(0, 0, 0, 0.2);
}

main .card::before {
    content: '';
    background: #00000057;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
}

main .card img {
    position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.9;
    transition: opacity 0.2s ease-out;
}

main .card .v_cat_name {
    position: absolute;
    inset: auto auto 20px 30px;
    margin: 0;
    transition: inset 0.3s 0.3s ease-out;
    z-index: 2;
    font-size: 22px;
    line-height: 1.4em;
    font-family: var(--secondry-font);
    font-weight: 600;
}

main .card p,
main .card a {
    position: absolute;
    opacity: 0;
    max-width: 80%;
    font-weight: 500;
    z-index: 2;
    transition: opacity 0.3s ease-out;
}

main .card p {
    inset: auto auto 80px 30px;
}

main .card a {
    inset: auto auto 20px 30px;
    color: inherit;
    text-decoration: none;
}

main .card:hover .v_cat_name {
    inset: auto auto 50px 30px;
    transition: inset 0.3s ease-out;

}

main .card:hover p,
main .card:hover a {
    opacity: 1;
    transition: opacity 0.5s 0.1s ease-in;
}

main .card:hover img {
    transition: opacity 0.3s ease-in;
    opacity: 1;
}

main .material-symbols-outlined {
    vertical-align: middle;
}

/* Video video_category End */

/* Video Inner Start  */
.card__footer {
    position: relative;
}

.video_name {
    padding: 0.5rem;
    width: 100%;
    font-weight: 500;
    background: hsl(0 0% 100% / 0.5);
    backdrop-filter: blur(16px);
    cursor: pointer;
    font-size: 18px;
    text-align: center;
    line-height: 1.2;
}

.v_content {
    position: relative;
    border-radius: 10px;
}

.v_content .thumb>img {
    border-radius: 10px;
}

.v_content .thumb {
    position: relative;
}

.v_content .play_btn {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    padding: 0.5rem;
    background-color: #ffffffcc;
    border-radius: 50%;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    cursor: pointer;
    animation: 1s linear infinite blink;
}

.v_content .play_btn img {
    width: 35px;
    height: 35px;
}

@keyframes blink {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, .3), 0 0 0 6px rgba(255, 255, 255, .3), 0 0 0 12px rgba(255, 255, 255, .3);
    }

    100% {
        box-shadow: 0 0 0 8px rgba(255, 255, 255, .3), 0 0 0 12px rgba(255, 255, 255, .3), 0 0 0 18px rgba(255, 255, 255, 0);
    }
}

/* Video Inner End  */

@media only screen and (min-width:992px) and (max-width:1100px) {
    main .card .v_cat_name {
        font-size: 18px;
        inset: auto auto 1rem 1rem;
    }

    main .card:hover .v_cat_name {
        inset: auto auto 50px 1rem;
    }

    main .card a {
        inset: auto auto 20px 1rem;
    }
}

@media only screen and (min-width:768px) and (max-width:991px) {

    main .card .v_cat_name {
        font-size: 18px;
        inset: auto auto 20px 1rem;
    }

    main .card:hover .v_cat_name {
        inset: auto auto 50px 1rem;
    }

    main .card a {
        inset: auto auto 20px 1rem;
    }


}

@media only screen and (min-width:320px) and (max-width:767px) {
    .section_heading {
        margin-bottom: 0;
    }

    .video_category {
        padding: 30px 0;
    }

    main .card .v_cat_name {
        font-size: 18px;
        inset: auto auto 20px 1rem;
    }

    main .card:hover .v_cat_name {
        inset: auto auto 50px 1rem;
    }

    main .card a {
        inset: auto auto 20px 1rem;
    }

    .video_name {
        font-size: 16px;
    }
}