@font-face {
    font-family: 'Figtree';
    src: url("../fonts/Figtree-VariableFont_wght.ttf");
}
html, body {
    background-color: hsl(47, 88%, 63%);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card {
    font-family: 'Figtree', serif;
    border: 1px solid #111;
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 8px 8px 0 0 #000;
    padding: 24px;
    max-width: 384px;
    transition: 300ms;
}
.card:hover {
    box-shadow: 16px 16px 0 0 #000000;
}
.card .card-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
}
.card-body {
    line-height: 150%;
    font-style: normal;
    margin: 24px 0 24px 0;
}
.card-tag {
    padding: 4px 12px;
    border-radius: 4px;
    color: hsl(0, 0%, 7%);
    font-size: 14px;
    font-weight: 800;
    width: fit-content;
    background-color: hsl(47, 88%, 63%);
    margin: 0 0 12px 0;
}
.card-date {
    color: hsl(0, 0%, 7%);
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 12px 0;
}
.card-title {
    font-size: 24px;
    font-weight: 800;
    color:  hsl(0, 0%, 7%);
    transition: 200ms;
    cursor: pointer;
    margin: 0 0 12px 0;
}
.card-title:hover {
    color: hsl(47, 88%, 63%);
}
.card-text {
    font-size: 16px;
    font-weight: 500;
    color: hsl(0, 0%, 50%);
    margin: 0;
}
.card-author {
    display: flex;
    flex-flow: row wrap;
    gap: 12px;
    align-items: center;
}
.card-author img {
    max-width: 32px;
    height: auto;
}
.card-author p {
    color: hsl(0, 0%, 7%);
    font-size: 14px;
    font-weight: 800;
}