.media-list {
  overflow: hidden;
  margin: 0 20px;
}
.media-sizer {
  width: calc(25% - 20px);
  margin: 0 10px;
  float: left;
}
.media-item {
  position: relative;
  float: left;
  width: calc(25% - 20px);
  margin: 10px;
  overflow: hidden;
  box-sizing: border-box;
  padding: 10px;
  background: #FFF;
  -moz-transition: box-shadow 0.6s;
  -o-transition: box-shadow 0.6s;
  -webkit-transition: box-shadow 0.6s;
  transition: box-shadow 0.6s;
}
.media-item img {
  width: 100%;
  -moz-transition: -moz-transform 1s;
  -o-transition: -o-transform 1s;
  -webkit-transition: -webkit-transform 1s;
  transition: transform 1s;
}
.media-item:hover {
  box-shadow: 0 5px 10px 3px rgba(0, 0, 0, 0.3);
}
.media-item:hover img {
  -moz-transform: scale(1.2);
  -ms-transform: scale(1.2);
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}
.media-img {
  overflow: hidden;
}
.media-text {
  font-size: 1.25em;
  color: #181d4b;
  padding: 10px 0;
  border-bottom: #ccc solid 1px;
}
.media-name {
  font-size: 1rem;
  color: #666;
  margin-bottom: 5px;
}

@media screen and (max-width: 1100px) {
  .media-item, .media-sizer {
    width: calc(33.3333% - 20px);
  }
}
@media screen and (max-width: 800px) {
  .media-item, .media-sizer {
    width: calc(50% - 20px);
  }
}
@media screen and (max-width: 640px) {
  .page-container {
    margin-top: 200px;
  }

  .media-list {
    margin: 0;
  }

  .media-item, .media-sizer {
    width: calc(100% - 20px);
  }

  .media-text {
    font-size: 1em;
  }
}
