.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
 /* Adjust the opacity as needed */
  display: none;
 /* Initially hidden */
  z-index: 999;
 /* Make sure it's behind the popup but above other content */
}
.popup {
  display: none;
  position: fixed;
  background: white;
  padding: 20px;
  z-index: 1100;
  width: max-content;
  margin: auto;
  border: 0px !important;
  outline: none !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.popup.active {
  display: flex;
  max-height: 90vh;
}
.popup img {
  width: 50vw;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.varanasi-event-popup img {
  height: 600px;
  object-fit: contain;
}
.popup h4 {
  max-width: 70vw;
  padding: 20px;
}
.prev, .next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1002;
  display: none;
}
.prev {
  left: 10px;
}
.next {
  right: 10px;
}
.popup-container {
  position: relative;
}
.close-popup {
  position: absolute;
  top: 0px;
  right: 0px;
  padding: 10px;
  background: transparent;
  color: black;
  font-size: 20px;
  border: none;
  cursor: pointer;
  z-index: 1001;
 /* Ensure it's above other elements */
}
.close-popup i {
  font-size: 25px;
  line-height: 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #734bd1;
  background: #734bd1;
  color: white;
}
.close-popup i:hover {
  background: #FF6F0F;
  border-color: #FF6F0F;
  color: black;
}
 
@media only screen and (max-width: 768px){
  .close-popup i {
    font-size: 20px;
    line-height: 24px;
    width: 24px;
    height: 24px;
 }
 
}
