.pswp {
  z-index: 100000;
}

.my-gallery {
  width: 70%;
  margin: 0 auto;
  padding: 2em;
  background: var(--color-light-brown);
  border: 3px solid var(--color-white);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  position: relative;
}

.my-gallery img {
  width: 100%;
  height: auto;
  box-shadow: 0px 3px 8px #000;
  transition: all 0.3s ease-in-out;
  margin: 0.5em 0;
  border: 3px solid var(--color-white);
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.my-gallery img:hover {
  box-shadow: 0px 10px 40px #222;
  transform: translate3d(0px, -1px, 0px);
}

.my-gallery figure {
  display: block;
  float: left;
  margin: 0 5px 5px 0;
  width: 250px;
}

.my-gallery figcaption {
  display: none;
}

.pswp__caption__center {
  font-family: "Courgette", cursive;
  letter-spacing: 0.1em;
  font-size: 1.3em;
  text-align: center;
}

.my-gallery::before {
  position: absolute;
  content: "";
  width: 4em;
  height: 4em;
  bottom: -15px;
  right: -15px;
  border-bottom: 3px solid var(--color-white);
  border-right: 3px solid var(--color-white);
}

.my-gallery::after {
  position: absolute;
  content: "";
  width: 4em;
  height: 4em;
  top: -15px;
  left: -15px;
  border-top: 3px solid var(--color-white);
  border-left: 3px solid var(--color-white);
}

/* MEDIA QUERIES */

@media all and (max-width: 1200px) {
  .my-gallery {
    width: 80%;
  }
}

@media all and (max-width: 576px) {
  .my-gallery {
    width: 90%;
    /* padding: 0em; */
  }
}
