.gallery-content {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  flex-direction: column;
  max-width: 700px;
  overflow: hidden;
  padding: 30px;
  pointer-events: none;
  position: sticky;
  text-align: center;
  top: 0;
  width: 100%;
  z-index: 5;
  color: var(--color-foreground);
  @media (max-width: 767px) {
    display: unset;
    padding: 50px 10px 0 10px;
  }
}

.gallery-content__image img {
  width: 100%;
}

.gallery-content h3 {
  font-size: 50px;
  font-weight: 600;
  margin-top: -20px;
  @media (max-width: 991px) {
    text-align: center;
    font-size: 30px;
    margin-top: -10px;
  }
}

.gallery {
  align-items: center;
  background-color: #0000;
  display: flex;
  flex: none;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0px;
  height: 150dvh;
  justify-content: flex-start;
  overflow: visible;
  padding: 0 30px;
  position: relative;
  scroll-margin-top: 80px;
  width: 100%;
  z-index: 5;
  @media (max-width: 991px) {
    height: 600px;
  }
}

.gallery-image {
  flex: none;
  height: 100%;
  left: calc(50.00000000000002% - 100% / 2);
  overflow: hidden;
  position: absolute;
  top: 0;
  width: 100%;
}

.gallery-image__box {
  align-content: flex-start;
  align-items: flex-start;
  display: flex;
  flex: none;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 10px;
  height: 100%;
  justify-content: center;
  left: calc(50.00000000000002% - 100% / 2);
  overflow: hidden;
  padding: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
  transition: transform 2.5s ease-out, opacity 0.5s ease-out;
  will-change: transform;
  @media (max-width: 767px) {
    gap: 2px;
  }
}

.gallery-image__col1 {
  align-items: center;
  display: flex;
  flex: none;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 10px;
  height: min-content;
  justify-content: center;
  overflow: visible;
  padding: 0;
  position: relative;
  width: 18%;
  @media (max-width: 767px) {
    gap: 2px;
    width: 22%;
  }
}

.gallery-image__col2 {
  align-items: center;
  display: flex;
  flex: none;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 10px;
  height: min-content;
  justify-content: flex-start;
  overflow: visible;
  padding: 0;
  position: relative;
  width: 8%;
  @media (max-width: 767px) {
    gap: 2px;
    width: 12%;
  }
}

.gallery-image__col1-1 {
  aspect-ratio: 0.7576923076923077 / 1;
}

.gallery-img {
  border-radius: 8px;
  flex: none;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  width: 100%;
  opacity: 0.4;
  transition: all 0.3s ease;
  display: block;
  @media (max-width: 767px) {
    border-radius: 4px;
  }
}

.gallery-img img {
  width: 100%;
}

.gallery-img:hover {
  opacity: 1;
  box-shadow: 0 1.0077627319085878px 2.6201831029623284px -0.3125px #00000040,
    0 2.3885756205709185px 6.210296613484388px -0.625px #00000040,
    0 4.357008827588287px 11.328222951729547px -0.9375px #00000040,
    0 7.2435184293135535px 18.83314791621524px -1.25px #00000040,
    0 11.697691633173964px 30.413998246252305px -1.5625px #00000040,
    0 19.147960564453385px 49.7846974675788px -1.875px #00000040,
    0 32.97149505802081px 85.7258871508541px -2.1875px #00000040,
    0 60px 156px -2.5px #00000040;
}

.gallery-shadow {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgb(0, 0, 0) 80.04469313063063%
  );
  bottom: -1px;
  flex: none;
  height: 300px;
  left: calc(50.00000000000002% - 100% / 2);
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: 4;
  margin-bottom: -2px;
}

.gallery-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  z-index: 4;
  bottom: 0;
  max-width: 1200px;
  width: 100%;
  padding: 0 15px;
  gap: 20px;
  @media (max-width: 767px) {
    flex-direction: column;
  }
}

.gallery-bottom__left {
  display: flex;
  gap: 20px;
  align-items: center;
  @media (max-width: 767px) {
    flex-direction: column;
  }
}

.gallery-bottom__text {
  max-width: 450px;
  font-size: 13px;
  @media (max-width: 767px) {
    text-align: center;
  }
}
