body {
  background: #fff;
  color: #111;
  font-family: system-ui, sans-serif;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 420px;
  margin: 48px auto;
  padding: 2rem 1.5rem;
  border: 4px solid #111;
  border-radius: 20px;
  box-sizing: border-box;
  background: #fff;
}

.profile-section {
  display: flex;
  align-items: center;
  border-bottom: 4px solid #111;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  border: 4px solid #111;
  margin-right: 1.25rem;
  background: #eee;
}

.bio h1 {
  font-size: 1.6rem;
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.bio p {
  margin: 0.25em 0 0 0;
  font-size: 1rem;
  color: #222;
}

.links-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-btn {
  display: block;
  text-decoration: none;
  color: #fff;              /* Text is white */
  background: #111;         /* Background is black */
  border: 4px solid #111;
  border-radius: 10px;
  padding: 0.75em 0;
  font-size: 1.15rem;
  font-weight: 600;
  text-align: center;
  transition: background 0.15s, color 0.15s;
}

.social-btn:hover,
.social-btn:focus {
  background: #fff;         /* Background becomes white */
  color: #111;              /* Text becomes black */
}

@media (max-width: 500px) {
  .container {
    margin: 16px;
    padding: 1rem 0.5rem;
  }
  .profile-section {
    /* Keep row direction so avatar and h1 stay side by side */
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }
  .avatar {
    width: 100px;
    height: 100px;
    margin-right: 1.25rem;
    flex-shrink: 0;
  }
  .bio {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .bio h1 {
    font-size: 1.2rem;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.01em;
    /* Display to the right of avatar */
  }
  .bio p {
    margin-top: 1em;
    width: 100%;
    display: block;
    /* Place below the avatar+h1 row */
  }
}
