@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

:root {
  --green: hsl(75, 94%, 57%);
  --white: hsl(0, 0%, 100%);
  --grey-700: hsl(0, 0%, 20%);
  --grey-800: hsl(0, 0%, 12%);
  --grey-900: hsl(0, 0%, 8%);
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--grey-900);
  color: var(--white);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.profile-link-card-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.profile-link-card {
  background-color: var(--grey-800);
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  max-width: 350px;
  width: 100%;
  padding: 2rem;
  text-align: center;
}

.profile-picture {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.socials-owner-name {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: 0.5rem 0 0.5rem 0;
  font-weight: 600;
}

.socials-owner-location {
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  color: var(--green);
  font-weight: 700;
  margin: 0;
}

.socials-owner-bio {
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  color: var(--grey-700);
  font-weight: 600;
  margin: 2rem 0 1rem 0;
}

.social-link-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  background-color: var(--grey-700);
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
  transition: background-color 0.3s ease;
}

.social-link:last-child {
  margin-bottom: 0;
}

.social-link:hover {
  background-color: var(--green);
  color: var(--grey-900);
}

.social-link:focus {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.attribution {
  font-size: 11px;
  text-align: center;
  margin-top: 1rem;
}

.attribution a {
  color: hsl(228, 45%, 44%);
}

@media (max-width: 600px) {
  .profile-link-card {
    max-width: 300px;
  }
}
