body a, h1, h2, h3, h4, h5 {
  text-decoration: none;
  color: #000000;
}

body a, p {
  font-size: inherit;
  color: inherit;
}

body a.h1 {
  font-size: 1rem;
  color: #FFFFFF;
}

body {
  background: #e5e5e5;
}

header {
  height: 100vh;
  background-size: cover;
  background-position: center center;
  position: relative;
  overflow: hidden;
}

header nav {
  background-image: var(--background-texture);
  background-size: cover;
  height: 7.5vh;
}

header section.white {
  width: 100%;
  background-color: #FFFFFF;
  position: relative;
  z-index: 10;
}

header #name {
  text-align: center;
  margin: 0;
  line-height: 7.5vh;
}

header #name h1 {
  margin: 0;
}

header #name a {
  color: #FFFFFF;
}

header #logoSchule {
  position: absolute;
  top: 10vh;
  left: 3%;
  width: 20%;
  opacity: 0.85;
	z-index: 100;
}

header #scrollDown {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20vw;
  z-index: 150;
  /* box-shadow: 10px 10px 16px -1px rgba(0,0,0,0.44); */
}

/* Mobiles Menu*/
header #menuImgSection {
  position: absolute;
  display: block;
  left: 0.75vh;
  top: 1.25vh;
  height: 5vh;
}

header #menuImgMobile {
  transform: rotate(0);
  height: 100%;
  width: 100%;
  transition: all 300ms linear;
}

header #menuImgMobile.rotateImg {
  transform: rotate(90deg);
}

header #menuLeiste {
  margin: 0;
  padding: 0;
  position: absolute;
  list-style: none;
  width: 100%;
  z-index: 0;
  background-color: rgba(0, 0, 0, 0.75);
  color: #FFF;
  transition: all 300ms linear;
  font-size: 0.9rem;
  transform-origin: top;
  transform: scaleY(0);
}

header .toggleMenuZIndex {
  z-index: 0 !important;
}

header #menuLeiste.toggleMenu {
  transform: scaleY(1);
}

header #menuLeiste li {
  width: 95%;
  padding: 2.5vh 2.5vw;
  cursor: pointer;
}

header #menuLeiste a {
  color: inherit;
  font: inherit;
}

header #blackBox {
	position: absolute;
	top: 9%;
  min-height: 25vw;
	left: 1%;
  width: 96%;
  color: #FFFF;
  background-color: #000A;
  padding: 1vh 1%;
  z-index: 99;
}

header #blackBox h1, header #blackBox p {
  margin: 0;
  margin-left: 30%;
  width: 70%;
  color: inherit;
  font-size: 1.2rem;
  padding: 0.5vh 0;
}

header #blackBox #alertText {
  text-align: left;
  font-weight: bold;
  font-size: 1.3rem;
  color: #F00;
}

header #blackBox #alertText a {
  color: inherit;
}

#frontpageDiashow {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  z-index: 0;
}

#frontpageDiashow .diashow-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 1;
  background-size: cover;
  background-position: 50% 50%;
  transform: translateX(100%);
  transition: transform 1s cubic-bezier(.6, .2, .3, .6);
}

/**
* ab einer Breite von 600px
*/
@media screen and (min-width:37.5em) {
  header nav {
    width: 100%;
  }

  header #name {
    float: left;
    width: 40%;
  }

  header #scrollDown {
    width: 6.5vw;
    right: 0;
  }

  header #menuImgSection {
    display: none;
  }

  header #menuLeiste {
    float: right;
    display: block;
    position: static;
    transform: none;
    background-color: transparent;
    list-style: none;
    line-height: 7.5vh;
    height: 100%;
    width: 60%;
    color: #000;
  }

  header #menuLeiste * {
    height: 100%;
  }

  header #menuLeiste>li {
    float: left;
    width: 25%;
    text-align: center;
    padding: 0;
    background-color: #FFFFFF;
  }

  header #menuLeiste>li a {
    display: block;
    font-size: 0.75rem;
  }

  header #menuLeiste>li:hover {
    background-color: transparent;
    color: #FFF;
  }

  #hd_menu {
    cursor: pointer;
  }

  #hd_menu ul {
    cursor: auto;
    margin: 0;
    padding: 0;
    height: 0px;
    left: 0;
    z-index: 999;
    position: absolute;
    list-style: none;
    overflow: hidden;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    transition: height 1s linear;
  }

  header #logoSchule {
    width: 10vw;
  }

  #frontpageDiashow .diashow-image {
    transition: transform 1s cubic-bezier(.7, .2, .2, .7);
  }

  header #blackBox {
		top: 9%;
    text-align: right;
    min-height: 12.5vw;
  }

  header #blackBox h1, header #blackBox p {
    margin-left: 20%;
    width: 80%;
  }

  header #blackBox #alertText {
    text-align: center;
    font-size: 1.5rem;
    padding: 5vh 0 2vh 0;
    color: #F00;
  }
}

@media screen and (min-width:60em) {
  header nav {
    margin: 0 10%;
    width: 80%;
  }

  header #name {
    float: left;
    width: 40%;
  }

  header #menuLeiste {
    float: left;
    width: 60%;
  }
}
