:root {
  --Yellow: hsl(47, 88%, 63%);
  --White: hsl(0, 0%, 100%);
  --Gray500: hsl(0, 0%, 42%);
  --Gray950: hsl(0, 0%, 7%);
}

@font-face {
  font-family: "Figtree";
  /* src: url('FileName.eot'); */
  src: url("./assets/fonts/static/Figtree-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 400, 900;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  font-family: "Figtree", sans-serif;
  height: 100%;
  width: 100%;
  background-color: var(--Yellow);
  display: flex;
  justify-content: center;
  align-items: center;
}
.card {
  margin: 2rem;
  max-width: 384px;
  background: var(--White);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 8px var(--Gray950);
  border: 1px solid var(--Gray950);
  box-shadow: 0.5rem 0.5rem 0 var(--Gray950);
}
.card-image {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
  max-width: 100%;
  height: auto;
}
.tag {
  background: var(--Yellow);
  padding: 4px 12px;
  border-radius: 4px;
  display: inline-block;
  font-size: 15px;
  margin-bottom: 1rem;
}
h2 {
  font-size: 24px;
  margin: 12px 0;
}
h2:hover {
  color: var(--Yellow);
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}
.description {
  color: var(--Gray500);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
}

.author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  font-weight: 900;
}
.author img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
