:root {
  --top-height: 140px;
}

#main {
  width: 100%;
  height: 100%;
  min-height: 600px;
  position: relative;
  margin: 0 auto 0 auto;
  padding: 0;
  background-image: url("Bilder/Amphitheater.jpg");
  background-size: 100% 100%;
  z-index: 2;
}

@media only screen and (min-width: 900px) {
  #main {
    width: 80%;
    height: 42%;
  }

  .navigation span.hamburger {
    display: none;
  }
}

@media only screen and (min-width: 1530px) {
  #main {
    width: 60%;
    height: 60%;
  }
}

#top {
  display: block;
  position: relative;
  height: var(--top-height);
  background-color: rgba(0, 0, 0, 0.5);
}

#top_back_bg {
  width: 100%;
  height: 140px;
  background-color: #70726d;
  position: absolute;
  z-index: 1;
}

#schriften {
  max-width: 1280px;
  min-width: 700px;
  width: 70%;
  max-height: 160px;
  min-height: 80px;
  height: 20%;
  position: relative;
  margin: 0 auto 2% auto;
  background: url("Bilder/Schriften.jpg") no-repeat;
  background-size: 100% 100%;
  z-index: 2;
}

#logo {
  position: relative;
  right: 0;
  top: 0;
  margin: 12px 10px 0 0;
  float: right;
  width: 200px;
  height: 60px;
  background-image: url("Bilder/Logo.png");
  background-size: 200px 60px;
  overflow: hidden;
}

#bodyContent {
  position: absolute;
  top: var(--top-height);
  left: 220px;
  bottom: 0;
  right: 0;
  padding: 0 20px 0 20px;
  overflow: auto;
}

.navigation {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 220px;
}

.navigation > .navigation_wrapper {
  width: 100%;
  margin: 0;
  padding: 0;
  position: absolute;
  top: var(--top-height);
  bottom: 0;
  padding-top: 8px;

  background-color: rgba(0, 0, 0, 0.5);
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);

  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);

  overflow-y: auto;
}

.navigation > .navigation_corner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--top-height);
  background-color: rgba(0, 0, 0, 0.5);

  background-color: rgba(0, 0, 0, 0.5);
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);

  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
}

.navigation > .navigation_wrapper ul.main {
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navigation > .navigation_wrapper ul.main li {
  height: 24px;
  line-height: 24px;
  margin: 4px 0 4px 20px;
  padding-left: 8px;
  display: flex;
  align-items: center;
}

.navigation > .navigation_wrapper ul.main li a:link,
a:visited {
  color: inherit;
  text-decoration: none;
  display: block;
  width: 100%;
  padding: 0;
}

.navigation > .navigation_wrapper ul.main li:hover {
  background-image: url("Bilder/bg_li.png");
}

.navigation input {
  display: block;
  width: 50px;
  height: 50px;
  position: absolute;
  top: 0;
  left: 0;
  cursor: pointer;
  margin: 0;
  padding: 0;
  border: 1px solid white;
  z-index: 5;
  opacity: 0;
}

.navigation span.hamburger {
  display: block;
  width: 37px;
  height: 4px;
  margin-bottom: 6px;
  margin-left: 10px;
  position: relative;

  background: #cdcdcd;
  border-radius: 3px;

  z-index: 1;

  transform-origin: 4px 0px;

  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
    background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
}

.navigation span:first-child {
  transform-origin: 0% 0%;
}

.navigation span:nth-last-child(2) {
  transform-origin: 0% 100%;
}

.navigation input:checked ~ span {
  transform: rotate(45deg) translate(-1px, -2px);
}

.navigation input:checked ~ span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

.navigation input:checked ~ span:nth-last-child(2) {
  transform: rotate(-45deg) translate(2px, 0px);
}

.navigation input:checked ~ .navigation_wrapper {
  transform: none;
}

.navigation input:checked ~ .navigation_corner {
  transform: none;
}

span.naventry {
  height: 20px;
  padding: 2px 0 2px 4px;
  display: block;
}

span.navtext {
  height: 20px;
  line-height: 18px;
  float: left;
  padding: 1px 0 1px 0;
}

/* ---Menü 2--- */

#navigation_bottom {
  width: 100%;
  height: 24px;
  position: absolute;
  bottom: 2px;
  margin: 0 0 2px 0;
}

