@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.9.1/font/bootstrap-icons.css");
/*@import "../../node_modules/bootstrap-icons/font/bootstrap-icons.css";*/

/* Light Color Scheme */
:root,
:root[data-force-color-mode="light"] {
  --color-background: #F3F3F3;
  --color-table-header: #FDECE2;
  --color-table-background: white;
  --color-text: #2A2F35;
  --color-link: #F68F55;
  --color-link-hover: #FFBE99;
  --color-caption: #7B7F83;
}

/* Dark Color Scheme */
@media (prefers-color-scheme: dark) {
  /* Re-assign previous variables */
  :root {
    --color-background: #1E1E1E;
    --color-table-header: #3E3E3E;
    --color-table-background: #2E2E2E;
    --color-text: #ACB1BF;
    --color-link: #F68F55;
    --color-link-hover: #FFBE99;
    --color-caption: #818788;
  }
}

:root[data-force-color-mode="dark"] {
  --color-background: #1E1E1E;
  --color-table-header: #3E3E3E;
  --color-table-background: #2E2E2E;
  --color-text: #ACB1BF;
  --color-link: #F68F55;
  --color-link-hover: #FFBE99;
  --color-caption: #818788;
}

body {
  font-family: 'Merriweather', serif;
  background-color: var(--color-background);
  color: var(--color-text);
  margin: 0px;
  padding: 0px;
}

a {
  color: var(--color-link);
  text-decoration: none;
}

a:hover {
  color: var(--color-link-hover);
}

img {
  border-radius: 16px;
}

p, li {
  line-height: 180%;
  margin: 0px;
  font-size: 1.1em;
}

li {
  padding-bottom: 16px;
}

code {
  background-color: var(--color-table-background);
  padding: 0.5em;
  border-radius: 4px;
}

pre > code {
  padding: 0em;
}

.language-yaml, .language-js {
  border-radius: 16px;
}

.ely-body {
  width: 100vw;

  display: flex;
  flex-direction:column;
  align-items: center;
  max-width:100%;  /* added */
}

.ely-container {
  width: 800px;
  margin: 32px 32px 0px 32px;

  display: flex;
  flex-direction:column;
  gap: 32px;
}

@media only screen and (max-width: 1000px) {
  .ely-container {
    width: 80%;
  }
}

@media only screen and (max-width: 1000px) {
  .ely-container {
    width: 80%;
  }
}

@media only screen and (max-width: 800px) {
  .ely-container {
    width: calc(100% - 32px);
  }
}

.main-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.main-header-sub-header {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 40px;
}

.main-header-logo {
  width: 100%;
}


.nav-item {
  text-transform: lowercase;
}

@media only screen and (max-width: 890px) {
  .navigation-fluff {
    display: none;
  }
  .nav-item {
    text-transform: capitalize;
  }
  .nav-and {
    text-transform: lowercase;
  }
}

.navigation-logo-svg {
  fill: var(--color-link);
}

.navigation-logo-svg:hover {
  fill: var(--color-link-hover);
}

.main-header-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 128px;
}

.main-header-line {
  border: 2px var(--color-text) solid;
  margin: 0px;
}

.navigation {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 20px;

  display: flex;
  justify-content:space-between;
}

.navigation-icons {
  display: flex;
  flex-flow: row wrap;
  width: 128px;
	flex-basis: 128px;
	flex-grow: 0;
	flex-shrink: 0;
}

.navigation-icon {
  /*height: 20px;
  width: 20px;*/
  color: var(--color-link);
  width: 25%;
  text-align: right;
}


.navigation-icon:hover {
  color: var(--color-link-hover);
}

#toggleButton {
  cursor: pointer;
}

@media only screen and (max-width: 670px) {
  .navigation-icons {
    display: flex;
    flex-flow: row wrap;
    width: 56px;
    flex-basis: 56px;
  }
  .navigation-icon {
    width: 50%;
  }
}

