/* Markdown */
:root{
  --primarycolorLight: #000000;
  --primarycolorDark: #0078bd;

  --secondarycolorLight: #000000;
  --secondarycolorDark: #fff;
  
  --terchiarycolorLight: #383838;
  --terchiarycolorDark: #0078bd;

  --highlightLight: #58ffff00;
  --highlightDark: #000000;

  --bgLight: #bea100;
  --bgDark: #000000;
  /* --bgSection: #54f5b2; */
  --bgSection: #000000;
  --footerBgColor: #bea100;

  --pfpBorder: #bea100;
  --linkBorder: #bea100;

  --calloutcolor:dodgerblue;

  --defaultFontSize: 18px;
  --headerFontSizeXXXL: clamp(1rem, 6vw + 1rem, 3.3rem);

  --linkBg: #06ac00;
  --linkHoverBg: #fff;
  --linkHoverBg: #fff;
  --linkText: #fff;
  --linkHoverText: #000;
  --linkHighlightBg: #ff0000;
  --linkHighlightText: #000;
  --linkHighlightHoverBg: #ffffff;
  --linkHighlightHoverText: #000000;  
}
html {
  color: #232333;
  font-family: "Bitcount Grid Double";
  font-size: var(--defaultFontSize);
  font-weight: normal;
  line-height: 2em;
  overflow-x: hidden;
}
body{
  background-color: var(--bgDark);
  /* background-image: url( '/img/layered-waves-haikei.svg' );
  background-position: bottom;
  background-repeat:no-repeat;
  background-size: cover; */

  display: block;
  /* margin: 8px; */

  min-height: 100vh;
  min-width: 100vw;
  margin: 0;
  scroll-behavior: smooth;
  will-change: contents;
}
* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

::selection {
  background: var(--primarycolorLight);
  color: #fff;
}

p {
  /* font-family: 'Courier', monospace; */
  font-size: var(--defaultFontSize);
  /* font-family: 'Fira Sans', sans-serif; */
  line-height: 1.5;
}

hr {
  border: 0;
  border-top: 3px dotted var(--terchiarycolorLight);
  margin: 1em 0;
}

blockquote {
  border-left: 3px solid var(--secondarycolorLight);
  color: var(--terchiarycolorLight);
  font-style: italic;
  margin: 0;
  padding-left: 1em;
}

a {
  border-bottom: 3px solid var(--primarycolorLight);
  background-color: var(--highlightLight);
  color: inherit;
  text-decoration: none;
}
a:hover {
    background-color: var(--secondarycolorLight);
    color: var(--bgLight);
}

ul {
  list-style: none;
  padding-left: 2ch;
}
ul li {
  text-indent: -2ch;
}
ul > li::before {
  content: '* ';
  font-weight: bold;
}

.pagination {
  margin-bottom: 6ch;
  margin-top: 3ch;
  padding: 0;
}

#groceryList {
  height: 50vh;
  width: 100%;
}

/* Images */
img {
  /* border: 3px solid #ececec; */
  /* max-width: 100%; */
}
figure a {
  background-color: transparent;
  border: 0px;
}
figure a:hover {
  background-color: #00000000;
}

figure {
  box-sizing: border-box;
  display: inline-block;
  margin: 0;
  max-width: 100%;
}

.input-checkbox {
  width: 20px;
  height: 20px;
}


/* figure img {
  max-height: 500px;
} */

/* figure h4 {
  font-size: 1rem;
  margin: 0;
  margin-bottom: 1em;
}
figure h4::before {
  content: '↳ ';
} */

/* Code blocks */
code {
  background-color: var(--primarycolorLight);
  color: var(--secondarycolorDark);

  font-family: 'Courier New', Courier, monospace;
  /* padding-top: .25rem;
  padding-bottom: .25rem;
  padding-left: 1rem;
  padding-right: 1rem; */
  padding: 0;
}

pre {
  background-color: #272822;
  line-height: 1.4;
  overflow-x: auto;
  padding: 1em;
}

.highlight pre ::selection {
  background: rgba(255, 255, 255, 0.2);
  color: inherit;
}

pre code {
  background-color: transparent;
  color: inherit;
  font-size: 100%;
  padding: 0;
}

/* Containers */
.content {
  /* margin-bottom: 4em;
  margin-left: auto;
  margin-right: auto;
  max-width: 800px; */
  /* padding: 0 1ch; */
  word-wrap: break-word;
  overflow-y: hidden;
  overflow-x: hidden;
}

