:root {
  --alt-color: rgb(169, 189, 214);
  --alt-color-darker: rgb(133, 165, 207);
  --alt-color-code: rgb(230, 230, 230);
  --dark-border: rgb(20, 40, 40);
  --lsb-faint: rgb(135 206 250 / 20%)
}

a:link {
  color: var(--alt-color);
  font-weight: bold;
  text-decoration:none;
}

a:visited {
  color: var(--alt-color);
}

a:hover, a:hover * {
    /* color:lightskyblue; */
    color: yellow !important;
}

a:active {
  color: hotpink;
}

.block-page-text {
  color: rgb(79, 98, 123);
  width: 60%;
}

body {
  color: lightskyblue;
  font-family: 'Courier', Courier, monospace;
}


.blog-content {
    font-family: 'Luminary', Gill, sans-serif;
    letter-spacing: 0.02em;
    /* line-spacing: 0.1em; */
}

/* In blog, this contains index sidebar & blog contents */
.main-content-layout {
    display: grid;
    grid-template-columns: auto 1fr;
    @media (max-width: 800px) {
	display: block;
	width: 100vw;
	left:0;
    }

}

.background {
  background-color: black;
  width: 100%;
  margin-top: -1000px;
  height: 20000px;
  margin-bottom: -1000px;
  left: 0;
  right: 0;
  position: fixed;
  z-index: -3;
}

.background-image {
  background-image: url('../assets/treefield.gif');
  background-size:cover;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: fixed;
  z-index: -2;
}

.background-mask {
  background-size:cover;
  background: rgba(24, 24, 24, 0.8);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: fixed;
  z-index: -1;
}


.background-image-block {
  background-image: url('../../imgs/timelapse.gif');
  background-size:contain;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: fixed;
  z-index: -1;
}

@media (prefers-reduced-motion: reduce) {
  .background-image,
  .background-image-block {
    background-image: none;
    background-color: #0000; /* Choose a color that fits your theme */
  }
}


html {
    scroll-padding-top: 70px;
}

.banner {
  /* padding-bottom: 20px; */
  margin-top:-50px;
  left: 0;
  font-weight: bold;
  padding-top: 12px;
  padding-left: 20px;
  top: 0;
  width: 100%;
  height: 80px;
  position: fixed;
  border-bottom: 1px solid lightskyblue;
  background: black;
  z-index: 10;
  @media (max-width: 800px) {
    padding-top: 8px;
    padding-left: 10px;
    height: 74px;
  }
}

.empty-banner {
  font-weight: bold;
  padding-top: 20px;
  padding-left: 20px;
  top: 0;
  width: 100%;
  height: 30px;
  position: fixed;
  @media (max-width: 800px) {
    padding-top: 10px;
    padding-left: 10px;
    height: 24px;
    border-bottom: 1px solid lightskyblue;
    background: black;
  }
}

.banner-element {
  margin-top: 50px;
  width: fit-content;
  float: left;
}

.hide-background {
  margin-top: 50px;
  color:var(--alt-color);
  float: right;
  width: fit-content;
  padding-right: 50px;
}

.hide-background:hover {
  color:lightskyblue;
}

.content {
  margin-top:80px;
  margin-bottom: 100px;
  width: 80%;
  @media (max-width: 800px) {
      width: 90%;
      margin-left: 20px;
      margin-top: 54px;
      left:0;
  }

  /* @media (max-width: 800px) { */
  /* } */
}

