#shadowbox-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#shadowbox-close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: #fff;
  font-size: 36px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
}

#shadowbox-close:hover {
  color: #ccc;
}

#shadowbox-content {
  text-align: center;
  background: #fff;
  padding: 10px;
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  max-width: 90%;
  max-height: 90%;
}

#shadowbox-img {
  max-width: 100%;
  max-height: 70vh;
  display: block;
}

#shadowbox-caption {
  color: #333;
  margin-top: 8px;
  padding-top: 5px;
  font-size: 13px;
  font-family: Helvetica, Arial, sans-serif;
  text-align: left;
}

#shadowbox-caption strong {
  text-transform: uppercase;
}

#shadowbox-caption p {
  margin: 2px 0;
}