#navigation_bottom > ul {
  list-style: none;
  margin: 0 6px 0 6px;
  padding: 0;
  display: block;
}

#navigation_bottom > ul li {
  height: 24px;
  margin: 0;
  padding: 0;
}

#navigation_bottom > ul li a:link,
a:visited {
  color: inherit;
  text-decoration: none;
  display: block;
}

.navigation > .navigation_wrapper ul.main li.navigation_bottom_resp {
  display: none;
}

li.left {
  float: left;
}

li.right {
  float: right;
}

#tbutton {
  position: absolute;
  bottom: 6px;
  left: 0px;
  padding-left: 6px;
  width: 120px;
  height: 32px;
  z-index: 4;
  overflow: hidden;
}

#tbutton a:link,
#tbutton a:visited {
  color: inherit;
  text-decoration: none;
  height: 100%;
  display: block;
}

#tbutton > a:hover {
  opacity: 0.8;
  height: 30px;
  width: 93px;
}

#tbutton img {
  height: 32px;
}

.home {
  display: block;
  height: 100%;
  width: 100%;
}

.invs {
  display: block;
  position: relative;
  height: 0;
  overflow: hidden;
}

.scalable_img {
  margin: 0 auto 0 auto;
  display: block;
  border: 2px solid black;
}

.scalable_img:hover {
  border: 2px solid blue;
}

h2 {
  color: #212020;
}

.impressum_container {
  display: grid;
  gap: 10px 20px;
  grid-template-areas:
    "Area_A"
    "Area_B"
    "Area_C";
  grid-template-rows: minmax(min-content, max-content) minmax(min-content, max-content) auto;
  width: 100%;
  margin-bottom: 32px;
}

.table_area {
  grid-area: Area_C;
}

.img_area {
  grid-area: Area_A;
}

.text_area {
  grid-area: Area_B;
  display: flex;
  justify-content: center;
}

@media only screen and (min-width: 900px) {
  #main {
    background-size: cover;
  }

  .navigation span.hamburger {
    display: none;
  }

  .navigation .navigation_wrapper {
    transform: none;
  }

  .navigation > .navigation_corner {
    transform: none;
  }

  #tbutton {
    left: 220px;
  }

  #tbutton {
    left: 220px;
  }

  .text_area {
    justify-content: left;
  }

  span.small_right {
    text-align: left;
  }
}

@media only screen and (min-width: 1200px) {
  span.small_right {
    width: 50%;
  }
}

@media only screen and (min-width: 2400px) {
  .impressum_container {
    grid-template-areas:
      "Area_C Area_C Area_A"
      "Area_C Area_C Area_B";
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: minmax(min-content, max-content) minmax(min-content, max-content);
  }

  span.small_right {
    width: 100%;
  }
}

@media only screen and (max-width: 900px) {
  html,
  body {
    background-color: white;
  }

  #schriften {
    display: none;
  }

  #main {
    background-size: cover;
    background-position: center center;
  }

  #bodyContent {
    left: 0px;
    padding: 20px 10px 20px 10px;
  }

  .navigation .navigation_wrapper {
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 5;
  }

  .navigation {
    width: 70%;
    font-size: 1.4em;
    height: 100vh;
  }

  .navigation > span:first-of-type {
    margin-top: 14px;
  }

  .navigation > .navigation_wrapper ul.main li {
    height: 40px;
  }

  #navigation_bottom {
    bottom: 10px;
  }

  :root {
    --top-height: 120px;
  }

  #tbutton {
    height: 40px;
  }

  #tbutton img {
    height: 40px;
    width: 120px;
  }

  li.news {
    font-size: 0.9em;
  }

  li.news img {
    width: 100%;
  }
}

@media only screen and (max-width: 950px) {
  #bodyContent img.impressum_img {
    width: 100%;
  }
}

@media only screen and (max-height: 600px) {
  #navigation_bottom {
    display: none;
  }

  .navigation > .navigation_wrapper ul.main li.navigation_bottom_resp {
    display: flex;
  }
}
