 body{
  background-color:#ecf0f1;
}

.gallery-container{
  display: flex;
  flex-wrap: wrap;
 background-color: #fff;
 width: 94%;
 padding: 10px;
 box-shadow: 0 0 3px 0 rgba(0,0,0,0.3);
 margin: 0px auto;
}

.gallery-item{
flex-basis: 32.7%;
margin-bottom: 6px;
opacity: 0.85;
cursor: pointer;



}

.gallery-item img{
  width: 90%;
  height: 90%;
  object-fit: cover;
  transition: background-color 0.5s ease,
   transform 0.5s ease;
   border-radius: 50px;
   margin-left: 11px;
  
  
  

}
.gallery-item:hover{
  opacity: 1;
  transform: scale(1.1);
  border-radius: 5px;
   
}

/* light box */
.lightbox{
  position: fixed;
  display: none;
  background-color:rgba(0,0,0,0.6); 
  width: 100%;
  height: 100%;
  overflow:auto;
  top: 0;
  left: 0;
}
.lightbox-content{
  position: relative;
  width: 65%;
  height: 80%;
  margin: 9% auto;
  margin-top: 100px;
}
.lightbox-content img{
  width: 100%;
  height: 100%;
  border: 6px solid #fff;
  object-fit: cover;
  border-radius: 50px;
} 
.lightbox-prev,
 .lightbox-next{
  position: absolute;
  background-color: rgba(0,0,0,0.8);
  color: #fff;
  padding: 9px;
  top: 45%;
  cursor: pointer;

}
.lightbox-prev{
  left: 0;

}
.lightbox-next{
right: 0;
}

/* Media Querry */
@media(max-width:767px){
  .gallery-container{
    width: 100;
  }

   .gallery-item{
    flex-basis: 49.80%;
    margin-bottom: 3px;
    }
    .lightbox-content{
      width: 80%;
      height: 60%;
      margin: 15% auto;

    }
}

@media(max-width:480px){
   .gallery-container{
    width: 100%;
    }
   .gallery-item{
    flex-basis: 100%;
    margin-bottom: 1px;
    }
    .lightbox-content{
      width: 90%;
      
      margin: 20% auto;
}



}