@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;
}

.avmaincontainer{
    display: flex;
    flex-direction: column;
    gap: 87px;
    padding: 32px 114px;
    margin-top: 124px;
}

.avtopsection{
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.avtopsec{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.avtitletext{
    font-size: 42px;
    font-weight: 700;
    line-height: 50px;
}

.avtagandfiltersec{
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
}

.avtagssec{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 600px;
}

.avindvtags{
    background-color: #EDEDED;
    border-radius: 10px;
    padding: 8px;
    /* height: 31px; */
    min-width: 74px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: capitalize;
    cursor: pointer;
}

.avindvtags img{
    display: none;
}

.avindvtagsactive{
    background-color: #B32B26;
    color: #FFFFFF;
    flex-direction: row-reverse;
}

.avindvtagsactive img{
    display: flex;
}

.avindvtags:hover{

}

.avfiltersec{
    display: flex;
    align-items: end;
}

.avmainfilbtn{
    background-color: #1B1B1B;
    height: 34px;
    border-radius: 4px;
    padding: 8px 12px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 400;
    cursor: pointer;
    z-index: 999;
}

.avshowactive{
    display: none;
}

.avfilteroptions{
    display: none;
    /* display: flex; */
    border-radius: 4px 0 0 4px;
    background-color: #1B1B1BED;
    position: absolute;
    right: 114px;
    max-height: 34px;
    text-wrap: nowrap;
}

.avindvfiloption{
    display: flex;
    gap: 10px;
    padding: 8px 12px;
    align-items: center;
    cursor: pointer;
}

.avfilinnersec{
    display: flex;
    gap: 4px;
    align-items: center;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 400;
}


.acdatearrow0,
.acdatearrow,
.acdatearrow2 {
    transition: transform 0.3s ease; /* smooth rotation */
}

.acdatearrow0.rotate {
    transform: rotate(180deg);
}

.acdatearrow.rotate {
    transform: rotate(180deg);
}

.acdatearrow2.rotate {
    transform: rotate(180deg);
}

.avfilssec{
    /* display: none; */
    display: flex;
    gap: 10px;
}

.avindvfils{
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    gap: 10px;
    background-color: #D8D8D8;
    padding: 8px;
    border-radius: 10px;
}


.avfilteroptionsactive{
    animation: showfilter 0.8s ease forwards;
}

.avfilteroptionsinactive{
    animation: hidefilter 0.8s ease forwards;
}

@keyframes showfilter{
    0% {
        transform: translateX(0);
        display: flex;
        opacity: 0;
    }
    100% {
        transform: translateX(-94px);
        opacity: 1;
    }
}


@keyframes hidefilter{
    0% {
        transform: translateX(-94px);
        opacity: 1;
    }
    100% {
        transform: translateX(0);
        opacity: 0;
    }
}








/* card css */

.avallvideocards{
    display: flex;
    flex-wrap: wrap;
    row-gap: 85px;
    column-gap: 36px;
    justify-content: center;
}

.avindvvideocard{
    width: 380px;
    cursor: pointer;
    overflow: hidden;
    background-color: #E6E6E6;
}

.avcardvideosec{
    height: 212px;
    width: inherit;
    overflow: hidden;
    object-fit: cover;
}

.avcardvideosec img{
    height: inherit;
    width: inherit;
    object-fit: cover;
    transition: 0.3s ease;
}

.avcardtextsec{
    background-color: #E6E6E6;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px;
    min-height: 242px;
    height: 100%;
}

.avcardcattext{
    color: #B32B26;
    font-size: 14px;
    font-weight: 700;
    width: fit-content;
}

.avcardcattext:hover{
    text-decoration: underline;
}

.avcardtitletext{
    color: #000000;
    font-size: 24px;
    font-weight: 700;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.avcarddesctext{
    color: #484848;
    font-size: 12px;
    font-weight: 400;
    font-family: Roboto;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
}

.avcarddateandtimetext{
    color: #7C7C7C;
    font-size: 14px;
    font-weight: 400;
    display: flex;
    font-family: Roboto;
    gap: 8px;
    transition: 0.3s ease;
}

.avcardtimetext{
    display: flex;
    gap: 8px;
    align-items: center;
}

.avcardplayandtime{
    position: absolute;
    padding: 22px 18px;
    display: flex;
    justify-content: space-between;
    align-items: end;
    width: calc(416px - 36px);
    margin-top: -84px;
}

.avcardplaybtn{
    height: 35px;
    width: 35px;
    background-color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avcardplaybtn img{
    width: 14px;
    height: 12px;
}

.avcardvidtime{
    background-color: #00000075;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 400;
    color: #FFFFFFAB;
}

.avindvvideocard:hover .avcardvideosecimg{
    transform: scale(1.1);
}

.avindvvideocard:hover .avcarddateandtimetext{
    color: #B32B26;
}

.avcardtimetext svg{
    transition: 0.3s ease;
}

.avindvvideocard:hover .avcardtimetext svg{
    fill: #B32B26;
}




/* popup filter */

.avdatefilterpopup{
    background-color: #FFFFFF;
    padding: 22px 23px 35px;
    border-radius: 8px;
    display: none;
    flex-direction: column;
    gap: 35px;
    align-items: center;
    box-shadow: 4px 4px 20px 0px #00000040;


    position: absolute;
    top: 0;
    max-width: 457.63px;
    max-height: 255.2px;
}

.avdftopyearsec{
    display: flex;
    gap: 70px;
    align-items: center;
    justify-content: center;
}

.avdftopyearsec span{
    padding: 8px;
    cursor: pointer;
}

.avdftopyearsec p{
    color: #484848;
    font-size: 16px;
    font-weight: 600;
    font-family: Roboto;
    letter-spacing: 1px;
}

.avdftopyearsec span svg{
    transition: 0.3s ease;
}

.avdftopyearsec span:hover svg{
    stroke-opacity: 0.8;
}

.avdfmonthsec{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 8px;
}

.avdfmonthsec span{
    padding: 10px;
    cursor: pointer;
    color: #262626;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    font-family: Roboto;
    border-radius: 2px;
    transition: 0.3s ease;
}

.avdfmonthsec span:hover{
    color: #B32B26;
    font-size: 18px;
}

.avdfactivemonth{
    background-color: #B32B26;
    color: #FFFFFF !important;
    font-size: 14px !important;
}









.FS-Dropdown {
    position: absolute;
    width: 404px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 4px 4px 20px 0px rgba(0, 0, 0, 0.25);
    padding: 10px;
    display: none;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 1000;
    height: 313px;
    padding: 0px 4px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    flex: 1 0 0;
    align-self: stretch;
}

.FS-Dropdown.active {
    display: flex;
    /* Show the dropdown when active */
}

.FS-Dropdown-Item {
    display: flex;
    width: 400px;
    padding: 10px 16px;
    align-items: center;
    gap: 8px;

}

.FS-Dropdown-Item label {
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.42px;
    text-transform: capitalize;
}

.FS-Dropdown-Item label:hover {
    color: #B32B26;
}

/* .FS-Dropdown-Item input[type="checkbox"] {
    margin-right: 10px;
    -moz-appearance: none;
    -webkit-appearance: none;
    -o-appearance: none;
    background-color: #FFFFFF;
    border: 1px solid #000000;
    width: 14px;
    height: 14px;
}

.FS-Dropdown-Item input[type="checkbox"]:checked+label {
    color: #B32B26;
} */

.FS-Dropdown-Item input[type="checkbox"] {
    margin-right: 10px;
    appearance: none;
    background-color: #FFFFFF;
    border: 1px solid #000000;
    width: 14px;
    height: 14px;
    position: relative;
}

.FS-Dropdown-Item input[type="checkbox"]:checked {
    background-color: #FFFFFF;
    border-color: #000000;
}

.FS-Dropdown-Item input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 3px;
    width: 5px;
    height: 8px;
    border: solid #000000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.FS-Dropdown-Item input[type="checkbox"]:checked+label {
    color: #B32B26;
}

.slider-container {
    position: relative;
    width: 300px;
    margin: 20px;
    top: 30%;
}

#slider {
    -webkit-appearance: none;
    width: 100%;
    height: 5px;
    background: transparent;
    position: absolute;
    top: 50%;
    z-index: 10;
    transform: translateY(-50%);
}

#slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #B32B26;
    cursor: pointer;
    border-radius: 50%;
}

#slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #B32B26;
    cursor: pointer;
    border-radius: 50%;
}

