@font-face {
  font-family: "Figtree";
  src: url("./assets/fonts/static/Figtree-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: "Figtree";
  src: url("./assets/fonts/static/Figtree-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Figtree";
  src: url("./assets/fonts/Figtree-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: Italic;
}

@font-face {
  font-family: "Figtree";
  src: url("./assets/fonts/Figtree-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
}

.attribution {
  position: fixed;
  bottom: 0;
  right: 10px;
}

body {
  background-color: hsl(47, 88%, 63%);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100dvh;
  font-family: Figtree;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 327px;
  padding: 24px;
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid hsl(0, 0%, 7%);
  box-shadow: 8px 8px 0 0 rgb(0 0 0 / 1.00);
}

.card__image {
  border-radius: 10px;
  object-fit: cover;
}

.card__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.card__date {
  font-weight: 500;
  font-size: 12px;
}

.card__title {
  font-weight: 800;
  font-size: 20px;
}

.card__discription {
  font-weight: 500;
  font-size: 14px;
  color: hsl(0, 0%, 42%);
}

.card__footer {
  display: flex;
  align-items: center;
}

.card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card__author-avatar {
  height: 32px;
  width: 32px;
}

.card__author-name {
  font-weight: 800;
  font-size: 14px;
}