/*
Theme Name: kraeutli.com2016
Author: Florian Kräutli
Author URI: https://www.kraeutli.com
Version: 0.1
*/
:root {
  --canvas: #ededec;
  --sheet: #ffffff;
  --ink: #1a1a1a;
  --muted: #767670;
  --line: #e2e2e0;
  --accent: #3c7a8c;
  --accent-deep: #26505d;
  --scrim: rgba(10, 14, 15, 0.66);
}
html,
body {
  font-family: "Source Serif Pro", serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6em;
  background-color: #ffffff;
  color: black;
}
@media screen and (min-width: 40em) {
  html,
  body {
    font-size: 16px;
  }
}
@media screen and (min-width: 64em) {
  html,
  body {
    font-size: 18px;
  }
}
a,
a:visited {
  color: black;
  color: #333;
}
a:hover,
a:visited:hover {
  color: #000;
}
dl {
  line-height: 1.4rem;
}
dl dt {
  font-size: 0.75rem;
  font-weight: 400;
  margin: 0;
  color: #999;
}
dl dd {
  margin-bottom: 1rem;
}
.site-title h1 {
  font-weight: 300;
  font-size: 1.3rem;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Source Serif Pro", serif;
}
h2 {
  font-size: 2rem;
  font-weight: 300;
  margin-top: 5rem;
}
h2 a {
  font-weight: 400;
}
h3 {
  font-weight: 400;
  font-size: 1.4rem;
}
h5 {
  color: #999;
}
twitterwidget {
  margin: 1.6rem 0 !important;
}
#content {
  position: relative;
  background: white;
  z-index: 2;
  margin-top: 2rem;
}
#header {
  pointer-events: none;
  position: fixed;
  top: 38px;
  width: 100%;
}
#header a {
  pointer-events: all;
}
#header.collapsed {
  z-index: 10;
  width: 100%;
}
#header.collapsed #menu ul {
  display: none;
  background-color: white;
  border-bottom: 1px solid #ffffff;
}
#header.collapsed .site-title {
  display: none;
}
#menu {
  position: relative;
  background-color: white;
  font-size: 1.3rem;
  font-weight: 200;
}
@media screen and (min-width: 40em) {
  #menu {
    width: auto;
    background-color: transparent;
  }
  #menu ul {
    background-color: transparent;
  }
}
#menu ul {
  display: none;
  line-height: 1.2em;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
@media screen and (min-width: 40em) {
  #menu ul {
    display: block;
    padding: 0;
  }
}
#menu ul > li {
  margin-bottom: 0.2rem;
}
#menu ul > li > a {
  display: inline-block;
  padding: 0rem 1rem;
}
#menu ul li.current-menu-item > a,
#menu ul li.current-menu-parent > a {
  font-weight: 400;
}
#next {
  width: 100vw;
  height: 100vh;
  background: #e8e8e8;
  z-index: 1;
  position: relative;
}
#next .content {
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0vh;
  left: 0;
}
@media screen and (min-width: 40em) {
  #next .content {
    padding-top: 30%;
  }
}
#next .content .menu-item {
  display: inline-block;
}
#post-content {
  padding-top: 2rem;
}
@media screen and (min-width: 40em) {
  #post-content > p,
  #post-content > blockquote {
    margin-left: 8.33333%;
    width: 66.66667%;
  }
}
#wrapper {
  z-index: 2;
  background-color: #ffffff;
  position: relative;
  min-height: 100%;
  box-shadow: 0px 1px 30px rgba(0, 0, 0, 0.5);
}
a.button {
  background-color: #3c7a8c;
  color: white;
  font-weight: 400;
}
a.button:hover {
  color: white;
  background-color: #4b99b0;
}
.caption {
  font-size: 0.9rem;
  font-weight: 400;
}
.gap {
  margin-top: 4rem;
}
.introduction,
.emphasis {
  font-size: 1.4rem;
}
.menu-icon {
  width: 24px;
}
.pagination .current {
  background-color: #5598b8;
}
.pagination .unavailable {
  display: none;
}
.pagination .unavailable a {
  color: #999;
}
.pagination a:hover {
  background: transparent;
}
.panel {
  --bg-gradient: linear-gradient(160deg, rgba(60, 122, 140, 0.78), rgba(20, 45, 52, 0.88));
  background-image: var(--bg-image);
  background-position: 50%;
  background-size: 100%;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
  margin: 1.6rem 0;
  height: 16rem;
  position: relative;
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg-gradient);
  opacity: 1;
  transition: opacity 0.6s ease;
  pointer-events: none;
  width: 100%;
  height: 100%;
}
.panel.in-view {
  opacity: 1;
  transform: translateY(0);
}
.panel:hover::before {
  opacity: 0.3;
}
.panel:hover h3 {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.5);
}
.panel .meta {
  position: absolute;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-bottom: 1rem;
  bottom: 0;
  color: white;
  transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -webkit-transition: all 0.3s linear;
}
.panel .meta h3 {
  font-size: 1.6rem;
}
.panel .meta p {
  margin-bottom: 0.5rem;
}
.panel .scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--scrim), transparent 60%);
}
.post-title {
  margin-bottom: 4rem;
}
.screen-reader-text {
  display: none;
}
.site-title {
  margin-bottom: 2rem;
}
.title-bar {
  background-color: white;
  color: black;
  position: fixed;
  top: 0;
  width: 100%;
  display: block;
}
@media screen and (min-width: 40em) {
  .title-bar {
    display: none;
  }
}
.title-bar.collapsed {
  display: block;
  z-index: 10;
}
.h_iframe {
  position: relative;
}
.h_iframe iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.h_iframe .ratio {
  display: block;
  width: 100%;
  height: auto;
}
/* Mixins */
