/* @import url('https://fonts.googleapis.com/css2?family=Cabin+Condensed:wght@700&family=Cabin:wght@700&family=Open+Sans:wght@400;500;700&display=swap'); */
/* @import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@600&family=Roboto+Condensed:wght@400..900&display=swap');

      ::-webkit-scrollbar {
        background: #f9f6e5;;
        cursor: default;
      }
      ::-webkit-scrollbar-track:vertical {
        background: #f9f6e5;
        width: 16px;
        box-shadow: inset 2px 0 5px #0002, inset 0 -2px 5px #0003, inset 0 2px 5px #0003;
      }
       ::-webkit-scrollbar-track:horizontal {
        background: #f9f6e5;
        width: 16px;
        box-shadow: inset 2px 0 5px #0002, inset 0 -2px 5px #0003, inset 0 2px 5px #0003;
      }
      ::-webkit-scrollbar-thumb:vertical {
        box-sizing: border-box;
        min-height: 30px;
        -webkit-border-radius: 5px;
        border-radius: 5px;
        border: 1px solid rgba(0,0,0,0.2);
        box-shadow: inset 0 0 4px rgba(255,255,255,1);
        background: linear-gradient(to right, rgba(204,247,155,1) 0%,rgba(166,216,95,1) 49%,rgba(166,216,95,1) 49%,rgba(106,193,0,1) 50%,rgba(204,247,155,1) 100%);
      }
      ::-webkit-scrollbar-thumb:horizontal {
        box-sizing: border-box;
        box-shadow: inset 0 0 4px rgba(255,255,255,1);
        min-width: 30px;
        -webkit-border-radius: 5px;
        border-radius: 5px;
        border: 1px solid rgba(0,0,0,0.1);
        background: linear-gradient(to bottom, rgba(204,247,155,1) 0%,rgba(166,216,95,1) 49%,rgba(166,216,95,1) 49%,rgba(106,193,0,1) 50%,rgba(204,247,155,1) 100%);
      }

      ::-webkit-scrollbar-corner {
        background: #f9f6e5;
      }
html {
  background: #f9f6e5;
}
body {
font-family: 'Roboto Condensed', Roboto, sans-serif;
background-image: url('../images/bg.jpg');
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
background-attachment: fixed;
}

@media screen and (max-width: 769px) {
  html { overflow-x: hidden; }
  body {
    background-image: none;
    overflow-x: hidden; max-width: 100vw;  width: 100vw; 
  }
  body:after{
      content:"";
      position:fixed; /* stretch a fixed position to the whole screen */
      top:0;
      height:100vh; /* fix for mobile browser address bar appearing disappearing */
      left:0;
      right:0;
      z-index:-1; /* needed to keep in the background */
      background: url('../images/bg.jpg') center center;
      -webkit-background-size: cover;
      -moz-background-size: cover;
      background-size: cover;
  }
}

