/* [project]/src/components/Gallery/gallery.module.css [app-client] (css) */
.gallery-module__ftAQ_q__main {
  padding: 2rem 1rem;
}

.gallery-module__ftAQ_q__section {
  text-align: center;
  max-width: 1400px;
  margin: 1rem auto;
}

.gallery-module__ftAQ_q__section .gallery-module__ftAQ_q__title {
  margin-bottom: 2rem;
  font-size: 2rem;
}

.gallery-module__ftAQ_q__subtitle {
  color: #555;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.gallery-module__ftAQ_q__collageGrid {
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 180px;
  grid-auto-flow: dense;
  gap: 1rem;
  padding: 0 1rem;
  display: grid;
}

.gallery-module__ftAQ_q__card {
  cursor: pointer;
  border-radius: 12px;
  transition: transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}

.gallery-module__ftAQ_q__card:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 18px #0003;
}

.gallery-module__ftAQ_q__small {
  grid-area: span 1 / span 1;
}

.gallery-module__ftAQ_q__large {
  grid-area: span 2 / span 2;
}

.gallery-module__ftAQ_q__image {
  object-fit: cover;
  border-radius: 12px;
}

.gallery-module__ftAQ_q__lightbox {
  z-index: 1000;
  background: #000000d9;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 1rem;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
}

.gallery-module__ftAQ_q__lightboxContent {
  width: 90%;
  max-width: 900px;
  height: 80%;
  position: relative;
}

.gallery-module__ftAQ_q__lightboxImg {
  object-fit: contain;
  border-radius: 10px;
}

.gallery-module__ftAQ_q__pagination {
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  margin-top: 2rem;
  display: flex;
}

.gallery-module__ftAQ_q__pageBtn, .gallery-module__ftAQ_q__pageNumber {
  cursor: pointer;
  background: #f1f1f1;
  border: none;
  border-radius: 6px;
  padding: .6rem 1rem;
  font-size: .95rem;
  transition: background .2s;
}

.gallery-module__ftAQ_q__pageBtn:hover, .gallery-module__ftAQ_q__pageNumber:hover {
  background: #ddd;
}

.gallery-module__ftAQ_q__pageBtn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.gallery-module__ftAQ_q__activePage {
  color: #fff;
  background: #0070f3;
  font-weight: bold;
}

.gallery-module__ftAQ_q__title {
  text-align: center;
  color: #002855;
  letter-spacing: 1px;
  margin-bottom: .5rem;
  font-size: 2.2rem;
  font-weight: 700;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.gallery-module__ftAQ_q__animatedTitle {
  background: linear-gradient(90deg, #f26c2f, #ff9c40, #f26c2f) 0 0 / 200%;
  -webkit-text-fill-color: transparent;
  cursor: default;
  -webkit-background-clip: text;
  transition: transform .4s;
  animation: 4s linear infinite gallery-module__ftAQ_q__shine;
}

.gallery-module__ftAQ_q__animatedTitle:after {
  content: "";
  background: linear-gradient(90deg, #f26c2f, #ff9c40);
  border-radius: 4px;
  width: 80%;
  height: 3px;
  transition: transform .4s;
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%)scaleX(0);
}

.gallery-module__ftAQ_q__animatedTitle:hover:after {
  transform: translateX(-50%)scaleX(1);
}

.gallery-module__ftAQ_q__animatedTitle:hover {
  transform: scale(1.04);
}

@keyframes gallery-module__ftAQ_q__shine {
  0% {
    background-position: 0%;
  }

  100% {
    background-position: 200%;
  }
}

@keyframes gallery-module__ftAQ_q__fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gallery-module__ftAQ_q__title[data-visible="true"] {
  animation: .8s forwards gallery-module__ftAQ_q__fadeUp;
}

@media (max-width: 1200px) {
  .gallery-module__ftAQ_q__collageGrid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 160px;
  }
}

@media (max-width: 768px) {
  .gallery-module__ftAQ_q__collageGrid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
  }

  .gallery-module__ftAQ_q__title {
    font-size: 1.6rem;
  }

  .gallery-module__ftAQ_q__section {
    margin: 2rem auto;
  }

  .gallery-module__ftAQ_q__section .gallery-module__ftAQ_q__title {
    margin-bottom: 1rem;
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .gallery-module__ftAQ_q__collageGrid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }
}

/*# sourceMappingURL=src_components_Gallery_gallery_module_65eae53b.css.map*/