* {
  box-sizing: border-box;
}
body {
  font-family: "Inter", sans-serif;
  font-size: 21px;
  line-height: 1.6;
  color: hsl(0, 0%, 100%);
  background-color: hsl(0, 0%, 8%);
  margin: 0;
  padding: 0;
}

.main {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.profile-card {
  background-color: hsl(0, 0%, 12%);
  width: 100%;
  max-width: 375px;
  padding: 27px;
  border-radius: 15px;
  text-align: center;
}

#profile-photo {
  border-radius: 50%;
  margin-bottom: 3px;
}
#name {
  font-size: 28px;
  color: hsl(0, 0%, 100%);
  margin-bottom: 4px;
  font-weight: bold;
}
#location {
  font-size: 16px;
  color: hsl(75, 94%, 57%);
  margin-top: 0px;
  font-weight: bold;
}

#bio {
  font-size: 17px;
  color: hsl(0, 0%, 50%);
  margin-top: 22px;
  margin-bottom: 22px;
}

.social-links ul {
  list-style: none;
  padding: 0;
}

.link-card {
  background-color: hsl(0, 0%, 20%);
  display: block;
  width: 100%;
  margin: 18px 0;
  padding: 11px 0;
  align-items: center;
  text-align: center;
  border-radius: 8px;
  color: hsl(0, 0%, 100%);
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}
.link-card:hover {
  background-color: hsl(75, 94%, 57%);
  color: hsl(0, 0%, 8%);
}
.link-card:focus-visible {
  outline: 2px solid hsl(75, 94%, 57%);
  outline-offset: 2px;
}
.attribution {
  font-size: 0.6875rem;
  text-align: center;
}
.attribution a {
  color: hsl(228, 45%, 44%);
}
@media (min-width: 768px) {
  body {
    font-size: 14px;
  }

  .main {
    padding: 24px;
  }

  .profile-card {
    max-width: 440px;
    padding: 40px;
  }

  #profile-photo {
    width: 88px;
    height: 88px;
  }

  #name {
    font-size: 28px;
    margin-bottom: 4px;
  }

  #location {
    font-size: 16px;
    margin-top: 0px;
  }

  #bio {
    font-size: 17px;
    margin-top: 22px;
    margin-bottom: 22px;
  }

  .link-card {
    margin: 18px 0;
    padding: 11px 0;
    font-size: 16px;
  }
}
