html{
	background: url("images/night-sky-bg.jpg");
}

body{
	padding: 0;
	margin: 0;
	overflow: hidden;
}

#content-wrap {
	position:fixed;
	width: 100%;
	height: 100%;
	z-index: 1;
}

#content{
	margin: 10% auto;
	width: 420px;
	height: 300px;
	position: relative;
}

h1{
	font-family: 'pacificoregular';
	font-size: 85px;
	line-height: 85px;
	font-weight: normal;	
	margin: 15px;
	color: rgb(27, 48, 66);
	text-align: center;
	-webkit-animation-name: font-1;
	-webkit-animation-duration: 30s;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-direction: alternate;
	-webkit-animation-timing-function: linear;

	-moz-animation-name: font-1;
	-moz-animation-duration: 30s;
	-moz-animation-iteration-count: infinite;
	-moz-animation-direction: alternate;
	-moz-animation-timing-function: linear;

	animation-name: font-1;
	animation-duration: 30s;
	animation-iteration-count: infinite;
	animation-direction: alternate;
	animation-timing-function: linear;
}

#demo-list{
	width: 100%;
	height: 100%;
	background: url("images/paper-night.png") no-repeat center top;
}

#demo-list-content{
	width: 85%;
	height: 100%;
	padding: 0 10%;
	position: relative;
}

#demo-list-content ul{
	padding: 15px 30px;
	text-align: center;
	list-style: none;
	font-family: 'pacificoregular';
}

#demo-list-content ul li a{
	text-decoration: none;
	color: rgb(48, 47, 46);
	letter-spacing: 2px;
	font-size: 17px;
}

#demo-list-content ul li {
	float: left;
	margin: 8px;
	line-height: 20px;
}

#demo-list-content ul li a:visited{
	color: rgb(77, 68, 61);
}

#paper-day{
	width: 100%;
	height: 100%;
	opacity: 0;
	-webkit-animation-name: daylight;
	-webkit-animation-duration: 30s;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-direction: alternate;
	-webkit-animation-timing-function: linear;
	position: absolute;
	background: url("images/paper-day.png") no-repeat center top;

	-moz-animation-name: daylight;
	-moz-animation-duration: 30s;
	-moz-animation-iteration-count: infinite;
	-moz-animation-direction: alternate;
	-moz-animation-timing-function: linear;

	animation-name: daylight;
	animation-duration: 30s;
	animation-iteration-count: infinite;
	animation-direction: alternate;
	animation-timing-function: linear;
}

/* Day and Night */
#day{
	background: url("images/day-sky-bg.png");
	position:fixed;
	width: 100%;
	height: 100%;
	opacity: 0;
	-webkit-animation-name: daylight;
	-webkit-animation-duration: 30s;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-direction: alternate;
	-webkit-animation-timing-function: linear;

	-moz-animation-name: daylight;
	-moz-animation-duration: 30s;
	-moz-animation-iteration-count: infinite;
	-moz-animation-direction: alternate;
	-moz-animation-timing-function: linear;

	animation-name: daylight;
	animation-duration: 30s;
	animation-iteration-count: infinite;
	animation-direction: alternate;
	animation-timing-function: linear;
}

#sunmoon{
	height: 100%;
	position: fixed;
	top: 100%;
	right: 0%;
	opacity: 0.8;
	-webkit-animation-name: sunrise;
	-webkit-animation-duration: 60s;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-timing-function: linear;

	-moz-animation-name: sunrise;
	-moz-animation-duration: 60s;
	-moz-animation-iteration-count: infinite;
	-moz-animation-timing-function: linear;

	animation-name: sunrise;
	animation-duration: 60s;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}

#sun{
	width: 100%;
	height: 100%;
	display: block;
	background: url("images/sun-full.png") center top no-repeat;
}

#rotate-sun{
	-webkit-transform-origin: 237px 241px;
	-moz-transform-origin: 237px 241px;
	transform-origin: 237px 241px;
	width: 485px;
	height: 485px;
	position: absolute;
	top: 0%;
	-webkit-animation-name: spin;
	-webkit-animation-duration: 40s;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-timing-function: linear;

	-moz-animation-name: spin;
	-moz-animation-duration: 40s;
	-moz-animation-iteration-count: infinite;
	-moz-animation-timing-function: linear;

	animation-name: spin;
	animation-duration: 40s;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}

