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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

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

body {
  font-family: "Inter", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;

  color: hsl(0, 0%, 100%);
}

.container {
  width: 100vw;
  height: 100vh;
  background-color: hsl(0, 0%, 8%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.links-card-container {
  width: 40rem;
  background-color: hsl(0, 0%, 12%);

  padding: 3.5rem;
  margin: 3rem;
  border-radius: 2rem;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-img {
  border-radius: 50%;
  height: 10rem;
}

.name {
  margin-top: 3rem;
}

.location {
  color: hsl(75, 94%, 57%);
  font-weight: 500;
  margin-top: 1.5rem;

  font-size: 1.6rem;
}

.job {
  margin-top: 3rem;
}

.links {
  margin-top: 2.5rem;
  width: 100%;

  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.link {
  color: inherit;
  text-decoration: none;
  font-weight: 600;

  width: 100%;

  background-color: hsl(0, 0%, 20%);
  padding: 1.5rem;

  border-radius: 1rem;

  transition: all 0.3s;
}

.link:hover,
.link:active {
  background-color: hsl(75, 94%, 57%);
  color: hsl(0, 0%, 20%);
}

/* Media Query BELOW  464px */
@media (max-width: 29em) {
  html {
    font-size: 50%;
  }
}
