/********** Page **********/

/*Body*/

html,

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  overflow: hidden;
  background-color: #000000;
}

/*Navigation*/

.page-navigation {
  display: block;
  position: fixed;
  z-index: 10;
  top: 75px;
  left: 75px;
  cursor: pointer;
}

nav ul li {
  margin: 0px 0px;
}

/*Background*/

.background {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  overflow: hidden;
  will-change: transform;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  height: 130vh;
  position: fixed;
  width: 100%;
  transform: translateY(30vh);
  transition: all 1.2s cubic-bezier(0.22, 0.44, 0, 1);
}

.background:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.0);
}

.background:first-child {
  background-color: #29363b;
  transform: translateY(-15vh);
}

.background:first-child .content-wrapper {
  transform: translateY(15vh);
}

.background:nth-child(2) {
  background-color: #ea495f;
}

.background:nth-child(3) {
  background-color: #f4837d;
}

.background:nth-child(4) {
  background-color: #fdcea9;
}

.background:nth-child(5) {
  background-color: #99b998;
}

.background:nth-child(6) {
  background-color: #29363b;
}

/*Slides*/

.background:nth-child(1) {
  z-index: 6;
}

.background:nth-child(2) {
  z-index: 5;
}

.background:nth-child(3) {
  z-index: 4;
}

.background:nth-child(4) {
  z-index: 3;
}

.background:nth-child(5) {
  z-index: 2;
}

.background:nth-child(6) {
  z-index: 1;
}

/*Content-Wrapper*/

.content-wrapper {
  height: 100vh;
  display: flex;
  justify-content: center; /*Ausrichtung vertikal. Default value: flex-start or flex-end, center, space-between, space-around, space-evenly*/
  align-items: center; /*Ausrichtung horizontal*/
  flex-flow: column nowrap;
  transform: translateY(40vh);
  will-change: transform;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transition: all 1.7s cubic-bezier(0.22, 0.44, 0, 1);
}

/*Scroll-Up-Down*/

.background.up-scroll {
  transform: translate3d(0, -15vh, 0);
}

.background.up-scroll .content-wrapper {
  transform: translateY(15vh);
}

.background.up-scroll + .background {
  transform: translate3d(0, 30vh, 0);
}

.background.up-scroll + .background .content-wrapper {
  transform: translateY(30vh);
}

.background.down-scroll {
  transform: translate3d(0, -130vh, 0);
}

.background.down-scroll .content-wrapper {
  transform: translateY(40vh);
}

.background.down-scroll + .background:not(.down-scroll) {
  transform: translate3d(0, -15vh, 0);
}

.background.down-scroll + .background:not(.down-scroll) .content-wrapper {
  transform: translateY(15vh);
}

/**************************************** Mediascreen ****************************************/

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

/*Navigation*/

.page-navigation {
  display: block;
  position: fixed;
  z-index: 10;
  top: 35px;
  left: 35px;
  cursor: pointer;
}

nav ul li {
  margin: 0px 0px;
}

}