* {
    margin: 0;
    padding: 0;
  }

body{
    width: 100%;
    height: 100%;
    font-family: "Open Sans";
    background-color: white;
    color: black;
    margin: 0 auto
}

h1 {
    color: white;
    font-size: 30px;
}

h2 {
    font-size: 28px;
    text-align: center;
}

h3 {
    font-size: 26px;
}

p {
    font-size: 1.125em;
}


header {
    text-align: center;
    background-color: #2B310B;
    border-bottom-width: 4px;
    border-bottom-color: #A9AF8B;
    border-bottom-style: solid;
    border-top-width: 4px;
    border-top-color: #A9AF8B;
    border-top-style: solid;
    padding-top: 1%;
    padding-bottom: 1%;
}

#header_container {
    padding-left: 7%;
}

#header_text{
    text-align: left;
}

#nav_bar_container{
    display: inline;
}

#ul_nav_bar{
    display:flex;
    justify-content:safe;
    color: white;
    font-size:18px;
    list-style:none;
    padding-right: 5px;
}

.nav_bar_item{
    padding-right: 15px;
    color: #A9AF8B;
}

a {
    color: #6a7337;
    text-decoration: none;
}

/* mouse over link */
a:hover {
    text-decoration: underline;
  }

img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

#content_container{
    padding-right: 7%;
    padding-left: 7%;
}

.post_modified_date {
    text-align: center;
    color: #7d7d7d;
    font-size: 14px;
}

/* Blog post listing */
.page_change {
    justify-content: center;
    text-align: center;
    display: grid;
    grid-auto-flow: column;
    grid-column-gap: 30px;
}

#blog_post {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    border-bottom-width: 2px;
    border-bottom-color: #A9AF8B;
    border-bottom-style: solid;
    padding-bottom: 3%;
}

.blog_abstract {
    padding-top: 2%;
    padding-bottom: 5%;
}

.blog_post_modified_date {
    text-align: left;
    color: black;
    font-size: 16px;
    font-weight: bold;
    padding-bottom: 2%;
}

.blog_post_modified_date_article {
    text-align: center;
    color: black;
    font-size: 16px;
    font-weight: bold;
}

.blog_post_title {
    text-align: left;
    color: black;
}

.blog_post_content_title {
    color: black;
}

#blog_img_container {
    width: 30%;
    margin-right: 6%;
    margin-bottom: 0;
}

#blog_text_container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.blog_header_img {
    margin-right: 0;
    height: 250px;
    width: 250px;
    object-fit: cover;
    text-align: left;
}

.blog_post_content {
    padding-left: 5%;
    padding-right: 5%;
}
#tag_list {
    list-style: none;
    text-align: center;
}

#profile_image {
    width: 250px;
    height: auto;
}

.page_change {
    justify-content: center;
    text-align: center;
    display: grid;
    grid-auto-flow: column;
    grid-column-gap: 30px;
}


.standard_button {
    border: none;
    background-color: inherit;  
    font-size: 23px;
    color: #2B310B;
    cursor: pointer;
    display: inline-block;
    font: roboto;
}

.tag {
    display: inline-block;
    height: 24px;
    line-height: 24px;
    position: relative;
    padding: 0 10px 0 12px;
    background: #2B310B;
    -webkit-border-bottom-right-radius: 3px;    
    border-bottom-right-radius: 3px;
    -webkit-border-top-right-radius: 3px;    
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    color: #ffff;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 5px;
}

footer {
    text-align: center;
    font-size: 11px;
}

.year_item {
    font-size: 31px;
    color: #6a7337;
    text-align: center;
    list-style: none;
}

.month_item {
    font-size: 17px;
    color: #6a7337;
    text-align: center;
    list-style: none;
}

#social_list {
    text-align: center;
}

@media only screen and (max-width: 800px) {
    body{
        width: 100%;
        height: 100%;
        background-color: white;
        color: black; 
        font-size: 13px;
    }

    #nav_bar_container{
        display: inline;
    }
    
    #ul_nav_bar{
        display:flex;
        justify-content:safe;
        color: white;
        font-size:17px;
        list-style:none;
        padding-right: 3px;
    }
    
    .nav_bar_item{
        padding-right: 10px;
        color: #A9AF8B;
    }
    
    h1 {
        color: #FFFFFF;
        font-size: 24px;
    }

    h2 {
        font-size: 23px;
    }

    h3 {
        font-size: 20px;
    }    
    
    header {
        text-align:left;
        background-color: #2B310B;
        border-bottom-width: 2px;
        border-bottom-color: #A9AF8B;
        border-bottom-style: solid;
        border-top-width: 2px;
        border-top-color: #A9AF8B;
        border-top-style: solid;
        padding-bottom: 10px;
    }

    #blog_post {
        display: block;
        margin-bottom: 20px;
        border-bottom-width: 1px;
        border-bottom-color: black;
        border-bottom-style: solid;
        padding-bottom: 2%;
    }

    .blog_abstract {
        padding-top: 1%;
        padding-bottom: 2.5%;
    }

    .blog_post_modified_date {
        text-align: left;
        color: black;
        font-size: 13px;
        font-weight: bold;
        padding-bottom: 2%;
        padding-top: 4%;
    }

    .blog_post_modified_date_article {
        text-align: center;
        color: black;
        font-size: 14px;
        font-weight: bold;
    }

    .blog_post_title {
        text-align: left;
        color: black;
        font-size: 20px;
    }

    #blog_img_container {
        width: auto;
        margin-right: 0%;
        margin-bottom: auto;
        text-align: center;
    }

    #blog_text_container {
        width: 100%;
    }

    .blog_header_img {
        margin-right: auto;
        height: 200px;
        width: 200px;
        object-fit: cover;
        text-align: center;
    }

    .blog_post_content {
        padding-left: 1%;
        padding-right: 1%;
    }

    img {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    .year_item {
        font-size: 22px;
        color: #939A69;
        text-align: center;
        list-style: none;
    }
    
    .month_item {
        font-size: 15px;
        color: #939A69;
        text-align: center;
        list-style: none;
    }
}