html {
    min-height: 100%;
    margin: 0;
}

body {
    display: grid;
    min-height: 100vh;
    width: -moz-available;
    /* WebKit-based browsers will ignore this. */
    width: -webkit-fill-available;
    /* Mozilla-based browsers will ignore this. */
    align-items: center;
    justify-content: center;
    align-content: center;
    background-color: hsl(47, 88%, 63%);
}

/*------------------------------FONTS------------------------------*/
@font-face {
    font-family: Figtree;
    src: url(../assets/fonts/Figtree-VariableFont_wght.ttf);
}

.font-figtree,
b,
h1,
span {
    font-family: "Figtree", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

b,
#published-span {
    font-size: 14px;
}

b {
    font-weight: 700;
}

#published-span {
    font-weight: 500;
}

h1 {
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
}

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

#definition-span {
    font-weight: 500;
    color: hsl(0, 0%, 42%);
}

/*------------------------------FLEXBOX------------------------------*/
.flex-column,
article {
    display: flex;
    flex-direction: column;
}

.flex-row,
#avatar-area {
    display: flex;
    flex-direction: row;
}

/*------------------------------ARTICLE-AREAS------------------------------*/
article {
    padding: 2rem;
    gap: 1rem;
    width: 20vw;
    background-color: #FFFFFF;
    border-radius: 1rem;
    box-shadow: 5px 5px 0px 1px #000000;
}

#learning-area {
    padding: 0.5rem;
    width: fit-content;
    border-radius: 1rem;
    background-color: hsl(47, 88%, 63%);
}

#avatar-area {
    align-items: center;
    gap: 1rem;
}

/*------------------------------IMG------------------------------*/
#illustration-article {
    width: 100%;
}

#image-avatar {
    width: 3rem;
}

/*------------------------------MEDIAS------------------------------*/
@media (max-width: 768px) {
    body {
        margin: 3rem;
    }

    article {
        width: fit-content;
    }

    #illustration-article {
        width: 100%;
    }
}