html {
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    background-color: hsl(47, 88%, 63%);
    font-size: 16px;
    font-family: "Figtree";
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh
}

p, h1 {
    margin: 0;
}

#card {
    width: 380px;
    background-color: hsl(0, 0%, 100%);
    padding: 24px;
    border: 1px solid hsl(0, 0%, 7%);
    border-radius: 20px;
    box-shadow: 10px 10px 0px -2px hsl(0, 0%, 7%);
}

#card:hover {
    box-shadow: 10px 10px 0px 5px hsl(0, 0%, 7%);
}

svg {
    border-radius: 12px;
    margin-bottom: 20px;
    width: 100%;
}

button {
    background-color: hsl(47, 88%, 63%);
    border: none;
    padding: 5px 11px 5px 11px;
    border-radius: 5px;
    font-weight: 800;
    opacity: 0.9;
}

#pub-date, #user-name {
    color: hsl(0, 0%, 7%);
}

#pub-date {
    font-weight: 600;
    margin-top: 12px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    opacity: 0.95;
}

h1 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

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

p {
    color: hsl(0, 0%, 50%);
    margin-bottom: 20px;
    line-height: 1.45rem;
    font-weight: 500;
}

#user-info {
    display: flex;
}

img {
    width: 32px;
    align-self: center;
}

#user-name {
    padding-left: 12px;
    font-weight: 800;
    align-self: center;
    margin-bottom: 0px;
    font-size: 0.92rem;
}

.attribution {
    margin-top: 20px;
    font-size: 11px;
    text-align: center;
}

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