    /***  css styles for lunar madness website
author: DawnM, Sandbur Farm Productions
date: Feb 2017
***/

body {
    position: relative;
    font-family: 'Sura', serif;
    color: rgb(58, 58, 58);
}

main, section, article {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding-bottom: 50px;
}

.moon1 {
    border-top: 1px solid rgb(1, 58, 54);
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-height: 585px;
    padding-bottom: 50px;
}

aside {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.s1 {
    width: 100%;
    order: -3;
    text-align: center;
}

.f1 {
    overflow: hidden;
}

.f2 {
    overflow: hidden;
}

p {
    padding-bottom: 1em;
    padding-left: 0.8em;
    padding-right: 0.8em;
    font-size: 0.9em;
}

cite {
    font-size: 1.0em;
    text-decoration: none;
}

cite a {
    text-decoration: none;
    color: rgb(17, 74, 158);
}

figure {
    position: relative;
}

figcaption {
    height: 3em;
    color: #fff;
    position: absolute;
    width: 100%;
    bottom: 0.25em;
    padding-left: 0.8em;
    padding-bottom: 0;
    padding-top: 1em;
    font-weight: bold;
    text-align: left;
    background: linear-gradient( to bottom, rgba(0, 0, 0, 0), rgba(255, 0, 0, 0.6));
    text-shadow: 0.5px 0.5px 2px rgb(24, 135, 25);
}

header {
    width: 100%;
    background-image: url("assets/bannermoon_sun01.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}

header h1 {
    text-align: center;
    text-shadow: 0.5px 0.5px 4px rgba(36, 8, 39, 0.8);
    color: ghostwhite;
}

h2, h3 {
    margin: 5px auto;
    text-align: left;
    padding-left: 0.8em;
    padding-right: 0.8em;
    color: rgb(17, 74, 158);
}

#subhead {
    display: none;
}

footer {
    width: 100%;
    background-color: #4277a3;
    height: 2.3em;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    vertical-align: middle;
    padding-top: .5em;
    font-family: sans-serif;
    color: ghostwhite;
}


/*** naviagtion styling with media queries  ***/

nav {
    width: 100%;
    padding: 5px;
    text-align: center;
    background-color: #4277a3;
}

nav a {
    text-decoration: none;
    margin-left: 10px;
    margin-right: 10px;
    padding: 2px;
    font-size: 0.9em;
    font-weight: 700;
    color: ghostwhite;
}

#hamburger {
    display: none;
}

@media screen and (max-width: 550px) {
    #hamburger {
        display: block;
        position: absolute;
        left: .3em;
        top: 1em;
        z-index: 99;
        color: ghostwhite;
    }
    nav {
        transition: 1.0s ease;
        position: absolute;
        width: 290px;
        z-index: 100;
        transform: scale(0.1);
        left: -290px;
        top: -100px;
    }
    nav a {
        display: block;
        text-decoration: none;
    }
}

.open {
    transform: scale(1.0);
    left: 0px;
    top: 3.25em;
}


/* end naviagtion styling with media queries */


/******** additional media queries ***********/

.i1 {
    @media screen (min-width: 321px) and (max-width: 559px) {
        img {
            moon_480x351px_2545.jpg;
            480w;
        }
    }
    @media screen and (min-width: 560px) {
        img {
            moon_560x351px_2545.jpg 560w;
        }
    }
}

img {
    width: 100vw;
    max-width: 100%;
    transition: width 0.5s;
}

@media screen and (min-width: 500px) {
    .facts {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }
    .s1 {
        width: 100%;
    }
    .f1 {
        width: 50%;
        order: -2;
    }
    .grey {
        order: -1;
        width: 50%;
        padding: 0;
    }
    aside p {
        margin-top: 3px;
        font-size: 0.75em;
        line-height: 1.3em;
    }
    .s2 {
        margin-top: 10px;
    }
    .s2, .s3, .s4 {
        padding-bottom: 0;
        width: 82%;
        margin-left: auto;
        margin-right: auto;
    }
    .f2 {
        max-width: 100%;
        margin-right: 0;
        max-height: 520px;
        padding: 0px;
    }
    article {
        padding-bottom: 0;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    .moon4 {
        padding-bottom: 50px;
    }
}


/* end media query min-width: 500px; */

@media screen and (min-width: 850px) {
    body {
        width: 850px;
        margin-left: auto;
        margin-right: auto;
    }
    .f1 {
        width: 50%;
        order: 0;
    }
    .grey {
        background-color: black;
        background-image: radial-gradient(white, rgba(255, 255, 255, .2) 2px, transparent 40px), radial-gradient(white, rgba(255, 255, 255, .15) 1px, transparent 30px), radial-gradient(white, rgba(255, 255, 255, .1) 2px, transparent 40px), radial-gradient(rgba(255, 255, 255, .4), rgba(255, 255, 255, .1) 2px, transparent 30px);
        background-size: 550px 550px, 350px 350px, 250px 250px, 150px 150px;
        background-position: 0 0, 40px 60px, 130px 270px, 70px 100px;
        color: ghostwhite;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        padding: 0;
        width: 50%;
        max-height: 313px;
        order: -1;
    }
    #subhead {
        display: inline-flex;
        text-transform: uppercase;
        color: ghostwhite;
    }
    h1 {
        font-size: 2.9em;
    }
    h2 {
        font-size: 2.5em;
    }
    h3 {
        font-size: 1.6em;
        margin: 0;
        padding: 0 0 0 0.8em;
    }
    h4 {
        font-size: 1.3em;
        padding-top: 1.2em;
        padding-bottom: .5em;
    }
    p {
        font-size: 1.1em;
    }
    .s2, .s3, .s4 {
        flex-direction: row;
        justify-content: space-around;
        align-items: flex-start;
        width: 33%;
    }
    aside {
        padding-bottom: 50px;
    }
    .f2 {
        max-width: 45%;
        align-self: stretch;
        align-self: flex-start;
        max-height: 720px;
        padding: 0px;
    }
    .moon1 {
        display: flex;
        flex-wrap: wrap;
    }
    .moon2 {
        padding: 0px;
        width: 55%;
    }
    .moon3 {
        padding: 0px;
        width: 100%;
    }
    .moon4 {
        padding: 0px;
        width: 100%;
    }
    .moon3 p, .moon4 p {
        margin-left: 5px;
    }
}


/* end media query min-width: 850px; */

media screen and (min-width: 960px) {
    body {
        width: 960px;
        margin-left: auto;
        margin-right: auto;
    }
    /* end media query min-width: 960px; */
