:root {
  --backdrop: #333;
}
body{
  font-family: Arial, Helvetica, sans-serif;
  background-color: var(--backdrop);
  color: white;
}
a, a:visited{
  color: aqua;
}
#photoswipe_no_text .my-simple-gallery {
  display: flex;
  flex-wrap: wrap;
  gap:1em;
}
#photoswipe_no_text .my-simple-gallery::after {
  content: '';
  flex-grow: 999999999;
}
#photoswipe_no_text .my-simple-gallery figure {
  margin: 2px;

  position: relative;
}
#photoswipe_no_text .my-simple-gallery i{
  display: block;
}
#photoswipe_no_text .my-simple-gallery img {
  width:100%;
  top: 0;

  vertical-align: bottom;
}

#photoswipe_no_text .my-simple-gallery figcaption {
  display: none;
}
.pswp--open {
  position: fixed;
}
.pswp__caption__center {
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  margin-bottom: 4em;
}

/* Hover Effect*/
#photoswipe_no_text a img{
	opacity: 0.95;
	-webkit-transition: -webkit-transform 0.1s;
	transition: transform 0.1s;
	-webkit-transform-origin: 50% 50%;
	transform-origin: 50% 50%;
  	-webkit-transform: scale3d(0.95,0.95,1);
	transform: scale3d(0.95,0.95,1);
}

#photoswipe_no_text a img:hover {
	-webkit-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);
}


/* photoswipe_with_text */
#photoswipe_with_text .my-simple-gallery figcaption {
  background-color: var(--backdrop);

  display: block;
  height: 100%;
  position: relative;
  z-index: 999;
  padding-top: 0.5em;

}

#photoswipe_with_text .my-simple-gallery{
  display: flex;
  flex-wrap: wrap;
  gap:1em;
}
#photoswipe_with_text .my-simple-gallery::after {
  content: '';
  flex-grow: 999999999;
}
#photoswipe_with_text figure {
  margin: 2px;
  /*background-color: violet;*/
  position: relative;
}
#photoswipe_with_text i{
  display: block;
}
#photoswipe_with_text img {
  width:100%;
  top: 0;

  vertical-align: bottom;
}

/* Hover Effect */
#photoswipe_with_text figure{
  overflow: hidden;
  margin: 0 auto;
}

#photoswipe_with_text a img {
  width: 100%;
  transition: 0.1s all ease-in-out;
}

#photoswipe_with_text a:hover img {
   transform: scale(1.1);

}