a {
  color: #037deb;
  text-decoration-style: wavy;
  text-decoration-color: #cfde98;
  text-decoration-skip-ink: none;
}
h1, h2, h3, h4, h5, h6, body > header, header .subtitle, .post-excerpt header, a.read-more {
font-family: 'Roboto Condensed', Roboto, sans-serif;
font-weight: 500;
}
hgroup {
 margin-bottom: initial;
}
h1 a, h2 a, h3 a {
text-decoration: none;
}
body > header { 
border: 0;
color: #f2edda !important;
backdrop-filter: blur(9px);
-webkit-backdrop-filter: blur(9px);
border: 1px solid rgba(255, 255, 255, 0.3);
background: linear-gradient(to bottom, rgba(255,255,255,0.3) 0%,rgba(255,255,255,0.5) 50%,rgba(255,255,255,0.05) 100%);
}
header nav h1 {
  margin: 0.3rem 0;
}
.site-title { 
  font-family: Quicksand, 'Roboto Condensed', Roboto, sans-serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  white-space: nowrap;
  touch-action: manipulation;
  vertical-align: middle;
  background: transparent;
  margin: 0;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  position: relative;
  border: 1px solid #0360df;
  border-radius: 50px;
  padding: 13px 20px 18px;
  background-color: #0360df;
  background-image: radial-gradient(75% 50% at 50% 0%, #f4feff, transparent), radial-gradient(75% 35% at 50% 80%, #8de3fc, transparent);
  box-shadow: inset 0 -2px 4px 1px rgba(17, 110, 231, 0.6), inset 0 -4px 4px 1px #8de3fc, inset 0 0 2px 1px rgba(255, 255, 255, 0.2), 0 1px 4px 1px rgba(17, 110, 231, 0.2), 0 1px 4px 1px rgba(0, 0, 0, 0.1);
  color: #fff;
  filter: hue-rotate(245deg);
  text-shadow: 1px -1px 0px rgba(0,0,0,0.2), 1px -1px 8px rgba(255,255,255,0.7);
  text-decoration: none;

}
.site-title::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50px;
  width: 82%;
  height: 40%;
  background-image: linear-gradient(to bottom, #f4feff, transparent);
  opacity: 0.6;
}
nav li.subtitle {
color: #fff;
font-size: 1.5em;
text-shadow: 1px 1px 1px rgba(0,0,0,0.6);
}
  /* unlinebreak subtitle on desktop */
@media screen and (min-width: 769px) {
  .brsmall {
    display: none;
  }
}
article.post-excerpt, article.post {
  background: unset;
  padding: unset;
  margin-bottom: 3rem;
  box-shadow: 0px 0px 30px rgba(0,0,0,0.1);
  border-radius: 1rem 1rem 0.3rem 0.3rem;
}
article.post-excerpt:last-of-type, article.post:last-of-type {
  margin-bottom: 1rem;
}
article.post-excerpt:first-of-type, article.post:first-of-type {
  margin-top: 2rem;
}
article.post-excerpt header, article.post header {
/* From https://css.glass */
background: rgba(0, 138, 215, 0.4);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.4);
    margin-right: unset;
    margin-left: unset;
    margin-top: initial;
    margin-bottom: 0;
    border-bottom: unset;
    border-top-right-radius: 1rem;
    border-top-left-radius: 1rem;
}
article.post-excerpt header a, article.post-excerpt header *, article.post header a, article.post header * { 
  color: white !important;
  background: unset !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: unset !important; 
  text-shadow: 1px 1px 0px rgba(0,0,0,0.3);
  font-weight: 500;
}
article .postdate {
  opacity: 0.7;
}
article.post-excerpt .cardbody, article.post .cardbody {
  width: 100%;
  height: 100%;
  background: #f9f6e5;
  padding: var(--pico-block-spacing-vertical) var(--pico-block-spacing-horizontal);
  border-radius: 0 0 0.3rem 0.3rem;
  display: flow-root;
}
a.read-more {
  display: inline;
  touch-action: manipulation;
  background: transparent;
  text-align: inherit;
  text-transform: inherit;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  position: relative;
  border-radius: 50px;
  padding: 12px 16px;
  border: 1px solid #f5f5f5;
  background-color: #ecdfba;
  background-image: radial-gradient(75% 50% at 50% 0%, #fefff4, transparent), radial-gradient(75% 35% at 50% 80%, #fffef3, transparent);
  box-shadow: inset 0 -2px 4px 1px rgba(233, 230, 191, 0.6), inset 0 -4px 4px 1px #fffddc, inset 0 0 2px 1px rgba(255, 255, 255, 0.2), 0 1px 4px 1px rgba(231, 163, 17, 0.2), 0 1px 4px 1px rgba(0, 0, 0, 0.1);
  color: #685d5d;
  text-shadow: none;
  transition: all 0.5s;
}
a.read-more::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50px;
  width: 80%;
  height: 40%;
  background-image: linear-gradient(to bottom, #f4feff, transparent);
  opacity: 0.75;
}
a.read-more:hover {
  border: 1px solid #0360df;
  background-color: #0360df;
  background-image: radial-gradient(75% 50% at 50% 0%, #f4feff, transparent), radial-gradient(75% 35% at 50% 80%, #8de3fc, transparent);
  box-shadow: inset 0 -2px 4px 1px rgba(17, 110, 231, 0.6), inset 0 -4px 4px 1px #8de3fc, inset 0 0 2px 1px rgba(255, 255, 255, 0.2), 0 1px 4px 1px rgba(17, 110, 231, 0.2), 0 1px 4px 1px rgba(0, 0, 0, 0.1);
  color: #fff;
}
a.read-more, a.read-more button {
  text-decoration: none !important;
}
article.post h1, article.post h2, article.post h3, article.post h4, article.post h5, article.post strong {
color: #000;
font-weight: 500;
}
article.post {
font-size: 1.1rem;
}
img {
margin: 0 auto;
margin-top: 1em;
display: block;
}
td ul {
    margin: 0;
    padding-left: 1em;
}
table td:first-child {
    text-align: center;
    vertical-align: text-top;
    padding-top: 1.5em;
}
table a {
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}
tr:nth-child(even) td, th {
  background: #f5f3e5;
}
tr:nth-child(odd) td {
  background: #edead9;
}
td, th {
  border-bottom: none;
}
tr, thead {
  border-bottom: 2px solid rgb(153,191,55,0.4);
}
tr:last-of-type {
  border-bottom: none;
}
@media screen and (max-width: 768px) {
    nav {
      flex-wrap: wrap;
    }
    .site-title {
      letter-spacing: -0.02em;
    }
    nav li.subtitle {
      font-size: 1.2rem;
      padding: 0 0.1rem;
    }
    article.post-excerpt header h3, article.post header h3 { 
      -ms-word-break: break-all; word-break: break-all; /* Needed for oldIE support, but words are broken up letter-by-letter */ 
      word-break: break-word; /* Non standard for webkit */
      -webkit-hyphens: auto;
      -moz-hyphens: auto;
      -ms-hyphens: auto;
      hyphens: auto;
      font-size: 1.2rem;
    }
    .post-excerpt .cardbody h1, .post-excerpt .cardbody h2, .post-excerpt .cardbody h3, .post-excerpt .cardbody h4, .post-excerpt .cardbody h5 {
      font-size: 1.05rem;
    }
    thead, tbody, th, td, tr {
        display: block; /* Make all table cells break on mobile */
    }
}
div.no-bullets > ul > li > ul li, li:has(> img) {
  list-style-type: none; /* Remove bullets on nested lists and images in lists */
}
div.no-bullets ul {
padding-left: 1em;
}
table ul {
margin-bottom: initial;
list-style-position: outside;
}
table ul li {
list-style-position: outside;
}
ul li {
list-style-type: disc;
}
ul li::marker, ol li::marker {
  color: #99bf37;
}
code[class*="language-"], pre[class*="language-"] {
box-shadow: initial;
background: #373634;
font-size: 0.8rem;
word-break: break-word;
word-wrap: break-word;
white-space: pre-wrap;
max-height: 65vh;
}
code, pre {
word-break: break-word;
word-wrap: break-word;
white-space: pre-wrap;
}
footer.container:has(.footerdate) {
  text-align: right;
}
.footerdate {
background: rgba(255, 255, 255, 0.2);
backdrop-filter: blur(3px);
-webkit-backdrop-filter: blur(3px);
border: 1px solid rgba(255, 255, 255, 0.2); 
color: #3b5515;
border-radius: 8px;
padding: 5px;
width: fit-content;
font-family: 'Roboto Mono', monospace;
font-size: 12px;
display: inline-block;
}