:root {
    /* guidance to the browser, 
    telling the browser how your page 
    is designed so built-in UI elements 
    (like forms, scrollbars, or autofill 
    popups) match the intended theme. */
    color-scheme: dark;

    /* START >>MAIN.CSS<< START */
    --body-bg: #252525;
    --body-color: white;
    --content-bg: #252525;
    --text-box-bg: #0b0b0b;
    --page-title-color: #4b8dd9;
    /* END >>MAIN.CSS<< END */
}

:root[data-theme="light"] {
    /* guidance to the browser, 
    telling the browser how your page 
    is designed so built-in UI elements 
    (like forms, scrollbars, or autofill 
    popups) match the intended theme. */
    color-scheme: light; 
    
    /* START >>MAIN.CSS<< START */
    --body-bg: #ededed;
    --body-color: black;
    --content-bg: #ededed;
    --text-box-bg: #fcfcfc;
    --page-title-color: #002e70;
    /* END >>MAIN.CSS<< END */
}





/* Screen Readers Only - Accessibility features */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body {
    /* background */
    background: var(--body-bg);
    color: var(--body-color);

    /* dimension */
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100vw;

    /*display*/
    display: flex;
    flex-direction: column;

    /*text property*/
    font-family: Helvetica, Arial, sans-serif;
    font-size: 22px;
    /* text-align: center; */
    
    /* property */
    transition: background 0.3s, color 0.3s;    
}

/* content canvas */
.content {
    /* background */
    background: var(--content-bg);

    /* dimension */
    
    /* The sticky header remains in document flow, so no fixed offset is needed. */
    margin-top: 0;

    /* Can play around with flex numbers */
    /* Flex is a concept that applies to child */
    flex: 1;

    /*display*/
    

    /* property */

}

.content .text-box {
    margin: 16px 1.2rem 32px;
    padding: 14px 2.88rem 20px;
    background: var(--text-box-bg);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.content .content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 8px 0 12px;
    padding: 20px 10px 25px;
    border-radius: 10px;
    box-sizing: border-box;
}

.content .page-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 24px 0 18px;
    text-align: left;
    color: var(--page-title-color);
}

.content h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 24px 0 12px;
    text-align: left;
}

.content p {
    margin: 0 0 1.2rem;
    text-align: left;
    text-indent: 2em; /* indent first line by roughly two characters */
    line-height: 1.6;
}

.content .no-indent {
    text-indent: 0;
}

.content sup {
    font-size: 0.7em;
    vertical-align: super;
    line-height: 0;
}


/* Should be placed at the bottom to override default/original settings */
/* Small screens: stack layout and shrink spacing */
@media (max-width: 768px) {
    /* START >>MAIN.CSS<< START */
    body { font-size: 18px; }
    .content { flex-direction: column; }
    /* END >>MAIN.CSS<< END */
}

/* Very small screens: single column, tighter text */
@media (max-width: 480px) {
    /* START >>MAIN.CSS<< START */

    /* END >>MAIN.CSS<< END */
}
