html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    overflow-wrap: break-word;
    padding: 16px;
}

a {
    text-decoration: none !important;
    text-underline-offset: 0.14em;
}

a:hover {
    text-decoration: underline !important;
    text-underline-offset: 0.14em;
}

.skip-link {
    position: fixed;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 10000;
    padding: 0.75rem 1rem;
    color: #000;
    background: #fff;
    border: 2px solid #000;
    transform: translateY(-200%);
}

.skip-link:focus {
    transform: translateY(0);
}

main:focus {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.project-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    justify-content: center;
    margin-block: 1rem;
    padding: 0;
    list-style: none;
}

.project-nav a,
.link-list li > a,
#book-list > li > a {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    padding-block: 3px;
}

#book-list > li,
.reading-list > li {
    margin-block: 0.25rem;
}

#book-list a,
#book-list span {
    overflow-wrap: anywhere;
}

#book-list img {
    width: 100%;
    max-width: 320px !important;
    height: auto;
}

#book-list > li > a.poster-link {
    flex-direction: column;
    align-items: flex-start;
    max-width: 100%;
}

table {
    max-width: 100%;
}

@media (max-width: 480px) {
    .project-nav ul {
        justify-content: flex-start;
    }
}
