* {
  box-sizing: border-box;
}

.row {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: -ms-flexbox; /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
  padding: 0 4px;
}
.my-gallery {

}
/* Create four equal columns that sits next to each other */
.column {
  -ms-flex: 14%; /* IE10 */
  flex: 14%;
  padding: 0 4px;
  align-self: center;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
  border-radius: 4px;
  width: 100%;
  transition: 0.2s ease-in-out;
  box-shadow: 0 2px 3px rgba(0,0,0,0.2);
}

img {
  cursor: pointer;
}

.row .column img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 15px rgba(0,0,0,0.3);
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .column {
    -ms-flex: 50%;
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    -ms-flex: 100%;
    flex: 100%;
    max-width: 100%;
  }
}