.gallery-section{
    width: 100%;
}
.gallery-section .gallery-wrap{
    padding-top: 10px;
}
.gallery-section .gallery-wrap .gallery-image{
    width: 80%;
    margin: 40px auto;
    padding-top: 50px;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-gap: 20px;
}
.gallery-section .gallery-wrap .gallery-image .gallery{
    width: 100%;
    position: relative;
}

.gallery-section .gallery-wrap .gallery-image .gallery .image-section{
    width: 100%;
}

.gallery-section .gallery-wrap .gallery-image .gallery .image-section img{
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
    display: block;
    padding: 5px;
}
.gallery-section .gallery-wrap .gallery-image .gallery .image-section video{
    width: 100%;
    height: 330px;
    overflow: hidden;
    object-fit: cover;
}

.gallery-section .gallery-wrap .gallery-image .gallery .caption{
    width: 100%;
    height: 100%;
    position: absolute;
    padding: 15px;
    top: 0;left: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    opacity: 0;
    transition: opacity 0.30s ;
}

.gallery-section .gallery-wrap .gallery-image .gallery .caption:hover{
    opacity: 1;
}

.gallery-section .gallery-wrap .gallery-image .gallery .caption p{
    font-size: 13px;
}

@media (max-width : 1000px) {
    .gallery-section .gallery-wrap .gallery-image{
        grid-template-columns: repeat(3,1fr);
    }
}
@media (max-width : 800px) {
    .gallery-section .gallery-wrap .gallery-image{
        grid-template-columns: repeat(2,1fr);
    }
}
@media (max-width : 600px) {
    .gallery-section .gallery-wrap .gallery-image{
        grid-template-columns: 1fr;
    }
}


