@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,200;0,300;0,400;0,600;0,700;1,200;1,300;1,400;1,600;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Coustard:wght@900&display=swap');
/*------------------------------------------HIGH LEVEL/STRUCTURAL*/
body {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 18px;
    color: #5d3115;
    background-color: #FFFEF9;
    overflow-x: hidden;
}
div#content{
    overflow: auto;
}
div .content-frame{
    padding: 5em
}
aside .content-frame {
    padding: 5em 3em;
}
/*------------------------------------------HEADER*/
header {
    background-color: #C9DAAF;
    height: 100px;
    text-align: center;
}
header h1 {
    font-family: 'Coustard', serif;
    display: inline-block;
    font-size: 45px;
    color: #5d3115;
    line-height: 45px;
    margin-top: 0.25em;
    padding: 0.25em;
    border: 0.15em solid #5d3115;
    border-radius: 0.25em;
 }
/*------------------------------------------NAVIGATION*/
nav {
    background-color: #67822a;
    text-align: center;
}
nav li {
    display: inline-block;
    list-style: none;
}
nav li:hover {
    background-color: #C9DAAE;
}
nav a {
    display: inline-block;
    padding: 10px;
    color: white;
    text-decoration: none;
    
}
#mobile-nav-button {
    position: absolute;
    top:0px;
    right:0px;
    width:50px;
    height:50px;
    font-weight:bold;
    text-align: center;
    color: #67822a;
    cursor:pointer;
    display:none;
}
/*------------------------------------------MAIN AND ASIDE*/
main, aside{
    float: left;
}
main {
    width: 70%;
}
main img {
    max-width: 800px;
}
aside{
    width: 30%;
    background-color: #F7F6F1;
    height: 100vh;
}
/*------------------------------------------TEXT*/
h1 {
    color: #67822a;
    font-family: 'Coustard', serif;
    font-size: 200%;
    font-weight: bold;
    margin-bottom: 0.5em;
    text-align: center;
}
h2 {
    font-family: 'Coustard', serif;
    font-weight: bold;
    font-size: 150%;
    margin: 2em 0 0.25em 0;
}
h3 {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: bold;
    font-size: 120%;
    color: #67822a;
    margin: 2em 0 0.25em 0;
    text-transform: uppercase;
}
p {
    line-height: 1.5em;
    margin-bottom: 2em;
}
blockquote {
    font-size: 90%;
    font-weight: bold;
    line-height: 1.5em;
    padding: 2em 3em 2em 3em;
    margin: 2em 0;
    background-color: #F7F6F1; 
}
figcaption {
    font-size: 90%;
    line-height: 1.5em;
    margin-bottom: 2em;
}
pre { 
    background-color: #333; 
    padding: 2em; 
    color:greenyellow; 
    border-radius: 12px;
}
/*-----------------------------------BLOG*/
.blog-subtitle {
    margin: 0;
    text-align: center;
}
.author{
    font-size: 90%;
    text-align: center;
}
.blog-timestamp {
    border-top: 1px solid grey;
    border-bottom: 1px solid grey;
    padding: 0.5em;
    margin-bottom: 1em;
    
}
.blog-timestamp p {
    margin: 0;
    padding: 0;
    font-size: 60%
}
.blog-timestamp .pub-date {
    text-align: center;
}
.postSummary {
    display: inline-block;
    width: 100%;
    padding: 2em;
    border-bottom: 1px solid darkslategrey;
    margin: 0;
}
.postSummary:hover {
    background-color: #F7F6F1;
}
.postSummary img {
    display: inline-block;
    width: 30%;
    height: 100%;
    float: left;
    margin-right: 2%;
}
.postSummary p, .postSummary h3, .postSummary h2 {
    margin: 0;
    text-align: left;
}
.postSummary p {
    color: #5d3115;
}
.postSummary .author {
    margin-bottom: 1em;
    color: darkslategrey;
}
.postSummary .pub-date {
    text-align: left;
}
.postSummaryText h2 {
    margin: 0;
    margin-bottom: 0.5em;
}
.postSummaryText {
    display: inline-block;
    width:68%;
    float: left;
    margin-top: 0;
    margin-bottom: 1em;
}
details {
    margin-bottom: 2em;
}
#greenCircle {
  background-color: green;
  width: 150px;
  height: 150px;
  border-radius: 100%;
  margin: 2em auto;
  color: white;
  line-height: 150px;
  text-align: center;
}
/*------------------------------------------FORM*/
form {
    width: 100%;
    display: block;
}
input, textarea {
    width: 96%;
    display: block;
    padding: 2%;
    font-size: inherit;
    font-family: inherit;
    border-radius: 0.25em;
    margin-right: 0;
    margin-bottom: 2em;
    resize: none;
    border: none;
    background-color: #F7F6F1;    
}
input:focus, textarea:focus{
    border: 2px solid #67822a;
    border-radius: 0.25em;
    outline: none;
}
textarea {
    height: 100px;
}
input[type=submit]{
    color: white;
    width: 100%;
    padding:  1em 0;
    background-color: #67822a;
    font-weight: bold;
    letter-spacing: 0.1em;
    display: block;
    border-radius: 0.25em;
    text-align: center;
}
input[type=submit]:hover{
    color: darkslategrey;
    background-color: #C9DAAE;
}
label{
    display: block;
    font-weight: bold;
    margin-bottom: 0.25em;
}
.validation-message{
    color: red;
}
/*------------------------------------------LINKS*/
a {
    color: #67822a;
    text-decoration: none;
}
a:hover {
    color: darkslategrey;
}
.btn {
    color: white;
    background-color: #67822a;
    font-size: 125%;
    padding: 1em 2em;
    display: block;
    border-radius: 0.25em;
    text-align: center;
}
.btn:hover {
    color: darkslategrey;
    background-color: #C9DAAE;
}
/*------------------------------------------IMAGES*/
img {
    width: 100%;
}
.thumbnail {
    display: block;
    width: 45%;
    margin: 0 auto;
    text-align: center;
}
.featuredImg {
    margin-bottom: 1em;
    max-width: 100%;
}
figure{
    max-width: 30%;
    margin: 0 auto;
}
.wide-figure {
    max-width: 50%;
    margin: 0;
}
#socialMedia img {
    max-width: 50%;
    padding: 0.5em;
}
#socialMedia li:hover {
    background-color: #C9DAAE;
    border-radius: 0.25em;
}
/*-----------------------------IMAGE GALLERY*/
#image-gallery {
    position: relative;
    text-align: center;
}
#image-gallery img{
    max-height: 600px;
    width: 100%;
    margin-bottom: 1em;
}
#image-gallery input {
    width: 25%;
    display: inline-block;
    padding: 1em;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    font-weight: 400;
    border-radius: 0.25em;
}
#image-gallery input:hover {
    background-color: rgba(225, 225, 225, 1);
    color: darkslategrey;
    font-weight: bold;

}
#image-gallery input#btnPrev {
    margin-right: 1em;
}
/*------------------------------------------LISTS*/
#content ul, #content ol {
    margin-left: 2em;
    line-height: 1.5em;
    list-style: disc;
}
ul#postList {
    margin-left: 0;
}
ul#socialMedia {
    list-style: none;
    text-indent: 0;
    margin: 0;
    text-align: center;
}
/*------------------------------------------FOOTER*/
footer {
    background-color: #67822a;
    color: white;
    font-size: 90%;
    padding: 1em;
    text-align: center;
}
footer a {
    color: white;
}
/*------------------------------------------MAX WIDTH 800PX MEDIA QUEREY*/
@media all and (max-width: 1400px) {
    .postSummary {
        margin-bottom: 2em;
        font-size: 100%;
        width: 92%;
        padding: 4%;
    }
    .postSummary img {
        display: block;
        float: none;
        margin: 0 auto;
        width: 100%;
        margin-bottom: 1em;
    }
    .postSummaryText {
        display: block;
        float: none;
        width: 100%;
        margin: 0;
        margin-bottom: 1em;
    }
}
@media all and (max-width : 800px) {
    header{
        height: 72px;
    }
    header h1 {
        font-size: 25px;
        margin-top: 0.45em;
        padding: 0 0.25em;
    }
    main, aside {
        float: none;
        width: 100%;
    }
    pre {
        overflow-x: scroll;
    }
    nav li{
        display: block;
        padding: 1em;
    }
    nav {
        display: none;
    }
    #mobile-nav-button {
        display: block;
        font-size: 30px;
        line-height: 72px;
    }
    div .content-frame {
        padding: 2em;
    }
    figure {
        max-width: 90%;
    }
    .wide-figure {
        max-width: 90%;
        margin: 0 auto;
    }
    .thumbnail {
        width: 75%;
    }
    #image-gallery input {
        width: 30%;
    }
}
