:root {
  --brun: rgb(77, 44, 43);
  --orange: rgb(239, 124, 83);
  --blanc: rgb(252, 251, 247);
  --vert: rgb(121, 171, 150);
}

@-ms-viewport {
  width: device-width;
}

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

@font-face {
  font-family: Akrobat;
  src: url(fonts/Akrobat-Thin.otf);
  font-weight: 100;
}

@font-face {
  font-family: Akrobat;
  src: url(fonts/Akrobat-ExtraLight.otf);
  font-weight: 200;
}

@font-face {
  font-family: Akrobat;
  src: url(fonts/Akrobat-Light.otf);
  font-weight: 300;
}

@font-face {
  font-family: Akrobat;
  src: url(fonts/Akrobat-Regular.otf);
  font-weight: normal;
}

@font-face {
  font-family: Akrobat;
  src: url(fonts/Akrobat-SemiBold.otf);
  font-weight: 600;
}

@font-face {
  font-family: Akrobat;
  src: url(fonts/Akrobat-Bold.otf);
  font-weight: bold;
}

@font-face {
  font-family: Akrobat;
  src: url(fonts/Akrobat-ExtraBold.otf);
  font-weight: 800;
}

@font-face {
  font-family: Akrobat;
  src: url(fonts/Akrobat-Black.otf);
  font-weight: 900;
}

html,
body {
  font-family: Akrobat, sans-serif;
  background: var(--blanc) repeat-x bottom left;
  margin: auto;
  height: 100%;
  overflow: overlay;
}

article {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}

a {
  color: var(--brun);
  text-decoration: none;
}

.active {
  color: var(--orange);
  font-size: larger;
}

.inactive {
  color: var(--brun);
}

img#site-logo {
  max-width: 100%;
  width: -webkit-fill-available;
  width: -moz-available;
  object-fit: cover;
  max-height: 230px;
  height: 100%;
  object-position: 0 40%;
}

.site-logo {
  width: auto;
  grid-area: site-logo;
  height: 230px;
}

header {
  flex-shrink: 0;
  display: grid;
  grid-template-areas:
    'site-logo'
    'nav';
}

.button {
  position: absolute;
  top: 20px;
  opacity: 94%;
  padding: 5px 5px 5px 5px;
  margin: 10px 5px 10px 10px;
  border: thin;
}

.button a {
  background: var(--blanc) repeat-x bottom left;
  font-weight: bold;
  font-size: x-large;
  color: var(--orange);
  border: solid;
  border-radius: 10px;
  border-color: var(--brun);
  padding: 4px;
}

.button-right {
  right: 20px;
  justify-self: right;
}

.button-left {
  left: 20px;
  justify-self: left;
}

#alt-menu {
  display: none;
  top: 70px;
  padding: 5px 5px 5px 5px;
  margin: 10px;
  text-align: end;
  font-weight: bold;
  font-size: x-large;
}

nav {
  list-style: none;
  margin: 0;
  display: grid;
  grid-auto-flow: column;
  padding: 0;
  font-weight: bold;
  #background: #80808017;
  min-height: 44px
}

.navbar-nav {
  display: grid;
  padding: 10px 20px 10px 20px;
  max-width: max-content;
}

.dropdown-content {
  display: none; /* Hide it first of all */
  background: var(--blanc);
  padding: 0 10px 10px 10px;
  margin-top: 25px;
  margin-left: 70px;
  justify-self: center;
  width: min-content;
  position: absolute;
  z-index: 9999;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  opacity: 94%;
}

.has_children:hover .dropdown-content,
.show {
  display: grid;
  grid-auto-columns: max-content;
}

.dropdown-content a {
  padding-top: 5px;
}

a.navbar-sub-sub {
  padding-left: 20px;
  font-weight: 600;
}

main {
  flex-grow: 1;
  padding: 20px 30px 20px 30px;
  width: 66%;
  align-self: center;
}

main a {
  color: var(--orange);
}

main h2 {
  color: var(--brun);
}

main h3 {
  color: var(--orange);
}

main p {
  margin-block-start: 0em;
  color: black;
}

main img {
  display: block;
  width: -webkit-fill-available;
  width: -moz-available;
  max-width: 100%;
}

.text-block-centered {
  text-align: center
}

.video-block {
  mso-hide: all;
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
}

div.link-block {
  display: grid;
  justify-content: center;
}

.link-button {
  text-align: center;
  border: solid;
  border-radius: 10px;
  border-color: var(--brun);
  padding: 3px;
  margin-bottom: 16px;
}

main:after {
  content: '';
  display: block;
  clear: both;
}

footer {
  display: block;
  font-size: small;
  text-align: center;
  padding: 10px 20px 10px 20px;
}

.copyright,
.impressum {
  margin: 5px;
}

@media screen and (max-width: 850px) {
  .site-logo {
    height: initial;
  }

  header nav {
    grid-auto-flow: row;
    grid-row-gap: .3em;
  }

  header nav a {
    text-align: left;
  }

  header .navbar-sub li {
    margin-left: 2em;
    margin-top: 0;
  }

  .button {
    top: 0;
  }

  .button-right {
    right: 0;
  }

  .button-left {
    left: 0;
  }

  .show {
    display: contents;
    justify-content: left;
  }

  .dropdown-content a {
    padding-left: 10px;
  }

  .has_children:hover .dropdown-content {
    display: contents;
  }

  .navbar-sub-sub {
    justify-self: left;
  }

  a.navbar-sub-sub {
    padding-left: 20px;
    width: -webkit-fill-available;
    width: -moz-available;
  }

}

@media screen and (max-width: 700px) {

  .button a {
    font-size: larger;
  }

}

@media screen and (max-width: 440px) {
  .button a {
    font-size: initial;
  }

  footer {
    display: contents;
  }

  .copyright,
  .impressum {
    margin: .1em;
  }

}

