.mason-gallery {
  display: flex;
  flex-wrap: wrap;
  padding: 0 3%;
}
.mason-gallery-column {
  margin: 0 auto;
  max-width: 24.5%;
}
.mason-gallery-column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}
@media screen and (max-width: 1200px) {
  .mason-gallery-column {
    flex: 33%;
    max-width: 32.5%;
  }
}
@media screen and (max-width: 992px) {
  .mason-gallery-column {
    flex: 50%;
    max-width: 49.5%;
  }
}
@media screen and (max-width: 600px) {
  .mason-gallery-column {
    flex: 100%;
    max-width: 100%;
  }
}

.mason-gallery-column img:hover {
  filter: drop-shadow(4px 4px 6px gray);
  transform: scale(1.05);
 transition: 220ms;
}

/* portfolio styling */

#gallery-wrapper .img-container {
  width: 100%;
  height: auto;
  background-position: center center;
  background-repeat: no-repeat;
  object-fit: cover;
  object-position: center;
  background-size: cover;
}

.home-gallery {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.home-gallery-item {
  overflow: hidden;
  margin: 2vh 0 2vh 0;
  background-position: center center;
  background-repeat: no-repeat;
  object-fit: cover;
  object-position: center;
  background-size: cover;
  transition: 220ms;
}

.home-gallery img {
  transition: 220ms;
  padding: 8px;
  height: auto !important;
  width: 100% !important;
}

.home-gallery img.horizontal-img {
  height: 120% !important;
  width: auto !important;
}

.home-gallery-item:hover {
  filter: drop-shadow(4px 4px 6px gray);
  transform: scale(1.1);
}

@media (max-width: 480px) {
  .home-gallery {
    grid-template-columns: 1fr;
  }

  .home-gallery img {
    margin: 10px auto !important;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .home-gallery {
    grid-template-columns: 1fr;
  }

  .home-gallery img {
    margin: 10px auto !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .home-gallery {
    grid-template-columns: 1fr 1fr;
  }
}

.site_width {
max-width:80% !important;
}