html {
  position: relative;
  min-height: 100%;
}

body {
	background-image: url("../images/simple_dashed.png");
	margin-bottom: 50px;
	font-family: "Racing Sans One";
}

#logo {
	margin: 0 auto;
	display: block;
	padding-top: 20px;
	margin-bottom: 50px;
}

.container {
	max-width: 960px;
}

.animation {
	height: 70px;
	position: relative;
}

#banner, #instructions {
	text-align: center;
	color: #ffc94b;
	position: absolute;
	left: 0;
	right: 0;
	height: 100%;
	font-size: 30px;
	line-height: 70px;
	opacity: 0;
}

#instructions {
	opacity: 1;
}

.game {
	padding-top: 0;
	margin-top: 0;
	text-align: center;

}

.word {
	height: 100px;
	border: 2px dashed black;
	border-radius: 10px;
}

.win-loss div {
	text-align: center;
	background-color: #100f0f;
	color: #FFF;
}

.win-div {
	border-bottom-left-radius: 10px;
	border-right: 2px solid #DDD;
}

.loss-div {
	border-bottom-right-radius: 10px;
	border-left: 2px solid #DDD;
}

.guesses {
	padding-top:20px;
}
.letters h2, .guesses h2{
	text-decoration: underline;
	font-size: 35px;
}

.letters {
	height: 100px;
}

#guesses-remaining {
	font-size: 70px;
}

#car {
	position: absolute;
	left: 0;
	margin: 0;
	width: 250px;
}

#guess-word {
	letter-spacing: 15px;
	word-spacing: 15px;
	font-size: 70px;
}

#letters-guessed {
	font-size: 32px;
	font-weight: bold;
	letter-spacing: 5px;
	text-decoration: none;
}

.content {
	height: 50%;
}

footer {
    position: absolute;
    bottom: 0;
    text-align: center;
    width: 100%;
    background-color: #101010;
    border-top: 5px solid #921111;
}

footer small {
    line-height: 40px;
    color: #BBB;
    font-size: 12px;
}


/* Classes for CSS animations */
.zoomAround {
  animation-duration: 3s;
  animation-fill-mode: both;
  animation-name: zoomAround;
}

.flash {
	animation-duration: 4s;
	animation-fill-mode: both;
  	animation-name: flash;
}

.spinOut {
	animation-duration: 2s;
	animation-fill-mode: both;
  	animation-name: spinOut;
}


.infinite {
	animation-iteration-count: infinite;
}

@keyframes zoomAround {
  20% {
    opacity: 1;
    transform: translate3d(-20px, 0, 0);
  }

  40% {
    opacity: 0;
    transform: translate3d(2000px, 0, 0);
  }

  60% {
  	opacity: 0;
  	transform: translate3d(-2000px, 0, 0);
  }

  80% {
  	opacity: 1;
  	transform: translate3d(-2000px, 0, 0);
  }

  to {
  	opacity: 1;
  	transform: translate3d(0, 0, 0);
  }
}

@keyframes flash {
  from, 50%, to {
    opacity: 0;
  }

  25%, 75% {
    opacity: 1;
  }
}

@keyframes spinOut {
  from {
    transform: rotate3d(0, 1, 0, 0deg);
  }
  to {
    transform: rotate3d(0, 1, 0, 360deg);
  }
}


