#window-mask {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  display: none;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 99999999;
}
#window-mask.open {
  display: flex; /* Use flex to center */
  justify-content: center;
  align-items: center;
}

.pop-up {
  width: 90vw; /* Set to 90% of viewport width */
  max-width: 600px; /* Optional max width for larger screens */
  height: auto;
  background: transparent;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pop-up-content {
  width: 100%;
  max-height: 80vh; /* Limits height to 80% of viewport height */
  overflow: hidden;
  background-color: #ffffff;
  border-radius: 8px;
}

.responsivepopup {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

.pop-up .description {
  padding: 10px;
  text-align: center;
}

/* Adjust margin and padding for mobile */
@media (max-width: 768px) {
  .pop-up {
    width: 90vw; /* Full width on smaller screens */
    height: auto; /* Adjusts height automatically */
    left: auto; /* Centered by flexbox now */
    top: auto;
  }
}