.ely-loop {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.post-teaser {
  display: flex;
}

.post-teaser:nth-child(odd) {
  flex-direction: row;
}

.post-teaser:nth-child(even) {
  flex-direction: row-reverse;
}

.post-teaser .post-teaser-thumbnail {
  flex: 1;
}

.post-teaser .post-teaser-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.post-teaser .post-teaser-text-container {
  flex: 1;
}

.post-teaser .post-category {
  font-size: 20px;
  margin: 0em 0em 0.5em 0em;
}

.post-teaser .post-teaser-title {
  font-size: 32px;
  margin: 0em 0em 0.25em 0em;
}

.post-teaser:first-child {
  width: 120%;
  margin-left: -10%;
  margin-right: -10%;
}

@media only screen and (max-width: 800px) {
  .post-teaser:first-child {
    width: 100%;
    margin-left: 0%;
    margin-right: 0%;
  }
}

.post-teaser:first-child .post-teaser-thumbnail {
  padding-right: 32px;
  flex: 2;
}

.post-teaser:nth-child(odd) .post-teaser-thumbnail {
  padding-right: 32px;
}

.post-teaser:nth-child(even) .post-teaser-thumbnail {
  padding-left: 32px;
}

.post-teaser-text-container {
  background-color: var(--color-table-background);
  padding: 16px;
  border-radius: 8px;
}

.post-teaser-meta {
  color: var(--color-caption);
  margin: 0.5em 0em;
  font-size: 0.9em;
}

.post-teaser-excerpt {
  margin: 0.5em 0em;
}

@media only screen and (max-width: 800px) {
  .post-teaser:nth-child(odd) {
    flex-direction: column;
  }
  
  .post-teaser:nth-child(even) {
    flex-direction: column;
  }

  .post-teaser:nth-child(odd) .post-teaser-thumbnail {
    padding-right: 0px;
  }
  
  .post-teaser:nth-child(even) .post-teaser-thumbnail {
    padding-left: 0px;
  }

  .post-teaser:nth-child(odd) .post-teaser-thumbnail img {
    border-radius: 8px 8px 0px 0px;
    margin-bottom: -4px;
  }
  
  .post-teaser:nth-child(even) .post-teaser-thumbnail img {
    border-radius: 8px 8px 0px 0px;
    margin-bottom: -4px;
  }

  .post-teaser:nth-child(odd) .post-teaser-text-container {
    border-radius: 0px 0px 8px 8px ;
  }
  
  .post-teaser:nth-child(even) .post-teaser-text-container {
    border-radius: 0px 0px 8px 8px ;
  }
}

.post-content p:first-child {
  float: left;
  font-size: 1.4em;
  line-height: 180%;
  margin-top: 0px;
}

.post-content p:first-child:first-letter {
  float: left;
  font-size: 3.3em;
  line-height: 100%;
  padding-top: 4px;
  padding-right: 12px;
  padding-left: 0px;
  font-weight: 900;
}

.post-thumbnail {
  width: 120%;
  margin-left: -10%;
  margin-right: -10%;
}

@media only screen and (max-width: 800px) {
  .post-thumbnail {
    width: 100%;
    margin: 0px;
  }
}

.post-card-image {
  width: 100%;
}

.post-header {
  margin-top: 32px;

  display: flex;
  flex-direction: column;
  gap: 12px;
}

.post-category {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 24px;
  margin: 0em 0em 0em 0em;
  line-height: 100%;
}

.post-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 48px;
  margin: 0px;
  line-height: 100%;
}

.post-line {
  border: 2px var(--color-text) solid;
  margin: 0px;
}

.post-content {
  margin-top: 32px;
}

.post-content p {
  margin: 32px 0px;
}

.post-pull-right {
  width: 40%;
  float: right;
  margin-right: calc(-12.5% + 16px);
  padding-left: 32px;
}

.post-pull-left {
  width: 40%;
  float: left;
  margin-left: calc(-12.5% + 32px);
  padding: 0px 32px;
}

h2 + .post-pull-right {
  margin-top: 16px;
}

h2 + .post-pull-left {
  margin-top: 16px;
}

figure + .post-pull-right {
  margin-top: 16px;
}

figure + .post-pull-left {
  margin-top: 32px;
}

@media only screen and (max-width: 800px) {
  .post-pull-right {
    margin-right: 0px;
  }
  .post-pull-left {
    margin-left: 0px;
  }
}

@media only screen and (max-width: 500px) {
  .post-pull-right {
    width: 100%;
    padding: 0px;
    float: none;
  }
  .post-pull-left {
    width: 100%;
    padding: 0px;
    float: none;
  }
}

.post blockquote {
  border-left: 3px solid var(--color-link);
  padding-left: 1em;
  line-height: 175%;
}

.post-disclaimer {
  width: 100%;
  background-color: var(--color-table-background);
  text-align: center;
  font-family: 'Poppins', sans-serif;
  border-radius: 8px;
  padding: 4px;
}

.post-table {
  width: 100%;
  border-spacing: 0;
  margin: 0px 0px 16px 0px;
}

.post-table tbody {
  border-radius: 8px;
}

.post-table th {
  font-size: 24px;
  line-height: 150%;
  text-align: left;
  font-family: 'Poppins', sans-serif;
  color: var(--color-link);
  background-color: var(--color-table-header);
  padding: 16px 16px;
}

.post-table-icon {
  float: right;
}

.post-table tr {
  background-color: var(--color-table-background);
}

.post-table td {
  background-color: var(--color-table-background);
  padding: 8px 16px;
}

.post-table tr:nth-child(2) td {
  padding-top: 16px;
}
.post-table tr:last-child td {
  padding-bottom: 16px;
}

.post-table-conclusion {
  margin-top: 32px;
}

.post-table-conclusion td {
  background-color: var(--color-table-background);
  padding: 8px 16px;
  line-height: 150%;
}

.post-table tr:first-child th:first-child {
  border-top-left-radius: 16px;
}

.post-table tr:first-child th:first-child {
  border-top-right-radius: 16px;
}

.post-table tr:last-child td:first-child {
  border-bottom-left-radius: 16px;
}

.post-table tr:last-child td:last-child {
  border-bottom-right-radius: 16px;
}

.site-footer {
  text-align: center;
  margin-bottom: 16px;
}

.kg-card {
  margin: 0px;
}

.kg-card figcaption {
  text-align: center;
  font-family: 'Poppins', sans-serif;
  color: var(--color-caption);
  margin-top: 8px;
}

.kg-image-card img {
  width: 100%;
  height: auto;
}

.kg-embed-card {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.kg-embed-card iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.kg-width-wide {
  width: 120%;
  margin-left: -10%;
  margin-right: -10%;
}

.kg-width-full {
  margin-left: calc(-100vw / 2 + 800px / 2);
  margin-right: calc(-100vw / 2 + 800px / 2);
}