html,
body {
  margin: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  place-content: center;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  background: #444 url('assets/vcard-bg.jpg') no-repeat center;
  background-size: cover;
}
.container {
  display: flex;
  flex-direction: column;
  place-content: center;
  padding: 1rem;
}
.card {
  position: relative;
  display: flex;
  place-content: center;
  text-align: center;
  margin: 10px;
  padding: 20px;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 25px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  font-size: 14px;
  transition: all 0.2s ease-in-out;
  box-sizing: border-box;
}
.card::after,
.card::before {
  content: '';
  display: block;
  clear: both;
}
.card img {
  display: inline-block;
  width: 100%;
  height: 150px;
  max-width: 150px;
  border-radius: 50%;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
  transition: all 0.5s ease-in-out;
  aspect-ratio: 1;
	object-fit: cover;
}
.card .details {
  text-align: left;
  transition: all 0.5s ease-in-out;
  text-shadow: 1px 1px rgba(0, 0, 0, 0);
  min-width: 300px;
}
.card .details > span,
.card .details > a {
  display: block;
  padding: 0 0 0 15px;
  margin-bottom: 10px;
  text-decoration: none;
  position: relative;
}
.card .details > span::before,
.card .details > a::before {
  display: inline-block;
  font: normal normal normal 13px/1 FontAwesome;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin-right: 10px;
  width: 15px;
  text-align: center;
  color: #444;
}
.card .details a {
  color: #dc6129;
  transition: color 0.5s ease-in-out;
}
.card .details a:hover {
  color: #b65528;
}
.card .details .name {
  font-weight: bold;
}
.card .details .name::before {
  content: '\f2c0';
}
.card .details .title::before {
  content: '\f2c1';
}
.card .details .organization::before {
  content: '\f1ad';
}
.card .details .phone::before {
  content: '\f095';
}
.card .details .mobile::before {
  content: '\f10b';
}
.card .details .email::before {
  content: '\f003';
}
.card .details .website::before {
  content: '\f0ac';   /* f109 - laptop */
}
.card button {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.card button,
.create-account button {
  display: flex;
  color: #fff;
  font-weight: bold;
  line-height: 1rem;
  padding: 0.5rem 1rem;
  background-color: #dc6129;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 150ms ease-in-out;
  min-width: 180px;
  place-content: center;
}
.card button:hover,
.create-account button:hover {
  background-color: #b65528;
}
.card button i,
.create-account button i {
  margin-left: 0.5em;
  font-size: 1rem;
}
.create-account {
  margin: 20px 10px 0;
  display: flex;
  place-content: center;
}
.brand {
  display: flex;
  place-content: center;
  margin: 10px;
  padding: 30px;
}
@media (max-width: 767px) {
  .container {
    padding: 0;
  }
  .card {
    display: block;
    width: auto;
    max-width: 300px;
    margin: 15px auto;
    padding-bottom: 30px;
  }
  .card img {
    margin: 0 auto;
  }
  .card .details {
    margin-top: 15px;
    min-width: 0;
  }
  .card .details span,
  .card .details a {
    padding: 0;
    white-space: break-all;
    word-wrap: break-word;
  }
}
