.ngallery-main{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 50px;
}
.ngallery-img-box{
    /* width: auto; */
    margin: 10px;
    transition: all .5s;
    cursor: pointer;
}
.ngallery-img-box img{
    /* width: auto;
	height: 200px; */
     display: block;        /* removes inline spacing */
    width: auto;           /* keeps natural width */
    max-width: none;       /* prevents global CSS override */
    max-height: 200px; 
}
.ngallery-img-box:hover{
    transform: scale(1.05);
}

.ngallery-window{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.857);
    transition: all 0.8s;
}
.ngallery-window.open{
    opacity: 1;
    pointer-events: all;
}
.ngallery-window img{
    width: 50%;
}
@media(max-width: 1100px){
    .ngallery-window  .img{
        width: 80%;
    }
}