:root {
  --orange-color: #ed9f18;
  --col-orange-1: hsl(38, 86%, 97%);
  --col-orange-3: #ed9f18;
  --col-orange-5: hsl(38, 86%, 16%);

  --container-width: 70ch;
}

html {
  font-size: 100%;
  font-family: Open Sans, sans-serif !important;
}

body {
  background: var(--col-orange-1);
  color: var(--col-orange-5);
}

.img-rounded {
  border-radius: 0.75rem;
}

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

#instantclick-bar {
  background: var(--orange-color);
}


.float-right {
  float: right;
}

blockquote {
  border-left: 5px solid var(--orange-color);
  margin: 0;
  font-family: "PT Serif";
  font-style: italic;
  padding-left: 2em;
  color: #444;
}

div.highlight {
  border-radius: 0.5em;
  padding: 0 1em;
  margin-left: -1em;
  margin-right: -1em;
  max-width: 100vw;
  overflow-x: scroll;
}

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

a:hover {
  text-decoration: underline;
}

a:focus {
  background: #4678ef;
  outline: 5px solid #4678ef;
  color: white !important;
}

p {
  line-height: 1.7;
}

p small {
  color: #666;
}

img {
  max-width: 100%;
  transition: box-shadow 0.3s;
}

a img:hover {
  box-shadow: 0px 0px 10px var(--orange-color);
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  text-wrap: balance;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

h2 {
  font-size: 1.5em;
}

/* article {
  text-align: justify;
} */

ul.posts {
  list-style: none;
  padding-left: 0;
}

ul.posts .post-published-date {
  padding-right: 1em;
}


.text-orange {
  color: var(--orange-color);
}

.container {
  margin: 0 auto;
  max-width: var(--container-width);
}

.footer {
  margin-top: 3rem;
}

nav.page-navigation {
  display: flex;
  justify-content: space-between;
  gap: 0.5em;
  padding-top: 1rem;
  margin-bottom: 2rem;
  align-items: center;
}

nav.page-navigation .home-link {
  font-weight: 600;
  font-size: 1.5rem;
}

nav.page-navigation .home-link a {
  color: var(--col-orange-5);
}

nav.page-navigation ul {
  display: flex;
  gap: 1em;

  list-style: none;
  margin: 0;
  padding: 0;
}


.footer-text {
  font-style: italic;
  font-size: 0.8rem;
  color: #666;
}

.post-metadata {
  font-style: italic;
  color: #888;
}

@media (max-width: 500px) {
  nav.page-navigation {
    flex-direction: column;
    align-items: flex-start;
  } 
}

@media (max-width: 680px) {
  .container {
    padding: 0 0.85rem;
  }
}

@media print {
  body {
    background: white;
    color: black;
  }

  nav ul {
    display: none;
  }

  a:not(.home-link a) {
    color: inherit;
    text-decoration: underline;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background: #333;
    color: var(--col-orange-1);
  }

  nav.page-navigation .home-link a {
    color: var(--col-orange-1);
  }

  .footer-text {
    color: #777;
  }
}
