/* The Modal (background) */
.modal {
  justify-content: center;
  display: none;
  position: fixed;
  z-index: 300;
  padding-top: 40px; /* was 100px – moves modal UP */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}

/* Modal Content */
.modal-content {
  display: inline-flex;
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 60%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2), 0 6px 20px rgba(0,0,0,0.19);
  animation: animatetop 0.4s;
  transform: translateY(-20px); /* move UP */
}

 
/* Add Animation */
@-webkit-keyframes animatetop {
from {top:-300px; opacity:0}  
to {top:0; opacity:1}
}
 
@keyframes animatetop {
from {top:-300px; opacity:0}
to {top:0; opacity:1}
}
 
/* The Close Button */
.close {
color: white;
position: absolute;
top: -13px;
right: -13px;
float: right;
font-size: 20px;
font-weight: bold;
border-radius: 50%;
width: 30px;
height: 30px;
background:#969494;
text-align:center;
}
.close:hover,
.close:focus {
text-decoration: none;
cursor: pointer;
}
 
.modal-header {
padding: 2px 16px;
background-color:#2171B1;
color: white;
}
 
.modal-body {padding: 2px 16px;}
 
.modal-footer {
padding: 2px 16px;
background-color: #2171B1;
color: white;
}
.bg-shimmer {
  background-color: #FFFDD0;
  position: relative;
  overflow: hidden;
}

.bg-shimmer::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.5) 50%,
    rgba(255,255,255,0) 100%
  );
  animation: shimmerMove 4s infinite;
}

@keyframes shimmerMove {
  0% { left: -100%; }
  100% { left: 150%; }
}
<style>
.gallery_slider_custom {
    width: 60%;
    max-width: 60%;
    margin-left: auto;
    margin-right: auto;
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery_slider_custom img {
    width: 25%;
    height: 100%;
    object-fit: cover;
    border: 0.5px solid #fff;
    transition: all ease-out 0.5s;
    cursor: pointer;
    overflow: hidden;
    filter: brightness(70%)
}

.gallery_slider_custom img:hover {
    width: 80%;
    filter: brightness(100%)
}
.relativeParent{
    position: relative;
}
.relativeParent .headingTop{
	position: absolute;
    top: 30%;
    left: calc(50% - 140px);
    text-shadow: 0 0 10px #00000088;
    pointer-events: none;
}
</style>
<script>
document.querySelector(".gallery_slider_custom").innerHTML = `
<img src="">
<img src="">
<img src="">
<img src="">
<img src=""> `;
</script>

.mybox {
  border: 2px solid #000000 !important;
  border-radius: 8px !important;
  box-shadow: 0 0 0 2px #000000 !important;
  transition: border-color 0.5s ease, box-shadow 0.6s ease, transform 0.5s ease !important;
}

.mybox:hover {
  border-color: #3498db !important;
  box-shadow: 0 0 0 2px #3498db, 0 8px 24px rgba(52, 152, 219, 0.4) !important;
  transform: translateY(-5px) !important;
}

@media (max-width: 991px) {
    .theme-mobile-header-style-03.theme-mobile-header-bottom .theme-mobile-header-icon-wrapper .theme-mobile-header-icon svg {
        width: 24px;
        height: 24px;
        fill: white;
    }
}