* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Figtree', sans-serif;
}

@font-face {
    font-family: 'Figtree';
    src: url(assets/fonts/static/Figtree-Medium.ttf);
    font-weight: 500;
}

@font-face {
    font-family: 'Figtree';
    src: url(assets/fonts/static/Figtree-ExtraBold.ttf);
    font-weight: 800;
}

body {
    background-color: hsl(47, 88%, 63%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;   
}

main {
    width: 25rem;
    background-color: hsl(0, 0%, 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.5rem;
    box-shadow: 8px 8px 0px 0px hsl(0, 0%, 0%);
    border: 1px solid hsl(0, 0%, 0%);
    border-radius: .8rem;
    font-weight: 500;
}

main .illustration {
    width: 100%;
    border-radius: .6rem;
}

main .tag {
    font-size: .875rem;
    color: hsl(0, 0%, 7%);
    background-color: hsl(47, 88%, 63%);
    padding: .4rem .8rem;
    max-width: fit-content;
    font-weight: 800;
    border-radius: .2rem;
}

main .date {
    font-size: .9rem;
}

main h2 {
    font-size: 1.2rem;
    cursor: pointer;
}

main h2:hover {
    color: hsl(47, 88%, 63%);
}

main p {
    color: hsl(0, 0%, 42%);
}

main .user {
    height: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

main .user img {
    max-height: 100%;
}