.gallery {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: space-between;
  flex-direction: row;
}

.gallery a {
  flex-grow: 2;
  flex-basis: 400px;
  max-width: 470px;
  margin-left: 5px;
  margin-right: 5px;
  margin-top: 10px;
  margin-bottom: 10px;

}

.gallery img {
  height: 95%;
  width: 100%;
}
