@font-face {
  font-family: "Open Sans";
  src: url(open-sans/OpenSans-Regular.ttf);
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Open Sans";
  src: url(open-sans/OpenSans-Bold.ttf);
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: "Source Sans Pro";
  src: url(source-sans-pro/SourceSansPro-Regular.ttf);
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Source Sans Pro";
  src: url(source-sans-pro/SourceSansPro-Bold.ttf);
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: "Source Sans Pro";
  src: url(source-sans-pro/SourceSansPro-Italic.ttf);
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: "Source Sans Pro";
  src: url(source-sans-pro/SourceSansPro-BoldItalic.ttf);
  font-weight: bold;
  font-style: italic;
}
@font-face {
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  src: url("fa-solid-900.eot");
  src: url("fontawesome/fa-solid-900.eot?#iefix") format("embedded-opentype"), url("fontawesome/fa-solid-900.woff2") format("woff2"), url("fontawesome/fa-solid-900.woff") format("woff"), url("fontawesome/fa-solid-900.ttf") format("truetype"), url("fontawesome/fa-solid-900.svg#fontawesome") format("svg"); 
}

body {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 14pt;
  color: #133d5e;
  line-height: 1.3rem;
  height: 100%;
}

#container {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 1024px;
  min-height: 100vh;
  margin: 0 auto;
  background-color: #bcc8da;
}

header, footer {
  flex: 0 0;
  background-color: #ffbf75;
}

header {
  text-align: right;
}

header nav, footer nav {
  display: inline-block;
  padding: 0.25rem;
}

content {
  flex: 1 0 auto;
}

footer {
  vertical-align: middle;
  text-align: right;
  margin-top: auto;
}

aside img.logo {
  position: absolute;
  top: 2rem;
  left: 3rem;
  z-index: 2;
  padding: 0.7rem;
  background-color: #fee6ce;
}

aside img.portrait {
  position: absolute;
  top: 11rem;
  left: 5rem;
  z-index: 1;
  opacity: 0.4;
}

main {
  position: relative;
  top: 2rem;
  left: 21rem;
  z-index: 3;
  background-color: rgba(169, 185, 204, 0.5);
  margin-bottom: 3rem;
  padding: 1rem 1rem 1rem 7.5rem;
  max-width: 32rem;
}

#testimonial {
  padding: 0.25rem 0.75rem;
  font-style: italic;
  font-size: 0.9rem;
  color: #3A3428;
}
#testimonial p {
  margin: -0.1rem 0;
}
#testimonial p.right {
  margin-bottom: 1rem;
}

nav #menu-mobile {
  display: none;
}

nav a.active {
  font-weight: bold;
}

nav a:hover, nav a:focus, footer a:hover, footer a:focus {
  text-decoration: underline;
}

nav ul li {
  display: inline-block;
  margin: 0 7px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Open Sans", sans-serif;
  margin: 1.5rem 0 1.0rem 0;
}
h1 {
  font-size: 1.7rem;
  padding: 13px 0 7px;
}
h2 {
  font-size: 1.25rem;
  margin-top: 3.0rem;
  padding: 13px 0 7px;
}
h3 {
  position: relative;
  font-weight: bold;
}
h3::before {
  content: " ";
  position: absolute;
  top: 1.0rem;
  left: -3rem;
  width: 2.5rem;
  border-bottom: 4px solid #ffbf75;
}
h4 {
  margin-top: 2.0rem;
  margin-bottom: 0.25rem;
}

blockquote {
  text-align: center;
  font-size: 1.0rem;
  padding: 13px 0;
}

p {
  margin: 13px 0;
}
p.center {
  text-align: center;
}
p.right {
  text-align: right;
}
p.highlight {
  margin: 23px 0;
  font-weight: bold;
  padding: 0.2rem;
}
p.summarize {
  font-style: italic;
  text-align: right;
}

p img {
  margin: 0 25px;
  vertical-align: top;
}

ul {
  list-style: disc outside;
  padding: 0.5rem 1rem;
}

a {
  color: #133d5e;
  text-decoration: none;
}

span.koerper, span.stimme, span.ausdruck {
  font-size: 1.5rem;
}
span.koerper {
  color: #8B372E
}
span.stimme {
  color: #00A0B1
}
span.ausdruck {
  color: #3A3428
}

td {
  padding-top: 0.5rem;
  padding-right: 2rem;
}

em {
  font-style: italic;
}

.fa {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.fa-bars:before {
  content: "\f0c9"; 
}

@media (max-width: 1024px) {
  nav {
    position: relative;
    width: 100%;
  }

  nav a#menu-mobile {
    display: inherit;
    padding: 1rem;
    line-height: inherit;
    text-decoration: none;
  }
  nav a#menu-mobile:focus {
    pointer-events: none;
  }
  nav a#menu-mobile ~ ul {
    position: absolute;
    top: 3rem;
    left: 0;
    z-index: 10;
    display: inline-block;
    width: 100%;
    background-color: #ffbf75;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: visibility 0.5s;
  }
  nav a#menu-mobile:focus ~ ul {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
  }

  nav li {
    padding: 0.3rem 0;
  }

  nav a {
    font-size: 1.25rem;
  }

  nav ul li, footer ul li {
    display: inherit;
    width: 100%;
    text-align: center;
  }

  aside img.logo {
    top: 0;
    left: 0;
  }
  
  aside img.portrait {
    top: 8rem;
    left: 0;
    opacity: 0.1;
  }

  main {
    top: 3rem;
    left: 2rem;
    min-width: 0;
    padding-top: 9rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
