* {
  margin: 0;
  padding: 0;
}
@font-face {
  font-family: "inter";
  src: url("./assets/fonts/Inter-VariableFont_slntwght.ttf") format("truetype");
}

html {
  font-family: "inter";
  font-size: 14px;
}
body {
  background-color: hsl(0, 0%, 8%);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

div.container {
  box-sizing: border-box;
  background-color: hsl(0, 0%, 12%);
  width: 370px;
  height: 600px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  border-radius: 15px;
  gap: 12px;
}
ul {
  width: 100%;
}

ul li {
  background-color: hsl(0, 0%, 20%);
  list-style: none;
  margin-top: 15px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

ul li:hover {
  background-color: hsl(75, 94%, 57%);
  color: hsl(0, 0%, 8%);
}

a,
a:hover,
a:active,
a:visited {
  text-decoration: none;
  color: hsl(0, 0%, 100%);
}

a:hover {
  color: hsl(0, 0%, 20%);
}

img.profile_avatar {
  width: 100px;
  height: 100px;
  border-radius: 100px;
}

div.profile-info {
  height: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

h1 {
  color: hsl(0, 0%, 100%);
  font-weight: 700;
  font-size: 1.71rem;
  margin-top: 6%;
}

span.location {
  color: hsl(75, 94%, 57%);
  font-weight: 600;
  font-size: 1rem;
  line-height: 3;
}

p {
  color: hsl(0, 0%, 100%);
  font-weight: 400;
  margin-top: auto;
}

@media only screen and (max-width: 432px) {
  html {
    font-size: 16px;
  }
  div.container {
    height: 95%;
    width: 90%;
    max-height: 600px;
    min-width: 340px;
    justify-content: space-evenly;
    padding: 6px;
    line-height: 1.5;
  }
  img.profile_avatar {
    width: 150px;
    height: 150px;
    border-radius: 100px;
  }
  div.profile-info {
    height: max-content;
  }
  h1 {
    margin-top: 0;
  }
  span.location {
    line-height: normal;
  }
  ul li {
    max-height: 50px;
  }
}
