@import 'https://fonts.googleapis.com/css2?family=Literata:ital,opsz,wght@0,7..72,200..900;1,7..72,200..900&display=swap';
@import 'https://fonts.googleapis.com/css2?family=Red+Hat+Mono:ital,wght@0,300..700;1,300..700&display=swap';
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap");

.tiny {
    font-size: 0.7em;
}

body,main {
    height: 100%;
    /* font-family: literata,serif!important; */
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 1.1em;
    font-weight: 400;
    color: var(--font-color)!important;
    background-color: var(--bg-color)!important;
}

code {
  font-family: red hat mono,serif!important
}

code:not(.highlight *) {
    color: var(--secondary);
    font-weight: 600;
    user-select: all
}

.links {
    margin-top: 100px;
    margin-bottom: 150px;
    list-style: none;
 }
.links img {
    margin-top: 5px;
    max-width: 40px;
 }
 .links img:hover {
    opacity: 0.6;
 }

.breadcrumb {
    padding-top: 0px;
    padding-bottom: 0px;
 }

:root {
    --bg-color: #eeeeee;
    --bg-variant: #dbdcdf;
    --primary: #141414;
    --primary-variant: #141414;
    --secondary: #141414;
    --font-color: #303030
}

.dark {
    --bg-color: #141414;
    --bg-variant: #141414;
    --primary: #eeeeee;
    --primary-variant: #dbdcdf;
    --secondary: #eeeeee;
    --font-color: #b6b6b6
}

::selection {
    background: var(--secondary);
    color: #000
}

.splash-screen {
    height: 100%
}

nav a,a {
    text-decoration: none!important
}

nav a:hover,a:hover {
    text-decoration: underline!important
}

a {
    font-weight: 600;
    color: var(--primary-variant)!important
}

a:hover {
    color: var(--primary)!important
}

@media(min-width: 1200px) {
    .container {
        max-width:720px!important
    }
}

table:not(.gist-data *) {
    border-collapse: collapse;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem
}

@media(min-width: 1200px) {
    table:not(.gist-data *) {
        width:100%
    }
}

th:not(.gist-data *),td:not(.gist-data *) {
    padding: .5rem;
    text-align: left
}

th:not(.gist-data *) {
    font-weight: 700;
    background-color: var(--bg-variant)
}

td:not(.gist-data *) {
    border-bottom: 2px solid var(--bg-variant)!important
}

ul>li:has(input[type=checkbox]) {
    list-style-type: none
}

.highlight>div {
    padding: 0 1em
}

.highlight>pre {
    padding: 1em
}

mark {
    background-color: var(--primary-variant)!important
}

kbd {
    background-color: var(--bg-variant)!important;
    font-family: red hat mono,monospace!important;
    font-weight: 700
}

.section {
    padding-bottom: 200px;
}

.post {
    padding-bottom: 200px;
}

.post header {
    padding-bottom: 30px;
}

/*
.post article h1,.post article h2,.post article h3,.post article h4,.post article h5,.post article h6 {
    font-size: 1.2rem;
    margin: 24px 0 10px;
    font-weight: 700
}
*/

.post article h1 {
    margin-top: 75px;
}

/*
.post article h1::before {
    content: "# ";
    color: var(--secondary);
}

.post article h2::before {
    content: "## ";
    color: var(--secondary)
}

.post article h3::before {
    content: "### ";
    color: var(--secondary)
}

.post article h4::before {
    content: "#### ";
    color: var(--secondary)
}

.post article h5::before {
    content: "###### ";
    color: var(--secondary)
}

.post article h6::before {
    content: "###### ";
    color: var(--secondary)
}
*/

.post .draft-label {
    font-weight: 700;
    color: var(--primary)
}

.page-prev-next {
    padding-bottom: 50px;
}

.page-prev-next .title {
   text-decoration: underline!important
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #6c757d!important
}

.tags a:hover {
    background-color: var(--primary)!important;
    color: #fff!important;
    text-decoration: none!important
}

.underline {
    background-image: linear-gradient(to right,var(--secondary),var(--secondary));
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 100% 2px;
    text-decoration: none!important
}

img {
    max-width: 100%
}

figure {
    box-sizing: border-box;
    display: inline-block;
    max-width: 100%;
    width: 100%;
    text-align: center
}

figure img {
    max-height: 500px;
    max-width: 100%;
    margin: 0 auto
}

figure h4 {
    margin-bottom: 1em;
    font-size: .85rem!important;
    font-weight: lighter!important;
    position: relative;
    overflow: hidden;
    opacity: .9
}

figure h4::before {
    content: ''!important
}

blockquote {
    padding-left: 3rem!important;
    position: relative;
    overflow: hidden;
    &::before,&::after {
        position: absolute;
        color: #777;
    }

    &::before {
        content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='%23777777'><path d='M9.983 3v7.391C9.983 16.095 6.252 19.961 1 21l-.995-2.151C2.437 17.932 4 15.211 4 13H0V3h9.983zM24 3v7.391c0 5.704-3.748 9.571-9 10.609l-.996-2.151C16.437 17.932 18 15.211 18 13h-3.983V3H24z'/></svg>");
        left: 15px;
    }

    &::after {
        content: "";
        left: 20px;
        top: 25px;
        width: 1px;
        height: 100%;
        background-color: currentColor;
    }

    p {
        margin: 0;
    }

    p + p {
        margin-top: 1rem;
    }
}

.post-summary {
    margin: 0
}

ul:has(input[type=checkbox]) {
    margin-left: 0!important;
    padding-left: .5rem!important
}

li>input[type=checkbox] {
    margin-right: .2rem
}

hr {
    border: 0!important;
    height: 10px;
    color: var(--secondary)!important;
    background-image: linear-gradient(-45deg,transparent,transparent 25%,currentColor 25%,currentColor 50%,transparent 50%,transparent 75%,currentColor 75%);
    background-size: 4px 4px
}
