.page-header {
    margin: 48px 0 20px;
}
.image-gallery {
    display: flex;
    gap: 15px;
    padding: 0 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 50px auto;
    max-width: 1250px;
}

.image-gallery .img-card {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    background: #f2f2f2;
    border-radius: 4px;
    overflow: hidden;
    width: 285px;
    height: 200px;
}

.image-gallery .img-card img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.image-gallery .img-card.loading img {
    width: 80px;
    height: 80px;
}

.image-gallery .img-card .download-btn {
    bottom: 15px;
    right: 15px;
    height: 36px;
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
}

.image-gallery .img-card .download-btn img {
    width: 14px;
    height: 14px;
}

.image-gallery .img-card:not(.loading):hover .download-btn {
    opacity: 1;
    pointer-events: auto;
}

@media screen and (max-width: 760px) {
    .image-gallery {
        margin-top: 65px;
    }

    .image-gallery .img-card:not(.loading) .download-btn {
        opacity: 1;
        pointer-events: auto;
    }
}

@media screen and (max-width: 500px) {
    .image-gallery .img-card {
    }
}

a {
    text-decoration: none;
}

.tab-kmvn {
    text-align: center;
}

.photo-tab {
    border: 2px solid blue;
    padding: 10px;
    border-radius: 8px;
}

.video-tab {
    background: blue;
    padding: 10px;
    color: #fff;
    border-radius: 8px;
}

#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    top: 10px;
}

#myImg:hover {
    opacity: 0.7;
}
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.img-card img {
    max-width: 100%;
    height: auto;
    cursor: pointer;
}

.overlay-popup {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    margin: auto;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
}

.overlay-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
}

.popup-content {
    max-width: 90%;
    max-height: 90%;
    width: 443px;
    height: 400px;
    margin-left: 18px
}

.close-icon {
    position: absolute;
    top: -11%;
    left: 88%;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    padding: 10px;
    transition: opacity 0.3s;
}

.prev,
.next {
    position: absolute;
    top: 45%;
    color: white;
    font-size: 30px;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
}
.prev {
    left: 10px;
}
.next {
    right: 10px;
}
.cross{
    position: relative;
}

.back-button {
    position: absolute;
    margin-top: -17px;
    color: #000;
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
}
.back-button {
    left: 10px;
}
.h-span{
    position: absolute;
    color: #fff;
    bottom: 2px;
    background: linear-gradient(90deg, #36d1dc, #5b86e5);
    padding: 8px;
    margin: 0px 0px 0px;
    text-align: center;
}
.h-span:hover{
    box-shadow: 0 0 5px #03e9f4,
        0 0 5px #03e9f4,
        0 0 5px #03e9f4,
        0 0 5px #03e9f4;
    cursor: pointer;
}

.popup-vid {
    display: none;
    position: fixed;
    top: 50%;
    left: 47%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    z-index: 9999;
    padding: 20px;
    border-radius: 10px;
    width: 40%;
}
.popup-vid iframe {
    width: 100%;
    height: 50vh;
}
.close_bt {
    color: #000;
    position: absolute;
    top: 0;
    right: 16px;
    cursor: pointer;
    font-size: 30px;
}
.close-popup-text{
    position: absolute;
    right: 17px;
    bottom: 8px;
    background: #5a6268c9;
    padding: 4px;
    border-radius: 4px;
    cursor: pointer;
    color: #fff;
}
.close-popup-text:hover{
    background: #6c757d;
    color: #fff;
}
@media only screen and (max-width: 600px) {
    .popup-vid {
        width: 90%;
        top: 56%;
        left: 50%;
    }
    .popup-vid iframe {
        width: 100%;
        height: 40vh;
    }
}