* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Figtree', sans-serif;
    background-color: hsl(47, 88%, 63%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.card {
    background-color: hsl(0, 0%, 100%);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 8px 8px 0px hsl(0, 0%, 7%);
    display: flex;
    flex-direction: column;
    border: 1px solid hsl(0, 0%, 7%);
    gap: 12px;
    width: min(384px, 90%);
}

.card>img {
    width: 100%;
    border-radius: 10px;
}

.card>span {
    background-color: hsl(47, 88%, 63%);
    padding: 4px 12px;
    border-radius: 5px;
    font-weight: 800;
    display: inline-block;
    align-self: flex-start;
}

.card>.date {
    color: hsl(0, 0%, 42%);
    font-size: 14px;
}

.card>h2 {
    color: hsl(0, 0%, 7%);
    font-weight: 800;
    font-size: 20px;
}

.card>.description {
    color: hsl(0, 0%, 42%);
    font-size: 16px;

}

.author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author>span {
    font-weight: 800;
}

.author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.card h2:hover {
    color: hsl(47, 88%, 63%);
    cursor: pointer;
}

.attribution {
    font-size: 11px;
    text-align: center;
    position: fixed;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
}

.attribution a {
    color: hsl(228, 45%, 44%);
}