
.background {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    overflow: hidden;
    will-change: transform;
    backface-visibility: hidden;
    height: 130vh;
    position: fixed;
    width: 100%;
    transform: translateY(30vh);
      -ms-transform: translateY(30vh); /* IE 9 */
      -webkit-transform: translateY(30vh); /* Safari */
    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.3);
}
.background:first-child {
    background-image: url(../img/background-8.jpg);
    transform: translateY(-15vh);
      -ms-transform: translateY(-15vh); /* IE 9 */
      -webkit-transform: translateY(-15vh); /* Safari */
}
.background:first-child .content-wrapper {
    transform: translateY(15vh);
      -ms-transform: translateY(15vh); /* IE 9 */
      -webkit-transform: translateY(15vh); /* Safari */
}
.background:nth-child(2) {
    background-image: url(../img/background-10.jpg);
}
.background:nth-child(3) {
    background-image: url(../img/background-7.jpg);
}

/* Set stacking context of slides */
.background:nth-child(1) {
    z-index: 3;
}

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

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

.content-wrapper {
    height: 100vh;
    display: -webkit-flex; /* Safari */
    display: flex;
    justify-content: center;
    text-align: center;
    flex-flow: column nowrap;
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    transform: translateY(40vh);
      -ms-transform: translateY(40vh); /* IE 9 */
      -webkit-transform: translateY(40vh); /* Safari */
    will-change: transform;
    backface-visibility: hidden;
    transition: all 1.7s cubic-bezier(0.22, 0.44, 0, 1);
}
.content-title {
    font-size: 12vh;
    line-height: 1.4;
}

.background.up-scroll {
    transform: translate3d(0, -15vh, 0);
      -ms-transform: translate3d(0, -15vh, 0); /* IE 9 */
      -webkit-transform: translate3d(0, -15vh, 0); /* Safari */
}
.background.up-scroll .content-wrapper {
    transform: translateY(15vh);
      -ms-transform: translateY(15vh); /* IE 9 */
      -webkit-transform: translateY(15vh); /* Safari */
}
.background.up-scroll + .background {
    transform: translate3d(0, 30vh, 0);
      -ms-transform: translate3d(0, 30vh, 0); /* IE 9 */
      -webkit-transform: translate3d(0, 30vh, 0); /* Safari */
}
.background.up-scroll + .background .content-wrapper {
    transform: translateY(30vh);
      -ms-transform: translateY(30vh); /* IE 9 */
      -webkit-transform: translateY(30vh); /* Safari */
}

.background.down-scroll {
    transform: translate3d(0, -130vh, 0);
      -ms-transform: translate3d(0, -130vh, 0); /* IE 9 */
      -webkit-transform: translate3d(0, -130vh, 0); /* Safari */
}
.background.down-scroll .content-wrapper {
    transform: translateY(40vh);
      -ms-transform: translateY(40vh); /* IE 9 */
      -webkit-transform: translateY(40vh); /* Safari */
}
.background.down-scroll + .background:not(.down-scroll) {
    transform: translate3d(0, -15vh, 0);
      -ms-transform: translate3d(0, -15vh, 0); /* IE 9 */
      -webkit-transform: translate3d(0, -15vh, 0); /* Safari */
}
.background.down-scroll + .background:not(.down-scroll) .content-wrapper {
    transform: translateY(15vh);
      -ms-transform: translateY(15vh); /* IE 9 */
      -webkit-transform: translateY(15vh); /* Safari */
}

.title-wrapp {
  position: absolute;
  top: 50%;
  margin-top: -78px;
  left: 0;
  right: 0;
}
