#background { 
  background: url(../img/bg1.jpg) no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;

  position:fixed;
  height:100%;
  width:100%;
}

#main {
	text-align: center;
}

#title {
	text-align: left;
	display:inline-block;
	margin-top: 15%;
	opacity:0.7;
}

#title h1 {
	font-size:125%;
	margin-bottom:0.5em;

	-webkit-animation-delay: 0.5s;
	-moz-animation-delay: 0.5s;
	animation-delay: 0.5s;

	-webkit-animation-duration:2s;
	-moz-animation-duration:2s;
	animation-duration:2s;
}

#title p {
	 padding-left:130px;
	 margin-bottom:0.5em;

	-webkit-animation-delay: 2s;
	-moz-animation-delay: 2s;
	animation-delay: 2s;

	-webkit-animation-duration:1.5s;
	-moz-animation-duration:1.5s;
	animation-duration:1.5s;
}

#title p.fade-in2 {
	-webkit-animation-delay: 3s;
	-moz-animation-delay: 3s;
	animation-delay: 3s;
}

#credits {
	color:white;

	bottom:0;
	width:100%;
	position:absolute;
	padding: 10px 25px;

	-webkit-animation-delay: 3s;
	-moz-animation-delay: 3s;
	animation-delay: 3s;

	-webkit-animation-duration:1.5s;
	-moz-animation-duration:1.5s;
	animation-duration:1.5s;
}

@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

.fade-in { 
	opacity:0;
	-webkit-animation:fadeIn ease-in 1;  /* call our keyframe named fadeIn, use animattion ease-in and repeat it only 1 time */
	-moz-animation:fadeIn ease-in 1;
	animation:fadeIn ease-in 1;

	-webkit-animation-fill-mode:forwards;  /* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/
	-moz-animation-fill-mode:forwards;
	animation-fill-mode:forwards;
}