/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
@import url("https://use.typekit.net/hvo4hia.css");
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Colors */
* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  font-family: "myriad-pro", sans-serif;
  font-size: 16px;
  line-height: 1.25;
  color: rgb(52, 73, 18);
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  padding: 0 1em;
}

h1 {
  font-size: 1.8em;
  font-weight: 700;
}

h2 {
  font-size: 1.75em;
  line-height: 1;
  font-weight: 700;
}

h3 {
  font-size: 1.5em;
  font-weight: 700;
}

h4 {
  font-size: 1.15em;
  font-weight: 700;
  margin-bottom: 0.575em;
  padding: 0;
}

p {
  font-size: 1em;
  font-weight: 400;
}

a {
  color: rgb(150, 153, 41);
  text-decoration: none;
}
a:hover {
  color: rgb(52, 73, 18);
  text-decoration: underline;
}

.alpha {
  font-size: 2em;
  line-height: 1em;
  margin-bottom: 0.75em;
  color: rgb(255, 90, 0);
}

.beta {
  font-size: 1.75em;
  line-height: 1;
  margin-bottom: 0.75em;
  color: rgb(255, 90, 0);
}

.gamma {
  font-size: 1.25em;
  line-height: 1.2;
  margin-bottom: 1em;
}

.small,
small {
  font-size: 0.75em;
}

hr.clear {
  border: none;
  float: none;
  clear: both;
  height: 0.25em;
}

strong {
  font-weight: 700;
}

img {
  max-width: 100%;
  height: auto;
}

figure {
  margin-bottom: 0.75em;
}

iframe {
  width: 100%;
  height: 25vh;
}

#wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 1em 0;
  position: relative;
}

header {
  text-align: center;
}
header img {
  display: none;
  visibility: hidden;
}

nav {
  position: relative;
  z-index: 999;
}

.nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-content: space-around;
  margin-bottom: 1em;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.8);
  border-top: 1px solid rgb(255, 90, 0);
  border-bottom: 1px solid rgb(255, 90, 0);
}
.nav li a {
  display: block;
  margin: 0.25em;
  padding: 0.5em 0.75em;
  text-decoration: none;
  color: white;
  background-color: rgb(255, 90, 0);
}

figcaption {
  font-size: 0.75em;
  text-align: center;
}

section {
  margin-top: 1em;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 400;
}
section h3 {
  text-align: center;
  margin-bottom: 0.25em;
  color: rgb(255, 90, 0);
}

.panel {
  margin-bottom: 1em;
}
.panel img {
  margin-top: 0.5em;
}

#referenten {
  padding: 0 1em;
  margin-bottom: 2em;
}
#referenten p {
  padding: 0;
}
#referenten p.internet {
  margin-top: 0.5em;
}
#referenten h4 {
  margin-top: 0.25em;
}
#referenten .grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: auto;
  gap: 2em 1em;
}
#referenten .grid img {
  grid-column: span 2;
  width: 100%;
  height: auto;
}
#referenten .grid .text {
  grid-column: span 4;
}
@media screen and (max-width: 1023px) {
  #referenten .grid .full {
    grid-column: span 6;
  }
}

#programm .date {
  font-size: 1.15em;
  font-weight: 700;
  color: rgb(255, 90, 0);
  text-align: center;
  padding-left: 0;
}
#programm .time {
  color: rgb(255, 90, 0);
  display: block;
}
#programm .vortrag {
  font-weight: 700;
  font-style: italic;
}
#programm .nachmittag .time {
  display: inline-block;
}
#programm p {
  margin-bottom: 0.75em;
}

#anreise small {
  padding-left: 1em;
}

#anmeldung {
  text-align: center;
}

footer {
  text-align: center;
  margin-top: 4em;
  margin-bottom: 2em;
}

@media screen and (min-width: 1024px) {
  body {
    background-image: url("/img/BrightEarth.jpg");
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    font-size: 18px;
  }
  body:before {
    background-color: rgba(255, 255, 255, 0.9);
    width: 100vw;
    height: 100vh;
    content: "";
    position: fixed;
    z-index: -1;
    top: 0;
    left: 0;
  }
  header {
    margin-bottom: 2em;
  }
  header img {
    display: block;
    visibility: visible;
    margin-bottom: 0.75em;
  }
  .nav {
    height: 51px;
  }
  #intro {
    text-align: center;
  }
  #intro figure img {
    max-height: 65vh;
  }
  #intro .description {
    margin: 0 auto;
    max-width: 45em;
  }
  #festival .panel {
    display: flex;
    flex-direction: row;
    margin-bottom: 0;
    padding: 0 2em;
    align-items: center;
  }
  #festival .panel:nth-child(odd) p {
    text-align: right;
  }
  #festival .panel:nth-child(even) {
    flex-direction: row-reverse;
  }
  #festival .panel img {
    margin: 0;
    width: 60em;
    max-width: 55%;
    height: auto;
  }
  #festival .panel p {
    padding: 0 1em;
    transform: translateY(-1em);
  }
  #referenten {
    padding: 0;
  }
  #referenten .grid {
    grid-template-columns: repeat(5, 1fr);
  }
  #referenten .grid img {
    grid-column: span 1;
  }
  #referenten .grid .text {
    grid-column: span var(--grid-span, 4);
  }
  #programm {
    width: 40em;
    margin-left: auto;
    margin-right: auto;
  }
  #programm p {
    padding-left: 6em;
  }
  #programm .time {
    display: inline-block;
    width: 6em;
    margin-left: -6.15em;
  }
  #programm .nachmittag .time {
    width: inherit;
    margin-left: inherit;
  }
  #anreise iframe {
    height: 55vh;
  }
  #impressum {
    width: 40em;
    margin-left: auto;
    margin-right: auto;
  }
  #impressum p {
    margin-bottom: 1em;
  }
  #impressum ul {
    list-style-type: square;
    margin-bottom: 1em;
    padding-left: 1em;
  }
}
