* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100vh;
  font-family: "Source Sans Pro", system-ui, -apple-system, sans-serif;
}

body {
  position: relative;
}

/* CHOP 2020 - Andrew Kvalheim / Wikimedia Commons (CC BY-SA 4.0) */
.bg {
  position: fixed;
  inset: 0;
  background: url('https://upload.wikimedia.org/wikipedia/commons/f/f1/Audience_gathering_around_a_public_speaker_at_the_Capitol_Hill_Occupied_Protest.jpg') center center / cover no-repeat;
  filter: saturate(0.6) brightness(0.92) contrast(1.05);
  z-index: 0;
}

/* Muted overlay */
.bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(50, 55, 65, 0.35);
  mix-blend-mode: multiply;
}

main {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.card {
  background: #ffffff;
  opacity: 0.95;
  padding: 4.5em 3em 3em;
  border-radius: 4px;
  text-align: center;
  width: min(27em, 100%);
  color: #414f57;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.card header {
  margin-bottom: 0;
}

.card .avatar {
  position: relative;
  display: block;
  margin-bottom: 1.5em;
}

.card .avatar img {
  display: block;
  margin: 0 auto;
  border-radius: 100%;
  box-shadow: 0 0 0 1.5em #ffffff;
  max-width: 122px;
}

/* Line through the middle (behind avatar) */
.card .avatar::before {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  left: -3em;
  width: calc(100% + 6em);
  height: 1px;
  z-index: -1;
  background: #c8cccf;
}

.card h1 {
  font-size: 1.85em;
  font-weight: 300;
  margin: 0 0 0.25em;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #313f47;
}

.card .pronouns {
  font-size: 0.9em;
  margin: 0;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #414f57;
}

.card hr {
  border: none;
  height: 1px;
  background: #c8cccf;
  margin: 1.5em 0;
}

.card nav.icons {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  padding: 0.5em 0;
}

.card nav.icons a {
  display: block;
  padding: 0.5em;
  color: #c8cccf;
  transition: color 0.2s ease;
}

.card nav.icons a:hover {
  color: #ff7496;
}

.card nav.icons svg {
  display: block;
}

@media screen and (max-width: 480px) {
  .card {
    padding: 4em 2em 2.5em;
  }

  .card .avatar::before {
    left: -2em;
    width: calc(100% + 4em);
  }
}

.credit {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  opacity: 0.6;
  margin: 0;
  color: #fff;
}
