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

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

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

main {
  height: 100vh;
  width: 100%;
  background-color: var(--Yellow);
  display: flex;
  justify-content: center;
  align-items: center;
}

#blog_preview_card {
  background-color: var(--White);
  max-width: 350px;
  padding: 20px;
  border-radius: 20px;
  border: solid 2px black;
  box-shadow: 5px 5px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: "Figtree", sans-serif;
  font-weight: 500;
  font-size: 15px;
}

#blog_image {
  width: 100%;
  border-radius: 20px;
}

#blog_category {
  background-color: var(--Yellow);
  max-width: fit-content;
  border-radius: 4px;
  font-weight: 800;
  padding: 8px;
}

#blog_heading {
  font-size: 25px;
  font-weight: 800;
  cursor: pointer;
}

#blog_heading:hover {
  color: var(--Yellow);
  transition: 200ms;
}

#blog_description {
  font-size: 15px;
  color: var(--Gray);
  line-height: 24px;
}

#author {
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

#author_image {
  height: 30px;
}
