* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

@font-face {
    font-family: 'cstm';
    src: url('./Figtree-VariableFont_wght.ttf');
    font-weight: normal;
    font-style: normal;
}

body {
    background-color: hsl(47, 88%, 63%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    font-family: 'cstm', sans-serif;
}

.profile {
    background-color: hsl(0, 0%, 100%);
    border-radius: 15px;
    border: 1px solid hsl(0, 0%, 7%);
    width: 80%;
    max-width: 350px;
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    position: relative;
    box-shadow: 10px 10px 0 hsl(0, 0%, 7%);
}

.image {
    background-image: url(./illustration-article.svg);
    width: 315px;
    height: 42%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 15px;
}

.details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 315px;
}

.tag {
    background-color: hsl(47, 88%, 63%);
    width: 68px;
    height: 24px;
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 0.9rem;
}

.date {
    font-size: 0.9rem;
}

.title {
    margin: 10px 0;
    font-size: 1.6rem;
    font-weight: 900;
}

.description {
    color: hsl(0, 0%, 42%);
}

.author {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.author-image {
    background-image: url(./image-avatar.webp);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.author-name {
    margin-left: 10px;
    font-weight: 900;
}