.wall {
  background: #fff;
  display: flex;
  flex-wrap: wrap
}

.wall>* {
  flex: 1 1 50%
}

.wall-left,.wall-right {
  display: flex;
  flex-direction: column
}

.wall-left {
  padding-right: 3px
}

.wall-right {
  padding-left: 3px
}

.brick {
  height: 325px;
  margin: 6px 0 0;
  display: flex
}

.brick a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden
}

.brick a:hover img {
  transform: scale(1.05)
}

.brick img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  font-family: "object-fit: cover;";
  float: left;
  transition: .2s
}

.brick--double {
  height: 161px;
  display: flex
}

.brick--double a {
  width: 50%
}

.brick--double a:first-child {
  margin-right: 3px
}

.brick--double a:last-child {
  margin-left: 3px
}

@media screen and (max-width: 1178px) {
  .wall {
    flex-direction: column
  }
  .wall-left {
    padding: 0 3px;
  }
  .wall-right {
    padding: 0 3px;
    flex-direction: column;
    margin: 0 0 6px;
  }
}