#width-fix{
	width: 485px;
	height: 1px;
}

#moon{
	width: 485px;
	height: 485px;
	display: block;
	position: absolute;
	top: 150%;
	background: url("images/moon.png") center center no-repeat;
}

/* Waves */

#waves{
	height: 210px;
	position: fixed;
	bottom: -20px;
	width: 100%;
}

.left-wave{
	-webkit-transform: rotate(-0.7deg);
	-moz-transform: rotate(-0.7deg);
	transform: rotate(-0.7deg);
	
	-webkit-animation-name: left-wave;
	-webkit-animation-duration: 1500ms;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-direction: alternate;
	-webkit-animation-timing-function: linear;

	-moz-animation-name: left-wave;
	-moz-animation-duration: 1500ms;
	-moz-animation-iteration-count: infinite;
	-moz-animation-direction: alternate;
	-moz-animation-timing-function: linear;

	animation-name: left-wave;
	animation-duration: 1500ms;
	animation-iteration-count: infinite;
	animation-direction: alternate;
	animation-timing-function: linear;
}

.right-wave{
	-webkit-transform: rotate(0.7deg);
	-moz-transform: rotate(0.7deg);
	transform: rotate(0.7deg);
	
	-webkit-animation-name: right-wave;
	-webkit-animation-duration: 1500ms;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-direction: alternate;
	-webkit-animation-timing-function: linear;
	-webkit-animation-fill-mode: backwards;

	-moz-animation-name: right-wave;
	-moz-animation-duration: 1500ms;
	-moz-animation-iteration-count: infinite;
	-moz-animation-direction: alternate;
	-moz-animation-timing-function: linear;
	-moz-animation-fill-mode: backwards;

	animation-name: right-wave;
	animation-duration: 1500ms;
	animation-iteration-count: infinite;
	animation-direction: alternate;
	animation-timing-function: linear;
	animation-fill-mode: backwards;
}

.inner-wave{
	width: 100%;
	height: 100%;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-timing-function: linear;

	-moz-animation-iteration-count: infinite;
	-moz-animation-timing-function: linear;

	animation-iteration-count: infinite;
	animation-timing-function: linear;
}

#wave-1{
	height: 130px;
	position: absolute;
	bottom: 0;
	width: 100%;
}

#wave-1 .inner-wave{
	background: url("images/wave-1.png") repeat-x;
	-webkit-animation-name: wave-1;
	-webkit-animation-duration: 15s;

	-moz-animation-name: wave-1;
	-moz-animation-duration: 15s;

	animation-name: wave-1;
	animation-duration: 15s;
}

#wave-2{
	height: 95px;
	position: absolute;
	bottom: 75px;
	width: 100%;
}

#wave-2 .inner-wave{
	background: url("images/wave-2.png") repeat-x;
	-webkit-animation-name: wave-2;
	-webkit-animation-duration: 19s;

	-moz-animation-name: wave-2;
	-moz-animation-duration: 19s;

	animation-name: wave-2;
	animation-duration: 19s;
}

#wave-3{
	height: 75px;
	position: absolute;
	bottom: 100px;
	width: 100%;
}

#wave-3 .inner-wave{
	background: url("images/wave-3.png") repeat-x;
	-webkit-animation-name: wave-3;
	-webkit-animation-duration: 46s;

	-moz-animation-name: wave-3;
	-moz-animation-duration: 46s;

	animation-name: wave-3;
	animation-duration: 46s;
}	

#wave-4{
	height: 80px;
	position: absolute;
	bottom: 125px;
	width: 100%;
}

#wave-4 .inner-wave{
	background: url("images/wave-4.png") repeat-x;
	-webkit-animation-name: wave-4;
	-webkit-animation-duration: 16s;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-timing-function: linear;

	-moz-animation-name: wave-4;
	-moz-animation-duration: 16s;
	-moz-animation-iteration-count: infinite;
	-moz-animation-timing-function: linear;

	animation-name: wave-4;
	animation-duration: 16s;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}

