:root {
    --color_ink: #112;
    --color_paper: #eee;
}

html,
body {
    margin: 0;
    padding: 0;
}
html {
    font-size: 10.5pt;
    color: var(--color_ink);
    background-color: var(--color_paper);
}
body {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 100vh;
}

main {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 960px;
    margin: 2rem;
    gap: 2rem;
}

h1,
h2,
h3 {
    margin: 0;
    padding: 0;
    font-weight: bold;
}
h1 {
    font-size: 2rem;
}
h2 {
    font-size: 1.667rem;
}
h3 {
    font-size: 1.333rem;
}

p {
    margin: 0;
    padding: 0;
}

main > .title {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: var(--color_ink);
}

main > .title > h1 {
    padding: 0 0.5rem;
    line-height: 125%;
    background-color: var(--color_paper);
}

.list {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 2rem;
}

.list > h2 {
    width: 100%;
    border-bottom: dotted 2px var(--color_ink);
}
.list > p > .label {
    display: inline-block;
    width: 5rem;
    text-align: justify;
    text-align-last: justify;
}
.list > .items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(calc(192px - 0.5rem), 1fr));
    width: 100%;
    gap: 2rem;
}

.list > .items > div {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 1rem;
}

.list > .items > div > img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
}
.list > .items > div > h3 {
    font-size: 1rem;
}
.list > .items > div > a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transition: 250ms;
}
.list > .items > div > a:hover {
    background-color: #eee8;
    transition: 250ms;
}
