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

body {
  font-family: Figtree;
  font-weight: 700;
  background-color: hsl(47, 88%, 63%);
}

main {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

article {
  display: flex;
  flex-direction: column;
  width: 384px;
  height: 522px;
  border: 2px solid black;
  border-radius: 1rem;
  padding: 24px;
  background: white;
  box-shadow: 10px 10px rgb(0, 0, 0);
}

article img {
  border-radius: 0.8rem;
}

article span {
  background: hsl(47, 88%, 63%);
  width: fit-content;
  margin: 1.5rem 0 0.8rem 0;
  padding: 0.3rem 0.6rem;
  border-radius: 0.3rem;
}

article time {
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 1.3rem;
}

article a {
  text-decoration: none;
  margin-bottom: 1rem;
  color: black;
}

article a:hover {
  color: hsl(47, 88%, 63%);
}

article h1 {
  font-weight: 800;
}

article .details {
  font-weight: 400;
  color: hsl(0, 0%, 42%);
  margin-bottom: 2rem;
}

article .author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

article .author img {
  width: 32px;
  height: 32px;
}
