@import url("reset.css");

body {
  font-family: "Figtree", sans-serif;
}

main {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: hsl(47, 88%, 63%);
}

.card {
  background-color: hsl(0, 0%, 100%);
  box-shadow: 8px 8px black;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid hsl(0, 0%, 7%);
  margin: 0px 32px 0px 32px;
}

.card img {
  border-radius: 20px;
}

.card .card__tag {
  margin-top: 24px;
  font-size: 12px;
  font-weight: 800;
  line-height: 150%;
  color: hsl(0, 0%, 7%);
  background-color: hsl(47, 88%, 63%);
  padding: 4px 12px 4px 12px;
  width: 73px;
  text-align: center;
  border-radius: 4px;
}

.card .card__date {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 500;
  line-height: 150%;
  color: hsl(0, 0%, 7%);
}

.card .card__headline {
  margin-top: 12px;
  font-size: 20px;
  font-weight: 800;
  line-height: 150%;
  color: hsl(0, 0%, 7%);
}

.card .card__headline:hover {
  color: hsl(47, 88%, 63%);
  cursor: pointer;
}

.card .card__text {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 150%;
  color: hsl(0, 0%, 42%);
}

.card .card__profile {
  margin-top: 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.card .card__profile img {
  width: 32px;
  height: 32px;
}

.card .card__profile .card__profile__name {
  font-size: 14px;
  font-weight: 800;
  line-height: 150%;
}

/* Attribution Section */

.attribution {
  margin-top: 24px;
  margin-bottom: 24px;
  text-align: center;
}

.attribution > div > span {
  font-size: 14px;
  font-weight: 600;
  line-height: 100%;
  color: black;
}

.attribution > div + div {
  margin-top: 8px;
  margin-bottom: 8px;
}
