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

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

body {
  background-color: hsl(47, 88%, 63%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: "Figtree", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 16px;
  min-height: 100vh;
}

.content {
  font-family: "Figtree";
  background-color: hsl(0, 0%, 100%);
  margin: auto;
  max-width: 300px;
  height: auto;
  padding: 15px 15px 10px 15px;
  border-radius: 12px;
  border-top: 1px solid;
  border-left: 1px solid;
  box-shadow: 7px 7px;
}

img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 10px;
}

.learning {
  background-color: hsl(47, 88%, 63%);
  display: inline;
  padding: 5px 12px;
  font-size: 12px;
  border-radius: 5px;
}

.published {
  font-size: 13px;
  padding: 14px 0 0 0;
  font-weight: normal;
}

.heading {
  font-size: 20px;
  padding: 10px 0;
  text-decoration: none;
  font-weight: bold;
}

.heading a {
  color: hsl(0, 0%, 7%);
  text-decoration: none;
}

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

.p {
  color: hsl(0, 0%, 42%);
  font-size: 14px;
  font-weight: normal;
  line-height: 1.5;
}

.avatar-author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0 0 0;
}

.avatar-author img {
  width: 27px;
  height: auto;
  padding-top: 10px;
}

.author {
  font-size: 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.attribution {
  text-decoration: none;
}
