@font-face {
  font-family: "Inter";
  src: url("assets/fonts/static/Inter-Regular.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/static/Inter-Bold.ttf") format("truetype");
  font-weight: 700;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/static/Inter-SemiBold.ttf") format("truetype");
  font-weight: 600;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

*:not(dialog) {
  margin: 0;
  padding: 0;
}

img {
  display: block;
  max-width: 100%;
}

body {
  display: grid;
  place-items: center;
  min-height: 100vh;
  font-family: "Inter";
  line-height: 1.5;
  background-color: hsl(0, 0%, 8%);
  font-weight: 400;
  color: white;
}

.card {
    max-width: 327px;
    padding: 20px;
    border-radius: 10px;
    background-color: hsl(0, 0%, 12%);
}


.card__header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.avatar {
    width: 88px;
    height: 88px;
}

.avatar img {
    border-radius: 50%;
}

.user__name {
    margin-top: 24px;
}

.user__name, .user__location {
    font-weight: 600;
}

.user__location {
    color: hsl(75, 94%, 57%);
    font-size: 12px;
    margin: 4px 0 24px;
}

.user__bio {
    font-size: 14px;
    margin-bottom: 4px;
}

.link {
    margin-top: 16px;
    padding: 16px 32px;
    text-align: center;
    display: block;
    text-decoration: none;
    color: inherit;
    background-color: hsl(0, 0%, 20%);
    font-weight: 700;
    font-size: 14px;
    border-radius: 8px;
}

@media (min-width: 1024px) {
    .card {
        max-width: 384px;
    }

    .link:hover {
        transition: background-color .5s ease, color .5s ease;
        background-color: hsl(75, 94%, 57%);
        color: black;
        cursor: pointer;
    }

}