/* Boat */
#boat-holder {
	width: 137px;
	height: 175px;
	position: absolute;
	left: -10%;
	bottom: 60px;
	-webkit-animation-name: boat-move;
	-webkit-animation-duration: 35s;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-timing-function: linear;	

	-moz-animation-name: boat-move;
	-moz-animation-duration: 35s;
	-moz-animation-iteration-count: infinite;
	-moz-animation-timing-function: linear;

	animation-name: boat-move;
	animation-duration: 35s;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}	

#boat-vertical{
	width: 100%;
	height: 146px;
	position:absolute;
	top: 0;
	-webkit-transform: rotate(-3deg);
    -moz-transform: rotate(-3deg);
    -ms-transform: rotate(-3deg);
    transform: rotate(-3deg);
	
	-webkit-animation-name: boat-churn;
	-webkit-animation-duration: 1500ms;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-direction: alternate;
	-webkit-animation-timing-function: ease-in;
	-webkit-animation-timing-function: linear;

	-moz-animation-name: boat-churn;
	-moz-animation-duration: 1500ms;
	-moz-animation-iteration-count: infinite;
	-moz-animation-direction: alternate;
	-moz-animation-timing-function: ease-in;
	-moz-animation-timing-function: linear;

	animation-name: boat-churn;
	animation-duration: 1500ms;
	animation-iteration-count: infinite;
	animation-direction: alternate;
	animation-timing-function: ease-in;
	animation-timing-function: linear;
}

#boat-night{
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: url("images/boat-night.png");
	background-repeat: no-repeat;
}

#boat-day{
	background: url("images/boat-day.png");
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	opacity: 0;
	-webkit-animation-name: daylight;
	-webkit-animation-duration: 15s;
	-webkit-animation-delay: 5s;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-direction: alternate;
	-webkit-animation-timing-function: ease-in;

	-moz-animation-name: daylight;
	-moz-animation-duration: 15s;
	-moz-animation-delay: 5s;
	-moz-animation-iteration-count: infinite;
	-moz-animation-direction: alternate;
	-moz-animation-timing-function: ease-in;

	animation-name: daylight;
	animation-duration: 15s;
	animation-delay: 5s;
	animation-iteration-count: infinite;
	animation-direction: alternate;
	animation-timing-function: ease-in;
}

/* Animations */

@-webkit-keyframes left-wave {
      from {
       	-webkit-transform: rotate(-0.7deg);
      }
      
      to {
         -webkit-transform: rotate(0.7deg);
      }
}

@-moz-keyframes left-wave {
      from {
       	-moz-transform: rotate(-0.7deg);
      }
      
      to {
         -moz-transform: rotate(0.7deg);
      }
}

@keyframes left-wave {
      from {
       	transform: rotate(-0.7deg);
      }
      
      to {
         transform: rotate(0.7deg);
      }
}

@-webkit-keyframes right-wave {
      from {
       	-webkit-transform: rotate(0.7deg);
      }
      
      to {
         -webkit-transform: rotate(-0.7deg);
      }
}

@-moz-keyframes right-wave {
      from {
       	-moz-transform: rotate(0.7deg);
      }
      
      to {
         -moz-transform: rotate(-0.7deg);
      }
}

@keyframes right-wave {
      from {
       	transform: rotate(0.7deg);
      }
      
      to {
         transform: rotate(-0.7deg);
      }
}

@-webkit-keyframes daylight {
      from {
       	opacity: 0;
      }
      
      to {
        opacity: 1;
      }
}

@-moz-keyframes daylight {
      from {
       	opacity: 0;
      }
      
      to {
        opacity: 1;
      }
}

@keyframes daylight {
      from {
       	opacity: 0;
      }
      
      to {
        opacity: 1;
      }
}

@-webkit-keyframes boat-churn {
      from {
       	-webkit-transform: rotate(-3deg);
       	top: 0;
      }
      
      to {
        -webkit-transform: rotate(3deg);
        top: 15px;
      }
}

@-moz-keyframes boat-churn {
      from {
       	-moz-transform: rotate(-3deg);
       	top: 0;
      }
      
      to {
        -moz-transform: rotate(3deg);
        top: 15px;
      }
}

