.portfolio-items-inner {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: space-between;
}
.portfolio-item {
  position: relative;
  width: 31%;
  height: 100%;
  flex: 0 1 31%;
  min-height: 230px;
}
.portfolio-item a {
  display: block;
  height: 100%;
  width: 100%;
}
.portfolio-item img {
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  position: absolute;
  object-fit: cover;
  object-position: 50%;
}
.portfolio-item h4 {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: 8px;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: end;
  -webkit-align-items: flex-end;
  -ms-flex-align: end;
  align-items: flex-end;
  background-image: -webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,.06)),color-stop(66%,rgba(0,0,0,.16)),color-stop(84%,rgba(0,0,0,.65)),to(#000));
  background-image: linear-gradient(180deg,rgba(0,0,0,.06),rgba(0,0,0,.16) 66%,rgba(0,0,0,.65) 84%,#000);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 1200px) {
  .portfolio-items-inner {
    flex-wrap: wrap;
    justify-content: center;
  }
  .portfolio-item {
    width: 350px;
    flex: 0 1 350px;
    margin: 0 20px 20px;
  }
  .portfolio-item a
}