/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
 /**************************/
 body{
 	background-color: #74E9FF;
 	width: 100%;
 	height: 100%;
 	overflow: hidden;
 }
 a:link{text-decoration: none;}
 @font-face {
    font-family: 'ChunkFiveRegular';
    src: url('font/Chunkfive-webfont.eot');
    src: url('font/Chunkfive-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/Chunkfive-webfont.woff') format('woff'),
         url('font/Chunkfive-webfont.ttf') format('truetype'),
         url('font/Chunkfive-webfont.svg#ChunkFiveRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}

 p{
 	font-family: 'ChunkFiveRegular', serif;
 	font-size: 40px;
 	color: #FCFFB0;
 	position: absolute;
 	top: 50px;
 	left: 140px;
 }
 #home{
	background-image: url("home.png");
	width: 100px;
	height: 31px;
	position: absolute;
	bottom: 60px;
	z-index: 100;
}
#home p{
	font-size: 20px;
	font-family: Helvetica, arial, sans-serif;
	color: white;
	position: relative;
	top: 8px;
	left: 20px;
}
 #ocean{
 	width: 100%;
 	height: 100%;
 	overflow: hidden;
 	position: absolute;
 	bottom: 0;
 	z-index: 5;
 }
 #sun{
 	width: 100px;
 	height: 100px;
 	-moz-border-radius: 100px;
 	-webkit-border-radius: 100px;
 	-o-border-radius: 100px;
 	border-radius: 100px;
 	background-color: #FCFFB0;
 	position: absolute;
 	top: 20px;
 	left: 20px;
 }
 #ship{
 	width: 300px;
 	height: 238px;
 	background-image: url("ship.png");
 	background-size: contain;
 	position: absolute;
 	bottom: 280px;
 	-moz-animation: ship 25s linear infinite;
 }
 #water1{
 	width: 110%;
 	height: 150px;
 	position: absolute;
 	bottom: 0;
 	background-color: #081640;
 }
 #water2{
 	width: 110%;
 	height: 150px;
 	position: absolute;
 	bottom: 75px;
 	left: -10px;
 	background-color: #223F59;
 	z-index: -5;
 	-moz-animation-name: water2;
 	-moz-animation-duration: 30s;
 	-moz-animation-iteration-count: infinite;
 }
 #water3{
 	width: 110%;
 	height: 160px;
	position: absolute;
	bottom: 140px; 	
	left: -10px;
	background-color: #59888C;
	z-index: -10;
	-moz-animation-name: water3;
 	-moz-animation-duration: 20s;
 	-moz-animation-iteration-count: infinite;
	
 }

 @-moz-keyframes water2
 {
 	0%   {-moz-transform: rotate(2deg);}
 	50%  {-moz-transform: rotate(-3deg);}
 	100% {-moz-transform: rotate(2deg);}
  } 
 @-moz-keyframes water3
 {
 	0%   {-moz-transform: rotate(-2deg);}
 	50%  {-moz-transform: rotate(2deg);}
 	100% {-moz-transform: rotate(-2deg);}
 }
 @-moz-keyframes ship
 {
 	0%   {bottom: 270px; left: -10%; opacity: 0;}
 	1%   {opacity: 1;}
 	30%  {bottom: 290px;}
 	50%  {bottom: 270px;}
 	70%  {bottom: 280px;}
 	80%	 {bottom: 280px;}
 	90%  {bottom: 270px;}
 	99%  {opacity: 1;}
 	100% {bottom: 280px; left: 110%; opacity: 0;}
 }
  /**********************/
 /*    Web kit         */
/**********************/

@media screen and (-webkit-min-device-pixel-ratio:0){
	 #sun{
	 	width: 100px;
	 	height: 100px;
	 	-webkit-border-radius: 100px;
	 	background-color: #FCFFB0;
	 	position: absolute;
	 	top: 20px;
	 	left: 20px;
	 }

	 #ship{
	 	width: 300px;
	 	height: 238px;
	 	background-image: url("ship.png");
	 	background-size: contain;
	 	position: absolute;
	 	bottom: 280px;
	 	-webkit-animation: ship 25s linear infinite;
	 }

	 #water2{
	 	width: 110%;
	 	height: 150px;
	 	position: absolute;
	 	bottom: 75px;
	 	left: -10px;
	 	background-color: #223F59;
	 	z-index: -5;
	 	-webkit-animation-name: water2;
	 	-webkit-animation-duration: 30s;
	 	-webkit-animation-iteration-count: infinite;
	 }
	 #water3{
	 	width: 110%;
	 	height: 160px;
		position: absolute;
		bottom: 140px; 	
		left: -10px;
		background-color: #59888C;
		z-index: -10;
		-webkit-animation-name: water3;
	 	-webkit-animation-duration: 20s;
	 	-webkit-animation-iteration-count: infinite;
		
	 }
	
	 @-webkit-keyframes water2
	 {
	 	0%   {-webkit-transform: rotate(2deg);}
	 	50%  {-webkit-transform: rotate(-3deg);}
	 	100% {-webkit-transform: rotate(2deg);}
	  } 
	 @-webkit-keyframes water3
	 {
	 	0%   {-webkit-transform: rotate(-2deg);}
	 	50%  {-webkit-transform: rotate(2deg);}
	 	100% {-webkit-transform: rotate(-2deg);}
	 }
	 @-webkit-keyframes ship
	 {
	 	0%   {bottom: 270px; left: -10%; opacity: 0;}
	 	1%   {opacity: 1;}
	 	30%  {bottom: 290px;}
	 	50%  {bottom: 270px;}
	 	70%  {bottom: 280px;}
	 	80%	 {bottom: 280px;}
	 	90%  {bottom: 270px;}
	 	99%  {opacity: 1;}
	 	100% {bottom: 280px; left: 110%; opacity: 0;}
	 }


}