@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


*{
    margin: 0;
    padding: 0;
    font-family: "IBM Plex Sans", sans-serif;
}

p{
    margin: 0;
}

.tsmaincontainer{
    display: flex;
    flex-direction: column;
    gap: 21px;
}

.tsheadersec{
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #1F1C1C;
}

.tstitletext{
    font-size: 24px;
    font-weight: 700;
    color: #0B0A0A;
}

.tsviewallbtn{
    display: flex;
    gap: 5px;
    align-items: flex-start;
    align-items: center;
    cursor: pointer;
}

.tsviewallbtn p{
    font-size: 16px;
    font-weight: 500;
    color: #1B1B1B;
}

.tsvideosection{
    display: flex;
    /* display: grid;
    grid-template-columns: repeat(auto-fit, minmax(589px, 1fr)); */
    flex-wrap: wrap;
    gap: 34px;
    justify-content: center;
}

.tsindvvideosec{
    max-width: 589px;
    overflow: hidden;
    cursor: pointer;
}

.tsvideosec{
    width: 589px;
    height: auto;
    /* height: 400px; */
    object-fit: cover;
    overflow: hidden;
    display: flex;
}

.tsvideofile{
    height: inherit;
    width: inherit;
    object-fit: cover;
    /* position: absolute; */
    transition: 0.3s ease;
}

.tsvideoplayanddate{
    display: flex;
    position: absolute;
    z-index: 99;
    align-items: end;
    justify-content: space-between;
    /* width: calc(589px - 80px); */
    width: inherit;
    margin-top: 196px;
    /* margin-top: 267px; */
    padding: 34px 40px;
}

.tsvideoplaybtn{
    height: 65px;
    width: 65px;
    border-radius: 50%;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tstimetext{
    background-color: #00000075;
    padding: 3px 10px;
    border-radius: 20px;
    color: #FFFFFFAB;
    font-size: 12px;
    font-weight: 400;
}


.tsvideotextbox{
    padding: 32px 40px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: inherit;
    background-color: #E6E6E6;
    height: 100%;
}

.tscatwatchbox{
    color: #0B0A0A;
    font-size: 16px;
    font-weight: 700;
}

.tscattext{
    font-size: 14px;
    font-weight: 700;
    color: #B32B26;
    width: fit-content;
    transition: 0.3s ease;
    text-transform: capitalize;
    cursor: pointer;
}

.tscattext:hover{
    border-bottom: 2px solid #B32B26;
}

.tstitletext{
    color: #1F1C1C;
    font-size: 24px;
    font-weight: 700;
    transition: 0.3s ease;
    text-transform: capitalize;
}

.tstitletext:hover{
    color: #484848;
}

.tsdesctext{
    color: #484848;
    font-family: Roboto;
    font-size: 12px;
    font-weight: 400;
}

.tsdatetext{
    color: #7C7C7C;
    font-size: 14px;
    font-weight: 400;
    font-family: Roboto;
}

.tsindvvideosec:hover .tsvideofile{
    transform: scale(1.1);
}

.tsvideoplaybtn img{
    transition: 0.3s ease;
}

.tsvideoplaybtn:hover img{
    transform: scale(1.1);
}

@media (max-width: 850px){
    .tsindvvideosec{
        /* max-width: 100%; */
        width: 100%;
    }

    .tsvideosec{
        width: inherit;
    }

    .tsvideoplayanddate{
        position: relative;
        right: 100%;
        padding: 16px;
        margin-top: 0;
    }

    .tsvideoplaybtn{
        transform: scale(0.8);
    }

    .tstimetext{
        display: none;
    }

    .tsvideosec{
        height: auto;
    }

    .tsvideofile{
        width: 100%;
    }
}

@media (max-width: 550px){
    .tsvideoplayanddate {
        width: calc(100% - 40px);
    }

    .tsvideoplayanddate{
        display: none;
    }

    .tsvideosec{
        height: auto;
    }

    .tsvideotextbox{
        padding: 16px;
        gap: 6px;
    }

    .tscatwatchbox{
        font-size: 14px;
    }
    
    .tscattext{
        font-size: 12px;
    }

    .tstitletext{
        font-size: 16px;
    }

    .tsdatetext{
        font-size: 12px;
    }
}