/*-- CSS Reset --*/
* {
    padding: 0;
    margin: 0;
    font-size: 100%;
    font-weight: normal;
    line-height: 1em;
}

/*----- Main Styling, this section lays down the fondations for the main structure of the content ----*/

body {
    background: #DCE8F2;
    color: #333;
    font-family: baskerville-urw, serif;
    font-weight: 400;
    font-style: normal;
}

section, header, footer {
    width: 80%;
    max-width: 700px;
    margin: auto;
    padding: 0;
}

header {
    margin-top: -2em;
}

section {
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}


.dark {
    background: #2A4359;
    padding: 3rem 0;
    margin-top: 0.5em;
}

.light {
    background: #B0C6D9;
    padding: 0.5rem 0;
    margin-top: 0.5em;
}

.intro {
    background: #B0C6D9;
    padding: 3rem 0;
    margin-top: -3.9em; 
}

.gridimage {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    margin-top: -0.5rem;
    margin-bottom: -1rem;
}

.container {
    position: relative;
    text-align: left;
    color: white;
}

/*-- Styling Typography --*/

p {
    font-family: hero-new, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.1em;
    color: #333;
    text-align: left;
}

header h1, h2 {
    color: #2A4359;
    padding: 0.5rem 0;
    font-family: hero-new, sans-serif;
    font-weight: 800;
    font-style: italic;
}

header h2 {
    font-style: italic;
    font-size: 2.8rem;
    font-weight: 450;
    color: #2A4359;
    margin-top: -3rem;
    margin-bottom: -1rem;
    text-indent: 1.5rem;
}

h1 {
    font-size: 3rem;
    text-align: center;
}

h1, h2 {
    color: #2A4359;
    font-style: bold;
}

h3 {
    text-align: left;
    color: white;
    font-size: 1.8em;
    font-family: hero-new, sans-serif;
    font-weight: 500;
    font-style: normal;
    padding: 0 0 1em 0;
    margin: auto;
    margin-left: 5px;
}

p, footer {
    padding: 1em 0;
    line-height: 1.4;
    font-family: hero-new, sans-serif;
    text-align: left;
}

h2 {
    font-size: 3rem;
    margin: 0.5em 0 0em;
    text-align: center;
}

blockquote {
    font-style: italic;
    font-size: 1.6rem;
    color: #2A4359;
    hanging-punctuation: first;
    text-indent: -0.9rem;
    line-height: 1.2;
    text-align: center;
}

cite {
    font-style: normal;
    font-size: 0.75em;
    color: #2A4359;
    transition: all 0.3s ease-in-out;
}

.bottom-left {
    position: absolute;
    bottom: 5px;
    left: 3px;
    font-size: 4rem;
    font-family: hero-new, sans-serif;
    font-weight: 800;
    font-style: italic;
    line-height: normal;
    margin-left: 1rem;
    margin-bottom: 6rem;
}

.bottom-left p {
    font-size: 1.5rem;
    font-family: hero-new, sans-serif;
    font-weight: 400;
    font-style: italic;
    color: #B0C6D9;
}


/*-- Style Links --*/
a {
    color: #2A4359;
    text-decoration: none;
}

a:hover {
    color: #ffffff;
    border-bottom: 1px dotted;
}

/*-- Styling Nav --*/

nav {
    position: relative;
    top: 0;
    left: 0;
    margin: 0;
    width: 100%;
    background: #2A4359;
    border-bottom: white;
    padding: 2.5em 0;
    font-size: 0.75rem;
}

nav ul {
    text-align: center;
    text-transform: upper-case;
    letter-spacing: 2px;
}
nav ul li {
    display: inline;
    margin: 25px;
    background: none;
}

nav a {
    color: #f7f7f7;
}

nav a:visited {
    color: #ffffff;
}

nav a:hover {
    border-bottom: none;
    color: #98C5FF;
    transition: all 0.3s ease-in-out;
}

hr{
    margin: 100px 0;
    height: 1px;
    background-color: #2E5559;
    color: #2E5559;
    border: 0 none;
}

/*-- Image Control --*/

img {
    display: block;
        margin: 2em 0;
        padding: 0;
        width: 100%;
        margin-top: 0.2em;
}


.floatright {
    align-items: right;
    float: right;
    margin-left: 20px;
    margin-top: 20px;
    width: 200px;
    height: auto;
}

.socialmedia {
    margin-top: 2em;
}

/*----- Footer -----*/

    footer { 
        font-size: 0.8em;
        font-family: hero-new, sans-serif;
        font-weight: 400;
        font-style: normal;
        padding: 0 0 2em 0;
        margin: auto;
    }

    footer li {
        color: #f7f7f7;
        font-size: 1.1em;
        line-height: normal;
        text-align: left;
        list-style: none;
    }


    footer p {
        color: #f7f7f7;
        text-align: center;
    }


    footer section {
        text-align: left;
    }

    footer a {
        color: #f7f7f7;
        margin: 0 5px;
    }

    footer a:hover {
        color: #98C5FF;
        transition: all 0.5s ease-in-out;
    }
