* {
  font-family: "Vazirmatn", sans-serif;
}

html,
body {
  font-family: "Vazirmatn", sans-serif;
}


.gallery-page {
  min-height: 100vh;
  padding: 24px 0 40px;
}

.gallery-header {
  text-align: center;
  margin-bottom: 22px;
}

.gallery-header h1 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
}

.gallery-header p {
  margin: 0;
  color: #777;
  font-size: 13px;
  line-height: 1.8;
}

.gallery-item {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .07);
}

.gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .25s ease;
}

.gallery-item:active img {
  transform: scale(.97);
}

.image-modal-content {
  background: #000;
  border: 0;
  border-radius: 0;
}

.image-modal-content .modal-body {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

#fullImage {
  display: block;
  max-width: 100%;
  max-height: 100vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.close-button {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 1056;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: #111;
  font-size: 30px;
  line-height: 38px;
  cursor: pointer;
}

@media (min-width: 768px) {
  .gallery-page {
    padding-top: 40px;
  }

  .gallery-header h1 {
    font-size: 30px;
  }

  .gallery-item {
    border-radius: 16px;
  }
}
