@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');
* {
  margin: 0;
  padding: 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%);
}

html, body {
    height: 100%;
    font-size: 62.5%;
    font-family: "Figtree", sans-serif;
}

main{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--Yellow);
}

article{
    width: 80%;
    max-width: 350px;
    height: 55%;
    max-height: 450px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: var(--White);
    border-radius: 16px;
    border: 1px solid black;
    box-shadow: 10px 10px 0px black;
}

section{
    width: 100%;
    height: 52%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.illustration-article{
    width: 100%;
    height: 45%;
    max-height: 192px;
    border-radius: 16px;
    object-fit: cover;
    object-position: 50% 100%;
}

.status{
    width: 100%;
    padding: 5px 12px;
    background-color: var(--Yellow);
    color: var(--Gray-950);
    font-size: 1.2rem;
    font-weight: 800;
    border-radius: 4px;
}

.published-date{
    font-weight: 500;
    font-size: 1.2rem;
    color: var(--Gray-950);
}

.article-title{
    font-weight: 800;
    font-size: 2rem;
    color: var(--Gray-950);
}

.article-title:hover{
    cursor: pointer;
    color: var(--Yellow);
}

.article-paragraph{
    font-size: 1.4rem;
    color: var(--Gray-500);
    font-weight: 500;
}

.area-author-article{
    width: 47.5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.avatar-author{
    width: 25%;
    object-fit: cover;
    aspect-ratio: 1/1;
}

.author-name{
    font-size: 1.4rem;
    color: var(--Gray-950);
    font-weight: 800;
}