@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300..900&display=swap');
* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

:root {
    --yellow: hsl(47, 88%, 63%);
    --white: hsl(0, 0%, 100%);
    --gray-500: hsl(0, 0%, 42%);
    --gray-950: hsl(0, 0%, 7%);
}

body {
    font-family: "Figtree", sans-serif;
    background-color: var(--yellow);
    font-size: 16px;
    color: var(--gray-950);
}

.section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;

}

.blog-preview-main-card {
    background-color: var(--white);
    max-width: 23.0625em; /* 369px */
    padding: 1.5em;

    border-radius: 1em;
    border: .1em solid var(--gray-950);
    box-shadow: .4em .4em var(--gray-950);
    margin-bottom: 1em;
}

.blog-preview-main-card-content {
    display: flex;
    flex-direction: column;
}

.illustration-article {
    width: 100%;
    object-fit: cover;
    object-position: center;

    border-radius: 1em;  
    margin-bottom: 1.3em;  
}

.tag {
    display: inline-block;
    max-width: 5.4em;
    background-color: var(--yellow);
    text-align: center;
    padding: .4em .6em;

    border-radius: .3em;
    font-weight: 800;
    font-size: .8em;
    margin-bottom: .9em;  

}

time {
    font-size: .8em;
    font-weight: 500;
    margin-bottom: 1.2em;  

}

.card-title {
    font-weight: 800;
    margin-bottom: .8em;  
    transition: color .3s ease;
}

.card-title:hover {
    color: var(--yellow);
    cursor: pointer;
}

.card-text {
    color: var(--gray-500);
    line-height: 1.5;
    margin-bottom: 1.3em; 
    font-weight: 500; 

}

.user-info {
    display: flex;
    align-items: center;
}

.user-info img {
    width: 2em;
    margin-right: .5em;
}

.user-name {
    font-weight: 800;
    font-size: 0.9em;
}

.attribution { 
    font-size: .6875em; 
    text-align: center; 
}

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