body {
    margin: 0;
    background: #dcdcdc;
    font-family: 'Roboto Mono', monospace;
    color: #000;
}

.wrapper {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    position: relative;
}

.footer {
    padding-top: 4em;
}

/* HEADER */
.manual-header {
    border: 2px solid black;
    padding: clamp(20px, 5vw, 60px);
    margin-bottom: 40px;
    text-align: right;
    font-family: 'Oswald', sans-serif;
}

.manual-header .title {
    font-size: clamp(18px, 3vw, 32px);
}

.manual-header .section {
    font-size: clamp(22px, 4vw, 40px);
}

.manual-header .section span {
    font-size: clamp(60px, 10vw, 120px);
    font-weight: 700;
}

.manual-header .title a {
    text-decoration: none; /* remove underline */
    color: inherit;         /* use the same color as the title text */
    font-size: inherit;     /* match the font size of the .title div */
    font-weight: inherit;   /* match weight */
    font-family: inherit;   /* match font family */
}

.manual-header .title a:hover {
    background: black;
    color: white;
}

/* SIDE TABS */
.side-tabs {
    position: absolute;
    right: -50px;
    top: 120px;
    display: none;
}

.tab {
    writing-mode: vertical-rl;
    font-family: 'Oswald', sans-serif;
    margin-bottom: 10px;
    opacity: .4;
}

.tab.active {
    background: black;
    color: white;
    padding: 10px;
    opacity: 1;
}

/* CONTENTS */
.contents-title {
    font-family: 'Oswald', sans-serif;
    text-align: center;
    font-size: clamp(26px, 5vw, 42px);
    margin-bottom: 20px;
}

.contents-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.contents-body {
    text-align: center;
}

.section-heading {
    font-weight: 700;
    margin-top: 15px;
}

.contents-item {
    border-bottom: 2px dotted black;
    padding: 4px 0;
}

.contents-link {
    display: flex;
    justify-content: space-between;
    text-decoration: none;
    color: black;
}

.contents-link:hover {
    background: black;
    color: white;
}

/* DESKTOP */
@media(min-width:900px) {

    .contents-grid {
        grid-template-columns: 1fr 1fr;
    }

    .side-tabs {
        display: block;
    }
}

/* =========================
OLD FSM SCANNED PAPER
========================= */
body {
    margin: 0;
    background-color: #ffffff;

    /* Layered scanner artifacts */
    background-image:

        /* thermal fax compression banding */
        repeating-linear-gradient(0deg,
            rgba(0, 0, 0, 0.015) 0px,
            rgba(0, 0, 0, 0.015) 1px,
            transparent 1px,
            transparent 3px),

        /* vertical scanner streaking */
        repeating-linear-gradient(90deg,
            rgba(0, 0, 0, 0.02) 0px,
            rgba(0, 0, 0, 0.02) 1px,
            transparent 2px,
            transparent 8px),

        /* uneven scanner lighting */
        radial-gradient(ellipse at center,
            rgba(255, 255, 255, 0.4) 0%,
            rgba(0, 0, 0, 0.1) 100%);


    background-blend-mode: multiply, multiply, multiply;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.25;

    background-image:
        radial-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
        radial-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px);

    background-size: 3px 3px, 5px 5px;
    mix-blend-mode: multiply;
}

html::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;

    background:
        /* yellowed paper aging */
        linear-gradient(to bottom,
            rgba(255, 244, 200, 0.25),
            rgba(255, 255, 255, 0) 30%,
            rgba(240, 235, 210, 0.35) 100%);

    mix-blend-mode: normal;
}

/* =========================
FULL PAGE EDGE + CORNER SHADOW
========================= */
html::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;

    background:

        /* top edge shadow */
        linear-gradient(to bottom,
            rgba(0, 0, 0, 0.08),
            transparent 120px),

        /* bottom edge shadow */
        linear-gradient(to top,
            rgba(0, 0, 0, 0.06),
            transparent 140px),

        /* left edge shadow */
        linear-gradient(to right,
            rgba(0, 0, 0, 0.07),
            transparent 100px),

        /* right edge shadow */
        linear-gradient(to left,
            rgba(0, 0, 0, 0.07),
            transparent 100px),

        /* top-left corner */
        radial-gradient(circle at top left,
            rgba(0, 0, 0, 0.12),
            transparent 180px),

        /* top-right corner */
        radial-gradient(circle at top right,
            rgba(0, 0, 0, 0.10),
            transparent 200px),

        /* bottom-left corner */
        radial-gradient(circle at bottom left,
            rgba(0, 0, 0, 0.08),
            transparent 220px),

        /* bottom-right corner */
        radial-gradient(circle at bottom right,
            rgba(0, 0, 0, 0.09),
            transparent 220px);

    mix-blend-mode: multiply;
}

.center {
    justify-content: center;
    text-align: center;
}

table.center {
  margin-left: auto;
  margin-right: auto;
}

table {
    border-collapse: collapse;
}

table td,
table th {
    border: 1px solid black;
}