@use "src/app/styles/variables" as *;

.gallery {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;

  @media (max-width: $extra-large) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  @media (max-width: $large) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  @media (max-width: $small) {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.gallery-item {
  display: block;
  width: 100%;
}
