#image-gallery-viewer {
    z-index: 100;
    background: #302E28;
    width: 92%;
    height: 88%;
    position: fixed;
    top: 2%;
    left: 2%;
    padding: 2%;
    overflow: hidden;
    text-align: center;
    display: none;
}
#viewer-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 99;
    background: #fff;
    opacity: 0.5;
    display: none;
}
#image-gallery-viewer #overlay {
    position: absolute;
    z-index: 101;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}
#image-gallery-viewer #overlay #overlay-previous, #image-gallery-viewer #overlay #overlay-next {
    position: absolute;
    z-index: 102;
    top: 0px;
    height: 100%;
    width: 50%;
    opacity: 0.2;
}
#overlay-previous {
    left: 0px;
}
#overlay-next {
    right: 0px;
}
#viewing-image {
    height: 98%;
}
.close, #next, #previous {
    position: absolute;
    z-index: 103;
    color: #fff;
    cursor: pointer;
    padding: 20px 10px;
    transition: all .3s;
}
.close .material-icons {
    font-size: 30px;
}
#next .material-icons, #previous .material-icons {
     font-size: 38px;
}
.close:hover, #next:hover, #previous:hover {
    background: #444;
    opacity: 0.8;
}
.close {
    top: 2%;
    right: 2%;
}
#next {
    top: 48%;
    right: 2%;
}
#previous {
    top: 48%;
    left: 2%;
}
#gallery-info,  #image-details {
    position: absolute;
    z-index: 103;
    text-align: left;
    width: 250px;
    color: #fff;
}
#gallery-info {
    top: 1%;
    left:1%;
}
#image-details {
    bottom: 1%;
    left:1%;
}
#image-details #image-title {
    font-weight: bold;
}
.img-gallery-a, .img-gallery-b, .img-gallery-c, .img-gallery-d {
     margin-bottom: 25px;
}
.img-gallery-a img {
   width: 300px;
   height: 300px;
   object-fit: cover;
}
.img-gallery-b img {
   width: 32%;
}
.img-gallery-c img {
   width: 24%;
}
.img-gallery-d img {
   width: 20%;
}
.img-gallery-e, .img-gallery-b, .img-gallery-c, .img-gallery-d {
    margin-bottom: 25px;
}
.img-gallery-e img {
  width: 150px;
  height: 150px;
  object-fit: cover;
}
.center {
   text-align: center;
}