@media (min-width: 991.99px) {
  .hero-section h1 {
    font-size: 83px;
    line-height: 75.48px;
    letter-spacing: 1.28px;
  }
  .after-hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
  }
  @keyframes fadeUp {
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .gallery {
    padding: 2rem;
  }
  .gallery .box {
    min-height: 500px;
  }
  .gallery .box img {
    max-width: 65%;
  }
  .gallery .box:nth-child(4n) img, .gallery .box:nth-child(4n+1) img {
    max-width: 50%;
  }
  .gallery .inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }
  .gallery .inner .content {
    min-height: 64vh;
    position: sticky;
    top: 0;
    justify-content: center;
    display: flex;
    align-items: center;
  }
  .gallery .inner .content .inner-content {
    background: #f9f7f5;
    width: 35%;
    margin: 0 auto;
    text-align: center;
    -webkit-mask-image: linear-gradient(to top, rgb(0, 0, 0) 80%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to top, rgb(0, 0, 0) 80%, rgba(0, 0, 0, 0) 100%);
    padding: 150px 20px;
  }
  .gallery .inner .content .inner-content .heading {
    font-size: 40px;
    margin-bottom: 20px;
  }
  .gallery .inner .content .inner-content p {
    font-size: 20px;
  }
  .gallery .box {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeUp 1s forwards;
    transform: translateY(10rem);
    animation-timeline: view();
    animation-range-end: 100%;
    margin: 0;
  }
  .gallery .box:nth-child(4n), .gallery .box:nth-child(4n+1) {
    transform: translateY(30rem);
  }
  .gallery .box:nth-child(4n) .mask, .gallery .box:nth-child(4n+1) .mask {
    max-width: 80%;
  }
  .gallery .box img {
    border-radius: 500px;
    aspect-ratio: 1/1.5;
    -o-object-fit: cover;
       object-fit: cover;
    max-width: 75%;
    max-height: 750px;
  }
  .gallery .box:nth-child(4n) img, .gallery .box:nth-child(4n+1) img {
    max-width: 60%;
  }
  .gallery .box:nth-child(odd) {
    text-align: start;
    bottom: unset;
  }
  .gallery .box:nth-child(even) {
    text-align: end;
    justify-content: end;
  }
  .gallery .box .mask {
    border-radius: 500px;
    aspect-ratio: 1/1.5;
    position: relative;
    overflow: hidden;
    width: 95%;
    height: auto;
    display: flex;
    align-items: center;
  }
  .gallery .box .mask .parallax {
    position: absolute;
    background-size: cover;
    background-position: center;
    will-change: transform;
    width: 100%;
    aspect-ratio: 1/1.5;
    height: 100vh;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .gallery .box .mask .parallax video {
    max-width: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    height: auto;
    aspect-ratio: 1/2;
  }
  .gallery .box .mask-medium {
    max-width: 80%;
    position: relative;
    top: 10%;
    left: 6%;
  }
  .gallery .box .mask-medium .parallax-medium {
    position: absolute;
    background-size: cover;
    background-position: center;
    will-change: transform;
    width: 100%;
    height: 90vh;
    aspect-ratio: 1/1.5;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .gallery .box .mask-mini {
    position: relative;
    right: 6%;
    max-width: 40% !important;
    top: -10%;
  }
  .gallery .box .mask-mini .parallax-mini {
    position: absolute;
    background-size: cover;
    background-position: center;
    will-change: transform;
    width: 100%;
    height: 60vh;
    aspect-ratio: 1/1.5;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .wave_video:before, .wave_video:after {
    bottom: -10%;
  }
  .wave_video video {
    height: 100vh;
  }
}
@media (min-width: 1200px) {
  .gallery .box {
    min-height: 800px;
  }
  .gallery .inner .content {
    min-height: 825px;
  }
}
