
.container {
    padding: 40px 5%;
}

.heading-text {
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
}
.modal-body{
    text-align:center;
}
.modelHeading {
    padding: 1vh;
}
.close {
    float: right;
    padding-right: 6px;
    font-size: x-large;
}
.imageClose {
    float: right;
    padding-right: 6px;
    font-size: x-large;
}
.modal-header {
    height: 5vh;
    background-color: lightskyblue;
    justify-content: center;
    text-align: center;
}
ul {
    list-style: none;
}

/* Responsive image gallery rules begin*/

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

    .image-gallery > li {
        flex-basis: 350px; /*width: 350px;*/
        position: relative;
        cursor: pointer;
    }

    .image-gallery::after {
        content: "";
        flex-basis: 350px;
    }

    .image-gallery li img {
        object-fit: cover;
        max-width: 100%;
        height: auto;
        vertical-align: middle;
        border-radius: 5px;
    }

    .image-gallery li video {
        object-fit: cover;
        max-width: 100%;
        height: auto;
        vertical-align: middle;
        border-radius: 5px;
    }

.overlay {
    position: absolute;
    z-index:1;
    width: 100%;
    height: 100%;
    background: rgba(57, 57, 57, 0.502);
    top: 0;
    left: 0;
    transform: scale(1);
    transition: all 0.2s 0.1s ease-in-out;
    color: #fff;
    border-radius: 5px;
    /* center overlay text */
    display: flex;
    align-items: center;
    justify-content: center;
}

.imageOverlay {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: rgba(57, 57, 57, 0.502);
    top: 0;
    left: 0;
    transform: scale(0);
    transition: all 0.2s 0.1s ease-in-out;
    color: #fff;
    border-radius: 5px;
    /* center overlay text */
    display: flex;
    align-items: center;
    justify-content: center;
}
/* hover */
.image-gallery li:hover .imageOverlay {
    transform: scale(1);
}

/* hover */
.image-gallery li:hover .overlay {
    transform: scale(1);
}
