@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");

:root {
  --white: hsl(0, 0%, 100%);
  --gray: hsl(0, 0%, 20%);
  --dark-gray: hsl(0, 0%, 12%);
  --black: hsl(0, 0%, 8%);
  --green: hsl(75, 94%, 57%);
}

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

body {
  font-size: 14px;
  background: var(--black);
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.attribution {
  font-size: 11px;
  text-align: center;
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
}

.attribution a {
  color: hsl(228, 45%, 44%);
}

.container {
  width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 2rem;
  background-color: var(--dark-gray);
  border-radius: 10px;
}

.profile-pic {
  border-radius: 50%;
  width: 100px;
}

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

.profile-name {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 600;
}

.profile-city {
  color: var(--green);
  font-weight: 600;
  font-size: 0.9rem;
}

.social-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}

.social-link {
  text-decoration: none;
  color: var(--white);
  font-weight: 600;
}

.social-box {
  border-radius: 10px;
  padding: 1rem 2rem;
  background-color: var(--gray);
  text-align: center;
  width: 100%;
  transition: all .2s ease-in-out;
}

.social-box:hover {
  color: var(--gray);
  background-color: var(--green);
}
