:root {
  --clr-green: hsl(75, 94%, 57%);
  --clr-white: hsl(0, 0%, 100%);
  --clr-grey-700: hsl(0, 0%, 20%);
  --clr-grey-800: hsl(0, 0%, 12%);
  --clr-grey-900: hsl(0, 0%, 8%);

  --font-size-body: 1.4rem;

  --font-inter: "Inter", sans-serif;

  --font-body: var(--font-inter);

  --bg-body: var(--clr-grey-900);
  --bg-social: var(--clr-grey-800);
}

*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-size: var(--font-size-body);
  font-family: var(--font-body);
  background-color: var(--bg-body);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.social {
  background-color: var(--bg-social);
  max-width: 38rem;
  width: 100%;
  margin: 2.4rem;
  padding: 2.4rem;
  border-radius: 10px;
  text-align: center;
}

.social__img {
  width: 8.6rem;
  height: 8.6rem;
  border-radius: 50px;
  margin-bottom: 2.4rem;
}

.social__title {
  color: var(--clr-white);
  font-size: 2.4rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.social__location {
  color: var(--clr-green);
  font-size: 1.4rem;
  margin-bottom: 3rem;
  font-weight: 600;
}

.social__about {
  color: var(--clr-white);
  margin-bottom: 2.4rem;
}

.social__links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.social__link {
  display: block;
  background-color: var(--clr-grey-700);
  padding: 1.5rem;
  border-radius: 10px;
  color: var(--clr-white);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}

.social__link:hover {
  background-color: var(--clr-green);
  color: var(--clr-grey-900);
}

@media screen and (min-width: 400px) {
  .social {
    padding: 3.8rem;
  }
}
