/* Shared styles for the About and Changelogs pages */

body {
    background-color: bisque;
    color: brown;
    font-family: "JetBrains Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 600;
    margin: 0;
    line-height: 1.5;
}

a,
a:visited {
    color: saddlebrown;
}

a:hover {
    color: sienna;
}

#backgroundCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.infoPage {
    width: min(600px, 100vw - 32px);
    margin: 20px auto 40px;
    border: 2px solid brown;
    background-color: bisque;
}

.infoHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border-bottom: 2px solid brown;
    background-color: rgba(165, 42, 42, 0.08);
}

.infoHeader h1 {
    margin: 0;
    font-size: 24px;
}

.infoHeader a {
    color: brown;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
}

.infoHeader a:hover {
    text-decoration: underline;
}

.infoSection {
    padding: 12px;
    border-bottom: 2px solid brown;
}

.infoSection:last-child {
    border-bottom: none;
}

.infoSection h2 {
    margin: 0 0 8px;
    font-size: 18px;
}

.infoSection p,
.infoSection ul {
    margin: 0;
    font-weight: 500;
}

.infoSection p + p {
    margin-top: 8px;
}

.infoSection ul {
    padding-left: 20px;
}
