/*********************************
* Showcase
**********************************/

.showcase {
  font-size: 0;
  text-align: center;
}

.showcase .style-6 {
  font-size: 14px;
  margin-bottom: 0;
}

/* Work */

.work {
  display: inline-block;
  position: relative;
  width: 25%;
  height: 14.9vw;
  /* background-color: #0077C0; */
  background-image: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  overflow: hidden;
  vertical-align: top;
}

.work:before {
  content: '';
  display: block;
  position: absolute;
  left: -100%;
  width: 100%;
  height: 100%;
  opacity: .9;
  background-color: #f68e4b;
}

.no-overlay .work:before,
.no-overlay .work .wrapper {
  display: none;
  content: none;
}

.work img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work .wrapper {
  position: absolute;
  top: 50%;
  left: -50%;
  width: 100%;
  transform: translate(-50%, -50%);
}

.work .style-6 {
  max-width: 85%;
  margin-left: auto;
  margin-right: auto;
}

.work .feature {
  max-width: 300px;
  margin: auto;
  margin-bottom: 1rem;
  color: #ffffff;
  font: normal normal 16px/1.4em 'Lato';
  text-transform: capitalize;
}

.work:before,
.work .wrapper {
  transition: left .6s ease-in;
}

/* Work Links/Buttons */

.work a {
  position: relative;
  display: block;
  margin: auto;
  margin-bottom: 1rem;
  height: 33px;
  width: 200px;
  color: #2389ca;
  color: #ffffff;
  background-color: #2389ca;
  border: 3px solid #2389ca;
  border-radius: 5px;
  font: normal bold 16px/.8em 'Lato';
  text-transform: uppercase;
  text-align: left;
  overflow: hidden;
}

.work a i {
  position: absolute;
  top: 50%;
  right: .5rem;
  transform: translateY(-50%);
}

.work a span {
  position: relative;
  display: inline-block;
  height: 100%;
  padding-left: .5rem;
  color: #2389ca;
  line-height: 26px;
  z-index: 1;
  transition: color .5s ease-in;
}

.work a span:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: -40px;
  transform: skew(-20deg);
  width: 200px;
  height: 100%;
  background-color: #ffffff;
  z-index: -1;
  transition: left .5s ease-in;
}

.work a.view-portfolio {
  display: none;
}

/*** Work | Hover States ***/

.work:hover:before {
  left: 0;
}

.work:hover .wrapper {
  left: 50%;
}

/* Links / Buttons */

.work a:hover span {
  color: #ffffff;
  transition: color .5s ease-out;
}

.work a:hover span:before {
  left: -250px;
  transition: left .5s ease-out;
}

@media (max-width:1500px) {
  .work {
    width: 33.3333333%;
    height: 19.76vw;
  }
}

/*********************************
* Recent Work
**********************************/

.recent-work .showcase {
  background-color: #232323;
}

.recent-work .work {
  width: 33.3333333%;
  height: 14.9vw;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

@media (max-width:1500px) {
  .recent-work .work {
    width: 50%;
    height: 22.5vw;
  }
}

/*********************************
* Graphic Design
**********************************/

.graphic-design .work {
  width: 50%;
  height: 49.4vw;
}

/*********************************
* Logo Design
**********************************/

.logo-design .work {
  width: 20%;
  margin: 2.5%;
  height: 12vw;
}

.logo-design {
  background-color: #fefefe;
}

/*********************************
* Website Design
**********************************/

.website-design .showcase {
  background-color: #232323;
}

.website-design .work {
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

/*********************************
* Mobile
**********************************/

/* 960px */

@media (max-width: 960px) {
  .work,
  .recent-work .work {
    width: 50%;
    height: 30vw;
  }

  .graphic-design .work {
    width: 100%;
    height: 100vw;
  }

  .logo-design .work {
    width: 50%;
    height: 30vw;
  }
}


@media (max-width: 500px) {
  .work,
  .recent-work .work {
    display: block;
    width: 100%;
    height: 60vw;
  }

  .website-design .work {
    box-shadow: inset 0 0 25px rgba(0, 0, 0, .25);
  }

  .recent-work .work {
    height: 60vw;
    box-shadow: inset 0 0 25px rgba(0, 0, 0, .65);
  }

  .graphic-design .work {
    box-shadow: none;
  }

  .logo-design .work {
    display: inline-block;
    width: 50%;
    height: 26vw;
    margin: .5rem 0;
    background-size: contain;
  }
}