/* Header */
header {
  background-image:  url(../img/gyk-banner-driving-03.jpg);
  background-position: center top;
  background-size: 130vh;
  background-color: #000;
  background-repeat: no-repeat;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 0;
  /* line-height: 2.5em; */
  padding-top: 45px;
  /* padding-bottom: 30px; */
  pointer-events: none;
  user-select: none;
  touch-action: none;

  /* transition: transform 0.01s ease-in-out; */

  will-change: transform;
}
header .main {
  height: 100vh;
  max-height: 1200px;
  width: 100%;
  display: flex;
  flex-flow: row;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.headerpfp {
  /* background-color: var(--bgLight); */
  display: flex;
  justify-content: center;
  width: 363px;
  /* height: 100vh; */
  /* border: solid 12px var(--bgLight); */
  /* border-radius: 5px; */
  overflow: hidden;
  margin-bottom: 59px;
  transform: rotateZ(4deg);
  margin-left: -386px;

  will-change: transform;
}
.headerpfp img {
  width: auto;
  max-height: 100%;
  transform: rotateZ(-4deg) scale(0.85);
  border: none;
  border-radius: 25px;
  border-color: var(--pfpBorder);
  border-width: 13px;
}
.main-title{
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 441px;
  height: 50px;
  padding-bottom: 19px;
  text-align: center;
  /* background-color: #d13cb9; */
  /* background-color: #000; */
  color: #fff;
  font-size: var( --headerFontSizeXXXL );
  font-weight: 300;
  font-style: italic;
  text-transform: lowercase;
  /* transform: rotateZ(-2deg) translateY(-65px); */
  z-index: 1;
  text-wrap: nowrap;
  /* position: absolute; */
  margin-top: 199px;
  margin-left: -55px;

  will-change: transform;
}
h1.main-title {
  opacity: 0.9;
  /* color: red; */
  mix-blend-mode: overlay;
}
div.main-title {
  opacity: .5;
}
.main-subtitle {
  color: #fff;
  width: 80%;
  display: none;
}

header a {
  display: block;
  width: fit-content;
}

.site-description {
  /* display: flex; */
  /* justify-content: space-between; */
  margin: 0;
  margin-bottom: calc(5px + 5vh);
}

section {
  background-color: var(--bgSection);
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  min-height: 300px;
  padding-top: 30px;
  padding-bottom: 30px;
}
.linkscontainer {
  max-width: 700px;
  width: 95%;
  z-index: 1;
}
.linkylinks {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
}
.linky {
  background-color: var(--linkBg);
  color: var(--linkText);
  display: flex;
  justify-content: space-between; 
  align-items: center;
  width: 100%;
  border: none;
  text-align: center;
  height: max-content;
  min-height: 60px;
  /* border-radius: 50px; */
  overflow: hidden;
  margin-bottom: 5px;
  position: relative;
  /* border-style: double;
  border-color: yellow; */
}
.linkyhighlight {
  background-color: var(--linkHighlightBg);
  color: var(--linkHighlightText);
}
.linky span {
  width: 100%;
  /* text-align: right; */
  z-index: 1;
}
.highlightsvg {
  position:absolute;
  height: 100%;
  width: 100%;
}

@media screen and (max-width: 400px) {
  .linky span {
    font-size: 12px;
  }
  .linky img {
    max-width: 50px; 
  }
}
@media screen and (min-width: 400px) and (max-width: 600px) {
  .linky span {
    font-size: 14px;
  }
  .linky img {
    max-width: 60px; 
  }
}
@media screen and (min-width: 600px) and (max-width: 1200px)   {
  .linky span {
    font-size: unset;
  }
  .linky img {
    max-width: 60px; 
  }
}
@media screen and (min-width: 1200px)   {
  .linky span {
    font-size: unset;
  }
  .linky img {
    max-width: 60px; 
  }
}
.linky img {
  /* position: absolute; */
  border-radius: 50px;
  transform: scale(.85);
  z-index: 1;
}
.linky:hover {
  background-color: var(--linkHighlightHoverBg);
  color: var(--linkHighlightHoverText);
}
.linkyhighlight:hover {
  background-color: var(--linkHighlightHoverBg);
  color: var(--linkHighlightHoverText);
}
.embed-link {
  width: 100%;
  margin-bottom: 15px;
  border-radius: 0px !important;
  overflow: hidden;
}
.embed-link > div, .embed-link > iframe {
  border-radius: 0px !important;
}

.embed-video {
  height: 350px;
}
.embed-bandcamp {
  height: 120px;
}
.embed-spotify {
  /* height: 200px; */
}

.list {
  /* background-color: var(--lightSection); */
}
.list-item {
  /* margin-bottom: 50px; */
}
.list-item h1{
}

h1, h2, h3, h4, h5, h6 {
  width: fit-content;
  /* line-height: 1.5ch; */
}

h1 {
  font-size: var( --headerFontSizeXXXL );
}
h2 {
  font-size: clamp(1rem, 3.5vw + 1rem, 2rem);
}
h3 {
  font-size: clamp(0.8rem, 2.5vw + 1rem, 1.5rem);
}
h4 {
  font-size: 0.9rem;
}
h5 {
  font-size: 0.8rem;
}
h6 {
  font-size: 0.7rem;
}

/* h1::before { color: var(--primarycolorLight); content: '✨ '; }h1::after { color: var(--primarycolorLight); content: ' ✨'; } */

.eapp-noclicky{
  pointer-events: none !important;
  cursor: text !important;
}

.eapp-events-calendar-dates-input, .eapp-events-calendar-filter-current {
  border-radius: 0px !important;
  border-color: var(--primarycolorLight) !important;
}
.eapp-events-calendar-dates-inputText, .eapp-events-calendar-filter-currentText {
  color: var(--secondarycolorLight) !important;
}

.eapp-events-calendar-dates-selected .eapp-events-calendar-dates-inputText {
  color: var(--secondarycolorDark) !important;
}
.eapp-events-calendar-filter-filtered .eapp-events-calendar-filter-currentText {
  color: var(--secondarycolorDark) !important;
}

.eapp-events-calendar-list-events {
  margin-bottom: 30px;
  font-family: 'Courier New', Courier, monospace;
}
.eapp-events-calendar-list-item-component {
  background-color: #ffffff00 !important;  
  border-top: 3px dotted var(--secondarycolorLight);
  border-bottom: 3px dotted var(--secondarycolorLight);

  margin-top: -3px !important;
  margin-bottom: 0px !important;
}
.eapp-events-calendar-date-element-component {
  background-color: #ffffff00 !important;
}
.eapp-events-calendar-date-element-month {
  color: var(--primarycolorLight) !important;
}
.eapp-events-calendar-date-element-day {
  color: var(--secondarycolorLight) !important;
}
.eapp-events-calendar-category-item {
  color: var(--primarycolorLight) !important;
}
.eapp-events-calendar-list-item-name {
  color: var(--secondarycolorLight) !important;
}
.eapp-events-calendar-time-component {
  background-color: white !important;
  color: black !important;
}
/* START of Library Light Styles */
.in {
  background-color: #68fe7f;
  color: var(--primarycolorLight);
}
.out {
  background-color: var(--primarycolorLight);
  color: var(--secondarycolorDark);
}
/* END of Library Light Styles */

/* Footer */
#bg-wrap {
  display: flex;
  justify-content: center;
  color: white;
}
#footersvg {
  display: none;
  position: absolute;
  width: 100%;
  height: 300px;
}
#sectionsvg {
  display: flex;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
}
footer {
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.158), rgba(255, 145, 0, 0.219)), url(../img/gyk-banner-van.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--footerBgColor);
  background-size: cover;
  width: 100%;  
  height: 50vh;
  display: flex;
  flex-flow: column;
  align-items: center;
  /* border-top: 0.2rem solid; */
  border-color: var(--footerBgColor);
  padding: 2rem 0rem;
  z-index: 1;
}
#footerIcons {
  display:flex;
  margin-bottom: 30px;
}
.soc {
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  border-bottom: none;
  /* background-color: var(--primarycolorDark); */
  background-color: #00000000;
  height: 40px;
  width: 40px;

  cursor: pointer;
}
.soc:hover{
  background-color: var(--bgLight);
  border-radius: 50px;
  color: white;
}
.soc img{
  max-height: 35px;
  max-width: 35px;
  padding-top: 5px;
  padding-bottom: 1px;
  margin-bottom: 5px;
  /* border-bottom: dotted; */
  /* transform: scaleX(1.5) scaleY(1.5); */
}

