.attribution {
    font-size: 11px;
    text-align: center;
    position: absolute;
    bottom: 0.8rem;

}

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

:root {
    --White: hsl(0, 0%, 100%);
    --Yellow: hsl(47, 88%, 63%);
    --Gray-950: hsl(0, 0%, 7%);
    --Gray-500: hsl(0, 0%, 42%);
    --space-50: 4px;
    --space-100: 8px;
    --space-150: 12px;
    --space-300: 24px;
}

* {
    font-family: 'Figtree', sans-serif;
}

h1 {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: 0px;
}

p {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0px;
}
.text-preset3-bold {
    font-size: 0.875rem;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: 0;
    color: var(--Gray-950);
}

html,
body {
    margin: 0;
    height: 100%;
}

main {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--Yellow);
}

.ui-container {
    width: 300px;
    height: auto;
    margin: auto;
    padding: var(--space-300);
    background-color: var(--White);
    border: 1px solid var(--Gray-950);
    border-radius: 1rem;
    box-shadow: var(--Gray-950) 0.5rem 0.5rem;
}

.image-section img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.text-section {
    margin: var(--space-300) 0;
}
.title h1:hover,
.title h1:focus {
    color: var(--Yellow);
    transition: ease-out 0.3s;
    cursor: pointer;
}

.category {
    display: inline-block;
    background-color: var(--Yellow);
    padding: var(--space-50) var(--space-150);
    margin: 0;
    border-radius: 0.2rem;
}

.details {
    margin: 0.5rem 0;
    font-size: 0.8rem;
}

.description {
    color: var(--Gray-500);
}

.author-section {
    display: flex;
}

.author-section img {
    width: 1.5rem;
    height: 1.5rem;
    align-items: center;
    margin-right: 0.8rem;
}