
:root {
    --base-color: #00adef;
    --base-font: 16px arial white;
    --darker-color: rgb(0, 80, 112);
}

/* ------------------------ RESET ------------------------- */
/* Derived from: https://raw.githubusercontent.com/Lazzzer00/Best-CSS-Reset-2024/refs/heads/main/css_reset.css */

*, *::before, *::after{
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
    /* font-size: 16px;
    font-family: Arial; */
}


ul[role='list'], ol[role='list']{
    list-style: none;
}

html:focus-within{
    scroll-behavior: smooth;
}

a:not([class]){
    text-decoration-skip-ink: auto;
}

img, picture, svg, video, canvas{
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    font-style: italic;
    background-repeat: no-repeat;
    background-size: cover;
}

input, button, textarea, select{
    font: inherit;
}

@media (prefers-reduced-motion: reduce){
    html:focus-within {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
        transition: none;
    }
}

/* ------------------------ END OF RESET ------------------------- */



html {
    font: var(--base-font);
    background-color: white;
}

body {
    /* margin: auto;
    max-width: 800px; */
    color: var(--base-color);
    background-color: #eee;
    /* height: auto; */
    height: 100vh;
}

h1 {
    font-size: 150%;
    display: block;
    color: var(--darker-color);
    border-bottom: darkgray solid;
}


h2 {
    margin-top: 1.5em;
    font-size: 130%;
    display: block;
    background-color: var(--base-color);
    color: white;
    padding: 0.2em 0.5em;
}

h3 {
    font-size: 120%;
    color: var(--darker-color);
}

ul, ol {
    margin: 0.5em 0 0 2em;
}

ul  li {
    list-style: none;
}

ul ul {
    margin-top: 0;
}

ul li {
    line-height: 1.5em;
}

li h3 {
    line-height: 1.8em;
}

a {
    color: var(--darker-color);
}

a:hover {
    color: var(--base-color);
}

.main {
    /* background-color: #f0f0f0; */
    padding: 1em;
    margin: auto;
    margin-top: 10px;
    max-width: 800px;
}

header {
    height: 72px;
    background-color: white;
    padding: 10px 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-img {
    max-width: 200px;
    margin-top: 8px;
    clear: right;
}

.header-label {
    font-size: 160%;
    color: var(--darker-color);
    font-weight: bold;
    clear: left;
    float: right;
    margin-top: 10px;
}


/* -- AI Generated Section -- */
body {
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.1rem;
    margin: 0;
    padding: 0;
    background: #f9f9f9;
    color: #333;
}

/* header {
    background: #004080;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
} */

.container {
    max-width: 960px;
    margin: 3rem auto;
    padding: 0 1rem;
}

details {
    margin-bottom: 1rem;
    background: white;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 0.5rem 1rem;
}

summary {
    font-weight: bold;
    font-size: 1.3rem;
    cursor: pointer;
}

ul {
    list-style-type: none;
    padding-left: 1rem;
}

li {
    margin: 0.3rem 0;
}

a {
    /* color: #004080; */
    text-decoration: underline;
}

a:hover {
    text-decoration: underline;
}

.hr {
    margin: 30px 0;
    border: solid var(--darker-color) 1px;
}

.archive {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    margin-top: 2rem;
}

.archive details,
details details {
    border: none;
}

.archive details summary,
details details summary {
    font-size: 1.1rem;
}

details > ul {
    /* margin-left: 5px; */
}

.list-item {
    margin-left: -15px;
    padding-left: 0;
}

 #searchBox {
    width: 100%;
    padding: 0.5rem;
    font-size: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
}