@import 'https://fonts.googleapis.com/css?family=Open+Sans|Roboto:300';

$padding:30px;

* { box-sizing: border-box; }

body { background: #e5dfc7; 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: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media (max-width:700px) {
body { background: #e5dfc7; overflow-x: hidden; }
.container {
  perspective: 800px;
  
  /* Styling */
  color: #fff;
  font-size: 16px;
  font-family: 'Open Sans', sans-serif;
  text-transform: uppercase;
  letter-spacing: 4px;
  
  /* Center it */
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
}}

.card {
  /* Styling */
  width: 600px;
  height: 350px;
  background: #efe5bd;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);  
  
  /* Card flipping effects */
  transform-style: preserve-3d;
  transition: 0.6s;
}
.side {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  /* Fix Chrome rendering bug */
  transform: rotate(0deg) translateZ(1px);
}

/* Flip the card on hover */
.container:hover .card,
.back {
  transform: rotateY(-180deg) translateZ(0px);
}

/* Front styling */
.front {
  /* Center the name + outline (almost) */
  line-height: 255px; /* Height - some (because visual center is a little higher than actual center) */
  text-align: center;
}
.logo {
  outline: 1px solid #656565;
  display: -webkit-inline-box;
  padding: 36px 40px;
  text-transform: uppercase;
  font-family: 'Roboto', sans-serif;
  font-size: 1.4em;
  font-weight: bold;
  line-height: 43px;
  letter-spacing: 8px;
  color: #0000008a;
}

/* Back styling */
.back {
  background: #e4e7ba;
  text-align: center;
  line-height: 16px;
}
.name {
  color: #748154;
  margin-bottom: 0;
}
p {
  margin: 0.8em 0;
}
.info {
  position: initial;
  color: #3b3b3b;
}
.property {
  color: black;
  font-weight: bold;
}
.infod {
  color: #fff;
  position: absolute;
}
/* Make semi-responsive */
@media (max-width:700px) {
  .card {transform: scale(0.65);}
  .container:hover .card { transform: scale(.5) rotateY(-180deg) translateZ(1px); }
}