@import url("pygment.css");
body {
    width: 80%;
    margin: 0 auto;
    background: #E5E5E5;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}
p{
    font-size:14px;
}
h1, h2, h3 {
    font-family: Verdana, Geneva, sans-serif;
    font-weight: normal;
}
a {
    color: #4499c0;
}
hr {
    color: #454849;
}
a:link {
    color: #4499c0;
}
a:visited {
    color: #24546A;
}
a:hover {
    color: #24546A;
    text-decoration: underline;
    text-shadow: .1px .1px .1px #000;
}
#header h1 {
    display: inline-block;
    font-size: 42px;
    font-family: Verdana, Geneva, sans-serif;
    margin: .4em;
}
#header a {
    color: #24546A;
    text-decoration: none;
}
#header p {
    color: #454849;
    font-family: Verdana, Geneva, sans-serif;
    font-style: italic;
    display: inline-block;
    font-size: 14px;
}
#nav {
    padding: .5em 0;
}
@media screen and (max-width: 768px) {
    #header h1 {
        font-size: 28px;
    }
    #header p, .main-nav li {
        font-size: 14px;
    }
    #nav {
        padding-top: 0;
        padding-bottom: .5em;
    }
}
@media screen and (max-width: 600px) {
    #header h1 {
        font-size: 22px;
        display: block;
        margin: .4em .4em 0 .4em;
    }
    #header p {
        font-size: 10px;
        margin: 0 0 0 1em;
    }
    #featured img{
        width:100%;
    }
}
.nav-toggle {
    color: #24546A;
    position: absolute;
    top: 10px;
    right: 5%;
    cursor: pointer;
}
.bar-top, .bar-mid, .bar-bot {
    display: block;
    background-color: #24546A;
    border-radius: 2px;
    width: 20px;
    height: 2px;
    margin: 4px 0;
    transition: 0.3s ease-in-out;
}
.change .bar-top {
    -webkit-transform: rotate(-45deg) translate(-5px, 4px);
    transform: rotate(-45deg) translate(-5px, 4px);
}
.change .bar-mid {
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
}
.change .bar-bot {
    -webkit-transform: rotate(45deg) translate(-4px, -4px);
    transform: rotate(45deg) translate(-4px, -4px);
}
.main-nav {
    display: none;
    margin: 0;
    padding: 0;
    list-style: none;
}
.main-nav li {
    text-align: center;
    margin: 15px auto;
}
.active {
    display: block;
}
@media screen and (min-width: 768px) {
    #nav {
        display: flex;
        justify-content: space-between;
        height: 40px;
        align-items: center;
    }
    .main-nav {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        width: 100%;
    }
    .main-nav li {
        margin: 0;
    }
    .nav-toggle {
        display: none;
    }
}
#featured {
    background: #fff;
    margin-bottom: 1em;
    overflow: hidden;
    line-height:1.5;
    font-size:14px;
    border-radius: 20px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
}
#featured-content {
    margin: 2em;
}
#featured h1, h2, h3 {
    color: #454849;
}
.post-info {
    float: right;
    margin: 1em;
    padding: 20px;
    background-color: #f1ecd7;
    font-size: 12px;
    border-radius: 20px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
}
#content {
    background: #fff;
    margin-bottom: 1em;
    overflow: hidden;
    width: 100%;
    padding: 0px;
    border-radius: 20px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
}
#content img{
    max-width: 100%;
    height: auto;
}

#sub-heading {
    color:#454849;
    margin: 1em;
    font-size: 24px;
}
#posts-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
#posts-list li {
    border-bottom: 1px solid #e5f1f6;
    padding-bottom: 1.5em;
}
#posts-list h2 {
    font-size: 18px;
    margin: 1.5em 1.5em 1em 1.5em;
}
#posts-list p {
    display: inline-block;
    margin: 0 2em 0 2em;
}
.readmore {
    font-size: 14px;
    float: right;
    margin-right: 1.5em;
}
.paginator{
    margin-left:1.5em;
}
.paginator a {
    margin: 0 .5em;
    text-decoration:none;
    font-size: 24px;
}
#footer-links ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
#footer-links {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
#footer-links div[id='social'] a {
    background-repeat: no-repeat;
    background-position: 3px 6px;
    padding-left: 25px;
}
#footer-links h3 {
    text-transform: capitalize;
}
#links {
    margin-left: 1.5em;
}
#links li, #social li{
    font-size:14px;
    margin: 1em 0 1em 0;
}
#social {
    margin-right: 1.5em;
}
#social a:link, #social a:visited {
    padding: .3em .25em;
}
#social a[href*='github.com'], .social a[href*='git.io'] {
    background-image: url(../images/icons/github.png);
    background-size: 16px 16px;
}
#social a[href*='linkedin.com'] {
    background-image: url(../images/icons/linkedin.png);
}
#social a[href*='twitter.com'] {
    background-image: url(../images/icons/twitter.png);
}
@media screen and (max-width: 600px) {
    #footer-links {
        flex-direction: column;
    }
    #social {
        margin-left: 1.5em;
    }
}
#about {
    margin: 1em;
}
#about p {
    display:inline-block;
    font-style:normal;
}
.article-link {
    display:block;
    margin: 0 1.5em 0 1.5em;
}
dt {
    margin: 1em 1.5em;
}
dd {
    margin: 0;
    padding-bottom: 1em;
    border-bottom: 1px solid #e5f1f6;
}
#pages-content{
    margin:2em;
    font-size:14px;
    line-height:1.5;
}
@media screen and (max-width: 600px) {
    body {
        width: 90%;
    }
    #pages-content, #featured-content {
        margin: 1em;
    }
    .readmore, #posts-list {
        font-size: 12px;
    }
    #featured h1, #sub-heading {
        font-size: 18px;
    }
    #featured h2, h3 {
        font-size: 16px;
    }
    #posts-list h2 {
        font-size: 12px;
        margin: 1em 1.5em 1em 1.5em;
    }
    #posts-list p {
        font-size: 12px;
        margin: 0 1.5em 0 1.5em;
    }
    #about {
        margin: .5em;
    }
}
pre {
    font-size: 13px;
    line-height: 1.2;
    padding: 1em;
    overflow-y: auto;
}