@import url('https://fonts.googleapis.com/css?family=Raleway:200,300,400,800');

figure.card {
  font-family: 'Raleway', Arial, sans-serif;
  position: relative;
  overflow: hidden;
  margin: 10px;
  min-width: 380px;
  max-width: 480px;
  width: 100%;
  background: #fbff00;
  color: #000000;
  box-shadow: -8px 8px 4px #013f3f;
  text-align: right;
}

figure.card * {
  box-sizing: border-box;
  transition: all 0.35s ease-in-out;
}

figure.card .image {
  width: 50%;
  z-index: 1;
  transform: skewX(-15deg);
}

figure.card .image img {
  position: relative;
  display: block;
  left: -15%;
  z-index: 1;
  transform: skew(15deg);
}

figure.card figcaption {
  padding: 20px 30px 40px 20px;
  position: absolute;
  text-align: right;
  right: 0;
  bottom: 10px;
  width: 50%;
}

figure.card figcaption h2,
figure.card figcaption p {
  margin: 0;
  padding: 10px 0;
  width: 100%;
}

figure.card figcaption h2 {
  font-size: 1.3em;
  font-weight: 300;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

figure.card figcaption h2 span {
  font-weight: 800;
}

figure.card figcaption p {
  font-size: 0.9em;
  opacity: 0.8;
}

figure.card figcaption a {
  text-align: right;
  opacity: 0.3;
}

figure.card figcaption a:hover {
  opacity: 0.8;
}

figure.cardfooter {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 15px 30px;
  font-size: 0.9em;
  font-style: italic;
  background: teal;
  text-align: center;
}
