@import url("https://fonts.googleapis.com/css?family=Crimson+Text");

html {
    font-family: 'Crimson Text', Times, serif;
    background: #f3f3f3;
    font-size: 16px;
}

/* Titles */
h1 {
    font-size: 2em;
    padding: 10px;
}

h1, h2 {
    text-align: center;
    font-weight: normal;
    margin-top: 10px;
    margin-bottom: 10px;
}

h2 {
    border-width: 0px 0px 1px 0px;
    border-color: black;
    border-style: solid;
    padding: 5px;
}

.title {
    font-size: 2em;
    text-align: center;
    margin-bottom: 50px;
    text-transform: none;
    color: #244668;
    line-height: 1;
    font-weight: 600;
}

tt {
    font-size: 12px;
}

.latest {
    padding: 10px 10px;
    border-bottom: 1px solid #eee;
}

.post_detail {
    font-size: 2em;
    line-height: 1em;
}

.entry-content {
    margin-top: 50px;
    margin-bottom: 50px;
    text-align: justify;
    color: #333;
}

article section .about {
    font-size: 18px;
    color: #444;
    text-align: justify;
}

article section .blog-post {
    font-size: 16px;
}

/* Body */
body {
    margin: 0
}

body > article, footer {
    line-height: 1.6em;
    display: block;
    max-width: 800px;
    margin: 40px auto auto 355px;
    padding: 20px 80px 10px;
}

article ol {
    padding-left: 0;
}

img {
    border-radius: 6px;
    max-width: 100%;
}

figure {
    margin: 10px;
}

/* Articles */
p.post_entry {}

article > header {
    list-style-type: none;
    padding: 0px 10px;
    box-shadow: 0 0 0 2px #244668;
    -moz-border-radius: 5px 0;
    -webkit-border-radius: 5px 0;
    border-radius: 5px 5px;
}

.article_left > h1 {
    font-size: 20px;
}

.article_right {
    background-color: #eaedef;
}

.post_list {
    list-style-type: none;
    padding: 10px 10px;
    -moz-border-radius: 5px 0;
    -webkit-border-radius: 5px 0;
    border-radius: 5px 5px;
}

/* Publications */
p .pubtitle {
    color: #2f343f;
}

p .pubattrs {
    color: #555d65;
}

/* Links */
a {
    color: #244668;
    text-decoration: none;
}

a:visited {
    color:#244668;
    text-decoration:none;
}

a:link {
    color:#244668;
    text-decoration:none;
}

a:active {
    color:#244668;
    text-decoration:none;
}

a:hover {
    text-decoration: underline;
}

/* Code */
.highlight pre {
    font-size: 14px;
    overflow: auto;
    padding: 8px;
}

/* Sidebar */
aside {
    font-size: 16px;
    width: 220px;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    padding: 30px;
    background-color: #2f343f;
    color: #eaedef;
    box-shadow: 0 0 2px black;
    text-align: center;
    padding-top: 20px;
    background-size: cover;
}

#avatar {
   width: 300px;
   display: block;
   margin: 0 0px 0px 0;
}

.nav {
    display: block;
    margin-left: -30px;
    margin-right: -30px;
    border: 0px solid #eaedef;
    margin-top: 10px;
}

.nav a {
    color: #afb8c5;
}

.list-group-item {
    display: block;
    border: 0px solid #ddd;
    padding: 5px;
    transition: all .3s ease-in-out;
}

.list-group-item:hover {
    text-decoration: none;
    color: #f6f0f3;
    background-color: #5294e2;
}


/*--------Responsive------------*/

@media (max-width: 800px) {
    aside {
        left: 0;
        max-width: none;
        position: relative;
        top: 0;
        width: 100%;
        padding: 0;
        padding-top: 1px;
    }

    .nav {
        margin-left: 0;
        margin-right: 0;
    }

    body > article {
        margin: 0 auto;
        padding-top: 5px;
        padding: 1em;
    }

    footer {
        padding: 1em;
        margin-left: 1em;
        margin-top: 0;
    }

    #avatar {
       height: 150px;
       width: 150px;
       margin: 10px auto;
    }
}
