
.title-text {
    padding: 10px;
    border-bottom: 1px solid #ebebeb;
    font-size: 1.5rem;
	margin-bottom:20px;
}

.heading {
  color: #fff;
  text-align: center;
  font-size: 2em;
  margin: 2em 0;
}
.images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1em;
}
.images img {
  width: 100%;
  cursor: pointer;
  transition: 0.3s all ease;
  border-radius:2px;
}
.images div{
	position:relative;
}
.images div span {
	width:100%;
    font-size: 6px;
	line-height:0.5rem;
    color: white;
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: center;
    background-color: rgba(0,0,0,0.5);
    padding:10px;
}


/*
.images img:hover {
  transform: scale(0.9);
}*/
.custom-modal {
  position: fixed;
  height: calc(100%-57px);
  width: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter:blur(2px);
  color: #fff;
  z-index: 1;
  overflow: auto;
  opacity: 0;
  pointer-events: none;
  user-select:none;

}
.modalContent {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.modalImg {
  width: 80%;
  max-width: 700px;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.modalContent img.appear {
  opacity: 1;
} 
.modalTxt {
  margin-top: 1em;
}
.modalNav {
  margin-top: 1em;
}
.modalNav button {
  padding: 10px 45px;
  border: 1px solid #fff;
  background: none;
  color: #fff;
  outline: none;
  cursor: pointer;
}
.nextBtn {
  margin-left: 1em;
}
.close {
  position: absolute;
  color: #fff;
  top: 1em;
  right: 1.5em;
  font-size: 2.5em;
  cursor: pointer;
}
.custom-modal.appear {
  opacity: 1;
  pointer-events: all;
}
.custom-modal.appear .modalImg,
.custom-modal.appear .modalTxt {
  animation: zoom 0.3s linear;
}
@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}



/*SM*/	
@media (min-width: 576px) {
	.images div span {
		font-size: 12px;
	}
}
/*MD*/
@media (min-width: 768px) {
	.images div span {
		font-size: 12px;
	}
}

/*LG*/
@media (min-width: 992px) {
	.images div span {
		font-size: 12px;
	}
}
/*XL*/
@media (min-width: 1200px) {
	.images div span {
		font-size: 12px;
	}
}
/*XXL*/
@media (min-width: 1400px) {
	.images div span {
		font-size: 12px;
	}
	
}