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

body {
  font-family: "Figtree", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: hsl(47, 88%, 63%);
}

.card {
  background-color: hsl(0, 0%, 100%);
  padding: 1.5rem 1.5rem 1rem 1.5rem;
  border: 1px solid hsl(0, 0%, 7%);
  border-radius: 1rem;
  box-shadow: 0.5rem 0.5rem 0 hsl(0, 0%, 7%);
  margin: 0 1.5rem;
  max-width: 385px;
}
.card h4 {
  font-size: 12px;
  font-weight: 600;
  margin: 1rem 0;
}
@media (min-width: 768px) {
  .card h4 {
    font-size: 14px;
  }
}
.card h2 {
  font-size: 20px;
}
@media (min-width: 768px) {
  .card h2 {
    font-size: 24px;
  }
}
.card p {
  color: hsl(0, 0%, 50%);
  font-size: 14px;
  line-height: 1.5;
  margin: 1rem 0;
}
@media (min-width: 768px) {
  .card p {
    font-size: 16px;
  }
}
.card img {
  border-radius: 1rem;
  height: 10rem;
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card__category {
  background-color: hsl(47, 88%, 63%);
  font-weight: 800;
  border-radius: 0.5rem;
  width: 4.5rem;
  text-align: center;
  font-size: 12px;
  padding: 0.35rem 0;
  margin: 1rem 0;
}
@media (min-width: 768px) {
  .card__category {
    width: 5rem;
    font-size: 14px;
  }
}
.card__author {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.card__author img {
  width: 2rem;
  height: 2rem;
}
.card__author h4 {
  align-items: center;
  font-weight: 800;
  font-size: 14px;
}

/*# sourceMappingURL=style.css.map */
