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


/* TYPOGRAPHY */

body {
    font-size: 87.5%; /* 14px */
    font-family: Helvetica, Arial, sans-serif;
    line-height: 1.5em; /* 14px x 1.5em = 21px */
    color: #333;
}

/* #HEADINGS
    Based on a Traditional Typographic Scale 
    48, 36, 24, 21, 18, 16 */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Helvetica, Arial, sans-serif;
    margin: 0.5em 0;
}

h1 {
    font-size: 3em;
    /* 48px / 16px = 3em */
    line-height: 1;
}

h2 {
    font-size: 2.25em;
    /* 36px / 16px = 2.25em */
    line-height: 1.1;
}
  
h3 {
    font-size: 1.5em;
    /* 24px / 16px = 1.5em */
    line-height: 1.2;
}
  
h4 {
    font-size: 1.3125em;
    /* 21px / 16px = 1.3125em */
    line-height: 1.3;
}
  
h5 {
    font-size: 1.125em;
    /* 18px / 16px = 1.125em */
    line-height: 1.4;
}
  
h6 {
    font-size: 1em;
    /* 16px / 16px = 1em */
    line-height: 1.5;
}

/* PARAGRAPHS */
p {
    margin: 0 0 0.5em 0;
    max-width: 38em;
}

.centered p {
    margin-left: auto;
    margin-right: auto;
}

strong {
    font-weight: 700;
}

em {
    font-style: italic;
}

/* LINKS */
a {
    color: rgb(1, 129, 108);
    text-decoration: none;
}

a:hover {
    color: rgb(100, 22, 56);
    text-decoration: underline;
}

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

.full-width {
    max-width: none;
    width: 100%;
}

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

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

.suheader {
    color: #999;
    margin-top: 1em;
    font-style: normal;
    font-weight: normal;
    clear: both;
}

/* HORIZONTAL RULES */
hr {
    border: 0;
    height: 1px;
    background: #ddd;
    margin: 2em 0;
}

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

/* COMPONENTS */
/* BUTTONS */
button {
    font-size: inherit;
}

button,
a.button, 
form input[type=submit] {
    display: inline-block;
    background-color: rgb(1, 129, 108);
    border: 1px solid rgb(1, 129, 108);
    color: #fff;
    padding: 0.75em 1em;
    border-radius: 0.32em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    border: none;
    cursor: pointer;
    line-height: 1;
}

button.alt,
a.button.alt {
    background-color: transparent;
    border: 1px solid rgb(1, 129, 108);
    color: rgb(1, 129, 108);
}

button:hover,
a.button:hover,
form input[type=submit]:hover {
    background-color: rgb(0, 94, 78);
    color: #fff;
    border-color: rgb(1, 129, 108);
    text-decoration: none;
}

/* 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 WOULD GO HERE */
}

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

/* GRID
section
.container {
    overflow-x: hidden;
} */

/* FOR DEMO PURPOSES ONLY */
body.demo {
    padding-top: 2em;
}
body.demo::before {
    content: "Small (Mobile) Screen 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 - 1250px";
    }
}

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

/* SEMANTIC GRID SYSTEM */

.row > .column {
    margin-bottom: 4%;
}

@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;
    text-align: center;
}

.demo .column p {
    max-width: none;
    margin: 0;
    padding: 0 0.5em;
}

/* 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;
    }
}

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

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

/* LOGO AREA */

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

/* 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;
}

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

/* HERO */

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

.hero h1, p {
    max-width: 600px;
    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 .8em;
        margin: .8em 0;
        border: 1px solid black;
        background-color: transparent;
    }
    .toggle-nav .site-nav .menu-button::selection {
       background-color: rgba(255, 255, 255, 0);
    }
    .toggle-nav .site-nav ul {
        display: block;
        text-align: center;
    }
    .toggle-nav .site-nav a:hover {
        background-color: rgb(1, 129, 108);
        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 .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 .4em;
        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";
    }
}

/* Main Sections */
section {
    padding: 1.5em 0;
  }
  
  /* Hero Sections */
  .container .hero {
    position: relative;
    top: 2em;
    margin-bottom: 3em;
  }
  
  .hero {
    background: #ddd;
    border-top: none;
    padding: 4em 1em 3em 1em;
    margin-bottom: 1.5em;
  }
  .hero h1,
  .hero h2 {
    font-size: 3em;
    line-height: 1.1em;
    max-width: 10em;
  }
  .hero p {
    max-width: 22em;
  }
  .hero.text-centered h1,
  .hero.text-centered h2,
  .hero.text-centered h3,
  .hero.text-centered h4,
  .hero.text-centered h5,
  .hero.text-centered h6,
  .hero.text-centered p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero.full-width {
    margin-top: 0;
    margin-bottom: 0;
  }

/* Articles */
article {
    max-width: 38em;
    margin: 0 auto 8em auto;
    padding: 2em 0;
  }
  article h1 {
    text-align: center;
  }
  article h1 + h2 {
    text-align: center;
    font-size: 1.5em;
    line-height: 1.25em;
    font-weight: normal;
    margin-bottom: 1em;
  }
  article .date {
    text-align: center;
    font-size: 0.625em;
    line-height: 0.625em;
    color: #999;
    font-weight: normal;
  }
  article .date + p {
    margin-top: 2em;
  }
  article p + h2,
  article p + h3,
  article p + h4,
  article p + h5,
  article p + h6 {
    margin-top: 1em;
  }

  /* FORMS */
form {
    margin: 1.75em 0;
  }
  
form label {
    display: block;
  }
  
form input,
form textarea {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 1em;
    line-height: 1.15em;
    display: block;
    margin-bottom: 1.25em;
    width: 100%;
    color: #666;
    padding: 0.5em;
    border: 1px solid #ccc;
}

form textarea {
    border: 1px solid #ccc;
    min-height: 10em;
}

form input[type=button],
form input[type=submit],
form input[type=reset] {
    width: auto;
}