@import "https://fonts.googleapis.com/css?family=Lora&display=swap";
* {
  box-sizing: border-box;
}

html {
  margin-left: calc(100vw - 100%);
  margin-right: 0;
}

body {
  font-family: Verdana, Arial, sans-serif;
  font-size: 15px;
  background-color: #5e829e;
  overflow-y: auto;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Lora', serif;
  margin-top: 0;
}

h1 {
  font-size: 24pt;
  text-align: center;
}

h2 {
  font-size: 1.66rem;
  text-align: center;
}

h3 {
  font-size: 12pt;
  margin-top: 0;
  margin-bottom: 0;
}

h4 {
  font-size: 10pt;
  font-family: 'Lora', serif;
  color: #FFE399;
}

a:link {
  color: #12356F;
  text-decoration: underline;
}

a:visited {
  color: #12356F;
}

a:hover {
  color: #E5B15C;
}

.wrapper {
  max-width: 1024px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  border: none;
  background-color: rgba(255, 255, 255, 0.77);
  position: relative;
  min-height: 100vh;
  box-shadow: 0 0 20px #353535;
  display: flex;
  flex-direction: column;
}

header {
  height: 100px;
  text-align: center;
  padding: 0;
  font-weight: bold;
  font-variant: small-caps;
}

header img {
  max-width: 100%;
  max-height: 100%;
  float: left;
}

header a {
  color: inherit;
  text-decoration: none;
  background-color: inherit;
}

header a:link {
  color: inherit;
  text-decoration: none;
  background-color: inherit;
}

header a:visited {
  color: inherit;
  text-decoration: none;
  background-color: inherit;
}

header h1 {
  font-size: 42px;
  text-transform: uppercase;
  margin: 0;
  line-height: 100px;
  font-weight: normal;
  letter-spacing: 0.05em;
}

nav {
  clear: both;
  text-align: center;
  font-size: 1rem;
}

nav ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  padding: 0;
  margin: 0;
}

nav ul li {
  display: block;
  flex-grow: 1;
  margin: 0.5em;
}

nav ul li a {
  display: flex;
  justify-content: center;
  padding: 0.25em 0.4em;
  font-family: 'Lora', serif;
  border: 1px solid #005492;
  background-color: #0970be;
  text-shadow: 0 0 2px #6d6d6d;
}

nav ul li a:link {
  color: white;
  text-decoration: none;
}

nav ul li a:visited {
  color: white;
  text-decoration: none;
}

nav ul li a:hover {
  background-color: white;
  color: #096ebc;
  text-shadow: none;
  box-shadow: 1px 1px 2px #0f5ca4, -1px 1px 2px #0f5ca4, 1px -1px 2px #0f5ca4, -1px -1px 2px #0f5ca4;
}

nav li img {
  height: 1.3em;
  width: auto;
  float: left;
  margin-right: 0.5em;
}

nav li a:hover img {
  filter: brightness(0.5);
}

main {
  min-height: 404px;
  padding: 0 1em 1em;
  hyphens: auto;
  line-height: 1.25;
  display: block;
  flex: 1;
}

section {
  clear: both;
  margin-bottom: 5px;
}

.start {
  font-size: 1.2em;
  font-family: "Lora", serif;
  clear: both;
  text-align: center;
}

.left {
  float: left;
}

img.left {
  clear: left;
  margin-right: 1em;
  margin-bottom: 1em;
}

.right {
  float: right;
}

img.right {
  clear: right;
  margin-left: 1em;
  margin-bottom: 1em;
}

p {
  margin-bottom: 0.5em;
}

#verbindungen h2 {
  font-size: 4rem;
  margin: 0 0 1rem;
  padding: 0;
  -webkit-text-stroke: 1px #000000b0;
  border-bottom: 1px solid;
  line-height: 1;
}

#verbindungen h2 a,
#verbindungen h2 a:active,
#verbindungen h2 a:link,
#verbindungen h2 a:visited {
  color: inherit;
  text-decoration: none;
  -webkit-text-stroke: 1px #000000b0;
  display: block;
}

#verbindungen h2 a:hover {
  color: inherit;
}

#verbindungen > div {
  border: 1px solid #555555;
  padding: 1em;
  text-align: justify;
  font-family: Verdana;
  margin-bottom: 10px;
  background-color: rgba(255, 255, 255, 0.65);
  clear: both;
  overflow: auto;
}

#verbindungen img {
  max-width: calc(50% - 1em);
  height: auto;
}

.img-verbindung {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1em;
}

#dozenten {
  margin: 1em auto;
}

#dozenten div {
  margin-bottom: 1em;
  clear: both;
  border: 1px solid #555555;
  padding: 1em;
  clear: both;
  overflow: auto;
  background-color: rgba(255, 255, 255, 0.65);
}

#dozenten img {
  float: left;
  margin-right: 0.5em;
  height: auto;
}

.location {
  font-size: 7pt;
  font-weight: bold;
  color: #FFE399;
  padding-left: 5px;
}

.info {
  font-size: 12pt;
  color: #FFE399;
  font-family: 'Lora', serif;
}

footer {
  height: 32px;
  text-align: center;
  padding-top: 20px;
  margin: auto;
  clear: both;
  padding: 0;
  font-size: 10px;
  bottom: 1em;
}

footer a:visited {
  color: #165696;
  text-decoration: none;
}

footer a:active {
  color: #165696;
  text-decoration: none;
}

footer a:link {
  color: #165696;
  text-decoration: none;
}

footer a:hover {
  text-decoration: none;
  color: #000000;
}

@media screen and (max-width: 850px) {
  html {
    margin-left: 0;
  }
  .wrapper {
    box-shadow: none;
  }
  header h1 {
    font-size: 5vw;
  }
}

@media screen and (max-width: 650px) {
  header h1 {
    letter-spacing: 0;
  }
  header img {
    margin-right: -1em;
  }
  h2 {
    font-size: 16pt;
  }
  nav ul li {
    margin: 0.25em;
  }
}

@media screen and (max-width: 500px) {
  header {
    height: inherit;
  }
  header h1 {
    line-height: 100%;
    font-size: 12pt;
    padding-top: 1em;
  }
  header img {
    max-height: 50px;
    max-width: auto;
    margin-right: 0.1em;
  }
  nav ul li {
    margin: 0;
  }
  nav ul li a {
    border: none;
  }
  h2 {
    font-size: 12pt;
  }
  img {
    max-width: 100%;
  }
  p img {
    width: 100%;
  }
}
