.bwdfg-popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.bwdfg-popup-container {
  position: relative;
  width: 800px;
  height: 500px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  top: 10%;
}

.bwdfg-popup-image {
  max-width: 90%;
  max-height: 90%;
}

.bwdfg-popup-close {
  position: absolute;
  top: 40px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
  color: #8b0101;
}
.bwdfg-popup-container img {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}