/* #BASE CSS (Initital Setup)
---------------------------------
    #BASE CONTENT
        #TYPOGRAPHY
            #BODY
            #HEADINGS
            #PARAGRAPHS
            #LINKS
            #HELPERS
        #MEDIA
            #IMAGES
        #COMPONENTS
            #BUTTONS
    #BASE LAYOUT
        #SIMPLE RESET
        #MEDIAQUERIES
        #CONTAINER
        #GRID SYSTEM
    #BASE SITE
        #SITE STRUCTURE
            #HEADER
                # site-id (LOGO)
            #FOOTER
            #SECTIONS
            #SUB PAGES
        #SITE NAVIGATION
            #TOGGLE-NAV (Default for Small Screens)
--------------------------------- */

/* BASE TYPOGRAPHY */

/* BODY */
body {
    font-family: system-ui, Helvetica, Arial, sans-serif;
    color: #333;
    line-height: 1.4;

    /* SET DEFAULT FONT SIZE FOR 1EM */
    font-size: 87.5%;
}

/* HEADINGS */

h1, h2, h3, h4, h5, h6 {
    margin: .5em 0;
}

h1 {
    font-size: 3em;
    line-height: 1;
}

h2 {
    font-size: 2.25em;
    line-height: 1.1;
    
}

h3 {
    font-size: 2em;
    line-height: 1.2;
}

h4 {
    font-size: 1.5em;
    line-height: 1.3;
}

h5 {
    font-size: 1.25em;
    line-height: 1.35;
}

h6 {
    font-size: 1em;
    line-height: 1.4;
}

/* PARAGRAPHS - SET HOTOZONTAL MEASURE */
p {
    max-width: 66ch;
    border: 1px;
}

strong {
    font-weight: 700;
}

/* LINKS */
a {
    color: rgba(255,0,153,.8);
    text-decoration: none;
}

a :hover {
    color: rgba(0,0,153,1);
    text-decoration: underline;
}

/* HELPER CLASSES */
.text-centered {
    text-align: center;
}

.hidden {
    position: absolute;
    top: -9999px;
    left: -9999px;
}

@media (min-width: 768px) { .hidden-desktop {
    position: absolute;
    top: -9999px;
    left: -9999px;
    }
}

@media (min-width: 767px) { .hidden-mobile {
    position: absolute;
    top: -9999px;
    left: -9999px;
    }
}

.full-width {
    max-width: none;
    width: 100%;
}
.horiz-center {
    margin-left: auto;
    margin-right: auto;
}

/* IMAGES */
img {
    max-width: 100%;
    height: auto;
}

/* BUTTONS */
.button, button, form input[type="submit"] {
    background-color: rgba(0,0,204,1);
    border: 1px solid rgba(0,0,204,1);
    Color: rgba(255,255,255,.8);
    padding: 1em;
    display: inline-block;
    margin: .5em .5em .5em 0;
    text-align: center;
    border-radius: .5em;
}

.button:hover, button:hover, form input[type="submit"]:hover {
    background-color: rgba(0,0,153,1);
    border-color: rgba(0,0,153,1);
    color: rgba(255,255,255,1);
    text-decoration: none;
}

.button.alt {
    background-color: transparent;
    color: rgba(0,0,153,.8);
}

.button.alt:hover {
    background-color: rgba(0,0,153,1);
    color: rgba(255,255,255,1);;
}

/* LAYOUT */

/* SIMPLE RESET */
* { box-sizing: border-box; }
body { margin: 0;}

/* CONTAINER */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding:0 4%;
}

/*  MEDIA QUERIES */

@media (min-width: 768px) {
   /* TABLET SIZED STYLING GOES HERE */
}

@media (min-width: 1050px) {
    body {
        font-size: 100%; /* 16px */
    }
}

@media (min-width: 1250px) {
    body {
        font-size: 112.5%; /* 18px */
    }    bbb
    .container {
            max-width: 1200px;
    }
}

/* FOR DEMO PURPOSES ONLY */
body.demo {
    padding-top: 2em;
}

body.demo::before {
    content: "Small (Mobile) Less Than 768px";
    background-color: #933;
    width: 100%;
    position: fixed;
    top: 0;
    text-align: center;
    color: white;
    padding: .5em;
}

@media (min-width: 768px) {
body.demo::before {
    background-color: #bcb83d;
    content: "Midsize (Tablet) Screen 768px - 1050px";
}
}

@media (min-width: 1050px) {
    body.demo::before {
        background-color: #693;
        content: "Large (Notebook) Screen 1050px - 1250";
}
}

@media (min-width: 1250px) {
    body.demo::before {
        background-color: #09c;
        content: "Extra Large (Desktop) Screen 1250px +";
}
}

/* SEMANTIC GRID SYSTEM */

