:root {
  --green: hsl(75, 94%, 57%);
  --gray-700: hsl(0, 0%, 20%);
  --gray-800: hsl(0, 0%, 12%);
  --gray-900: hsl(0, 0%, 8%);
  --spacing-500: 2.5rem;
  --spacing-300: 1.5rem;
  --spacing-200: 1rem;
  --spacing-150: 0.75rem;
  --spacing-100: 0.5rem;
  --spacing-50: 0.25rem;
  --text-large: 1.5rem;
  --text-regular: 0.875rem;
  --fontweight-bold: 700;
  --fontweight-semibold: 600;
  --fontweight-regular: 400;
}

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

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: var(--gray-900);
  color: #fff;
  text-align: center;
  line-height: 1.5;
  font-weight: var(--fontweight-regular);
  font-size: var(--text-regular);
  font-family: "Inter", sans-serif;
}

.social-profile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-300);
  background: var(--gray-800);
  padding: clamp(var(--spacing-300), 1.502vw + 1.148rem, var(--spacing-500));
  border-radius: 12px;
}

.social-profile__image > img {
  height: 88px;
  width: 88px;
  border-radius: 50%;
}

.social-profile-details {
  font-weight: var(--fontweight-semibold);
}

.social-profile__name {
  font-size: var(--text-large);
  margin-bottom: var(--spacing-50);
}

.social-profile__location {
  color: var(--green);
}

.social-profile__links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-200);
  width: 100%;
  list-style: none;
  font-weight: var(--fontweight-bold);
}

.social-profile__link > a {
  display: inline-block;
  padding: var(--spacing-150);
  text-decoration: none;
  color: #fff;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background: var(--gray-700);
  transition: background 0.6s, color 0.6s;
}

.social-profile__link > a:hover,
.social-profile__link > a:focus-visible {
  cursor: pointer;
  background: var(--green);
  color: var(--gray-700);
}
