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

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

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

body {
    font-famly: Figtree, sans-serif;
    background-color: var(--yellow);
    color: var(--Gray900);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-weight: 500;
    font-size: 16px;
}

.card {
    background-color: var(--White);
    width: 330px;
    padding: 20px;
    border-radius: 20px;
    display: flex;
    flex-flow: column wrap;
    box-shadow: 7px 7px 0 1px var(--Gray900);
    border: 1px solid var(--Gray500);
}

.card__image-container{
    width: 290px;
    height: 210px;
  }
  
  .card__image {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border-radius: 10px;
    object-fit: cover;
  }

  .card__header {
    margin: 20px 0;
  }
  .header__title{
    background-color: var(--yellow);
    display: inline-block;
    padding: 7px 10px;
    border-radius: 5px;
    font-weight: 800;
  }
  
  .header__date {
    font-size: 14px;
    margin-top: 15px;
  }
  
  .content__title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 20px;
    transition: color 0.3s ease-in-out;
    &:hover{
      color: var(--yellow);
    }
  }
  
  .content__description {
    color: var(--Gray500);
    font-size: 15px;
    line-height: 1.3;
  }
  
  .card__footer {
    margin-top: 20px;
    display: flex;
    align-items: center;
  }
  
  .card__avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
  }
  
  .card__author {
    font-size: 15px;
    font-weight: 800;
    color: var(--Gray900);
    text-transform: capitalize;
  }