/* :root {
  --primary-color: #c4c4c5;
  --secondary-color: #dee4e7;
  --link-color: #9381cd;
  --date-color: #8f82be;
  --tertiary-color: #a69caf;
  --code-color: #3a384b;
  --font-size: 16px;
  --code-font-size: 14px;
  --bg: #1b1d29;
  --bg2: #342d49;
  --title-size: 20px;
  --nav-size: 16;
} */

:root {
  --primary-color: #435066;
  --secondary-color: #2d384b;
  --link-color: #ABC837;
  --link-color2: #d1ee5e;
  --tertiary-color: #a69caf;
  --code-color: #3a384b;
  --font-size: 16px;
  --code-font-size: 14px;
  --bg: #ffffff;
  --bg2: #e7edf3;
  --title-size: 20px;
  --nav-size: 16;
}

body {
  color: var(--primary-color);
  background: var(--bg);
  font-family: sans-serif;
  line-height: 1.5;
  margin: auto;
  font-size: var(--font-size);
  text-align: justify;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#top-header {
  background: var(--bg1);
  margin-bottom: 1em;
  padding: 10px 0;
  border-bottom: 1px solid var(--bg2);
}

main, div#title-bar {
  width: 93%;
  margin: 0 auto;
  max-width: 700px;
}

main {
  flex: 1;
}

#nav-wrapper {
  text-align: center;
}

#title-wrapper {
  text-align: center;
  font-size: var(--title-size);
}

#logo {
  margin-right: 20px;
}

#title-link {
  color: var(--secondary-color);
  font-weight: bold;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
#title-link div {
  display: inline-block;
  text-align: left;
}
#menu-button {
  display: none;
}

#nav {
  font-size: var(--nav-size);
  font-weight: normal;
  text-align: right;
  display: inline-block;
  margin-left: auto;
  margin-right: 0;
}

#nav a {
  padding: 3px 10px;
  text-decoration: none;
  border-radius: 3px;
}

#nav a + a {
  margin-left: 5px;
}

#nav a.book {
  background-color: var(--bg2);
}

#nav a:hover {
  background-color: var(--link-color);
  color: white;
}

@media only screen and (max-width: 650px) {
  #menu-button {
    padding: 3px 10px;
    margin-bottom: 5px;
    border: 1px solid var(--primary-color);
    text-decoration: none;
  }
  #menu-button.visible {
    display: inline-block;
  }

  #nav a.hidden {
    display: none;
  }

  #nav a.book {
    display: block !important;
  }

  #nav-wrapper {
    text-align: left;
  }
  #nav {
    display: block;
    text-align: left;
  }

  #nav a {
    display: block;
  }

  #title-bar {
    display: block;
  }

  #nav a + a {
    margin-left: 0px;
  }
}

/* Testimonials */

blockquote {
  margin: 0;
  padding: 0;
  font-style: italic;
  display: inline-block;
}
blockquote p:first-child {
  margin-top: 0;
}
blockquote p:last-child {
  margin-bottom: 0;
}

p.attribution {
  margin: 0;
  margin-top: 10px;
  text-align: right;
}
p.attribution::before {
  content: "—\00a0";
}

.testimonials li.splide__slide {
  padding: 15px 20px;
  background-color: var(--bg2);
  border-radius: 10px;
}

.splide__arrow--next {
  right: -1em !important;
}
.splide__arrow--prev {
  left: -1em !important;
}
.splide {
  padding: 3em 1em !important;
  padding-top: 1em !important;
}
.splide__arrow svg {
  fill: var(--link-color) !important;
}
.splide__arrow svg:hover {
  fill: var(--link-color2) !important;
}
.splide__pagination__page.is-active {
  background: var(--link-color) !important;
}
.splide__pagination__page:hover {
  background: var(--link-color2) !important;
}

/* FAQ */

#faq ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

#faq ol li + li {
  padding-bottom: 20px;
}

