@import"https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap";

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

.videomainGrid {
    display: grid;
    grid-template-columns: 20% 80%;
    gap: 15px;
}
@media screen and (min-width:1200px) {
    .videomainGrid {
    grid-template-columns: 325px calc(100% - 325px);
}
}

.videomainGrid .videoCateg .cat-wrap {
    display: flex;
}

.videomainGrid .videoCateg .cat-wrap a.pill{
    border-bottom: 1px solid #ffffff52;
}
.videomainGrid .videoCateg .cat-wrap a.pill:nth-child(3) {
    order: 10;
}

.videomainGrid .videoCateg .cat-wrap a.pill:nth-child(4) {
    order: 11;
}

.videomainGrid .videoCateg .cat-wrap a.pill:nth-child(5) {
    order: 12;
}

.videomainGrid .videoCateg .cat-wrap a.pill:nth-child(6) {
    order: 13;
}

.videomainGrid .videoCateg .cat-wrap a.pill:nth-child(7) {
    order: 14;
}

.videomainGrid .videoCateg .cat-wrap a.pill:nth-child(8) {
    order: 15;
}

.videomainGrid .videoCateg .cat-wrap a.pill:nth-child(9) {
    order: 16;
}

.videomainGrid .videoCateg .cat-wrap a.pill:nth-child(10) {
    order: 17;
}

.videomainGrid .videoCateg .cat-wrap a.pill:nth-child(11) {
    order: 18;
}

.videomainGrid .videoCateg .cat-wrap a.pill:nth-child(12) {
    order: 19;
    border-bottom: none;
}

.videomainGrid .videoCateg .cat-wrap a.pill:nth-child(13) {
    order: 2;
}

.videomainGrid .videoCateg .cat-wrap a.pill:nth-child(14) {
    order: 3;
}

.videomainGrid .videoCateg .cat-wrap a.pill:nth-child(15) {
    order: 4;
}

.videomainGrid .videoCateg .cat-wrap a.pill:nth-child(16) {
    order: 5;
}

.videomainGrid .videoCateg .cat-wrap a.pill:nth-child(17) {
    order: 6;
}

.videomainGrid .videoCateg .cat-wrap a.pill:nth-child(18) {
    order: 7;
}

.videomainGrid .videoCateg .cat-wrap a.pill:nth-child(19) {
    order: 8;
}

.videomainGrid .videoCateg .cat-wrap a.pill:nth-child(20) {
    order: 9;
}

.videomainGrid .videoCateg .cat-wrap a.pill {
    display: block;
    text-decoration: none;
    font-weight: 400;
    background: #940a2d;
    color: #e1e1e1;
    padding: 13px 15px;
    transition: 0.4s;
}

body {
    height: 100vh;
    overflow: hidden;
}

.videomainGrid .videoCateg .cat-wrap a.pill:hover,
.videomainGrid .videoCateg .cat-wrap a.pill.active {
    background: #bf4664;
    color: #fff;
}

.videoGrid {
    background: #fff;
    height: calc(100vh - 81.4px);
    overflow: auto;
}

form#form1 {
    height: 100%;
}

.videoGrid .grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
}

.videoGrid .grid .card .thumb-wrap {
    aspect-ratio: 16 / 11;
    overflow: hidden;
}

.videoGrid .grid .card {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    border-radius: 16px;
    overflow: hidden;
}

.videoGrid .grid .card .thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.videoGrid .grid .card .info {
    padding-top: 20px;
}

.videoGrid .grid .card span.badge {
    display: none;
}
.videoGrid .grid .card .actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.videoGrid .grid .card .btn {
    background: transparent;
    border: 2px solid #940a2d;
    outline: none;
    display: inline-block;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 0;
    border-radius: 0;
    text-align: center;
    font-weight: 600;
}

.videoGrid .grid .card .btn-play {
    border-bottom-left-radius: 16px;
    background: #940a2d;
    color: #fff;
}