.slider-track {
    position: relative;
    height: 14px;
    width: 300px;
    background: #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.slider-fill {
    position: absolute;
    height: 100%;
    background: #B32B26;
    width: 0;
    transition: width 0.2s;
}

.slider-thumb {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: #B32B26;
    border-radius: 50%;
    cursor: pointer;
}

.slider-value {
    position: absolute;
    top: -40px;
}

#sliderValue {
    color: #B32B26;
    display: flex;
    /* width: 35px; */
    padding: 8px;
    /* flex-direction: column; */
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 2px;
    margin-bottom: 8px;
    background: #EDEDED;
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.48px;
}








.avcategorypopup{
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 0 4px;
    display: none;
    flex-direction: column;
    gap: 4px;
    box-shadow: 4px 4px 20px 0px #00000040;
    width: 408px;
}

.avfindvoption{
    display: flex;
    padding: 10px 16px;
    align-items: center;
    gap: 8px;
}

.avflisttext{
    color: #1B1B1B;
    font-size: 14px;
    font-weight: 400;
    font-family: Roboto;
}

.viewmorebtnsec{
    display: flex;
    justify-content: center;
}


.allvidviewmore{
    background-color: #0F0F0F;
    padding: 16px 18px;
    border-radius: 2px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 500;
    font-family: Roboto;
    cursor: pointer;
    transition: 0.3s ease;
}

