html {
  overflow-y: scroll;
}
body {
  text-rendering: optimizeLegibility;
  margin: 10px auto 200px;
  width: 700px;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 24px;
  background-color: #ffffff;
  background-image: url('../img/topo.svg');
  color: black;
}

@media only screen and (max-width: 768px) {
  /* For mobile phones: */
  body {
    width: 90%;
  }
}

hr.main-separator {
  border: none;
  padding: 0;
  margin: 12px 0px;
  height: 1px;
  border-top: 1px solid #d0d0d0;
  border-bottom: 1px solid #ddd;
}

header {
  color: #777;
  /* text-transform: lowercase; */
  font-size: 20px;
  line-height: 30px;
}
header > nav {
  float: right;
  font-size: 18px;
  line-height: 30px;
}

footer {
  font-style: italic;
  font-size: 14px;
  line-height: 30px;
}
footer > nav {
  margin: 0 auto;
  text-align: center;
}

main {
  margin: 36px 0px;
}

p, ul, ol {
  margin: 0px 0px 24px;
}

a {
  color: #e56f00;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

blockquote {
  border-left: 6px solid #e2e2e2;
  margin-left: 24px;
  padding-left: 12px;
}

/* Headings ---------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
  padding-top: .5rem;
}
h1 a, h2 a, h3 a, h4 a {
  color: black
}
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover {
  color: #e56f00; text-decoration: none;
}

h1 { font-size: 40px; line-height: 50px; margin: 24px 0; }
h2 { font-size: 36px; line-height: 36px; margin: 24px 0; }
h3 { font-size: 30px; line-height: 36px; margin: 24px 0; }
h4 { font-size: 24px; line-height: 36px; margin: 24px 0; }

/* Code -------------------------------------------------------------------- */
code, pre {
  font-family: 'Inter', sans-serif;
}
p code, li code, table code {
  border: 1px solid #ccc;
  background-color: #fafafa;
  border-radius: 2px;
  font-size: 14px;
  padding: 0px 3px;
  line-height: 20px;
  margin: 0;
}
pre {
  font-size: 14px;
  line-height: 20px;

  overflow-x: auto;

  border: 1px solid #d5d5d5;
  border-left: 10px solid #d5d5d5;
  background-color: #fafafa;

  padding: 11px 15px 12px;
  margin: 0px 0px 24px -25px;
}
pre i {
  /* come on, 3bmd */
  font-style: normal;
}
pre span.string {
  font-style: italic;
}
pre span.comment {
  font-style: italic;
  font-weight: bold;
  color: #714678;
}
pre.lineart {
  background: none;
  border: none;
  line-height: 16px;
}

/* Tables ------------------------------------------------------------------ */
table {
  margin: 0px auto 24px;
  border-collapse: collapse;
}
td, th {
  border: 1px solid #666;
  padding: 4px 8px;
}
th {
  background-color: #f4f4f4;
}

/* Bits & Bobs ------------------------------------------------------------- */
a#logo { color: #000000; }
a#logo:hover { color: #e56f00; }

ol.table-of-contents {
  list-style-type: none;
  margin: 0px 0px 24px 0px;
  padding: 0px;
}
ol.table-of-contents ol {
  list-style-type: none;
  margin: 0px 0px 0px 36px;
  padding: 0px;
}
blockquote {
  margin: 30px 0;
}


/* Index Pages ------------------------------------------------------------- */
ol.index {
  list-style-type: none;
  padding: 0px;
}
ol.index li.item {
  margin-bottom: 24px;
}
ol.index p.snippet {
  margin-top: 2px;
  font-style: italic;
}
ol.index p.date {
  margin: 0px;
  color: #666;
  float: right;
}

/* Individual Pages -------------------------------------------------------- */
main#page-home p {
  font-size: 24px;
  line-height: 36px;
  text-align: center;
}

main#page-blog-entry p.date,
main#page-photography-gallery p.date,
main#page-simple p.date {
  margin: -20px 0px 24px;
  color: #666;
}

main#page-blog-entry img {
  display: block;
  margin: 25px auto 26px;
  border: 11px solid #e5e5e5;
  padding: 1px;
  background: black;
  width: auto;
  height: auto;
  max-width: 600px;
  max-height: 400px;
  object-fit: scale-down;
}
main#page-blog-entry canvas {
  display: block;
  margin: 25px auto 26px;
  border: 11px solid #e5e5e5;
  padding: 1px;
  background: black;
}
main#page-blog-entry div.threejs {
  margin: 0px 0px 24px;
}

.wave {
  animation-name: wave-animation;  /* Refers to the name of your @keyframes element below */
  animation-duration: 2.5s;        /* Change to speed up or slow down */
  animation-iteration-count: infinite;  /* Never stop waving :) */
  transform-origin: 70% 70%;       /* Pivot around the bottom-left palm */
  display: inline-block;
}

@keyframes wave-animation {
    0% { transform: rotate( 0.0deg) }
   10% { transform: rotate(14.0deg) }  /* The following five values can be played with to make the waving more or less extreme */
   20% { transform: rotate(-8.0deg) }
   30% { transform: rotate(14.0deg) }
   40% { transform: rotate(-4.0deg) }
   50% { transform: rotate(10.0deg) }
   60% { transform: rotate( 0.0deg) }  /* Reset for the last half to pause */
  100% { transform: rotate( 0.0deg) }
}

.title:after{
  content: ' \00B7  ';
}

.headline{
  font-size: 24px;
  text-align: center;
  color: #000000;
}
