
footer {max-width:1140px;background-color: #949EAA;display: -webkit-flex;display: flex;-webkit-flex-direction: row;flex-direction: row;font-family: 'Lato', sans-serif; margin: 0 auto;padding: 40px;flex-wrap: wrap;justify-content: space-between;align-items: center;}
footer ul {list-style-type: none;margin-left: -15px;}
footer a {color: #ffffff;text-decoration: none;}
span { font-weight: 800; }

body{
	margin: 0;
}

main{
	margin:0 auto;
	max-width: 1140px;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    height: 100px;
    overflow: hidden;
    background-color: #6c9fb2;
}

nav li {
    float: left;
}

nav li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

nav li a:hover {
    background-color: #111;
}

figcaption{float: right;margin-top: -10px;font-size: .7em;color: #000;}


h1 {
    font-family: 'Josefin Sans', sans-serif;
    line-height: 1.5em;
    border-bottom: 3px #999 solid; 
    max-width: 70%;
    background-color: #FDB96A;
    color: #000;
    padding-left: 10px;
}

h1::first-letter{
    font-size: 200%;
}

h2 {
    font-family: 'Josefin Sans', sans-serif;
    line-height: 1.5em;
    border-bottom: 3px #999 solid; 
    max-width: 25%;
    background-color: #DD5D77;
    color: #000;
    padding-left: 10px;
}

h3 {
    font-family: 'Josefin Sans', sans-serif;
    line-height: 1.5em;
    border-bottom: 3px #999 solid; 
    max-width: 30%;
    background-color: #D5F28C;
    color: #000;
    padding-left: 10px;
}

h4 {
    font-family: 'Josefin Sans', sans-serif;
    line-height: 1.5em;
    border-bottom: 3px #999 solid; 
    max-width: 60%;
    background-color: #86CDE9;
    color: #000;
    padding-left: 10px;
}

h5 {
    font-family: 'Josefin Sans', sans-serif;
    line-height: 1.5em;
    border-bottom: 3px #999 solid; 
    max-width: 40%;
    background-color: #D5F28C;
    color: #000;
    padding-left: 10px;
}

.commentBox{
    -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 75% 75%, 75% 100%, 50% 75%, 0% 75%);
    clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 75% 75%, 75% 100%, 50% 75%, 0% 75%);
}

.nav .pagename {
    font-size: 15px;
    top: 1px;
    font-weight: 800;
}


