@import url(https://fonts.googleapis.com/css?family=Lato);
@import url(https://fonts.googleapis.com/css?family=Oswald);
@import url(https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css);

body {
  background-color: #fff;
  height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.card {
  font-family: 'Lato', Arial, sans-serif;
  position: relative;
  display: inline-block;
  overflow: hidden;
  margin: 20px;
  min-width: 250px;
  max-width: 700px;
  width: 100%;
  background-color: #ffffff;
  color: #2b2b2b;
  text-align: center;
  font-size: 32px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}

.card * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.card .profile-image {
  padding: 15% 10% 0;
}

.card .profile-image img {
  max-width: 100%;
  vertical-align: top;
  position: relative;
  border-radius: 50%;
  max-width: 40%;
}

.card figcaption {
  padding: 5% 10% 15%;
}

.card h3 {
  font-family: 'Oswald';
  text-transform: uppercase;
  font-size: 38px;
  font-weight: 400;
  line-height: 36px;
  margin: 3px 0;
}

.card h5 {
  font-weight: 200;
  margin: 0;
  text-transform: uppercase;
  color: #888;
  letter-spacing: 1px;
}

.card .icons i {
  color: #999;
  display: inline-block;
  margin-right: 5px;
  font-size: 3.5em;
  padding: 30px;	
}

.card .icons i:hover {
  color: #555;
}

.card .icons i a {
  text-decoration: none;
}
