
.container {
  text-align: center;
}
.card {
  font-family: 'Roboto Condensed', Arial, sans-serif;
  -webkit-perspective: 100;
  -webkit-transform-style: preserve-3d;
  position: relative;
  height: 70px;
  width: 150px;
  display: inline-block;
  margin: 0 5px;
}
.card .front,
.card .back {
  overflow: hidden;
  text-align: left;
  box-shadow: rgba(0, 0, 0, 0.7) 0 2px 2px -2px;
  background: #fff;
  border-radius: 5px;
  backface-visibility: hidden;
  background-color: #222;
  color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: all 0.3s ease-in-out;
}
.card .front {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center  center;
  transform: rotateY(0);
  z-index: 2;
}
.card .front .title {
  text-shadow: rgba(0, 0, 0, 0.5) 0 1px 1px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0);
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.5)));
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
  background: -moz-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
  background: -ms-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
  background: -o-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
}
.card .front .title h2 {
  margin: 20;
  padding: 10;
  font-weight: 10;
  font-size: 15px;
}
.card .back {
  background: #333;
  transform: rotateY(-130deg);
  padding: 20px;
}
.card .back p {
  margin: 0 0 10px 0;
}
.card .back .btn {
  position: absolute;
  bottom: 0px;
  left: 15px;
  right: 10px;
}
.card .btn {
  padding: 25px;
  display: block;
  text-decoration: none;
  border-radius: 1px;
  text-align: center;
}
.card .btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
.card:hover .front {
  transform: rotateY(180deg);
}
.card:hover .back {
  transform: rotateY(0);
}