#shortcutIcons {
  display: flex;
  flex-wrap: wrap;
}
.shortcut {
  display: flex;
  justify-content: center;
  text-align: center;
  line-height: 1em;
  width: 80px;
  height: 80px;
  margin-right: 10px;
  margin-bottom: 10px;
  padding: 5px;
  padding-bottom: 10px;
  border: 3px solid;
  border-radius: 5px;
}
.shortcut:hover {
  border-color: #000;
}
.shortcut svg  {
  max-height: unset;
  max-width: unset;
  width: 45%;
  height: 100%;
}

.border {
  margin-left: 0.5rem;
  margin-right: 1.0rem;
  /* border: 1px solid; */
}
.footer-info {
  display: flex;
  flex-flow: column;
  padding: var(--footer-padding);
  margin-bottom: 1.0rem;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: 30px;
}
.footer-info p {
  margin: 0;
  padding: 0;
}
.copyrightimg { 
  height: 1em;
  transform: translateY(0.25em);
  -o-transform: translateY(0.25em);
  -moz-transform: translateY(0.25em);
  -webkit-transform: translateY(0.25em);
}
.mailto {
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  text-align: center;
}
.mailto svg {
  margin-right: 1em;
}

/* Common */
.title h1 {
  margin-bottom: 0;
}

