.gallery__model__fiter {
    mask-image: linear-gradient(45deg, transparent, black, black, transparent);
    padding-inline: 150px;
}

.gallery__item:first-of-type {
    grid-column: 1 / 5;
    grid-row: 1 / 3;
  }

  .gallery__item:nth-of-type(2) {
    grid-column: 5 / 9;
    grid-row: 1 / 3;
  }

  .gallery__item:nth-of-type(3) {
    grid-column: 9 / 12;
    grid-row: 1 / 2;
  }

  .gallery__item:nth-of-type(4) {
    grid-column: 9 / 11;
  }


  .gallery__model__item.big {
    aspect-ratio: 9/5;
    grid-column: span 2;
  }

  .gallery__model__image.active {
    position: fixed;
    top: 50%;
    left: 0;
    right: 0;
    z-index: 1000;
    opacity: 1;
  }

  .gallery__model__fiter li.active {
    border: 1px solid #111;
    color: #111;
  }

  .moves {
    background: linear-gradient(to left, #11111147, transparent, transparent, transparent, transparent, #11111147);
  }

  @media(max-width: 767px) {
    .gallery__item:first-of-type {
      grid-column: 1 / 6;
      grid-row: 1 / 3;
    }

    .gallery__item:nth-of-type(2) {
      grid-column: 6 / 11;
      grid-row: 1 / 2;
    }

    .gallery__item:nth-of-type(3) {
      grid-column: 6 / 9;
      grid-row: 2 / 3;
    }

    .gallery__item:nth-of-type(4) {
      grid-column: 9 / 11;
      grid-row: 2 / 3;
    }

    .gallery__item:last-of-type {
      display: none;
    }
  }

  @media(max-width: 576px) {
    .gallery .gallery__item {
      grid-column: 1 / -1;
      grid-row: 1 / 3;
      display: block;
    }

  }

  .fade-in {
    animation: fade-in 200ms linear;
  }

  @keyframes fade-in {
    from {
      opacity: 0;
    }
  }


  /* For Webkit-based browsers (Chrome, Safari and Opera) */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* For IE, Edge and Firefox */
.scrollbar-hide {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.slider-container {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.slider-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.slide {
    width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slider {
    display: flex;
    width: 100%;
    touch-action: pan-y pinch-zoom;
    will-change: transform;
}

.slide {
    flex: 0 0 100%;
    width: 100%;
    user-select: none;
    pointer-events: none;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}



