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

* {
  box-sizing: border-box;
}

body {
  background: white;
  font-family: "Raleway";
}

body .card {
  width: 90%;
  max-width: 950px;
  height: auto;
  position: absolute;
  background: white;
  margin: 0 auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  transition: all 0.3s;
  padding: 20px;
}

body .card:hover {
  box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

body .card nav {
  width: 100%;
  color: #727272;
  text-transform: uppercase;
  padding: 20px 0;
  border-bottom: 2px solid #efefef;
  font-size: 12px;
}

body .card nav svg.heart {
  height: 24px;
  width: 24px;
  float: right;
  margin-top: -3px;
  transition: all 0.3s ease;
  cursor: pointer;
}

body .card nav svg.heart:hover {
  fill: red;
}

body .card nav svg.arrow {
  float: left;
  height: 15px;
  width: 15px;
  margin-right: 10px;
}

body .card .photo {
  padding: 30px;
  width: 100%;
  text-align: center;
}

body .card .photo img {
  max-width: 100%;
  height: auto;
}

body .card .description {
  padding: 30px;
  width: 100%;
  border-top: 2px solid #efefef;
}

body .card .description h1 {
  color: #515151;
  padding-top: 15px;
  margin: 0;
  font-size: 30px;
  font-weight: 300;
}

body .card .description h2 {
  color: #515151;
  margin: 0;
  text-transform: uppercase;
  font-weight: 500;
}

body .card .description h4 {
  margin: 0;
  color: #727272;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 12px;
}

body .card .description p {
  font-size: 12px;
  line-height: 20px;
  color: #727272;
  padding: 20px 0;
  margin: 0;
}

body .card .description button {
  outline: 0;
  background: none;
  border: 1px solid #d9d9d9;
  padding: 8px 0px;
  margin-bottom: 30px;
  color: #515151;
  text-transform: uppercase;
  width: 150px;
  font-family: inherit;
  margin-right: 5px;
  transition: all 0.3s ease;
  font-weight: 500;
}

body .card .description button:hover {
  border: 1px solid #205abe;
  color: #205abe;
  cursor: pointer;
}

@media (min-width: 768px) {
  body .card {
    width: 80%;
    max-width: 950px;
  }

  body .card .photo {
    width: 45%;
    float: left;
  }

  body .card .description {
    width: 55%;
    float: left;
    border-left: 2px solid #efefef;
    border-top: none;
  }
}

@media (min-width: 1024px) {
  body .card {
    width: 70%;
    max-width: 950px;
  }
}
