@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 {
  --color-green: hsl(75, 94%, 57%);
  --color-white: hsl(0, 0%, 100%);
  --color-grey-700: hsl(0, 0%, 20%);
  --color-grey-800: hsl(0, 0%, 12%);
  --color-grey-900: hsl(0, 0%, 8%);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--color-grey-900);
  color: var(--color-white);
}

main {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100svh;
  padding: 1rem;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 375px;
  padding: 2.5rem;
  border-radius: 0.75rem;
  background-color: var(--color-grey-800);
}

.profile-img > img {
  width: 75px;
  border-radius: 50%;
}

.title {
  font-size: 2rem;
  font-weight: 700;
}

.location {
  font-size: 14px;
  color: var(--color-green);
}

.description {
  font-size: 14px;
}

.links-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  width: 100%;
  list-style: none;
}

.link {
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.5rem;
  background-color: var(--color-grey-700);
  margin: 0;
  text-align: center;
  cursor: pointer;
}

.link:hover > a {
  color: var(--color-green);
}

.link > a {
  text-decoration: none;
  color: var(--color-white);
  font-size: 14px;
  font-weight: 500;
}
