@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* transition: 0.8s ease; */
}

html:lang(en) {
    font-family: "DM Sans", serif;
}


/* General Styling */
body {
    font-family: 'Arial', sans-serif;
    background-color: #ffffff;
    color: #333;
    margin: 0;
}

/* Header with Filters */
header {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#searchBox {
    flex: 1;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

#filterCountry, #filterStyle, #recentlyAdded {
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ddd;
    cursor: pointer;
}

/* Video Gallery */
#videoGallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 0px;
}

/* Video Card */
.video-card {
    background: #ffffff00;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    cursor: pointer;
    transition: transform 0.2s;
}

h2#videoTitle {
    text-transform: capitalize;
    color: #000;
}

.video-card img {
    width: 100%;
    border-radius: 8px;
}

.video-card-content {
    padding: 0;
    /* margin-top: 15px; */
}

.video-card:hover {
    transform: scale(1.01);
}

/* Video Modal */
#videoModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#videoModal.show {
    opacity: 1;
    visibility: visible;
    z-index: 99999;
}

 

#videoPlayer {
    width: 100%;
    /* height: 400px; */
}

#closeModal {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    #videoGallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

     
}


.pagination-controls {
    display: flex
;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    padding: 2rem 0;
}

button {
    background: rgb(160, 214, 92);
    border: 0;
    color: #fff;
    padding: 5px 15px;
    font-size: 12px;
    cursor: pointer;
    border-radius: 400px;
}

span#currentPageDisplay {
    font-size: 13px;
    font-weight: 600;
}
  


.filterworkspg {
    display: flex;
    gap: 50px;
    margin-top: 50px;
}
.worksfilters {
    max-width: 20%;
    height: 82vh;
    position: sticky;
    top: 135px;
    background-color: white;
    z-index: 1000;
    transition: 0.6sease;
}

main#videoGallery {
    max-width: 75%;
}


.filtertag {
    font-size: 12px;
    margin: 6px 5px;
    color: #616161;
    border-top: solid 1px #3333331c;
    padding-top: 15px;
}

.tag-filter {
    color: #4b4b4b;
    background: #f7f7f7;
    padding: 4px 13px;
    border-radius: 400px;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    border: 0;
    display: inline-block;
    margin: 3px 1px;
    border: solid 1px #3333330f;
}

.tag-filter.active {
    background-color: rgb(160, 214, 92) !important;
    color: rgb(255, 255, 255) !important;
}

.portfpgfiltercountry {
    outline: 0;
    border-radius: 0px !important;
    border: 0 !important;
}

.portfpgfilterstyle {
    outline: 0;
    border-radius: 0px !important;
    border: 0 !important;
}

.portfpgsearchbox {
    outline: 0;
    display: block;
    width: 100%;
    margin-bottom: 0;
    background: #e3e3e300 !important;
    border: 0 !important;
    padding: 0 !important;
}

.searchappportfpghldr {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eee;
    width: 90%;
    border-radius: 400px;
    padding: 6px 15px;
    margin-bottom: 10px;
}

img.searchportfapphldricn {
    max-width: 20px;
}


input#searchBox {
    border-left: solid 1px #33333329 !important;
    border-radius: 0 !important;
    margin-left: 7px;
    padding-left: 8px !important;
}



.video-wrapper {
    position: relative;
    width: 100%;
    height: 180px; /* Adjust height as needed */
    overflow: hidden;
}

.video-thumbnail {
    width: 100%;
    display: block;
    border-radius: 8px;
}

.video-preview {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    display: none;
}