time {
  color: var(--secondarycolorLight);
}
.meta {
  color: var(--terchiarycolorLight);
  letter-spacing: -0.5px;
  font-style: italic;
  margin-top: .5em;
  margin-bottom: .5em;
}


/* Posts */
article {
  /* padding-top: 5vh;
  padding-bottom: 5vh; */
}
article .title {
  /* margin-bottom: 1em; */
}
.tldr {
  background-color: var(--highlightLight);
  border-top: 3px dotted var(--secondarycolorLight);
  border-bottom: 3px dotted var(--secondarycolorLight);
  padding-top: 1em;
  padding-bottom: 1em;
  /* padding-left: 1em; */
  margin-top: 1em;
  margin-bottom: 3em;
  text-indent: 1em;
}

.readmore {
  font-size: small;
  background-color: var(--primarycolorDark);
  border-bottom: none;
}

/* Callout */
.callout {
  background-color: var(--calloutcolor);
  color: #fff;
  padding: 1em;
}

.callout p {
  font-family: 'IBM Plex Mono', monospace;
  margin: 0;
}

.callout a {
  border-bottom: 3px solid #fff;
}

.callout a:hover {
  background-color: #fff;
  color: var(--calloutcolor);
}

.posts{

}
.post {

}
.post a {
  margin-right: 1ch;
  padding-bottom: 1px;
}

.nav.tags {
  display: flex;
}
.tags {
  padding-left: 0;
}
.tags ul {
  display: flex;
  padding-left: 0;
}
.tags li::before{
  content: "#";
}
.tags li {
  display: flex;
  text-indent: 0;
  margin-right: 1ch;
}
.tags a{
  border-bottom: none; 
  font-size: 14px;
  /* font-style: italic; */
  font-weight: bold;
}
.tags a:hover{
  color:white;
  background-color: var(--secondarycolorLight); 
}
.draft-label{ 
    color: var(--secondarycolorLight);
    text-decoration: none;
    padding: 2px 4px;
    border-radius: 4px;
    margin-left: 6px;
    background-color: #f9f2f4;
}
.highlight {
  position: relative;
  -webkit-overflow-scrolling: touch;
}
.highlight pre code[class*="language-"] {
  -webkit-overflow-scrolling: touch;
}
.highlight pre code[class*="language-"]::before {
  background: black;
  border-radius: 0 0 0.25rem 0.25rem;
  color: white;
  font-size: 12px;
  letter-spacing: 0.025rem;
  padding: 0.1rem 0.5rem;
  position: absolute;
  right: 1rem;
  text-align: right;
  text-transform: uppercase;
  top: 0;
}

.highlight pre code[class=language-javaScript]::before,
.highlight pre code[class="language-js"]::before {
content: "js";
background: #f7df1e;
color: black;
}
.highlight pre code[class*='language-yml']::before,
.highlight pre code[class*='language-yaml']::before {
content: 'yaml';
background: #f71e6a;
color: white;
}
.highlight pre code[class*='language-shell']::before,
.highlight pre code[class*='language-bash']::before,
.highlight pre code[class*='language-sh']::before {
content: 'shell';
background: green;
color:white
}
.highlight pre code[class*='language-json']::before{
content: 'json';
background: dodgerblue;
 color: #000000 
}
.highlight pre code[class*='language-python']::before,
.highlight pre code[class*='language-py']::before {
content: 'py';
background: blue;
color: yellow ;
}
.highlight pre code[class*='language-css']::before{
content: 'css';
background: cyan;
color: black ;
}
.highlight pre code[class*='language-go']::before{
content: 'Go';
background: cyan;
color: royalblue ;
}
.highlight pre code[class*='language-md']::before,
.highlight pre code[class*='language-md']::before{
content: 'Markdown';
background: royalblue;
color: whitesmoke ;
}

/* table */
table {
  border-spacing: 0;
  border-collapse: collapse;
}

table th{
  padding: 6px 13px;
  border: 1px solid #dfe2e5;
  font-size: large;
}

table td{
  padding: 6px 13px;
  border: 1px solid #dfe2e5;
}