@keyframes boat-churn {
      from {
       	transform: rotate(-3deg);
       	top: 0;
      }
          
      to {
        transform: rotate(3deg);
        top: 15px;
      }
}

@-webkit-keyframes boat-move {
      from {
       	left: -10%;
      }
      
      to {
        left: 100%
      }
}

@-moz-keyframes boat-move {
      from {
       	left: -10%;
      }
      
      to {
        left: 100%
      }
}

@keyframes boat-move {
      from {
       	left: -10%;
      }
      
      to {
        left: 100%
      }
}

@-webkit-keyframes sunrise {
      from {
       	top: 100%;
      }
      
      to {
        top: -200%
      }
}

@-moz-keyframes sunrise {
      from {
       	top: 100%;
      }
      
      to {
        top: -200%
      }
}

@keyframes sunrise {
      from {
       	top: 100%;
      }
      
      to {
        top: -200%
      }
}

@-webkit-keyframes spin {
      from {
       	-webkit-transform: rotate(0deg);
      }
      
      to {
        -webkit-transform: rotate(360deg);
      }
}

@-moz-keyframes spin {
      from {
       	-moz-transform: rotate(0deg);
      }
      
      to {
        -moz-transform: rotate(360deg);
      }
}

@keyframes spin {
      from {
       	transform: rotate(0deg);
      }
      
      to {
        transform: rotate(360deg);
      }
}

@-webkit-keyframes wave-1 {
      from {
       	background-position-x: 0;
      }
      
      to {
        background-position-x: 663px;
      }
}

@-moz-keyframes wave-1 {
      from {
       	background-position-x: 0;
      }
      
      to {
        background-position-x: 663px;
      }
}

@keyframes wave-1 {
      from {
       	background-position-x: 0;
      }
      
      to {
        background-position-x: 663px;
      }
}

@-webkit-keyframes wave-2 {
      from {
       	background-position-x: 0;
      }
      
      to {
        background-position-x: 171px;
      }
}

@-moz-keyframes wave-2 {
      from {
       	background-position-x: 0;
      }
      
      to {
        background-position-x: 171px;
      }
}

@keyframes wave-2 {
      from {
       	background-position-x: 0;
      }
      
      to {
        background-position-x: 171px;
      }
}

@-webkit-keyframes wave-3 {
      from {
       	background-position-x: 0;
      }
      
      to {
        background-position-x: -1026px;
      }
}

@-moz-keyframes wave-3 {
      from {
       	background-position-x: 0;
      }
      
      to {
        background-position-x: -1026px;
      }
}

@keyframes wave-3 {
      from {
       	background-position-x: 0;
      }
      
      to {
        background-position-x: -1026px;
      }
}

@-webkit-keyframes wave-4 {
      from {
       	background-position-x: 0;
      }
      
      to {
        background-position-x: 146px;
      }
}

@-moz-keyframes wave-4 {
      from {
       	background-position-x: 0;
      }
      
      to {
        background-position-x: 146px;
      }
}

@keyframes wave-4 {
      from {
       	background-position-x: 0;
      }
      
      to {
        background-position-x: 146px;
      }
}

@-webkit-keyframes font-1 {
      from {
       	color: rgb(27, 48, 66);
      }
      
      to {
        color: rgb(56, 54, 54);
      }
}

@-moz-keyframes font-1 {
      from {
       	color: rgb(27, 48, 66);
      }
      
      to {
        color: rgb(56, 54, 54);
      }
}

@keyframes font-1 {
      from {
       	color: rgb(27, 48, 66);
      }
      
      to {
        color: rgb(56, 54, 54);
      }
}

@font-face {
    font-family: 'pacificoregular';
    src: url('fonts/pacifico-webfont.eot');
    src: url('fonts/pacifico-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/pacifico-webfont.woff') format('woff'),
         url('fonts/pacifico-webfont.ttf') format('truetype'),
         url('fonts/pacifico-webfont.svg#pacificoregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'sailorsregular';
    src: url('fonts/sailors-webfont.eot');
    src: url('fonts/sailors-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/sailors-webfont.woff') format('woff'),
         url('fonts/sailors-webfont.ttf') format('truetype'),
         url('fonts/sailors-webfont.svg#sailorsregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

