@keyframes gallery-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

:root {
  --gallery-slide-h: 332px;
}

@media (min-width: 1801px) {
  :root {
    --gallery-slide-h: 360px;
  }
}

.hero-with-gallery {
  padding-bottom: calc(var(--gallery-slide-h) - 1px + 4vh);
}

.gallery-marquee-wrap {
  min-height: var(--gallery-slide-h);
}

.gallery-item {
  flex-shrink: 0;
  height: var(--gallery-slide-h);
  min-height: var(--gallery-slide-h);
  border-radius: 20px;
  overflow: hidden;
}

.gallery-item img {
  display: block;
  height: var(--gallery-slide-h);
  width: auto;
  max-width: none;
}

@media (max-height: 800px) {
  .header-logo-avatar {
    width: 40px;
    height: 40px;
  }

  .header-title {
    font-size: 14px;
  }

  .header-subtitle {
    font-size: 12px;
  }

  .header-main-block {
    height: 64px;
  }
}

@media (max-height: 800px) and (max-width: 1800px) {
  .gallery-item {
    height: min(24.75vh, 217px);
    min-height: min(24.75vh, 217px);
  }

  .gallery-item img {
    height: 100%;
    width: auto;
  }
}

@media (max-height: 800px) and (min-width: 1801px) {
  .gallery-item {
    height: min(26.85vh, 236px);
    min-height: min(26.85vh, 236px);
  }

  .gallery-item img {
    height: 100%;
    width: auto;
  }
}

@media (max-width: 1350px) {
  .footer-copy,
  .footer-privacy-link {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .project-image-title,
  .project-image-meta {
    font-size: 12px;
  }
}
