.hero {
  height: 900px;
}
.hero .col-12 {
  padding-left: 200px;
}
.hero-title-col {
  max-width: 800px !important;
}
@media screen and (max-width: 1400px) {
  .hero {
    height: 600px;
  }
  .hero .col-12 {
    padding-left: 0px;
  }
  .hero-title-col {
    max-width: unset !important;
  }
}
.instagram-post {
  height: 200px;
  position: relative;
  overflow: hidden;
}

/* background layer so we can animate zoom separately from content */
.instagram-post::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1);
  transition: transform 0.5s ease;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}

.instagram-post::before {
  content: "";
  position: absolute;
  inset: 0;
  transition: background-color 0.5s ease;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
}

.instagram-post:hover::before {
  background-color: var(--hover-color, #7a4c0f98);
  opacity: 0.6;
}

/* zoom the background layer on hover */
.instagram-post:hover::after {
  transform: scale(1.05);
}

.instagram-post .instagram-icon {
  opacity: 0;
  transition: opacity 0.5s ease;
  width: 30px;
}

.instagram-post:hover .instagram-icon {
  opacity: 1;
}

.instagram-post > * {
  position: relative;
  z-index: 2;
}
