/* ======================================
Responsive Image gallery Style rules
======================================*/
* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.container {
  padding: 40px 5%;
}

.heading-text {
  margin-bottom: 2rem;
  font-size: 2rem;
}

.heading-text span {
  font-weight: 100;
}

ul {
  list-style: none;
}

/* Responsive image gallery rules begin*/

.image-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

@media only screen and (min-width: 1024px) {
	.image-gallery > li {
	  flex: 1 1 auto; /* or flex: auto; */
	  height: 80px;
	  cursor: pointer;
	  position: relative;
	}
}

@media only screen and (max-width: 1024px) {
	.image-gallery > li {
	  flex: 1 1 auto; /* or flex: auto; */
	  height: 60px;
	  width: 100px;
	  cursor: pointer;
	  position: relative;
	}
}



.image-gallery::after {
  content: "";
  flex-grow: 999;
}

.image-gallery li img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  vertical-align: middle;
  border-radius: 5px;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(57, 57, 57, 0.502);
  top: 0;
  left: 0;
  transform: scale(0);
  transition: all 0.2s 0.1s ease-in-out;
  color: #fff;
  border-radius: 5px;
  /* center overlay content */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* hover */
.image-gallery li:hover .overlay {
  transform: scale(1);
}

.messe-tooltip {
    position: fixed;
    display: none;
    z-index: 99999;
    padding: 5px 8px;
    background: #fff;
    color: #000;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 13px;
    line-height: 1.3;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    pointer-events: none;
}