.allvidviewmore:hover{
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.3) 0%, rgba(15, 15, 15, 0.3) 70.83%), #0F0F0F;
}











@media (max-width: 1550px){
    .avallvideocards{
        justify-content: center;
    }
}

@media (max-width: 1200px){
    .avmaincontainer{
        padding: 32px;
    }

    .avindvvideocard{
        overflow: hidden;
    }

    .avcardvideosec{
        height: auto;
    }

    .avcardtextsec{
        height: 100%;
    }

    @keyframes showfilter{
        0% {
            transform: translateX(97px);
            display: flex;
            opacity: 0;
        }
        100% {
            transform: translateX(-15px);
            opacity: 1;
        }
    }


    @keyframes hidefilter{
        0% {
            transform: translateX(-15px);
            opacity: 1;
        }
        100% {
            transform: translateX(97px);
            opacity: 0;
        }
    }
}

@media (max-width: 860px){
    .avtagandfiltersec{
        flex-direction: column;
        gap: 20px;
    }

    /* .avfiltersec{
        justify-content: end;
    } */

    .avtagssec{
        max-width: fit-content;
        flex-wrap: nowrap;
        overflow-x: scroll;
    }

    .avtagssec::-webkit-scrollbar{
        display: none;
    }

    .avindvtags{
        min-width: auto;
    }

    .avindvvideocard{
        width: 280px;
    }

    .avcardplayandtime{
        width: calc(316px - 36px);
    }

    .avfilteroptions{
        right: auto;
        width: calc(100% - 160px);
        justify-content: space-between;
        border-radius: 0px 4px 4px 0;
        background-color: #1B1B1B;
    }

    .avdatefilterpopup{
        max-width: none;
    }

    .slider-container{
        width: calc(100% - 40px);
    }

    .slider-track{
        width: 100%;
    }

    @keyframes showfilter{
        0% {
            transform: translateX(0);
            display: flex;
            opacity: 0;
        }
        100% {
            transform: translateX(97px);
            opacity: 1;
        }
    }


    @keyframes hidefilter{
        0% {
            transform: translateX(97px);
            opacity: 1;
        }
        100% {
            transform: translateX(0);
            opacity: 0;
        }
    }
}

@media (max-width: 660px){
    .avmaincontainer{
        padding: 32px 16px;
    }

    .avmaincontainer{
        gap: 40px;
    }

    .avtitletext{
        font-size: 32px;
    }

    .avtopsec{
        gap: 20px;
    }

    .avindvtags,
    .avindvfils{
        font-size: 12px;
    }

    .avfilteroptions{
        width: calc(100% - 128px);
    }
    
}

@media (max-width: 630px){
    .avindvvideocard{
        width: 100%;
    }

    .avallvideocards{
        row-gap: 20px;
    }

    .avcardplayandtime{
        width: calc(100% - 40px);
    }
}


@media (max-width: 550px){
    .avfilinnersec,
    .avmainfilbtn{
        font-size: 10px;
    }

    .avmainfilbtn img{
        width: 16px;
    }

    .avindvfiloption svg,
    .avfilinnersec img{
        width: 16px;
    }

    .avmainfilbtninactive p{
        display: none;
    }

    .avfilteroptions{
        width: calc(100% - 70px);
    }

    .avindvfiloption{
        padding: 8px;
        gap: 0;
    }

    @keyframes showfilter{
        0% {
            transform: translateX(0);
            display: flex;
            opacity: 0;
        }
        100% {
            transform: translateX(38px);
            opacity: 1;
        }
    }


    @keyframes hidefilter{
        0% {
            transform: translateX(38px);
            opacity: 1;
        }
        100% {
            transform: translateX(0);
            opacity: 0;
        }
    }
}

/* @media (max-width: 450px){
    .avfilteroptions{
        max-height: fit-content;
        flex-direction: column;
    }

    .avindvfiloption{
        justify-content: space-between;
    }

    .avcategorypopup{
        width: auto;
    }

    .FS-Dropdown{
        width: calc(100% - 32px);
    }

    .slider-container{
        margin: 20px auto;
    }

    .avdatefilterpopup{
        padding: 16px;
        gap: 10px;
    }

    .avdfmonthsec{
        grid-template-columns: repeat(3, 1fr);
    }
} */






@media (max-width: 1025px){
    .avmaincontainer{
        margin-top: 84px;
    }
}



@media (max-width: 500px){
    .avmaincontainer{
        margin-top: 60px;
    }
}