html {
  box-sizing: border-box; }

*, *:before, *:after {
  box-sizing: inherit; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #f5f5f5; }

h1, h2 {
  line-height: 1.2em; }

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  background: #42596a;
  color: #f5f5f5; }
  header h1 {
    margin: 0; }
  header a, header a:visited {
    text-decoration: none;
    color: #f5f5f5; }
  header a.active {
    font-weight: bold; }
  header .menu {
    display: flex;
    align-items: center; }
  header ul {
    display: flex;
    justify-content: space-around; }
    header ul li {
      list-style-type: none;
      padding-left: 20px; }
  header .language-container {
    position: relative; }
    header .language-container button {
      outline: 0;
      border: none;
      background: transparent;
      color: #f5f5f5;
      font-size: 16px;
      margin-left: 2em; }
  header .language-menu {
    position: absolute;
    display: none;
    right: 0;
    background: #42596a; }
    header .language-menu.visible {
      display: block; }
    header .language-menu li {
      padding: 10px; }

.hero {
  background-image: url("/images/hero.jpg");
  background-size: cover;
  background-position-x: 50%;
  background-position-y: 50%;
  min-height: 500px;
  width: 100%;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: center; }
  .hero .claim {
    max-width: 40ch;
    color: #f5f5f5; }

.person {
  margin-bottom: 4em; }
  .person .head {
    display: flex;
    flex-wrap: wrap; }
    .person .head img {
      width: 240px;
      height: 240px;
      margin: 0 0 !important; }
    .person .head .social {
      padding-left: 2em; }
      .person .head .social ul {
        padding: 0; }
      .person .head .social li {
        list-style-type: none;
        margin-top: .8em; }

footer {
  margin-top: 3em;
  background: #42596a;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  color: white; }
  footer img {
    flex-grow: 1;
    max-width: 500px; }
  footer a, footer a:visited {
    color: white;
    text-decoration: none; }
  footer .footer-top-navigation {
    display: flex;
    max-width: 500px;
    justify-content: space-between;
    padding: 0 10px;
    flex-wrap: wrap; }
    footer .footer-top-navigation > li {
      list-style-type: none;
      margin-right: 20px;
      margin-bottom: 2em; }
  footer .footer-child-navigation {
    padding: 0;
    margin-top: 1em; }
    footer .footer-child-navigation li {
      margin-top: .5em;
      list-style-type: none; }
    footer .footer-child-navigation a {
      color: #d8d4d4;
      font-size: .9em; }

#content {
  margin: 0 auto;
  max-width: 60ch;
  padding: 10px;
  flex-grow: 1;
  line-height: 1.3em; }
  #content .example {
    display: flex;
    margin-top: 3em; }
    #content .example img {
      box-shadow: none;
      flex-basis: 50%;
      width: 50%;
      margin: 0 0;
      border: none !important; }
    #content .example .copy {
      padding: 10px;
      flex-basis: 50%; }
  #content img {
    max-width: 80%;
    max-height: 500px;
    margin: 0 auto;
    box-shadow: 0 0 4px 0 black; }
  #content img[src$="svg"] {
    padding: 10px;
    box-shadow: none;
    border: 1px solid lightgray;
    max-height: 800px; }
  #content pre {
    overflow-x: auto; }
  #content figure {
    margin: 0; }
  #content .iframe-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    overflow: hidden;
    width: 100%;
    height: auto; }
  #content .iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; }
  #content table {
    width: 100%; }

@media (max-width: 600px) {
  #content .example {
    flex-wrap: wrap; }
    #content .example img {
      width: 90%; }
    #content .example .copy {
      order: 1;
      flex-basis: 100%;
      padding: 0; } }
