
@font-face {
  font-family: 'source_sans_proregular';
  src: url('/layout/sourcesanspro-regular-webfont.woff2') format('woff2'),
       url('/layout/sourcesanspro-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
html {
  background:#FCFCFC;
  font-size: 1.07em;
  font-size: 1em;
  font-family: 'source_sans_proregular', 'Helvetica', 'Arial', sans-serif;
  font-weight: 400;
}
body {
  margin:auto;
    padding: 0em 1em 0em 1em;
  max-width: 85ch;
  background:rgba(255, 255, 255, 0.7);
}
@media (min-width: 85ch) {
  html {
    font-size: 1.1em;
  }
  body {
    padding: 0em 2em 0em 2em;
  }
}

[href^="http"]:not([href*="kristofkoch.de"])::after {
  background: url("external-link.svg") no-repeat 0 0;
  background-size: 100%;
  content: '';
  display: inline-block;
  height: 0.65em;
  margin-bottom: -0.02em;
  margin-left: 0.2em;
  width: 0.65em;
}

.header {
  font-family: 'Helvetica', 'Arial', sans-serif;
  font-weight: 700;
  font-size: 2.75em;
  line-height: 1.2em;
  letter-spacing: -.021em;
  color:white;
  background-color:black;
  margin: 0em -0.72em 0em -0.72em;
  padding: 0.5em 0.72em;
  background-image: linear-gradient(to top right, #ff4f0d, #ff9100);
  text-shadow: 0 0 0.1em #ff410d;
}
.header a {
  text-decoration:none;
  color: white;
}

h1 {
  font-family: 'Helvetica', 'Arial', sans-serif;
  font-weight: 700;
  font-size: 2.59em;
  line-height: 1.2em;
  letter-spacing: -.021em;
}

h2 {
  font-family: 'Helvetica', 'Arial', sans-serif;
  font-weight: 700;
  font-size: 2em;
  line-height: 1.2em;
  letter-spacing: -.021em;
}

h3 {
  font-family: 'Helvetica', 'Arial', sans-serif;
  font-weight: 700;
  font-size: 1.41em;
  line-height: 1.2em;
}

h4 {
  font-family: 'Helvetica', 'Arial', sans-serif;
  font-weight: 700;
  font-size: 1.12em;
  line-height: 1.2em;
}

h5 {
  font-family: 'Helvetica', 'Arial', sans-serif;
  font-weight: 700;
  font-size: 0.94em;
  line-height: 1.2em;
}

h6 {
  font-family: 'Helvetica', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 0.76em;
  line-height: 1.5em;
  text-transform: uppercase;
}

p {
  font-size: 1em;
  line-height: 1.5em;
  max-width: 85ch;
}

p:first-of-type {
  font-family: 'Helvetica', 'Arial', sans-serif;
  font-weight: 300;
  font-size: 1.29em;
  line-height: 1.5em;
}

p:last-of-type {
  font-style: italic;
  background: url(../layout/k-logo-full-black.svg);
  background-repeat: no-repeat;
  background-size: 3.66em 1.5em;
  background-position: 2em 3.25em;
  padding: 0em 2em 3em 2em;
  background-position: 2em 4.75em;
  padding: 0em 2em 4.5em 2em;
  margin-left: -2em;
  margin-right: -2em;
}

table {
  margin:0em;
  padding:0em;
  border-spacing:0em;
}

th {
  margin:0em;
  padding:0.3em 0.6em;
  border-bottom: 0.15em solid;
}

td {
  margin:0em;
  padding: 0.3em 0.6em;
  border-bottom: 0.05em solid;
}

td .num {
  text-align: right;
}

li {
  padding: 0.375em;
}

ul#nav {
  margin: 1em -2em 0em 0em;
  padding: 0em;
  overflow: hidden;
  list-style: none;
}

#nav li {
  float:left;
  padding: 0em;
}

#nav li a {
  display: block;
  padding: 0.39em 0em 0.3em 0em;
  margin: 0em 1em;
  font-size:0.76em;
  text-decoration:none;
  text-transform:uppercase;
  border-bottom: 0.25em solid white;
}

#nav li:first-of-type {
  margin-left: -0.76em;
}

#nav li a:hover {
  /*border-bottom: 0.25em solid #D3D3D3;*/
  border-bottom: 0.25em solid;
}

#nav .current a {
  color: black;
  background: white;
  border-bottom: 0.25em solid black;
  font-weight:700;
}

figure {
  margin:0em;
  padding:0em;
  max-width:100%;
}

img {
  /* max-width: 68ch; */
  max-width: 100%;
  height: auto;
}

figcaption {
  font-style: italic;
}

hr {
  border: 0.075em solid #D3D3D3;
}

pre {
  padding: 1em;
  /*border: 0.075em solid #D3D3D3;*/
  background-image: linear-gradient(to top right, #F0F0F0, #FFFFFF);
  max-width:100%;
}

code {
  background: #EAEAEA;
}

dd {
  padding-top:0.5em;
  padding-bottom:1em;
}

.ilc {
  font-family:monospace;
}