.profile-cards {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.profile-card {
  display: flex;
  flex-flow: column;
  border: 1px solid #dedede;
  align-content: space-between;
  border-radius: 8px;
  padding: 8px 12px;
  width: 166px;
  height: 200px;
  margin: 6px;
}
.profile-card.p-c-tall {
  height: 300px;
}
.profile-card.p-c-taller {
  height: 320px;
}
.profile-card.p-c-xl {
  height: 360px;
}
.profile-card.starred {
  border-color: Red;
  background-color: #f8f0f0;
}
.profile-card:hover {
  border-color: royalblue;
}
.profile-card .p-image {
  flex-grow: 2;
  text-align: center;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-card .p-image img {
  border-radius: 50%;
}
.profile-card .p-name {
  text-align: center;
  margin-bottom: 6px;
  font-size: 1em;
  font-weight: bold;
  height: 3em;
  display: block;
}
.profile-card .p-details {
  text-align: center;
  z-index: 2;
}
.profile-card .p-detail {
  text-align: center;
  margin-bottom: 6px;
  font-size: 0.8em;
  font-weight: lighter;
  height: 3em;
}
.profile-card .p-buttons {
  text-align: center;
}
.profile-card .p-info {
  font-size: 0.8em;
}
.profile-card .p-stats {
  display: flex;
  border-top: 1px solid #dedede;
  margin-top: 6px;
  padding-top: 4px;
  justify-content: center;
}
.profile-card .p-stats .p-stat {
  margin: 3px;
  padding: 3px;
  display: flex;
  flex-flow: column;
  align-items: center;
}
.profile-card .p-stats .p-stat span {
  height: 50%;
  margin-top: 6px;
}
