: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%);
  --F-size: 14px;
}

/* [Weights: 400, 600, 700] */
@font-face {
  font-family: 'Inter';
  src: url('./assets/fonts/static/Inter-Regular.ttf') format('truetype');
  font-weight: 400;
}
@font-face {
  font-family: 'Inter';
  src: url('./assets/fonts/static/Inter-SemiBold.ttf') format('truetype');
  font-weight: 600;
}
@font-face {
  font-family: 'Inter';
  src: url('./assets/fonts/static/Inter-Bold.ttf') format('truetype');
  font-weight: 700;
}

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

body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 0 10px;
  background-color: var(--grey-900);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: var(--F-size);
  text-align: center;
}

.card {
  width: clamp(230px, 90%, 330px);
  background-color: var(--grey-800);
  border-radius: 8px;
  padding: 15px;
  justify-content: center;
}

.card__profile-avatar {
  width: 90px;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: contain;
  margin: 25px auto;
}

.card__profile-name {
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 10px;
}

.card__location {
  color: var(--green);
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 0.9em;
}

.card__profile-bio {
  margin: 15px 0 10px;
  font-size: clamp(0.8em, 1.2vw, 0.9em);
  opacity: 0.85;
}

.card__links-container {
  display: grid;
  gap: 13px;
  padding: 10px 20px;
}

.button {
  padding: 10px 15px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9em;
  text-decoration: none;
}

.card__social-link {
  background-color: var(--grey-700);
  color: var(--white);
}

.card__social-link:hover {
  background-color: var(--green);
  color: var(--grey-900)
}