/* Five equal translucent horizontal bars, fixed to the window */
html {
    background: linear-gradient(to bottom,
        rgba(91, 206, 250, 0.05) 0 20%,
        rgba(245, 169, 184, 0.05) 20% 40%,
        rgba(255, 255, 255, 0.05) 40% 60%,
        rgba(245, 169, 184, 0.05) 60% 80%,
        rgba(91, 206, 250, 0.05) 80% 100%) fixed;
}

body {
    font-family: system-ui, sans-serif;
    line-height: 1.6;
    color: #222;
    max-width: 40rem;
    margin: 0 auto;
    padding: 2rem 1rem;
}

a {
    color: #0b5cad;
}

/* Menu at the top of every page */
.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.site-nav a {
    text-decoration: none;
}

/* The page you're on is shown dark and underlined */
.site-nav a[aria-current="page"] {
    color: #222;
    text-decoration: underline;
}

/* White box behind the page content so the text stands out from the stripes */
main {
    background: rgba(255, 255, 255, 0.85);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

h1 {
    margin-top: 0;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.side-reveal {
    position: fixed;
    top: 2rem;
    left: 1rem;
}

.side-reveal summary {
    color: #0b5cad;
    cursor: pointer;
    list-style: none;
}

.side-reveal summary::-webkit-details-marker {
    display: none;
}

/* On narrow screens there's no room beside the column, so sit above it instead */
@media (max-width: 52rem) {
    .side-reveal {
        position: static;
    }
}

footer {
    margin-top: 3rem;
    font-size: 0.9rem;
    color: #666;
}
