#back {
  position: absolute;
  text-decoration: none;
  display: inline-block;
  padding: 10px 16px;
  background-color: rgba(29, 40, 44, .3);
  font-size: 12pt;
}

#back:hover {
  color: rgba(247, 240, 159, 1);
}

.previous {
  color: rgba(212, 212, 250, 1);
  index: 9999;
}

.bottom--navigation {
  display: flex;
  flex-direction: row;
  bottom: 0;
  position: relative;
  margin-top: 30rem;
}

.block--nextprev {
  position: relative;
  overflow: hidden;
  margin: 0;
  background-color: #666;
  text-align: center;
  cursor: pointer;
}

.bottom--projects {
  display: block;
  width: 50%;
  max-height: 500px;
  transition: all 400ms cubic-bezier(0.67, 0.37, 0.54, 0.78);
}

figure img {
  position: relative;
  display: block;
  min-height: 100%;
  max-width: 100%;
  -webkit-filter: grayscale(100);
	filter: grayscale(100%);
  transition: transform 0.35s;
  -webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}


figure figcaption {
  color: #fff;
  backface-visibility: hidden;
}

figure figcaption:hover {
  color: rgba(29, 40, 44, 1);
}

figure figcaption::before, figure figcaption::after {
  pointer-events: none;
}

figure figcaption, figure figcaption > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

figure figcaption > a {
  z-index: 10;
  text-indent: 200%;
  white-space: nowrap;
  font-size: 0;
  opacity: 0;
}

.leftie {
  text-align: right;
}

.rightie {
  text-align: left;
}

.nextprev--project, .nextprev--client, .nextprev--title {
  margin: 0 2rem;
}

.nextprev--project, .nextprev--client {
  font-size: 24px;
  letter-spacing: 2px;
  font-weight: 300;
  margin: 0 4rem;
  padding-bottom: 5px;
}

.nextprev--project {
  padding-top: 5rem;
  font-weight: 800;
}

.nextprev--title {
  bottom: 4rem;
  position: absolute;
  left: 2rem;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 1px;
}

.nextprev--project:before {
  content: "";
  display: block;
  width: 30px;
  margin-bottom: 20px;
  background-color: rgba(29, 40, 44, 1);
  height: 2px;
  transition: width 0.35s;
  position: absolute;
}

.leftie .nextprev--project:before {
  right: 3px;
  bottom: 2rem;
}

.rightie .nextprev--project:before {
  left: 3px;
  bottom: 2rem;
}

figure.effect-crop:hover .nextprev--project:before {
  width: 60px;
  transition: width 0.35s;
}

.rightie .nextprev--title:after, .leftie .nextprev--title:before {
  display: inline-block;
  font-style: normal;
  position: relative;
  display: inline-block;
  content: '';
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  width: 6px;
  height: 6px;
  transform: rotate(-225deg);
  top: 0px;
  right: 8px;
  border-color: transparent rgba(29, 40, 44, 1) rgba(29, 40, 44, 1) rgba(29, 40, 44, 1);
  position: relative;
  opacity: 0;
  transition: all 0.35s;
}
.rightie .nextprev--title:after {
  transform: rotate(-45deg);
  left: 8px;
}

figure.effect-crop:hover .rightie .nextprev--title:after, figure.effect-crop:hover .leftie .nextprev--title:before {
  transition: all 0.35s;
  transition-delay: 0.3s;
  opacity: 1;
}

.overlay-color {
  position: absolute;
  top: 30px;
  right: 30px;
  bottom: 30px;
  left: 30px;
  box-shadow: 0 0 0 40px rgba(0, 0, 0, 0.5);
  content: '';
  opacity: 0;
  transition: all 0.35s;
}

.nextprev--title {
  transition: all 0.35s;
  transform: translate3d(500, 0, 0);
  transition-delay: 0.15s;
}
.leftie .nextprev--title {
  transform: translate3d(-500, 0, 0);
  right: 2rem;
}

figure.effect-crop h3, figure.effect-crop h4 {
  -webkit-transform: scale(1);
  transform: scale(1);
}

figure.effect-crop:hover .overlay-color {
  opacity: 1;
}

figure.effect-crop:hover .nextprev--title {
  transform: translate3d(0, 0, 0);
  opacity: 1;
  padding-right: 8px;
  margin-left: calc(2rem + 8px);
  transition: all 0.35s;
}

figure.effect-crop:hover .overlay-color {
  opacity: 0.9;
}
figure.effect-crop:hover .overlay-color.alternative {
  opacity: 0.9;
}

figure.effect-crop:hover img {
  transition: transform 0.35s;
  transform: scale(1.1);
  -webkit-filter: grayscale(0);
	filter: grayscale(0);
}

footer {
  width: 100%;
}

.topimage img {
  width: 100%;
  height: auto;
}

.topimage {
  background-size: cover;
  background-position: center;
  height: 25rem !important;
  width: 100%;
  overflow: hidden;
}

.headertitle h2 {
  font-size: 9rem;
  margin: 2rem 0 10rem 0;
  text-align: right;
}

.icon {
  width: 5rem;
  height: auto;
  margin: 2rem .5rem 0 0;
}

.text video {
  margin: 2rem 4rem 8rem ;
  width:65rem;
  grid-row: span 2;
}

.cd-slider .image img {
	width: 100rem;
}

#hier {
  color: rgba(212, 212, 250, 1);
}

#hier:hover {
  color: rgba(247, 240, 159, 1);
  transition: .3s ease;
}

.fullimage img{
  width: 100%;
  height: auto;
}

.projecttext {
  font-size: 2rem;
  margin: 7rem 7rem 15rem 7rem;
}

#mxdvideo video{
  width: 100%;
  height: auto;
}

/* Responsiveness */
@media screen and (max-width: 800px) {
  .nextprev--title {
    top: 4rem;
    position: relative;
    left: .5rem;
    font-size: 12pt;
  }

  h3 {
    display: none;
  }

  h4 {
    display: none;
  }

  .bottom--projects {
    width: 100%;
  }

  #zeitzwei {
    width: 65%;
    height: auto;
    margin: 15rem 0 0 -12rem;
  }

  #mxdzwei {
    width: 100%;
    height: auto;
    margin: 15rem 0 0 -16.5rem;
  }

  #zdzvideo {
    margin: 15rem 0 0 -4rem;
  }
}

@media screen and (max-width: 400px) {
  .text video {
    margin: 0 ;
    width: 110%;
    grid-row: span 2;
  }

  .nextprev--title {
    font-size: 10pt;
  }

  .nextprev--project, .nextprev--client {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .nextprev--project {
    padding-top: 1rem;
  }

  .nextprev--project:before {
    height: 0;
  }

  .overlay-color {
    opacity: 0.4;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  }

  figure.effect-crop:hover img {
    transform: none;
  }

  #back {
    font-size: 9pt;
  }
}
