.box {
  position: relative;
  perspective: 1000px;
}

.box .box-img {
  transform: rotateY(0);
  transition: all 0.50s ease-in-out 0s;
}

.box:hover .box-img {
  transform: rotateY(-90deg);
}

.box .box-img img {
  width: 100%;
  height: auto;
}

.box .box-content {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  padding: 60px 20px;
  text-align: center;
  background: rgba(0,0,0,0.7);
  transform: rotateY(90deg);
  transition: all 0.50s ease-in-out 0s;
}

.box:hover .box-content {
  transform: rotateY(0);
}

.box .title {
  font-size: 20px;
  color: #fff;
  text-transform: uppercase;
}

.box .description {
  font-size: 14px;
  line-height: 24px;
  color: #fff;
}

.box .title:after, .box .description:after {
  content: "";
  width: 80%;
  display: block;
  border-bottom: 1px solid #fff;
  margin: 15px auto;
}

@media only screen and (max-width: 990px) {
  .box {
    margin-bottom: 20px;
  }
}

@media only screen and (max-width: 479px) {
  .box .box-content {
    padding: 20px;
  }
}

* {
  font-family: 'Raleway', sans-serif;
}

.dh-header-non-rectangular-container h1, p {
  color: white;
  font-weight: bold;
}

.container {
  background: #fff;
}

* {
  outline: none;
}

.row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: 0;
  margin-left: 0;
  /*padding-left: 5%;*/
  height: auto;
  /*padding-right: 5%;*/
  /*padding-top: 5%;*/
  /*padding-bottom: 5%;*/
}

.container {
  max-width: 1200px !important;
  padding-left: 0px;
  padding-right: 0px;
}

.row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: 0;
  margin-left: 0;
  padding-left: 0px;
  height: auto;
}

* {
  box-sizing: border-box;
}

img {
  vertical-align: middle;
}

