:root {
  --grey-900: #141414;
  --grey-800: #1f1f1f;
  --grey-700: #333333;
  --green: #c4f82a;
  --white: #ffffff;

  --space-500: 2.5rem;
  --space-300: 1.5rem;
  --space-200: 1rem;
  --space-150: 0.75rem;
  --space-100: 0.5rem;
  --space-50: 0.25rem;

  --radius-rg: 0.75rem;
  --radius-sm: 0.5rem;

  --font-lg: 1.5rem;
  --font-sm: 0.875rem;
}

@font-face {
  font-family: "Inter";
  src: url("./assets/fonts/static/Inter-Regular.ttf");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("./assets/fonts/static/Inter-Bold.ttf");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("./assets/fonts/static/Inter-SemiBold.ttf");
  font-weight: 600;
  font-display: swap;
}

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

.text-preset-1 {
  font-family: "Inter";
  font-size: var(--font-lg);
  line-height: 150%;
  letter-spacing: 0;
  font-weight: 600;
  color: var(--white);
}

.text-preset-2-bold {
  font-family: "Inter";
  font-size: var(--font-sm);
  line-height: 150%;
  letter-spacing: 0;
  font-weight: 700;
  color: var(--white);
}

.text-preset-2 {
  font-family: "Inter";
  font-size: var(--font-sm);
  line-height: 150%;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--white);
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--grey-900);
  font-family: "Inter", sans-serif;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-500);
  gap: var(--space-300);
  background-color: var(--grey-800);
  border-radius: var(--radius-rg);
  margin: auto 0;
  max-width: 384px;
  width: 100%;
}

.avatar {
  border-radius: 50%;
  width: 88px;
  height: 88px;
  object-fit: cover;
}

.header {
  display: flex;
  flex-direction: column;
  gap: var(--space-50);
  align-items: center;
}

.location {
  color: var(--green);
}

.socials {
  display: flex;
  flex-direction: column;
  gap: var(--space-200);
  align-self: stretch;
}

.button {
  border-radius: var(--radius-sm);
  padding: var(--space-150);
  background-color: var(--grey-700);
  border: none;
  font-family: inherit;
  transition: background-color 0.3s ease;

  &:hover,
  &:focus {
    background-color: var(--green);
    color: var(--grey-700);
    outline: none;
  }
}
