:root {

    --Yellow: hsl(47, 88%, 63%);
    --White: hsl(0, 0%, 100%);
    --Grey: hsl(0, 0%, 50%);
    --Black: hsl(0, 0%, 7%);
}

@font-face {
    font-family: Figtree;
    src: url("../assets/fonts/Figtree-VariableFont_wght.ttf");
}


body { 
    width: 100%;
    background-color: var(--Yellow);

}

.card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--White);
    width: 300px;
    padding: 20px;
    border-radius: 14px;
    border: 1px solid var(--Black);
    box-shadow: 5px 5px;
}

.article {
    border-radius: 14px;
    width: 100%;
}

.state {
    background-color: var(--Yellow);
    margin: 14px 0 10px 0;
    border-radius: 5px;
    box-shadow: .28px .28px var(--Grey);
    padding: 10px;
    font-weight: 700;
    line-height: 50%;
    font-size: 16px;
    display: inline-block;
    font-family: Figtree;
}

.date {
    font-size: 12px;
    line-height: 50%;
    margin: 5px 0 15px 0;
    font-family: Figtree;
    font-weight: 600;
    color: var(--Black);
}

.title {
    font-size: 18px;
    font-family: Figtree;
    font-weight: 800;

}

.description {
    font-size: 16px;
    font-family: Figtree;
    color: var(--Grey);
    font-weight: 400;
    line-height: 25px;
    
}

.card-footer {
    display: flex;
}

.avatar {
    width: 32px;
    height: 32px;
}

h1 {
    font-family: Figtree;
    font-size: 12px;
    font-weight: 700;
    margin-left: 10px;
}