.popup-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
    overflow: auto;
    opacity: 0; /* Initially hidden */
    transition: opacity 0.3s ease; /* Smooth transition effect */
  }

  /* Center the popup content */
  .popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }

  /* Responsive image */
  .popup-image {
    /*max-width: 90%;*/
    width: max-content;
    height: auto;
  }

  /*
  @media (max-width: 768px) {
    .popup-image {
        width: 500px !important;
        transform: scale(1.3);
    }
  }
  */

   /* Fullscreen image */
   .fullscreen-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }