.galleries-container {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.gallery {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--card-color);
  padding: 1rem;
  height: 8rem;
  flex-grow: 1;
  min-width: 20rem;
  border-radius: 0.5rem;
}

.galleries-container a {
  text-decoration: none;
  color: inherit;
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .galleries-container {
    width: 100%;
    flex-direction: column;
  }

  .gallery {
    width: 100%;
  }

  .galleries {
    text-align: center;
  }
}