/**
 *  Publish Basic theme
 */

@font-face {
    font-family: 'avenir';
    src: url('fonts/avenir.woff2') format('woff2');
}

@font-face {
    font-family: 'brandon';
    src: url('fonts/brandon.woff2') format('woff2');
}

@font-face {
    font-family: 'Playfair Display';
    src: url('fonts/Playfair-Display-Regular.woff') format('woff'),
    url('https://fonts.googleapis.com/css2?family=Playfair+Display&display=swap');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url('fonts/Lato-Thin.woff2')  format('woff2'),
    url('https://fonts.googleapis.com/css2?family=Lato:wght@100&display=swap');
    font-weight: normal;
    font-style: normal;
    font-weight: 100;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 100;
    src: url('fonts/Lato-Thin-Ext.woff2') format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 300;
    src: url('fonts/Lato-Light.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 300;
    src: url('fonts/Lato-Light-Ext.woff2') format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


@font-face {
    font-family: 'Libre Caslon';
    src: url('fonts/Libre-Caslon-Regular.woff2') format('woff2'),
    url('https://fonts.googleapis.com/css2?family=Libre+Caslon+Text&display=swap');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('fonts/Proxima-Nova-Thin.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: '  ';
    src: url(fonts/Loki-Regular.otf) format('opentype');
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 500;
    src: url(fonts/Cormorant-Garamond.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100;
    src: url() format('woff');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #fff;
    color: #000;
    font-family: 'Proxima Nova';
    text-align: center;
    font-size: 18px;
}

.wrapper {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 40px;
    text-align: left;
}

.logo {
    display: inline-block;
    vertical-align: middle;
    width: 60px;
    height: 60px;
    
    background-color: #eee;
    border-radius: 50%;
    margin-right: 1em;
}

header {
    background-color: rgb(37,70,130) /*#4F91CD /*rgb(81,108,169)*/;
}

header .wrapper {
    padding-top: 30px;
    padding-bottom: 30px;
    text-align: center;
}

header a {
    text-decoration: none;
}

header .site-name {
    font-family: 'Cormorant Garamond';
    font-size: 1.5em;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
}

nav {
    margin-top: 20px;
}

nav li {
    display: inline-block;
    margin: 0 7px;
    line-height: 1.5em;
}

nav li a.selected {
    text-decoration: underline;
}

h1 {
    margin-bottom: 20px;
    font-family: 'Playfair Display';
    font-size: 2em;
    line-height: 1.33;
    
    border-bottom: 1px solid hsla(0,0%,50%,.33);
}

h1 a {
    text-decoration: none;
}

h2 {
    margin: 20px 0;
}

h3 {
    margin: 15px 0;
}

p {
    margin-bottom: 10px;
    line-height: 1.67;
    font-weight: 300;
    font-style: normal;
    font-size: 1rem;
    letter-spacing: 0px;
    line-height: 1.6em;
    color: rgba(26,26,26,.7);
}

p strong {
    font-family: 'Playfair Display';
}

a {
    color: inherit;
}

.description {
    margin-bottom: 40px;
}

.item-list > li {
    display: block;
    padding: 20px;
    border-radius: 20px;
    background-color: #eee; /*rgb(136, 136, 136);*/
    margin-bottom: 20px;
}

.item-list > li:hover,
.item-list > li:focus {
    box-shadow: 0 0.5em 0.5em -0.4em;
    transform: translateY(-0.25em);
    transition: 0.25s;
}

.item-list > li:last-child {
    margin-bottom: 0;
}

.item-list h1 {
    margin-bottom: 15px;
    font-size: 1.3em;
}

.item-list p {
    margin-bottom: 0;
}

.tag-list {
    margin-bottom: 15px;
}

.tag-list li,
.tag {
    display: inline-block;
    background-color: rgb(37,70,130); /*#4F91CD; /*rgb(81,108,169); /*#000;*/
    color: #ddd;
    padding: 4px 6px;
    border-radius: 5px;
    margin-right: 5px;
    margin-top: 5px;
}

.tag-list a,
.tag a {
    text-decoration: none;
}

.item-page .tag-list {
    display: inline-block;
}

.content {
    margin-bottom: 40px;
}

.browse-all {
    display: block;
    margin-bottom: 30px;
}

.all-tags li {
    font-size: 1.4em;
    margin-right: 10px;
    padding: 6px 10px;
}

ol li {
    margin: 2em
}

footer {
    color: #8a8a8a;
    font-family: 'brandon';
}

.footer-copyright {
    font-family: 'brandon';
    font-size: 0.8rem;
    margin-top: 20px;
}

.footer-copyright a {
    text-decoration: none;
}

blockquote{
    
    font-family: 'Lato';
    font-size: 1.22rem;
    
    padding: 1em;
    margin: 1.5em;
    
    position: relative;
    text-decoration: none;
    color: rgb(0,0,0);
    font-size: 1rem;
    overflow: hidden;

    background: rgba(68, 66, 178, 0.1);
    box-shadow: rgb(68 66 178 / 20%) 0px 0px 0px 0.5px inset;
}

blockquote:before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
}

blockquote:after{
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,.4);
    transition: 0.5s;
    transition-delay: 0.5s;
}

blockquote:hover:after{
    left: 100%;
}

img {
    max-width: 98%;
    border: solid rgba(0, 0, 0, 1) 1px;
}

.content > ul > li {
    margin-left: 2rem;
    color: rgba(26, 26, 26, 0.7);
}

li > ul {
    margin-left: 2rem;
}

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

table {
    width: 100%;
    border-collapse: collapse;
}

code {
    border-radius: 6px;
    border: solid rgba(0, 0, 0, 1) 1px;
    background: rgba(68, 66, 178, 0.1);
    padding: 0.1rem;

    overflow-x: auto;
    white-space: pre;
    -webkit-overflow-scrolling: touch;

}

pre {
    margin-bottom: 1.5em;
    background-color: #1a1a1a;
    padding: 16px 0;
    border-radius: 16px;
}

pre code {
    font-family: monospace;
    display: block;
    padding: 0 20px;
    color: #a9bcbc;
    line-height: 1.4em;
    font-size: 0.95em;
    overflow-x: auto;
    white-space: pre;
    -webkit-overflow-scrolling: touch;
    border: none;
    background: inherit;
}

pre code .keyword {
    color: #e73289;
}

pre code .type {
    color: #8281ca;
}

pre code .call {
    color: #348fe5;
}

pre code .property {
    color: #21ab9d;
}

pre code .number {
    color: #db6f57;
}

pre code .string {
    color: #fa641e;
}

pre code .comment {
    color: #6b8a94;
}

pre code .dotAccess {
    color: #92b300;
}

pre code .preprocessing {
    color: #b68a00;
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #000;
    }
    
    body,
    header .site-name {
        color: #fff;
    }
    
    .item-list > li {
        background-color: #222;
    }
    
    p {
        color: #fff /*rgba(226,226,226,.7)*/;
    }

    blockquote {
        color: rgb(255,255,255);
        background: rgba(255, 255, 255, 0.1);
        box-shadow: rgb(255 255 255 / 20%) 0px 0px 0px 0.5px inset;
    }

    .content > ul > li {
        color: #fff
    }

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

    img {
        border: solid rgba(255, 255, 255, 1) 1px;
    }

    code {
        border: solid rgba(255, 255, 255, 1) 1px;
        background: #333;
    }
}

@media(max-width: 600px) {
    body {
        font-size: 15px;
    }
    .wrapper {
        padding: 40px 0.7rem;
    }
    
    .logo {
        height: 50px;
        width: 50px;
        object-fit: contain;
        margin: 0 auto;
        display: block;
    }
}

