* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  background-color: hsl(0, 0%, 8%);
  color: hsl(0, 0%, 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.card {
  background-color: hsl(0, 0%, 12%);
  padding: 2.25rem;
  border-radius: 0.75rem;
  text-align: center;
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.profile-picture {
  width: 80px;
  border-radius: 50%;
  margin: 0 auto;
}

.name {
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: -0.5rem;
  margin-top: 0.35rem;
}

.location {
  color: hsl(75, 94%, 57%);
  font-weight: 600;
  margin: 0;
  font-size: 0.775rem;
}

.description {
  margin-top: 0.45rem;
  font-size: 0.745rem;
}

/* Links */
.social-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.4rem;
}

.social-links a {
  display: block;
  background-color: hsl(0, 0%, 20%);
  color: hsl(0, 0%, 100%);
  text-decoration: none;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.8rem;
  transition: background-color 0.3s ease;
}

.social-links a:hover,
.social-links a:focus {
  background-color: hsl(75, 94%, 57%);
  color: hsl(0, 0%, 8%);
}

.attribution {
  position: absolute;
  bottom: 0.5rem;
  width: 100%;
  font-size: 0.6875rem;
  text-align: center;
}

.attribution a {
  color: hsl(228, 45%, 44%);
}
