.Gallery-Container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
  padding: 40px;
  margin-bottom: 30px;
}

.Image-Container {
  position: relative;
  width: 300px;
  display: block;

}

/* Rotated white "stacked" background layers */
.Image-Container::before,
.Image-Container::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 107%;
  height: 107%;
  background: white;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transform: translate(-45%, -42%) rotate(-3deg);
  z-index: 0;
  border-radius: 2px;
  scale: 1.05;
}

.Image-Container::after {
  transform: translate(-45%, -42%) rotate(3deg);
  z-index: -1;
}

/* Main Image */
.Gallery-Image {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  display: block;
  border: 10px solid white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  background: white;
  border-radius: 2px;
}

/* Caption */
.img-caption {
  position: absolute;
  bottom: -10px;
  left: 10px;
  width: 100%;
  padding: 5px 6px;
  background: rgba(143, 122, 85, 0.7);
  color: white;
  font-size: 1.2em;
  font-weight: bold;
  z-index: 2;
  box-sizing: border-box;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}

@media (min-width: 768px) {
    .Gallery-Container {
        gap: 70px;
    }
}

/* Computers */
@media (min-width: 1367px) {
    .Gallery-Container {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 60px;
        max-width: 1200px;
        margin: 0 auto;
        padding-top: 75px;
        margin-bottom: 50px;
    }

    .Gallery-Image {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  display: block;
  border: 10px solid white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  background: white;
  border-radius: 2px;
  aspect-ratio: 4/3;
}

    .img-caption {
        position: absolute;
        bottom: -10px;
        right: 5px;
        width: 100%;
        padding: 5px 0 5px 5px;
        background: rgba(143, 122, 85, 0.7);
        color: #fff;
        text-align: left;
        font-weight: bold;
        box-sizing: border-box;
        pointer-events: none;
        z-index: 2;
        font-size: 1.3em;
    }

}