:root{
    --yellow: #F4D04E;
    --primary: #111111;
    --secondary: #6B6B6B;
}

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

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

*{
    background-color: var(--yellow);
    padding: 0;
    margin: 0;
}

.parent-container {
  display: grid;
  place-content: center;
  height: 100vh;
}

.container,
.container > *,
.container > * > *{
    background-color: #FFFFFF;
}

.container {
    width: 360px;
    padding: 24px;
    border-radius: 20px;
    border: 1px solid var(--primary);
    transition: box-shadow 0.5s;
}

.container:hover {
    box-shadow: 5px 5px;
}

.image {
    width: 360px;
    border-radius: 10px;
    margin-bottom: 24px;
}


/*
    CONTENT STYLING
*/

.content {
    margin-bottom: 24px;
    font-family: 'figtree';
    font-size: 14px;
    color: var(--primary);
}

.category {
    display: inline-block;
    background-color: var(--yellow);
    border-radius: 4px;
    padding: 4px 12px 4px 12px;
    margin-bottom: 15px;
}

.title{
    font-size: 24px;
    margin: 17px 0px;
}

.description {
    font-size: 16px;
    color: var(--secondary);
}

.author {
    display: flex;
}

.avatar {
    width: 32px;
}

.author-name {
    padding: 10px;
}

.attribution {
     bottom: 0%;
      font-size: 11px;
      text-align: center;
    }

    .attribution a {
      color: hsl(228, 45%, 44%);
    }

@media  screen and (max-width: 376px) {
     .container{
        max-width: 280px;
     }
     .image{
        width: 280px;
     }
}