@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  background-color: hsl(0, 0%, 8%);
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center; /* centers .card vertically */
  align-items: center;
  position: relative;
}

.card {
  width: 350px;
  height: 560px;
  background-color: hsl(0, 0%, 12%);
  margin-bottom: 60px;
  border-radius: 10px;
  color: white;
  text-align: center;
}

.card .profile-image {
  display: block;
  width: 100px;
  height: 100px;
  margin: 40px auto 15px;
}

.card .profile-image img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.card .name {
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 15px;
}

.card .location {
  font-weight: 500;
  color: hsl(75, 94%, 57%);
  margin-bottom: 15px;
  font-size: 12px;
}

.card .about {
  font-size: 12px;
  margin-top: 30px;
  margin-bottom: 15px;
}

.card .social-links {
  width: 80%;
  margin: 0 auto;
  display: block;
}

.card .social-links ul {
  list-style-type: none;
}

.card .social-links ul li {
  background-color: hsl(0, 0%, 20%);
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 15px;
}

.card .social-links ul li a {
  text-decoration: none;
  width: 100%;
  height: 100%;
  color: white;
  display: block;
}

.card .social-links ul li:hover {
  background-color: hsl(0, 0%, 8%);
  cursor: pointer;
}

.card .social-links ul li:hover a {
  color: hsl(75, 94%, 57%);
}

.attribution {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 12px;
  text-align: center;
}

.attribution a {
  color: hsl(75, 94%, 57%);
  text-decoration: none;
}
