@font-face {
    font-family: 'Figtree';
    src: url("./assets/fonts/Figtree-VariableFont_wght.ttf") format("truetype");
    font-weight: 300 900;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    /* outline: solid red 1px; */
}

:root {
    --yellow: #F4D04E;
    --gray950: #111111;
    --gray500: #6B6B6B;
    --white: #FFFFFF;
}

body {
    height: 100vh;
    font-family: 'Figtree', sans-serif;
    background-color: var(--yellow);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 150%;
}

a {
    color: var(--gray950);
    text-decoration: none;
}

.illust {
    border-radius: 10px;
}

.container-main {
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    width: 24rem;
    min-height: 32.625rem;
    padding: 1.5rem;
    gap: 1.5rem;
    border: solid var(--gray950) 1px;
    border-radius: 20px;
    box-shadow: 8px 8px 0
}



button,
.credit {
    font-weight: 800;
    font-size: 14px;
}

button,
.credit,
h1,
.title {
    color: var(--gray950);
}

button {
    font-family: inherit;
    background-color: var(--yellow);
    padding: 4px 12px;
    border-radius: 4px;
    border-style: none;
    width: 5.125rem;
    height: 1.8rem;
    text-align: center;
}

button:hover {
    background-color: var(--gray950);
    color: var(--yellow);
}

.container-text {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.date {
    font-size: 14px;
    font-weight: 500;
}

.title a{
    display: block;
    font-size: 24px;
    font-weight: 800;
    height: 2.25rem;
    align-content: center;
}

.title a:hover {
    color: var(--yellow);
}

.text {
    color: var(--gray500);
    font-size: 16px;
    font-weight: 500;
}

.container-credit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.credit:hover {
    text-decoration: underline 2px;
}

.avatar {
    height: 2rem;
}

.attribution {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
}