


  .parallax {
    height: 500px; /* fallback for older browsers */
    height: 100vh;
    overflow-x: hidden;
    overflow-y: scroll;
    -webkit-perspective: 300px;
    perspective: 300px;
    width: 100%;
  }

  .parallax__group {
    position: relative;
    height: 500px; /* fallback for older browsers */
    height: 100vh;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    width: 100%;
  }

  .upperLeft {
    position: fixed;
    top: 0;
    left: 0;
    width: 10%;
    height: 10%;

    background-color: rgba(0, 0, 0, 0.1);
    border: 1px solid black;
    background-image: url("info.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .mainView {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
  }

  .leftButton {
    pointer-events: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 20%;
    height: 20%;
    margin: auto;
    text-align: center;

    background-color: rgba(0, 0, 0, 0.1);
    border: 1px solid black;
    background-image: url("left.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .rightButton {
    pointer-events: none;
    position: fixed;
    bottom: 0;
    left: 20%;
    width: 20%;
    height: 20%;
    margin: auto;
    text-align: center;

    background-color: rgba(0, 0, 0, 0.1);
    border: 1px solid black;
    background-image: url("right.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .upButton {
    pointer-events: none;
    position: fixed;
    bottom: 0;
    right: 0;
    width: 20%;
    height: 20%;
    margin: auto;
    text-align: center;

    background-color: rgba(0, 0, 0, 0.1);
    border: 1px solid black;
    background-image: url("up.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .parallax__layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
  }

  .parallax__layer--fore {
    -webkit-transform: translateZ(90px) scale(.7);
    transform: translateZ(90px) scale(.7);
    z-index: 1;

    width: 100%;
  }

  .parallax__layer--base {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    z-index: 4;

    width: 100%;
  }

  .parallax__layer--back {
    -webkit-transform: translateZ(-300px) scale(2);
    transform: translateZ(-300px) scale(2);
    z-index: 3;

    width: 100%;
  }

  .parallax__layer--deep {

    -webkit-transform: translateZ(-600px) scale(3);
    transform: translateZ(-600px) scale(3);
    z-index: 2;

    width: 100%;
  }


  /* Debugger styles - used to show the effect
  --------------------------------------------- */

  .debug {
    position: fixed;
    top: 0;
    left: .5em;
    z-index: 999;
    background: rgba(0,0,0,.85);
    color: #fff;
    padding: .5em;
    border-radius: 0 0 5px 5px;
  }
  .debug-on .parallax__group {
    -webkit-transform: translate3d(800px, 0, -800px) rotateY(30deg);
    transform: translate3d(700px, 0, -800px) rotateY(30deg);
 }
  .debug-on .parallax__layer {
    box-shadow: 0 0 0 2px #000;
    opacity: 0.9;
  }
  .parallax__group {
    -webkit-transition: -webkit-transform 0.5s;
    transition: transform 0.5s;
    
    width: 100%;
  }


  /* demo styles
  --------------------------------------------- */

  body, html {
    overflow: hidden;
  }

  body {
    font: 100% / 1.5 Arial;
  }

  * {
    margin:0;
    padding:0;
  }

  .parallax {
    font-size: 200%;
  }

   /* centre the content in the parallax layers */
  .title {
    text-align: center;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background: rgba(230,230,230,0.65);
	  color: black;

	  font-weight: 600;
    padding: .5em;
    width: 100%;
    vertical-align: middle;
    white-space: nowrap;
	  border-style: solid;
    border-width: 2px;
    border-color: black;
	}

  .subtitle {
    font-size: 50%;
  }

  .subtitle2 {
    font-size: 75%;
  }
  /* style the groups
  --------------------------------------------- */

  #group1 {
    z-index: 5; /* slide over group 2 */
  }

  #group1 .parallax__layer--base {
  
    background: url("nerd.jpg");
  	background-repeat: no-repeat;
  	background-size: auto 100%;
    background-position: center; 
  	background-color: rgba(50,50,255,1);

     background-image: 
     -webkit-linear-gradient(top, 
      rgba(50,50,255,1) 0%, 
      rgba(50,50,255,0) 20%,
      rgba(50,50,255,0) 80%,
      rgba(50,50,255,1) 100%),
    url(nerd.jpg);
     background-image: 
     -moz-linear-gradient(top, 
      rgba(50,50,255,1) 0%, 
      rgba(50,50,255,0) 20%,
      rgba(50,50,255,0) 80%,
      rgba(50,50,255,1) 100%),
    url(nerd.jpg);

  	border-style: solid;
    border-width: 2px;
    border-color: black;
  }

 #rcorners1 {
    border-radius: 75px;
    vertical-align: middle;
		
  	border-style: solid;
    border-width: 1px;
    border-color: black;
  }


  #group2 {
    z-index: 3; /* slide under groups 1 and 3 */
  }
  #group2 .parallax__layer--back {

    background-color: rgba(50,50,255,1);
    background: url("psw.jpg");
  	background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: center; 

     background-image: 
     -webkit-linear-gradient(left, 
      rgba(150,50,255,1) 0%, 
      rgba(150,50,255,0) 20%,
      rgba(150,50,255,0) 80%,
      rgba(150,50,255,1) 100%),
     url(psw.jpg),
     -webkit-linear-gradient(left, 
      rgba(150,250,255,1) 0%, 
      rgba(150,50,255,1) 20%,
      rgba(150,50,255,1) 80%,
      rgba(150,250,255,1) 100%)
    ;

     background-image: 
     -moz-linear-gradient(left, 
      rgba(150,50,255,1) 0%, 
      rgba(150,50,255,0) 20%,
      rgba(150,50,255,0) 80%,
      rgba(150,50,255,1) 100%),
     url(psw.jpg),
     -moz-linear-gradient(left, 
      rgba(150,250,255,1) 0%, 
      rgba(150,50,255,1) 20%,
      rgba(150,50,255,1) 80%,
      rgba(150,250,255,1) 100%)
    ;

  }

  #group3 {
    z-index: 4; /* slide over group 2 and 4 */
  }
  #group3 .parallax__layer--base {
  
  
    background: url("notepadpp2.jpg");
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: center; 
    background-color: rgba(250,250,250,1);

     background-image: 
     -webkit-linear-gradient(top, 
      rgba(100,100,100,1) 0%, 
      rgba(100,100,100,0) 20%,
      rgba(100,100,100,0) 80%,
      rgba(100,100,100,1) 100%),
    url(notepadpp2.jpg);
     background-image: 
     -moz-linear-gradient(top, 
      rgba(100,100,100,1) 0%, 
      rgba(100,100,100,0) 20%,
      rgba(100,100,100,0) 80%,
      rgba(100,100,100,1) 100%),
    url(notepadpp2.jpg);

    border-style: solid;
    border-width: 2px;
    border-color: black;
  }

  #group4 {
    z-index: 2; /* slide under group 3 and 5 */
  }
  #group4 .parallax__layer--deep {

    background-color: rgba(50,50,255,1);
    background: url("sunrise2.jpg");
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: center; 

     background-image: 
     -webkit-linear-gradient(left, 
      rgba(255,150,50,1) 0%, 
      rgba(255,150,50,0) 20%,
      rgba(255,150,50,0) 80%,
      rgba(255,150,50,1) 100%),
     url(sunrise2.jpg),
     -webkit-linear-gradient(left, 
      rgba(255,255,50,1) 0%,
      rgba(255,255,50,1) 20%, 
      rgba(250,250,55,1) 80%,
      rgba(255,255,55,1) 100%)
    ;

     background-image: 
     -moz-linear-gradient(left, 
      rgba(255,150,50,1) 0%, 
      rgba(255,150,50,0) 20%,
      rgba(255,150,50,0) 80%,
      rgba(255,150,50,1) 100%),
     url(sunrise2.jpg),
     -moz-linear-gradient(left, 
      rgba(255,255,50,1) 0%,
      rgba(255,255,50,1) 20%, 
      rgba(250,250,55,1) 80%,
      rgba(255,255,55,1) 100%)
    ;
  }

  #group5 {
    z-index: 3; /* slide over group 4 and 6 */

    background: url("avid.jpg");
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: center; 
    background-color: rgba(200,100,250,1);

     background-image: 
     -webkit-linear-gradient(top, 
      rgba(133,65,135,1) 0%, 
      rgba(133,65,135,0) 20%,
      rgba(133,65,135,0) 80%,
      rgba(133,65,135,1) 100%),
    url(avid.jpg);
     background-image: 
     -moz-linear-gradient(top, 
      rgba(133,65,135,1) 0%, 
      rgba(133,65,135,0) 20%,
      rgba(133,65,135,0) 80%,
      rgba(133,65,135,1) 100%),
    url(avid.jpg);

    border-style: solid;
    border-width: 2px;
    border-color: black;
  }
  #group5 .parallax__layer--base {
  
  }

  #group6 {
    z-index: 2; /* slide under group 5 and 7 */
  }
  #group6 .parallax__layer--back {
  
    background: url("banner2.jpg");
	background-repeat: no-repeat;
	background-size: 100% 100%;
  }

  #group7 {
    z-index: 3; /* slide over group 7 */
    border-style: solid;
    border-width: 0px;
    border-color: white;
    background-color: white;
    box-shadow: 0 0 20px 20px white;
  }
  #group7 .parallax__layer--base {
    

  }
