@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Outfit&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%);
}

* {
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  padding: 0;
  margin: 0;
}

body {
  background-color: var(--grey-900);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: auto;
  font-size: 1rem;
  color: var(--white);
}

.card {
  background-color: var(--grey-800);
  width: 380px;
  height: 620px;
  padding: 1.25rem;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.card .profile {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card .profile img {
  margin: 1rem 0 2rem 0;
  height: 80px;
  width: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.card .profile .name {
  font-weight: normal;
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.card .profile .location {
  color: var(--green);
  font-weight: bold;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.card .profile .job-title {
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.card .social-media {
  font-size: 0.6rem;
  display: flex;
  flex-direction: column;
}

.card .social-media button {
  background-color: var(--grey-700);
  color: var(--white);
  padding: 1rem 1rem;
  margin: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  border: none;
  font-weight: bold;
}

.card .social-media button:hover {
  background-color: var(--green);
  color: var(--grey-900);
}
