@charset "utf-8";
/* CSS Document */


article {
  font-size: 2em;
  font-family: futura, sans-serif;
  overflow-x: hidden;
}

section {
  position: relative;
  min-height: 100%;
  overflow:hidden;
}
section:nth-child(odd) {
  color: #fff;
}
section:nth-child(3) {color: #fff; }
section:nth-child(4) {color: #333; }
pre {
  font-size: .75em;
  background: #222; color: #fff;
  padding: 20px;
}

.box {
  position: relative;
  width:100%;
}


.delighter.splash {
  transition: all 2s ease-out;
}
.delighter.splash.ended {
  background: #fff;
}
.delighter.right { transform:translate(-50%); opacity:0; transition: all .75s ease-out; }
.delighter.right.started { transform:none; opacity:1; }

.delighter.left { transform:translate(50%); opacity:0; transition: all .75s ease-out; }
.delighter.left.started { transform:none; opacity:1; }

.delighter.bottom { transform:translatey(20%); opacity:0; transition: all .75s ease-out; }
.delighter.bottom.started { transform:none; opacity:1; }

.delighter li { opacity: 0; transform: translatey(400%); transition: all .7s ease-out; }
.delighter.started li { opacity: 1; transform: none; }
.delighter.started li:nth-child(1) { transition: all .7s ease-out .1s; }
.delighter.started li:nth-child(2) { transition: all .7s ease-out .3s; }
.delighter.started li:nth-child(3) { transition: all .7s ease-out .5s; }
.delighter.started li:nth-child(4) { transition: all .7s ease-out .7s; }
.delighter.started li:nth-child(5) { transition: all .7s ease-out .9s; }
.delighter.started li:nth-child(6) { transition: all .7s ease-out 1.1s; }
.delighter.started li:nth-child(7) { transition: all .7s ease-out 1.3s; }

.delighter pre {
  display: block; transition: all 2s ease-out; opacity: 0;
  padding: 20px 0;
  width: 1px; overflow: hidden;
}
.delighter.started pre {
  max-width: 99999px; width: 100%; opacity: 1;
}
.delighter .box { transition: all 1s ease-out; }
.delighter .box:nth-child(1) { transform: translate(-200%,50%); }
.delighter .box:nth-child(2) { transform: translate(100%, 300%); }
.delighter .box:nth-child(3) { transform: translate(280%, 300%); }
.delighter .box:nth-child(4) { transform: translate(1000%, 0%); }


.delighter.started .box:nth-child(1) { transform: translate(0%, 50%); }
.delighter.started .box:nth-child(2) { transform: translate(100%, -50%); }
.delighter.started .box:nth-child(3) { transform: translate(200%, -150%); }
.delighter.started .box:nth-child(4) { transform: translate(300%, -250%); }

@media (max-width: 460px) {
article {
	font-size: 1.5em;
}

section {
  position: relative;
  min-height: 100%;
  overflow:hidden;
}
section:nth-child(odd) {
  color: #fff;
}
section:nth-child(3) {color: #fff; }
section:nth-child(4) {color: #333; }
pre {
  font-size: .75em;
  background: #222; color: #fff;
  padding: 20px;
}

.box {
  position: relative;
  width:100%;
}


.delighter.splash {
  transition: all 2s ease-out;
}
.delighter.splash.ended {
  background: #fff;
}
.delighter.right { transform:translate(-50%); opacity:0; transition: all .75s ease-out; }
.delighter.right.started { transform:none; opacity:1; }

.delighter.left { transform:translate(50%); opacity:0; transition: all .75s ease-out; }
.delighter.left.started { transform:none; opacity:1; }

.delighter.bottom { transform:translatey(20%); opacity:0; transition: all .75s ease-out; }
.delighter.bottom.started { transform:none; opacity:1; }

.delighter li { opacity: 0; transform: translatey(400%); transition: all .7s ease-out; }
.delighter.started li { opacity: 1; transform: none; }
.delighter.started li:nth-child(1) { transition: all .7s ease-out .1s; }
.delighter.started li:nth-child(2) { transition: all .7s ease-out .3s; }
.delighter.started li:nth-child(3) { transition: all .7s ease-out .5s; }
.delighter.started li:nth-child(4) { transition: all .7s ease-out .7s; }
.delighter.started li:nth-child(5) { transition: all .7s ease-out .9s; }
.delighter.started li:nth-child(6) { transition: all .7s ease-out 1.1s; }
.delighter.started li:nth-child(7) { transition: all .7s ease-out 1.3s; }

.delighter pre {
  display: block; transition: all 2s ease-out; opacity: 0;
  padding: 20px 0;
  width: 1px; overflow: hidden;
}
.delighter.started pre {
  max-width: 99999px; width: 100%; opacity: 1;
}
.delighter .box { transition: all 1s ease-out; }
.delighter .box:nth-child(1) { transform: translate(-200%,50%); }
.delighter .box:nth-child(2) { transform: translate(100%, 300%); }
.delighter .box:nth-child(3) { transform: translate(280%, 300%); }
.delighter .box:nth-child(4) { transform: translate(1000%, 0%); }


.delighter.started .box:nth-child(1) { transform: translate(0%, 50%); }
.delighter.started .box:nth-child(2) { transform: translate(100%, -50%); }
.delighter.started .box:nth-child(3) { transform: translate(200%, -150%); }
.delighter.started .box:nth-child(4) { transform: translate(300%, -250%); }

}
