@import url("https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap");

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

.container {
  margin: 2rem;
  background-color: white;
  flex-direction: column;
  border: 1px hsl(0, 0%, 7%) solid;
  border-radius: 16px;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 1);
  padding: 20px;
  max-width: 375px;
}

.container > img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

#tag {
  margin-top: 20px;
  background-color: hsl(47, 88%, 63%);
  padding: 10px 15px;
  font-weight: 800;
  border-radius: 5px;
  display: inline-block;
}

#title {
  transition: color 0.3s ease;
}

#title:hover {
  color: hsl(47, 88%, 63%);
  cursor: pointer;
}

#description {
  font-size: 1.1rem;
}

.author {
  display: flex;
  align-items: center;
  font-weight: 800;
  gap: 1rem;
}

.author > img {
  width: 2rem;
  height: 2rem;
}
