/*
    Contents:
        Base
        Site container
        Masthead
        Thumbnail
        Post
        Pagination
        Footer
        Menu
        Code
        Tables
        Social media icons
        Images
*/

/*
    Base
*/

/*
Old considered fonts
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital@0;1');
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital@0;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IM+Fell+English:ital@0;1&display=swap');
*/

@font-face {
    font-family: '1785 GLC Baskerville';
    font-style: normal;
    font-weight: normal;
    src:url('1785_GLC_Baskerville-N.woff') format('woff');
}

@font-face {
    font-family: '1785 GLC Baskerville';
    font-style: italic;
    font-weight: normal;
    src: url('1785_GLC_Baskerville-Ita-webfont.woff') format('woff');
}

@font-face {
    font-family: 'CMU Serif';
    font-style: normal;
    font-weight: normal;
    src:url('Serif/cmunrm.woff') format('woff');
}

@font-face {
    font-family: 'CMU Serif';
    font-style: italic;
    font-weight: normal;
    src: url('Serif/cmunti.woff') format('woff');
}

@font-face {
    font-family: 'CMU Serif';
    font-style: normal;
    font-weight: bold;
    src: url('Serif/cmunbx.woff') format('woff');
}

@font-face {
    font-family: 'CMU Serif';
    font-style: italic;
    font-weight: bold;
    src: url('Serif/cmunbi.woff') format('woff');
}

body {
    font-family: "CMU Serif", serif, "PT Serif", Georgia, "Times New Roman", serif;
    font-size: 14px;
    color: #515151;
    background-color: #f1ebe4;
    /*line-height: 1.25rem;*/
}

@media (max-width: 30em) {
    body {
        font-size: 14px;
        line-height: 1.5rem;
    }
    body h1 {
        font-size: 1.5rem;
    }
}

h1{
    font-size: 2rem;
}

h1 a {
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "CMU Serif", serif; /* "1785 GLC Baskerville", serif; */
    color: #333;
}

a {
    text-decoration: underline;
    color: #333;
}

a:hover {
    color: black;
    border-bottom: none;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

blockquote {
    margin: 10px 20px 10px;
    padding: 0px 15px;
    border-left: 0.25em solid #ccc;
    color: #999;
    line-height: 1.5;
}

hr {
    border-top: 1px solid #ccc;
}

/*
    Site container
*/

.container {
    margin-left: auto;
    margin-right: auto;
    width: 500px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #505050;
    border-radius: 5px;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background-color: transparent;
    border-right: 10px solid transparent;
}

::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: darkgrey;
}

/*48em*/

@media (max-width: 568px) {
    .container {
        width: 90vw;
    }
}

/*
    Masthead
*/

.masthead {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    margin-bottom: 4rem;
    font-family: "Quattrocento Sans", sans-serif;
}

.masthead a:hover {
    color:black;
}

.masthead-title a {
    font-size: 2rem;
    text-decoration: none;
    color: #505050;
}

.masthead-subtitle {
    color: #999;
}

/*
    Thumbnail
*/

.thumbnail-container {
    max-width: 100%;
    overflow: hidden;
    border-radius: 5px;
    margin-bottom: 25px;
}

.thumbnail-container img{
    margin-top: -11.5%;
    margin-bottom: -11.5%;
}

/*
    Post
*/

.post-container {
    margin-bottom: 4rem;
    text-align: justify;
}

.post-container::-webkit-scrollbar {
        width: 10px;
}
    
.post-container::-webkit-scrollbar-track {
        background-color: darkgrey;
}

