.hobby {
  background: #f7f7f7;
}

.hobby .content {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  flex-direction: column;
}

.row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding-left: 0.5rem;
  padding-bottom: 1.5rem
}

/* Create four equal columns that sits next to each other */
.column {
  -ms-flex: 33%;
  /* IE10 */
  flex: 33%;
  max-width: 33%;
  padding-bottom: 0.5rem;
}

.column img {
  margin-top: 1rem;
  vertical-align: middle;
  width: 100%;
}

.gallery {
  position: relative;
  width: 100%;
}

.images {
  display: block;
  width: 100%;
  height: auto;
}

.middle {
  position: absolute;
  bottom: 0;
  left: 0;
  opacity: 0.3;
  right: 0;
  background-color: #fff;
  overflow: hidden;
  width: 100%;
  height: 0;
  transition: .005s ease;
}

.gallery:hover .middle {
  height: 100%;
}

.legend {
  color: #111;
  font-size: 2vw;
  font-weight: 600;
  letter-spacing: 0.2rem;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

#d2 {
  display: none;
}

.hide {
  margin-top: 1rem;
}

.passion {
  display: none;
}

@media (max-width: 991px) {
  .hobby .content {
    align-items: center;
  }

  .legend {
    font-size: 2vw;
    letter-spacing: none;
  }
}

@media (max-width: 768px) {
  .legend {
    font-size: 4vw;
  }

  .column {
    -ms-flex: 50%;
    flex: 50%;
    max-width: 50%;
  }

  .cache {
    display: none;
  }
}

@media screen and (max-width: 468px) {
  .column {
    -ms-flex: 100%;
    flex: 100%;
    max-width: 100%;
  }

  .cache {
    display: block;
  }

  .passion {
    display: inline-block;
  }

  .gallery .middle {
    height: 100%;
  }

  .row {
    justify-content: center;
  }

  .hidden {
    display: none;
  }

  .legend {
    font-size: 8vw;
  }
}
