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

body {
  font-family: "Figtree", sans-serif;
  font-size: 15px;
  color: hsl(0, 0%, 7%);
  background-color: hsl(47, 88%, 63%);
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
}

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

a:hover {
  color: hsl(47, 88%, 63%);
  text-decoration: none;
}

.main {
  width: clamp(325px, 60vw, 380px);
  background-color: #fff;
  align-content: center;
  border-radius: 20px;
  margin: auto;
  padding: 12px 25px;
  border: 1px solid hsl(0, 0%, 7%);
  box-shadow: 8px 10px hsl(0, 0%, 7%);
}

.card-img {
  width: 100%;
  border-radius: 11px;
}

#blog-topic {
  background-color: hsl(47, 88%, 63%);
  border-radius: 5px;
  padding: 6px 10px;
  margin: 20px auto;
  font-weight: 800;
  font-size: small;
}

#blog-date {
  font-weight: 500;
  font-size: small;
}

#blog-title {
  font-weight: 800;
  font-size: 1.5rem;
}

#blog-summary {
  color: hsl(0, 0%, 42%);
  font-weight: 500;
  line-height: 1.5rem;
}

span {
  font-size: clamp(1em, 50vw, 1rem);
}

.padding {
  padding: 12px 0;
}

#blog-author {
  font-size: small;
  font-family: "Figtree-extrabold", sans-serif;
  font-weight: 800;
  text-align: center;
  padding: 0 10px;
}

.avatar {
  width: 32px;
  vertical-align: middle;
}

footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #fff;
  color: #000;
  text-align: center;
}

.attribution {
  font-size: 11px;
  text-align: center;
}
.attribution a {
  color: hsl(47, 66%, 46%);
}
