@media screen and (min-width: 768px) {
  /* Fallback for browsers that do not support grid */
  section.scroll-section.section-grid {
    display: flex;
    flex-direction: column;
    gap: 30px; /* Fallback for column-gap */
  }

  /* Use grid when supported */
  @supports (display: grid) {
    section.scroll-section.section-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      column-gap: 30px;
    }
  }

  
  .grid-text {
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: center;
  }
  
  .scroll-column.image {
    position: sticky;
    top: 0;
    height: 100vh;
  }
  .scroll-column.text .is-mobile-image {
    display: none;
    opacity: 0;
    visibility: none;
  }
  .grid-image {
    opacity: 0;
    transition: opacity 1s ease;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0%, -50%);
  }
  
  .grid-image.active {
    opacity: 1;
  }
}
@media screen and (max-width: 767px) {
  section.scroll-section.section-grid {
    display: flex;
    flex-direction: row;
  }
  .scroll-column.text .is-mobile-image {
    display: block;
    opacity: 1;
    visibility: visible;
  }
  .scroll-column.image {
    display: none;
    opacity: 0;
    visibility: none;
  }
}