.videos-container{
    font-family: poppins;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    padding: 30px;
}

.videos-title{
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 3%;
    padding-left: 30px;
    padding-right: 30px;
}

.videos-title-text{
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.videos-title-subtext{
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.videos-filters{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 20px;
    padding: 30px;
    width: 100%;
}

.videos-filters-title{
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.videos-filters-section{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.videos-filters-buttons{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
}

.videos-filters-buttons-actived{
    color: #101213;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    border: none;
    border-radius: 5px;
    padding: 10px;
    background-color: #FED82B;
    display: flex;
    align-items: center;
    gap: 10px;
}

.videos-filters-buttons-deactived{
    color: #ABB8C3;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    border: none;
    border-radius: 5px;
    padding: 10px;
    background-color: #1C2022;
    display: flex;
    align-items: center;
    gap: 10px;
}

.videos-filters-buttons button img{
    border-radius: 50%;
    width: 30px;
    height: 30px;
}

.videos-filters-search{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.videos-filters-search input{
    background-color: #1C2022;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border: none;
    padding: 10px;
    color: #ABB8C3;
    outline: none;
    padding: 10px;
}

.videos-filters-search input::placeholder{
    background-color: #1C2022;
    border: none;
    border-radius: 5px;
    color: #ABB8C3;
}

.videos-filters-search button{
    height: 45px;
    background-color: #FED82B;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border: none;
    padding: 10px;
    color: #1C2022;
}

.video-category-container{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0px;
    width: 100%;
}

.video-category-row-title{
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding: 30px;
    width: 100%;
}

.video-category-row{
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    justify-content: flex-start;
    gap: 20px;
    width: 100%;
    padding-left: 30px;
    padding-right: 30px;
    margin-bottom: 3%;
}

.video-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    /* min-width: 400px; Eger 5 ten fazla video gelicekse bunu acin ve overflow ekleyin rowa*/
    gap: 20px;
    padding: 20px;
    background-color: #1C2022;
    border-radius: 5px;
    flex: 1;
}

.video-card:hover{
    background-color: #31383b;
}

.video-card-thumbnail img{
    width: 100%;
    border-radius: 5px;
    aspect-ratio: 16 / 9;
    overflow-clip-margin: content-box;
    overflow: clip;
    object-fit: cover;
}

.video-card-footer{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    gap: 10px;
    white-space: nowrap;
}

.video-card-footer-container{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    overflow: hidden;
}

.video-card-footer-container-2{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.video-card-mini-image img{
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.video-card-title{
    color: #FFFFFF;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.video-card-channel-name{
    color: #ABB8C3;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.video-card-date{
    color: #ABB8C3;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.fa-check{
    color: #1C2022;
}

.fa-search{
    color: #1C2022;
}

.fa-search:hover{
    color: #ABB8C3;
}

.fa-check:hover{
    color: #ABB8C3;
}

.videos-paginator-container .pagination .page-item{
    background-color: #1C2022;
}
.videos-paginator-container .pagination .page-item .page-link{
    color: #FFFFFF;
    border: none;
    outline: none;
}

.videos-paginator-container .pagination .page-item.active{
    --bs-pagination-active-bg: #fed82b;
}

.videos-paginator-container .pagination .page-item.active .page-link{
    color: #101213;
}

[data-bs-theme=light] .videos-paginator-container .pagination .page-item .page-link{
    color: #101213;
}

[data-bs-theme=light] .videos-paginator-container .pagination .page-item{
    background-color: transparent;
}


/*Video Popup css*/

.video-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}
.video-popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #101213;
    padding: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.video-popup-close {
    color: #FED82B;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}
.video-popup iframe {
    width: 560px;
    height: 315px;
    max-width: 100%;
}

@media (max-width: 1400px) {

    .video-category-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        padding: 0;
    }
}

@media (max-width: 1200px) {

    .video-category-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding: 0;
    }
}


@media (max-width: 768px) {

    .video-popup iframe {
        width: 410px;
        height: 315px;
        max-width: none;
    }

    .videos-container{
        align-items: center;
    }

    .videos-title {
        padding: 0px;
        gap: 15px;
        flex-direction: column;
    }

    .videos-title-text {
        font-size: 18px;
    }

    .videos-title-subtext {
        font-size: 16px;
    }

    .videos-filters {
        flex-direction: column;
        padding: 0px;
    }

    .videos-filters-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .videos-filters-buttons {
        flex-direction: row;
        width: 100%;
    }

    .videos-filters-buttons button {
        font-size: 12px;
        padding: 8px;
    }

    .videos-filters-search {
        width: 100%;
        justify-content: start;
    }

    .videos-filters-search input {
        width: 100%;
    }

    .video-category-container {
        padding: 0;
    }

    .video-category-row-title {
        padding: 0;
    }

    .video-category-row {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        padding: 0;
    }

    .video-card-thumbnail{
        width: 100%;
    }

    .video-card {
        padding: 20px;
    }

    .video-card-thumbnail img {
        width: 100%;
        height: auto;
    }

    .video-card-mini-image img {
        width: 30px;
        height: 30px;
    }

    .video-card-title {
        font-size: 14px;
    }

    .video-card-channel-name, .video-card-date {
        font-size: 13px;
    }
}