.row > .column {
    margin-bottom: 1em;
}

@media (min-width: 768px) {

    .row {
        display: flex;
        justify-content: space-between;
        margin-left: -2%;
        margin-right: -2%;
    }

    .row > .column {
        flex-grow: 1;
        margin-left: 2%;
        margin-right: 2%;
    }

    .row > .column.one-half {
        max-width: 46%;
    }

    .row > .column.one-third {
        max-width: 29.3333%;
    }

    .row > .column.two-thirds {
        max-width: 62.6666%;
    }

    .row > .column.one-fourth {
        max-width: 21%;
    }

    .row > .column.centered {
        margin-left: auto;
        margin-right: auto;
    }
}

/* FOR DEMO PURPOSES ONLY */
.demo .column {
    background: rgba(0,0,0,.2);
    padding: 1em;
}

/* SITE STRUCTURE */

/* SITE HEADER */
.site-header {
    padding: 1em 0;
}

/* ON LARGER SCREENS PLACE LOGO LEFT AND NAV RIGHT */
@media (min-width: 768px) {
.site-header .container {
    display: flex;
    justify-content: space-between;

    }
} 

/* STYLRING FOR BOTH AND FOOTER */
 .site-header a,
 .site-footer a {
    color: rgba(0,0,0,.8);
 }

.site-header a:hover,
.site-footer a:hover {
    color: rgba(0,0,0,1);
    text-decoration: none;
} 

/* LOGO AREA */

.site-id h1 {
    font-size: 1.5em;
    margin: 0;
    padding-top: .25em;
    text-align: center;
    color: #999;
}

/* SITE NAV */

.site-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
}

.site-nav a {
    display: block;
    padding: 1em;
}

.site-nav .menu-button {
    display: none;
}

/* SECTION */
section {
    padding: 3em 0;
}

/* HERO */

.hero {
    padding: 3em 4%;
    background-color: rgba(0,0,0,.1);
    text-align: center;
}

.hero h1, p {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* TOGGLE NAV */

@media (max-width: 767px) {
    .toggle-nav .site-id {
        position: absolute;
    }
    .toggle-nav .site-nav {
        text-align: right;
    }
    .toggle-nav .site-nav .menu-button {
        display: block;
        display: inline-block;
        cursor: pointer;
        padding: .3em 1em;
        margin-bottom: .8em;
        border: 1px solid black;
    }
    .toggle-nav .site-nav .menu-button::selection {
        background: rgba(255,255,255,0);
    }
    .toggle-nav .site-nav ul {
        display: block;
        text-align: center;
    }
    .toggle-nav .site-nav a:hover {
        background-color: rgba(0,0,153,1);
        color: white;
    }
    .toggle-nav[data-navstate="closed"] ul {
        height: 0;
        overflow: hidden;
    }
    .toggle-nav[data-navstate="open"] ul {
        height: auto;
        overflow: visible;
    }

    /* NAVICON */
    .toggle-nav .site-nav .menu-button.navicon {
        border: none;
        color: rgba(255,255,255,0);
        padding: 0;
    }
    .toggle-nav .site-nav .menu-button.navicon::after {
        content: "\2630";
        display: inline-block;
        padding: .2em;
        margin: 0;
        color: rgba(0,0,0,.8);
        font-size: 1.5em;
    }

    .toggle-nav[data-navstate="open"] .site-nav .menu-button.navicon::after {
        content: "\2715";
    }
}

/* Articles */
article {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  article h1, 
  article h1 + .subhead, 
  article .date {
    text-align: center;
  }

  article h2.subhead {
    font-size: 1.5em;
    line-height: 1.2;
  }

  article .subhead {
    font-weight: normal;
    opacity: .7;
  }

  article .date {
    font-size: .75em;
    opacity: .5;
    margin-bottom: 3em;
  }
  
  article p + h2,
  article p + h3,
  article p + h4,
  article p + h5,
  article p + h6 {
    margin-top: 1.4em;

  }

  article p:first-of-type:first-letter {
    font-size: 3em;
    line-height: 1em;
    background: #000;
    color: #fff;
    padding: .2em .4em;
    margin-right: .3em;
    float: left;
  }

  /* FORMS */
  form {
    max-width: 600px;
    margin: 2em auto;
  }
  

  form label,
  form input,
  form textarea {
    box-sizing: border-box;
    display: block;
    width: 100%;
    font-size: 1em;
  }

  form label {
    margin-top: 1em;
    margin-bottom: 0.25em;
  }

  form input[type="text"],
  form textarea {
    border: 1px solid #ccc;
    padding: 0.5em;
    color: #666;
  }

  form textarea {
    min-height: 10em;
    line-height: 1.5;
  }

  form input[type="submit"] {
    margin-top: 1.5em;
    width: auto;
  }