.centered-header {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.content-header {
  padding-bottom: 20px;
  width: 60%;
  @media (max-width: 800px) {
    width: 100%;
  }
}

.small-divider {
    border-top: 1px solid steelblue;
    width: 100px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 60px;
    margin-bottom: 60px;
    height: 0px;

}

.section-head {
  border-top: 1px solid steelblue;
  width: 100%;
  margin-top: 50px;
  padding-top: 10px;
  padding-bottom: 20px;
}

.small-section-head {
    border-top: 1px solid steelblue;
    width: 40%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    padding-bottom: 30px;

}

.pspaced-section-head {
  width: 100%;
  padding-top: 80px;
  padding-bottom: 140px;
}

.logo {
  width: 25px;
  height: 25px;
}

h1 {
    /* color:black; */
  color:lightskyblue;
  font-weight:bold;
  font-size:38px;
  font-style:italic;
}

h2 {
    /* color:black; */
  color:lightskyblue;
  font-weight: bold;
  font-size:32px;
  font-style:italic;
}

h3 {
    /* color:black; */
  color:lightskyblue;
  font-size:24px;
  /* white-space: pre-wrap; */
  font-weight: bold;
  font-style:italic;
}

h4 {
  color:lightskyblue;
  font-size:24px;
  /* font-style:italic; */
  font-weight: lighter;
  /* font-weight: bold; */
  /* white-space: pre-wrap; */
}

h5 {
  margin-bottom: 12px;
  font-size:20px;
  font-weight:lighter;
}


.blog-content h3 {
    padding-top: 10px;
    padding-bottom: 10px;
}

.blog-content table {
    border-collapse: collapse;
}

.blog-content td {
    padding: 7px;
}

.blog-content th {
    padding: 5px;
    border: solid 1px rgb(50, 50, 50);
}

.blog-content td {
    border: solid 1px rgba(50, 50, 50);
}

.blog-content ul {
    margin-top: 0;
}

.blog-content ul li {
    margin-top: 0.2em;
    margin-bottom: 0.2em;
}


.blog-content ol li {
    margin-top: 0.6em;
    margin-bottom: 0.6em;
}

.poem-title {
  font-style:italic;
  padding-bottom: 40px;
}

p {  
  line-height: 1.3;
}

.blog-content p {
    margin-left: 12px;
    line-height: 1.4;
}

li {
    line-height: 1.3;
    margin: 20px 0;
}

.tight-list li {
    line-height: 1.0;
    margin: 5px;
}

.article-date {
  color: var(--alt-color);
  font-weight: bold;
  text-decoration:none;
  text-align: right;
  margin-right: 20px;
}
    


.poem {
  padding-top:70px;
  padding-bottom: 270px;
  padding-left: 60px;
  text-indent: -2em;
}

.poem-title {
  font-style: italic;
}

.story {
  padding-left: 50px;
  padding-right: 50px;
  margin-bottom: 120px;
  text-indent: 2em;
  line-height: 1.4;
  border-left: 1px solid lightskyblue;
  @media (max-width: 800px) {
    padding-right: 0px;

  }
}

.pline {
  padding-bottom: 5px;
}

.left {
  float:left;
  font-weight:bold;
}
.right {
  float:right;
  text-align:right;
}

.indexlist {
  border-left: 1px solid lightskyblue;
  padding-left: 20px;
}

.index-sidebar a {
    font-weight: lighter;
}

.index-sidebar-grid {
    position: sticky;
    width: 300px;
    @media (max-width: 800px) {
	visibility: hidden;
	width: 0px;
    }

}
.index-sidebar {
    font-family: 'Luminary', Gill, sans-serif;
    padding-right: 20px;
    border-right: 1px solid var(--lsb-faint);
    margin-top: 80px;
  position: fixed;
  height: 75vh;
  overflow: scroll;
  float: left;
  width: 280px;
  padding-left: 40px;
  padding-bottom: 100px;
  opacity: 90%;
}

.index-indent {
  padding-left: 40px;
  text-indent: -1em;
}

code {
    white-space: nowrap;
}

pre code {
    white-space: pre;
    @media (max-width: 800px) {
	white-space: normal;
    }

}



.codeblock {
  color: var(--alt-color-darker);
  border-left: 1px solid lightskyblue;
  padding-left: 20px;
  white-space: pre-wrap;
  @media (max-width: 800px) {
      white-space: normal;
  }

}

p > code {
    font-family: 'Courier New', Courier, sans-serif;
    color: rgb(200, 235, 248);
    border: 2px solid var(--dark-border);
    /* background-color: rgb(20, 30, 25); */
    border-radius: 5px;
    padding: 0px 3px;
}
li > code {
    font-family: 'Courier New', Courier, sans-serif;
    color: rgb(200, 235, 248);
    border: 2px solid var(--dark-border);
    /* background-color: rgb(20, 30, 25); */
    border-radius: 5px;
    padding: 0px 3px;
    white-space: nowrap;
}

.col-container {
  display: inline-block;
  width: 100%;

}

.col1 {
  width:40%;
  padding-right: 8%;
  float:left;
  @media (max-width: 800px) {
    width: 100%;
    float:none;
  }
}

.col2 {
  width:40%;
  top: 0;
  float:left;
  @media (max-width: 800px) {
    width: 100%;
    float:none;
  }
}

.indent {
  padding-left: 50px;
}

.image-container {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
  padding-bottom: 20px;
  padding-top: 20px;
  height: auto;
  text-align: center;

}
.centered {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.image-centered {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.image-row {
  display:inline-block;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2%;
}

.image-caption {
  padding-top: 6px;
  font-size: 14px;
}

.blog-img {
    display:block;
    margin-left: auto;
    margin-right: auto;
    /* margin-left: 7%; */
    /* margin-right: ; */
    margin-top: 20px;
    width: 86%;
    border: 1px solid grey;
}

.blog-img-caption {
    margin-top: 10px;
    margin-bottom: 50px;
    font-size: 14px;
    text-align: center;
}

.audio-example {
    display: block;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    margin-bottom: 30px;
}

.audio-example-caption {
    font-weight: lighter;
}

.audio-example audio {
    width: 100%;
}

.audio-example p:not(.audio-example-caption p) a {
    font-weight: lighter;
    display:block;
    width: 100%;
    text-align: end;
}
.audio-example p {
    margin: 5px;
}

.blog-block-quote {
    border-left: 1px solid lightskyblue;
    padding-left: 20px;
}
.blog-quote-attr {
    padding-left: 80px;
    margin-bottom: 40px;
}

.wood-project {
  padding-bottom: 40px;
}

.icon {
  border-radius: 16%;
}

.inline-icon {
  margin-right: 14px;
  border-radius: 10px;
  float: left;
  width: 40px;
}

.inline-text {
  /* line-height: 20px; */
  margin-top: 8px;
  display: inline-block;
}

.coding-project {
  padding-top: 20px;
  padding-bottom: 20px;
}

pre {
  @media (max-width: 800px) {
    white-space: pre-wrap;
  }
}
