@font-face {
  font-family: 'Inter';
  src: url('./font/static/Inter-Regular.ttf') format('ttf'),
       url('./font/static/Inter-Regular.ttf') format('ttf');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Inter';
  src: url('./font/static/Inter-SemiBold.ttf') format('ttf'),
       url('./font/static/Inter-SemiBold.ttf') format('ttf');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Inter';
  src: url('./font/static/Inter-Bold.ttf') format('ttf'),
       url('./font/static/Inter-Bold.ttf') format('ttf');
  font-weight: 700;
  font-style: normal;
}
body {
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: hsl(0, 0%, 8%);
  width: 100%;
  height: 100vh;
  margin: 0;
}
.card {
  width: 23rem;
  background-color: hsl(0, 0%, 12%);
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 10px;
  padding:0.5rem 0.5rem 1.5rem 0.5rem;
  margin: auto;
}
.profile {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
}
.profileImage {
  border-radius: 50%;
  margin-top: 2rem;
  margin-bottom: 0;
  width: 5.5rem;
  height: 5.5rem;
}
.profileName {
  color: hsl(0, 0%, 100%);
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 0;
  padding: 0;
}
.profileLocation {
  color: hsl(75, 94%, 57%);
  font-size: 0.88rem;
  padding: 0;
  margin-bottom: 2rem;
}
.profileDescription {
  color: hsl(0, 0%, 80%);
  font-size: 0.92rem;
  font-weight: 400;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

ul {
  list-style-type: none;
  padding: 0;
  display: flex;
  text-align: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
}
li {
  font-weight: bold;
  padding: 0;
  text-align: center;
  color: hsl(0, 0%, 100%);
  background-color: hsl(0, 0%, 20%);
  width: 19rem;
  height: 1rem;
  padding: 0.9rem 0;
  border-radius: 8px;
  font-size: 0.85rem;
}
li:hover {
  background-color: hsl(75, 94%, 57%);
  color:hsl(0, 0%, 20%);
  cursor: pointer;
}

.attribution {
  width: 23rem;
  height: fit-content;
  font-size: 0.8rem;
  margin: auto;
  color: hsl(0, 0%, 100%);
  display: flex;
  justify-content: center;
  align-items: center;
}
.attribution a {
  color: hsl(228, 45%, 44%);
}
footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  color: hsl(0, 0%, 100%);
  font-size: 0.8rem;
  padding: 1rem;
}
@media (max-width: 375px) {
  .card {
    width: 20rem;
    padding:0.5rem;
  }
  .profile__image {
    margin-top: 1rem;
  }
  li {
    width: 18rem;
  }
  .attribution {
    width: 20rem;
  }
}