.post-container::-webkit-scrollbar-thumb {
        box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.posts {
    margin-bottom: 5rem;
    padding: 0px;
    list-style: none;
}

.post-date {
    display: block;
    margin-top:3px;
    margin-bottom: 1rem;
    color: #9a9a9a;
    font-family: "CMU Serif", serif; /* "1785 GLC Baskerville", serif; */
    font-size:0.8rem;
}

@media (max-width: 30rem) {
    .posts h1 {
        font-size: 1.5rem;
    }
}

.related {
    padding-bottom: 2rem;
}

.related-posts {
    padding-left: 0px;
    list-style: none;
}

.related-posts a {
    text-decoration: none;
}



/*
    Pagination
*/

.pagination {
    overflow: hidden;
    font-family: "CMU Serif", serif; /* "1785 GLC Baskerville", serif; */
    text-align: center;
}

.pagination a {
    text-decoration: none;
}

.pagination-button {
    color: #999;
    border: 1px solid #e0e0e0;
    padding: 15px 45px;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
}

.pagination-active {
    color: black;
}

.pagination-active:hover {
    background-color: #e0e0e0;
}

/*
    Footer
*/

.footer {
    color: #999;
    text-align: center;
    margin: 2rem;
}

.footer a {
    color: #999;
    padding: 10px;
    text-decoration: none;
}

.footer a:hover {
    color: #333;
}

/*
    Menu
*/

.menu {
    padding-top: 0.5rem;
    display: block;
}

.menu-content {
    float: left;
}

.menu-content a {
    color: #999;
    font-size: 1rem;
    padding-right: 10px;
}

.social-icons {
    float: right;
}

.social-icons a {
    color: #999;
    font-size: 1rem;
}

@media (max-width: 30em) {
    .social-icons {
        float: left;
        padding-top: 0px;
    }
    .menu-content {
        margin-bottom: 5px;
    }
}

/*
    Code
*/

code,
pre {
    font-family: "Source Code Pro", monospace;
}
code {
    padding: .25em .5em;
    font-size: .8rem;
    background-color: #f5f5f5;
    border-radius: 3px;
}
pre {
    display: block;
    margin-top: 0;
    margin-bottom: 1rem;
    padding: 1rem;
    font-size: .8rem;
    line-height: 1.4;
    white-space: pre;
    white-space: pre-wrap;
    word-break: break-all;
    word-wrap: break-word;
    background-color: #f5f5f5;
}
pre code {
    padding: 0;
    font-size: 100%;
    color: inherit;
    background-color: transparent;
}

/* Horizontal code overflow fix */
pre.highlight {
    white-space: pre;
    overflow-x: auto;
}

/* Pygments via Jekyll */
.highlight {
    margin-bottom: 1rem;
    border-radius: 4px;
}
.highlight pre {
    margin-bottom: 0;
}

/* Gist via GitHub Pages */
.gist .gist-file {
    font-family: "Source Code Pro", monospace !important;
}
.gist .markdown-body {
    padding: 15px;
}
.gist pre {
    padding: 0;
    background-color: transparent;
}
.gist .gist-file .gist-data {
    font-size: .8rem !important;
    line-height: 1.4;
}
.gist code {
    padding: 0;
    color: inherit;
    background-color: transparent;
    border-radius: 0;
}

/*
    Tables
*/

table {
    border-collapse: collapse;
    margin-bottom: 30px;
    width: 100%;
}

table, th, td {
    border: 1px solid black;
}

th, td {
    padding: 15px;
    text-align: left;
}

/*
    Social media icons
*/

.sharing-icons a {
    padding-right: 10px;
}

.fa-envelope {
    padding: 5px;
    -o-transition:.5s;
        -ms-transition:.5s;
        -moz-transition:.5s;
        -webkit-transition:.5s;
        transition: .5s;
}

.fa-envelope:hover {
    color: #f39c12;
}

.fa-twitter {
    padding: 5px;
    -o-transition:.5s;
        -ms-transition:.5s;
        -moz-transition:.5s;
        -webkit-transition:.5s;
        transition: .5s;
}

.fa-twitter:hover {
    color: #00aced;
}

.fa-instagram {
    padding: 5px;
    -o-transition:.5s;
        -ms-transition:.5s;
        -moz-transition:.5s;
        -webkit-transition:.5s;
        transition: .5s;
}

.fa-instagram:hover {
    color: #375989;
}

.fa-github {
    padding: 5px;
    -o-transition:.5s;
        -ms-transition:.5s;
        -moz-transition:.5s;
        -webkit-transition:.5s;
        transition: .5s;
}

.fa-github:hover {
    color: #343434;
}

.fa-linkedin {
    padding: 5px;
    -o-transition:.5s;
        -ms-transition:.5s;
        -moz-transition:.5s;
        -webkit-transition:.5s;
        transition: .5s;
}

.fa-linkedin:hover {
    color: #0073a4;
}

.fa-facebook {
    padding: 5px;
    -o-transition:.5s;
        -ms-transition:.5s;
        -moz-transition:.5s;
        -webkit-transition:.5s;
        transition: .5s;
}

.fa-facebook:hover {
    color: #3d5b99;
}

.fa-google-plus {
    padding: 5px;
    -o-transition:.5s;
        -ms-transition:.5s;
        -moz-transition:.5s;
        -webkit-transition:.5s;
        transition: .5s;
}

.fa-google-plus:hover {
    color: #e64a41;
}

.fa-pinterest {
    padding: 5px;
    -o-transition:.5s;
        -ms-transition:.5s;
        -moz-transition:.5s;
        -webkit-transition:.5s;
        transition: .5s;
}

.fa-pinterest:hover {
    color: #bd081c;
}

.fa-medium {
    padding: 5px;
    -o-transition:.5s;
        -ms-transition:.5s;
        -moz-transition:.5s;
        -webkit-transition:.5s;
        transition: .5s;
}

.fa-medium:hover {
    color: #00AB6C;
}

.fa-codepen {
    padding: 5px;
    -o-transition:.5s;
        -ms-transition:.5s;
        -moz-transition:.5s;
        -webkit-transition:.5s;
        transition: .5s;
}

.fa-codepen:hover {
    color: black;
}

.fa-rss-square {
    padding: 5px;
    -o-transition:.5s;
        -ms-transition:.5s;
        -moz-transition:.5s;
        -webkit-transition:.5s;
        transition: .5s;
}

.fa-rss-square:hover {
    color: #ff6600;
}

.fa-soundcloud {
    padding: 5px;
    -o-transition:.5s;
        -ms-transition:.5s;
        -moz-transition:.5s;
        -webkit-transition:.5s;
        transition: .5s;
}

.fa-soundcloud:hover {
    color: #ff7700;
}

/*
    Images
*/

img[src*='#center'] { 
    display: block;
    margin: auto;
}