/* Google Font: Figtree */
@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@500;800&display=swap');

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

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

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

.card-image {
  width: 100%;
  border-radius: 10px;
}

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

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

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

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

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

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

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

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

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


.attribution {
  font-size: 11px;
  text-align: center;
}
.attribution a {
  color: hsl(228, 45%, 44%);
}


footer {
  position: fixed;
  bottom: 2rem;
  left: 0;
  right: 0;
  text-align: center;
}

