* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

.card {
  background: white;
  max-width: 24rem;
  width: 100%;
  padding: 1.5rem;
  border: 1px solid black;
  border-radius: 1.25rem;
  box-shadow: 8px 8px 0 black;
}

.card-image {
  width: 100%;
  border-radius: 0.75rem;
  margin-block-end: 20px;
}

.card-tag {
  background: hsl(47, 88%, 63%);
  display: inline-block;
  padding: 4px 0.625rem;
  font-weight: 800;
  font-size: 0.75rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.card-title {
  font-size: 22px;
  margin-bottom: 12px;
  cursor: pointer;
  font-weight: 800;
  transition: 0.3s;
}

.card-title:hover {
  color: hsl(47, 88%, 63%);
}

.card-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.card-author img {
  width: 32px;
  height: 32px;
}

.card-description {
  color: hsl(0, 0%, 50%);
  line-height: 1.5;
  font-size: 16px;
  margin-bottom: 24px;
}

.card-date {
  font-size: 14px;
  margin-bottom: 12px;
}

.attribution {
  margin-top: 20px;
  font-size: 11px;
  text-align: center;
}
