@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

: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;
}

body {
  background-color: var(--grey900);
}

p {
  font-size: 14px;
}

.container {
  background-color: var(--grey800);
  width: 24rem;
  height: 38rem;
  margin: 0 auto;
  margin-top: 10.8rem;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-img {
  background-image: url("assets/images/avatar-jessica.jpeg");
  display: block;
  width: 5.5rem;
  height: 5.5rem;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 50%;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.profile-info {
  text-align: center;
  margin-bottom: 1.5rem;
}

.profile-info h1 {
  color: var(--white);
  margin-bottom: 4px;
  font-weight: 600;
}

.profile-info h3 {
  color: var(--green);
  font-weight: 500;
}

.container p {
  color: var(--white);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.profile-links {
  display: inline-block;
  padding: 0 5.5rem;
}

.profile-links li {
  list-style: none;
  display: block;
}

.profile-links a:link,
a:visited {
  display: block;
  text-decoration: none;
  font-weight: 500;
  color: var(--white);
  background-color: var(--grey700);
  text-align: center;
  width: 100%;
  padding: 0 5.5rem;
  margin: 1rem 0;
  line-height: 2.81rem;
  text-wrap: nowrap;
  border-radius: 10px;
  transition: color 0.6s, background-color 0.6s;
}

.profile-links a:hover {
  background-color: var(--green);
  color: black;
}
