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

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

.card {
  background-color: hsl(0, 0%, 100%);
  border: 1px solid black;
  border-radius: 1rem;
  box-shadow: 8px 8px 0px black;
  max-width: 335px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.card img {
  width: 100%;
  border-radius: 0.55rem;
}

.tag {
  background-color: hsl(47, 88%, 63%);
  color: hsl(0, 0%, 7%);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 0.3rem;
  width: fit-content;
}

.date {
  font-size: 0.75rem;
  color: hsl(0, 0%, 7%);
}

.title {
  font-size: 1.25rem;
  font-weight: 800;
}

.title a {
  color: hsl(0, 0%, 7%);
  text-decoration: none;
  transition: color 0.2s;
}

.title a:hover,
.title a:focus {
  color: hsl(47, 88%, 63%);
  outline: none;
}

.description {
  font-size: 0.875rem;
  color: hsl(0, 0%, 42%);
  line-height: 1.4;
}

.author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.author img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.author span {
  font-weight: 800;
  font-size: 0.875rem;
  color: hsl(0, 0%, 7%);
}

.attribution {
  position: absolute;
  bottom: 0.5rem;
  width: 100%;
  text-align: center;
  font-size: 11px;
}

.attribution a {
  color: hsl(228, 45%, 44%);
}
