/* ======================================
Responsive Image gallery Style rules
======================================*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
	
}

.overlay-descriptor {
	color: #0698fc; 
	font-size: 1.3rem;
}

.gallery-container-hp {
  padding: 50px 5%;
	width: 100%;
background-size: 5px 5px;
background-image: repeating-linear-gradient(45deg, #cecece 0, #e5e5e5 1px, #cecece 0, #e5e5e5 50%);
}

.heading-text {
  margin-bottom: 2rem;
  font-size: 2rem;
  text-align: center;
	font-weight: 400;
	color: #2d353f;
}

.heading-text-blue {
  margin-bottom: 2rem;
  font-size: 2rem;
  text-align: center;
	font-weight: 200;
	color: #0698FC;
}

.heading-text span {
  font-weight: 200;
}

ul {
  list-style: none;
}

/* Responsive image gallery rules begin*/

.image-gallery {
	display: flex;
	justify-content: center;
	align-content: center;
}

.image-gallery > li {
  /* fallback */
  display: inline-block;
  width: 100%;
  margin: 0 5px 10px 5px;
  /* end fallback */
  position: relative;
  cursor: pointer;
}

@supports (display: flex) {
  .image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .image-gallery > li {
    flex-basis: 350px; /*width: 350px;*/
    margin: 0;
  }

  .image-gallery::after {
    content: "";
    flex-basis: 350px;
  }
}

.image-gallery li img {
  object-fit: cover;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
	
  
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(19, 23, 28, 0.850);
  top: 0;
  left: 0;
	font-size: 1rem;
  transform: scale(0);
  transition: all 0.2s 0.1s ease-in-out;
  color: #fff;
		box-shadow: 0px 12px 24px -12px rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 0px 12px 24px -12px rgba(0, 0, 0, 0.5);
  
  /* center overlay text */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* hover */
.image-gallery li:hover .overlay {
  transform: scale(1);
}
