h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

a {
  text-decoration: none;
}

img,
picture {
  display: block;
}

button {
  cursor: pointer;
}
body {
  min-width: 320px;
  max-width: 375px;
  margin: 0 auto;
  background: #141414;
  font-family: "Inter", sans-serif;
  padding: 116.5px 24px;
}
.profile-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  background: #1f1f1f;
  width: 327px;
  height: 579px;
}

.card-picture {
  width: 88px;
  margin-bottom: 24px;
}

.card-name {
  font-weight: 600;
  font-size: 24px;
  line-height: 1.5;
  text-align: center;
  color: #fff;
  margin-bottom: 4px;
}

.card-location {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  color: #c4f82a;
  margin-bottom: 24px;
}

.card-bio {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  color: #fff;
  margin-bottom: 24px;
}

.card-link {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
  color: #fff;
  border-radius: 8px;
  width: 279px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #333;
  margin-bottom: 16px;
}

@media screen and (min-width: 768px) {
  body {
    max-width: 456px;
    padding: 206.5px 0;
  }
  .profile-card {
    width: 456px;
    height: 611px;
  }

  .card-link {
    width: 376px;
  }
}

@media screen and (min-width: 1440px) {
  body {
    max-width: 384px;
    padding: 174.5px;
  }

  .profile-card {
    width: 384px;
  }

  .card-link {
    width: 304px;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  .card-link:hover,
  .card-link:focus {
    background: #c4f82a;
    color: #333;
  }
}
