.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.mosaic--space-1 {
  padding: 4px;
}
.mosaic--space-2 {
  padding: 8px;
}
.mosaic--space-3 {
  padding: 16px;
}
.mosaic--space-4 {
  padding: 24px;
}
.mosaic--space-5 {
  padding: 32px;
}
.mosaic--space-6 {
  padding: 0;
}
.mosaic__item {
  background-color: gainsboro;
  background-size: cover;
  background-position: center center;
  height: 0;
  display: block;
}
.mosaic__item--space-1 {
  margin: 4px;
}
.mosaic__item--space-2 {
  margin: 8px;
}
.mosaic__item--space-3 {
  margin: 16px;
}
.mosaic__item--space-4 {
  margin: 24px;
}
.mosaic__item--space-5 {
  margin: 32px;
}
.mosaic__item--space-6 {
  margin: 0px;
}
@media (max-width: 768px) {
  .mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
  }
}