* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    font-family: "Figtree", sans-serif;
    background-color: hsl(47, 88%, 63%);
    line-height: 1.5rem;
    font-size: 16px;
}

.main-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 100vh;
}

.blog-container {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#illustration-image {
    background-image: url(./assets/images/illustration-article.svg);
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 200px;
    border-radius: 14px;
}

.blog {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 400px;
    width: 100%;
    text-align: left;
    border: 1px solid black;
    background-color: hsl(0, 0%, 100%);
    padding: 1.5rem;
    border-radius: 18px;
    box-shadow: 7px 7px 0px black;
}

#topic {
    padding: 0.25rem 0.75rem;
    max-width: fit-content;
    font-size: 0.85rem;
    border-radius: 5px;
    background-color: hsl(47, 88%, 63%);
    font-weight: 800;
}

#topic a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

#topic:hover {
    color: hsl(47, 88%, 63%);
    background-color: hsl(0, 0%, 7%);
    cursor: pointer;
}

#publish {
    color: hsl(0, 0%, 7%);
    font-weight: 500;
}

#title-txt {
    font-weight: 800;
}

#title-txt a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

#title-txt a:hover {
    color: hsl(47, 88%, 63%);
    cursor: pointer;
}


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

.author-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#author {
    font-weight: 800;
}

.attribution {
    position: relative;
    font-size: 11px;
    text-align: center;
    padding: 0.5rem;
}

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

@media (max-width: 500px) {
    .blog-container {
        padding: 1rem;
    }
}