/* body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
} */

#gallery {
    background-color: #f0f0f0;
    padding: 20px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    text-align: center;
}

#image-gallery {
    margin-top: 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    /* justify-content: space-around; */
}

.image {
    margin-bottom: 20px;
    max-width: 190px;
}


.img-wrapper {
  
    position: relative;
    overflow: hidden;
    cursor: pointer;
  
   
    margin-top: 15px;
}

.img-wrapper img {
   
    height: auto;
    display: block;
    
  
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
   
}

.img-overlay:hover {
    opacity: 1;
}

.img-overlay i {
    color: #fff;
    font-size: 24px;
}

.caption {
    display: none;
    position: absolute;
    bottom: 0;
    right: 44%;
    width: 220px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px;
    text-align: left;
    
  
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content:center;
    text-align: center;
    z-index: 1000;
}

.lightbox img {
    max-width: 80%;
    max-height: 80%;
}

.lightbox .close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    font-size: 35px;
    cursor: pointer;
    
    transition: 1s;
}

@media screen and (min-width: 768px) {
   .lightbox img {
        width: 60%;
    }
}
@media screen and (min-width: 1200px) {
   .lightbox img {
        width: 50%;
    }
}