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

body {
    width: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--main-color);
    min-height: 100vh;
    font-family: Figtree;
}

.card {
    width: 330px;
    border-radius: 20px;
    background-color: white;
    border: 2px black solid;
    box-shadow: 5px 5px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-size: 16px;
}

.card-img {
    width: 100%;
    border-radius: 10px;
}

.card-tag {
    height: 30px;
    padding: 4apx;
    width: 80px;
    background-color: var(--main-color);
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Figtree;
    font-weight: 800;
}

.card-date {
    font-weight: 500;
}

.card-title {
    font-weight: 800;
    font-size: 24px;
    margin: 0px;
}

.card-text {
    line-height: 24px;
    color: var(--gray-500);
    margin: 0px;
}

.author {
    display: flex;
    gap: 10px;
    align-items: center;
    padding-top: 10px;
}

.thumbnail {
    height: 32px;
    width: 32px;
}

.author-name{
    font-weight: 800;
}

.attribution { position: absolute; bottom: 0; font-size: 11px; text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); }