@import 'https://fonts.googleapis.com/css?family=Open+Sans|Roboto:300';
* {
  box-sizing: border-box;
}

body {
  background: #ffffff;
  overflow-x: hidden;
}

.container {
  perspective: 800px;
  /* Styling */
  color: #fff;
  font-family: "Open Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: 4px;
  /* Center it */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
   border-radius: 15px;
}

.card {
  /* Styling */
  width: 700px;
  height: 400px;
  background: #18ded1;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25), 0 3px 6px rgba(0, 0, 0, 0.35);
  /* Card flipping effects */
  transform-style: preserve-3d;
  transition: 0.6s;
   border-radius: 15px;
}


.side {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  /* Fix Chrome rendering bug */
  transform: rotate(0deg) translateZ(1px);
   border-radius: 15px;
}

/* Flip the card on hover */
.container:hover .card,
.back {
  transform: rotateY(-180deg) translateZ(1px);
}

/* Front styling */
.front {
  /* Center the name + outline (almost) */
  line-height: 390px;
  background-image: url(cart.png); 
  /* Height - some (because visual center is a little higher than actual center) */
  text-align: center;
}

.logo {
  outline: 2px solid #ffffff;
   border-radius: 15px;
  display: inline-block;
  padding: 15px 40px;
  text-transform: uppercase;
  font-family: "Roboto", sans-serif;
  font-size: 1.4em;
  font-weight: black;
  line-height: 30px;
  letter-spacing: 8px;
}

/* Back styling */
.back {
  background: #18ded1;
  padding: 30px;
  background-image: url(cart.png); 
}

.name {
  color: #3B3B3B;
  margin-bottom: 0;
}

p {
  margin: 0.8em 0;
}

.info {
  position: absolute;
  bottom: 30px;
  left: 30px;
  color: #3b3b3b;
}

.property {
  color: #fff;
}

img.rounded-corners {
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25), 0 3px 6px rgba(0, 0, 0, 0.35);
}

/* Make semi-responsive */
@media (max-width: 700px) {
  .card {
    transform: scale(0.5);
  }

  .container:hover .card {
    transform: scale(0.5) rotateY(-180deg) translateZ(1px);
  }
}