:root {
  --green: hsl(75, 94%, 57%);
  --white: hsl(0, 0%, 100%);
  --grey700: hsl(0, 0%, 20%);
  --grey800: hsl(0, 0%, 12%);
  --grey900: hsl(0, 0%, 8%);
}

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

  font-family: "Inter", sans-serif;
  text-decoration: none;
  color: inherit;
  line-height: 150%;
}

body {
  background-color: var(--grey900);
  color: var(--white);
  height: 100vh;
  width: 100%;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  width: 100%;
  height: 100%;
  padding: 0 1.5rem;
}

.socials {
  display: flex;
  flex-direction: column;

  gap: 1.5rem;
  width: 100%;
  max-width: 384px;
  margin: 0 auto;
  padding: 2.5rem;
  background-color: var(--grey800);
  border-radius: 0.75rem;
  text-align: center;
}

.socials__avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto;
}

.socials__infos {
  display: flex;
  flex-direction: column;

  gap: 0.25rem;
}

.socials__infos-name {
  font-size: 24px;
  font-weight: 600;
}

.socials__infos-location {
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
}

.socials__bio {
  font-size: 14px;
  font-weight: 400;
}

.socials__links {
  display: flex;
  flex-direction: column;

  gap: 1rem;
}

.socials__link {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 100%;
  height: 45px;
  font-size: 14px;
  font-weight: 600;
  background-color: var(--grey700);
  border-radius: 0.5rem;
}

.socials__link:hover {
  color: var(--grey900);
  background-color: var(--green);
}

@media screen and (max-width: 768px) {
  .socials {
    max-width: 456px;
  }
}
@media screen and (max-width: 480px) {
  .socials {
    padding: 1.5rem;
  }
}
