@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --Green: hsl(75, 94%, 57%);
  --White: hsl(0, 0%, 100%);
  --Grey-700: hsl(0, 0%, 20%);
  --Grey-800: hsl(0, 0%, 12%);
  --Grey-900: hsl(0, 0%, 8%);
}

html,
body {
  height: 100%;
  font-size: 62.5%;
  
  font-family: "Inter", sans-serif;
  font-weight: 400;
}

main {
  width: 100%;
  height: 100%;
  background-color: var(--Grey-900);
  display: flex;
  justify-content: center;
  align-items: center;
}

article {
  width: 87.5%;
  max-width: 425px;
  height: 70%;
  min-height: 595px;
  background-color: var(--Grey-800);
  border-radius: 12px;
  padding: 5px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

@media screen and (min-width: 1440px) {
  article{
    padding: 30px 45px;
  }
}

.user-profile-container {
  width: 100%;
  height: 42.5%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.user-avatar {
  width: 30%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 1;
  border-radius: 50%;
}

.user-name {
  font-weight: 700;
  color: var(--White);
  font-size: 2.6rem;
  margin-bottom: 4px;
}

.user-location {
  color: var(--Green);
  font-size: 1.5rem;
  font-weight: 700;
}

.user-bio {
  color: var(--White);
  font-size: 1.4rem;
}

.list-links-container {
  width: 100%;
  height: calc(100% - 42.5%);
  
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}

.list-links-container > li {
  list-style: none;
  width: 100%;
  color: var(--White);
  background-color: var(--Grey-700);
  text-align: center;
  font-size: 1.45rem;
  padding: 14px;
  border-radius: 10px;
  font-weight: 600;
}

li:hover {
  cursor: pointer;
  background-color: var(--Green);
  color: var(--Grey-800);
}
