* {
    box-sizing: border-box;
    font-family: "Figtree Light", sans-serif;
}
*::selection {
    background-color: #f5d04e;
    color: white;
}
html {
    font-size: 62.25%;
}
body {
    height: 97vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f5d04e;
}
.container {
    background-color: white;
    width: 40rem;
    padding: 2rem 2.2rem 1rem 2.2rem;
    border-radius: 2rem;
    margin-bottom: 2rem;
    border: 0.1rem solid black;
    box-shadow: 1rem 1rem 0 0 black;
    transition: 0.3s;
}
@media (max-width: 768px) {
    html {
        font-size: 45%;
    }
}
.container:hover {
    transform: translate(-0.5rem, -0.5rem);
    box-shadow: 1.5rem 1.5rem 0 0 black;
}
img[alt="article-illustration"] {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 1rem;
    margin-bottom: 2rem;
}
span {
    display: inline-block;
    background-color: #f5d04e;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: bolder;
    font-size: 1.6rem;
}
h2 {
    font-size: 2.4rem;
    margin: 0;
    transition: 0.3s;
}
h2:hover {
    color: #f5d04e;
    cursor: pointer;
}
p {
    font-size: 1.6rem;
}
h2 + p {
    color: #a0a0a0;
}
.avatar {
    display: flex;
    align-items: center;
    margin-top: -1.5rem;
}
.avatar img {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    margin-right: 1rem;
}
.avatar h5 {
    font-size: 1.6rem;
}