.videoGrid .grid .card a.btn.btn-down {
    border-bottom-right-radius: 16px;
    color: #940a2d;
}

.videoGrid .grid .card .vtitle {
    height: 120px;
    padding: 0 20px;
    text-align: center;
}

.videoGrid .grid .card .vsize {
    display: none;
}

.videoGrid .sub-wrap {
    display: flex;
    justify-content: flex-end;
    gap: 5px;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}

.videoGrid .sub-wrap a.sub-pill {
    border: 2px solid;
    display: inline-block;
    padding: 5px 10px;
    text-decoration: none;
    font-size: 14px;
    border-radius: 50px;
    color: #940a2d;
    font-weight: 500;
}

.videoGrid .sub-wrap a.sub-pill.active {
    background: #940a2d;
    color: #fff;
}

.videoGrid .sub-wrap .sub-label {
    line-height: 1;
}

.videoGrid .count-bar {
    color: #fff;
    background: #940a2d;
    text-align: center;
    padding: 10px;
    margin: 10px 0 15px;
}

.topbar {
    color: #ffffff;
    font-weight: 400;
    text-align: center;
    padding: 10px 0;
    font-size: 20px;
    background: #5e5e60;
}

.cat-wrap::-webkit-scrollbar {
    width: 8px;
}

.cat-wrap::-webkit-scrollbar-track {
    background: #940a2d;
}

.cat-wrap::-webkit-scrollbar-thumb {
    background: #d879af;
    border-radius: 10px;
}

.cat-wrap::-webkit-scrollbar-thumb:hover {
    background: #bf4664;
}

.videoGrid .topHead {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    justify-content: space-between;
    padding-right: 15px;
    position: sticky;
    top: 0;
    z-index: 99;
    background: #fff;
}

@media screen and (min-width:575px) {
    a.fixedBtn {
        left: auto;
        right: 20px;
        top: 30%;
        transform-origin: right;
        transform: translateY(-50%) rotate(-90deg);
    }
}

@media screen and (max-width:1200px) {
    .videoGrid .grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .videomainGrid {
        grid-template-columns: 30% 70%;
    }
}

@media screen and (max-width:992px) {
    .videoGrid .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width:575px) {
    .videoGrid .grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .videoGrid .grid .card .vtitle{
        height: auto;
        padding-bottom: 20px;
    }
}

@media screen and (min-width:1425px) {
    .videoGrid .grid{
        grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    }
}

@media screen and (max-width:1366px) {
    .videoGrid .topHead {
    align-items: flex-end;
    flex-direction: column;
}
}

@media screen and (max-width:768px) {
    .videomainGrid {
        grid-template-columns: auto;
    }
    .videomainGrid .videoCateg .cat-wrap {
        display: none;
        position: fixed;
        top: 14.5rem;
        z-index: 9999;
        background: #fff;
        padding: 10px;
    }
    .videomainGrid .videoCateg .cat-wrap.active {
        display: flex;
        flex-wrap: wrap;
    }
    .videomainGrid .videoCatToggle{
        color: #fff;
        position: absolute;
        top:8px;
        left: 1.5rem;
        z-index: 100;
    }
    .videomainGrid .videoCateg{
        position: relative;
    }
    .videomainGrid .videoCatToggle i{
        font-size: 4rem;
    }
    .videomainGrid .videoCatToggle span{
        font-size: 2rem;
        text-transform: capitalize;
        color: #fff;
        display: inline-flex;
        align-items: center;
        gap: 9px;
    }
    .topbar{
        text-align: right;
        padding-right: 15px;
    }
}

@media screen and (min-width:768.1px) {
    .videomainGrid {
        height: 100vh;
        overflow: hidden;
    }

    .videomainGrid .videoCatToggle{
        display: none;
    }

    .videomainGrid .videoCateg .cat-wrap {
        height: calc(100vh - (81.4px + 50px));
        overflow: auto;
        flex-direction: column;
    }
    
}