#faq ul {
  list-style: none;
  margin: 0;
  padding: 0;
}



/*  */

.post-content img[src*="#center"] {
  margin: 1rem auto;
  border-radius: 3px;
  display: block;
  max-width: 100%;
}

.post-header {
  line-height: 1;
}

.post-header h1 {
  margin-top: .2em;
  margin-bottom: .5em;
}

.post-date {
  color: var(--date-color);
  font-weight: bold;
}

.post-data p {
  font-size: var(--code-font-size);
  margin: 0.5em 0;
}

.post-data, footer {
  color: var(--tertiary-color);
}

.post-data a, footer a {
  color: var(--tertiary-color);
}

.post-data a:hover, footer a:hover {
  color: var(--secondary-color);
}

.post-data svg {
  margin-right: 7px;
  font-size: var(--code-font-size);
}

a {
  color: var(--secondary-color);
  transition: color .3s, background-color .3s;
  text-decoration: underline;
}

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

footer {
  margin-top: 50px;
  text-align: center;
  font-size: var(--code-font-size);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--secondary-color);
  text-align: left;
}

.post-content pre code {
  display: grid;
  border-radius: 3px;
  overflow-x: auto;
  padding: 10px 5px;
  background: none !important;
  line-height: 1.5;
  font-size: var(--code-font-size);
}

.post-content pre {
  overflow-x: auto;
  margin: 0;
}

.h-anchor a.anchor {
  visibility: hidden;
}

.h-anchor a.anchor svg {
  vertical-align: middle;
  height: 18px;
  width: 18px;
}

.h-anchor:hover a.anchor {
  visibility: visible;
}

div.highlight div.chroma {
  overflow-x: scroll;
  margin: 15px 0;
  border-radius: 3px;
}

ol, ul {
  margin: 0;
  padding-left: 25px;
}

hr {
  margin: 10px 0;
  border-radius: 1.5px;
  border: 1.5px solid;
  color: var(--tertiary-color);
  opacity: .5;
}

/* Tags */

ol.tags-terms {
  margin: 0;
  padding: 0;
  text-align: left;
}

ol.tags-terms li {
  display: inline-block;
  margin: 10px 5px;
}

ol.tags-terms a {
  background: var(--bg2);
  border-radius: 3px;
  padding: 5px;
  text-decoration: none;
  color: var(--secondary-color);
  transition: color .1s, background .1s;
}

ol.tags-terms a:hover {
  color: var(--bg2);
  background: var(--primary-color);
}

/* Lists */

ol.page-list {
  margin: 0;
  padding: 0;
  text-align: left;
}

ol.page-list a {
  text-decoration: none;
}

ol.page-list h2 {
  margin-top: 0;
  margin-bottom: 10px;
}

ol.page-list div.date {
  margin-top: 0;
}

ol.page-list li {
  display: block;
  margin: 10px 0;
}

ol.page-list a {
  display: block;
  padding: 18px;
  background: var(--code-color);
  border-radius: 3px;
  color: var(--primary-color);
  font-size: 13px;
  transition: color .1s, background .1s;
}

ol.page-list a:hover {
  background: var(--bg2);
  color: var(--secondary-color);
}

/* 404 */

div._404 {
  text-align: center;
  margin: auto;
  width: 100%;
}

#picture {
  display: block;
  float: left;
  max-width: 300px!important;
  margin: 0 20px 5px 0;
}

@media only screen and (max-width: 650px) {
  #picture {
    display: block;
    float: none;
    margin: auto;
    max-width: 400px!important;
  }

}

div.specialty {
  padding: 3px 20px;
  border-radius: 3px;
  margin: 10px 0;
  background-color: var(--bg2);
}

input, label, textarea {
  display: block;
  width:100%;
  max-width: 400px;
}

textarea {
  height: 150px;
  max-width: 100%;
}

input#submit {
  width: auto;
  margin-top: 20px;
}