.wpb_gallery img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 85vh !important;
  margin: 0 auto;
  display: block;
}