:root {
    --muted-color: #d0d0d0;
}

main {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--xxl);
}

.doclist {
    line-height: 1.6;
}

.doclist h2 {
    margin-top: var(--xxl);
    margin-bottom: var(--m);

    width: 50%;
    min-width: fit-content;
    border-bottom: 1px solid var(--muted-color);
}

.file {
    color: #fff;
    text-decoration: none;

    background-color: rgba(255, 255, 255, 0.05);
    padding: var(--m);
    margin-bottom: var(--m);
    border-radius: 5px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
}
.file:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
.document-icon {
    height: var(--xxl);
    margin-right: var(--m);
    fill: var(--muted-color);
    flex-shrink: 0;
}
.document-info {
    flex-grow: 1;
}
.document-title {
    font-weight: bold;
    display: block;
    margin-bottom: var(--xs);
    color: var(--color-primary);
}
.document-description {
    font-style: italic;
    font-size: 0.9rem;
    color: var(--muted-color);
}

@media only screen and (max-width: 768px) {
    .doclist h2 {
        text-align: center;
        min-width: fit-content;
        margin-left: auto;
        margin-right: auto;
        padding-left: var(--s);
        padding-right: var(--s);
    }

}