html, body {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0 0 20px 0;
  font-family: 'Pixel', monospace;
  background-color: #001204;
  color: #00ff33;
 font-smooth: never;
-webkit-font-smoothing : none;
transition: 0.5s all;
  
  font-size: 30px;
/*  text-shadow: 0 0 3px #ffe59f, 0 0 10px #00ff33;*/
		cursor: url(../img/arrow.png), pointer;
  
}

*:hover {
		cursor: url(../img/arrow.png), pointer;
}
*::selection {
	background-color: #6bfc6e;
	color: #00ff33;
}


.imgHeader {
  background-image: url("../img/title.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  height: 350px;
  width: 100%;
  mix-blend-mode: screen;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  margin: 0 0 30px 0;
  pointer-events: none;
}

.imgHeader:hover {
	
		cursor: url(../img/arrow.png), pointer;
}

@media only screen and (max-width: 1200px) {
.imgHeader {
  height: 289px;
}
}

@media only screen and (max-width: 990px) {
.imgHeader {
	height: 221px;
}
}

@media only screen and (max-width: 767px) {
.imgHeader {
    border-radius: 0;
}
}

h2 {
  font-size: 21px;
}

ul {
  font-size: 13px;
  list-style: none;
  text-indent: -10px;
}
ul li {
	margin: 0 0 5px 0;
}

button.start_game {
	margin-top: 35px;
	width: 350px;
}

button:hover.start_game, button:active.start_game {
	color: #0a1a00;
	background-color: #66ff66;
  animation: textShadow 10.1s infinite;
}

#homeScreen {
	text-align: center;
	margin-top: 30px;
	margin-left: 0;
	margin-bottom: 35px;
}

.last {margin-bottom: 25px;}

#gameScreen {
  display: none;
	margin-bottom: 0px;
}

.mourn, .talk, .restartGame, .levelUp, .mainMenu, .quitGame, .perfectGame, .hasTreasure, .crossRiver {
  display: none;
}

.randomEvent {
	align-items: center;
  text-align: center;
  padding: 20px 25px 15px 25px;
  border: solid 4px #00ff33;
  border-radius: 10px;
  vertical-align: middle;
  font-size: 21px;
  line-height: auto;
  min-height: 103px;
  pointer-events: none;
}

button:focus.btn, span:focus.btn {
  background-color: #66ff66;
  color: #0a1a00;
  animation: textShadow 10.1s infinite;
  outline: none;
}

.statsBox {
  margin-top: 30px;
  border-style: solid;
  border-color: #00ff33;
  border-width: 4px;
  height: auto;
  min-height: 173px;
  border-radius: 10px;
  margin-bottom: 30px;
  padding-bottom: 10px;
  pointer-events: none;
}

.statsBox h2 {
  margin: 10px 25px;
}

.statsBox h1 {
  margin: 25px 0 15px 25px;
  font-size: 42px;
}

.form-group {
	margin: 20px 0 0 0;
	padding: 0;
}
label {
	display: none;
	margin: 0; padding: 0;
}

.centerizer {
	display: block;
	max-width: 350px;
	margin: 0 auto;	
}
input[type = "text"] {
  background-color: black;
  mix-blend-mode: screen;
  border-bottom: dotted 2px;
  border-top: none;
  border-right: none;
  border-left: none;
  color: #00ff33;
  width: 350px;
  font-size: 21px;
  height: 50px;
  display: inline-block; 
  margin: 0 0 0 0;
  border-radius: 0;
  letter-spacing: -2px;
  padding: 7px 5px 5px 5px;
  line-height: 50px;
  transition: 0.5s all;
}
input[type = "text"]:focus {
  background-color: #66ff66;
  color: #000;
  border-radius: 5px;
  border: dotted 2px;
  animation: textShadow 10.1s infinite;
  line-height: 50px;	
}
input:hover, button:hover {
	
		cursor: url(../img/arrow.png), pointer;
	
}

label {
  font-size: 20px;
}

h1#start{
  /*color: #F45116;*/
  margin-top: 20px; 
  font-size: 21px;
  margin-bottom: 32px;
}
h1#title{
  /*color: #F45116;*/
  display: inline-block;
  margin: 12px -12px 12px 12px;
  padding: 0 0.25em;
  font-size: 32px;
  letter-spacing: 0.4em;
  text-shadow: 3px 2px 0 #338533;
}

a.btn, span.btn, .btn, button {
  color: #0a1a00;
  background-color: #00ff33;
  font-size: 21px;
  border-radius: 5px;
  height: 55px;
  line-height: 50px;
  text-align: center;
  border: 0;
  padding: 5px 20px;
  mix-blend-mode: screen;
  outline: none;
  margin: 15px 0 0 0;
  min-width: 164px;
}

.btn:hover, .btn:active {
  background-color: #66ff66;
  color: #0a1a00;
  animation: textShadow 10.1s infinite;
}


@media only screen and (max-width: 1200px) {
.options .btn {
    width: 293px;
  }
}

@media only screen and (max-width: 990px) {
.options .btn {
    width: 100%;
  }
}

#trailScreen {
  padding-top: 35px;
  padding-left: 35px;
}

.restOutcome, .trailOutcome, .healOutcome, .mournOutcome, .huntOutcome, .gameOverLoseMessage, .gameOverWinScreen {
  margin-top: 20px;
  margin-bottom: 10px;
  border: solid 3px blue;
  border-radius: 5px;
  padding-left: 20px;
}

.options {
  margin-top: 20px;	
}

span#randomEventMessage {
  display: inline-block;
  pointer-events: none;
}

.events {
  font-size: 20px;
  margin-top: 30px;
  pointer-events: none;
}

.playAgain {
	display: block;
  padding-top: 1px;
  text-align: right; height: auto;
}
.playAgain span.btn {
	padding: 15px;
}

a:hover, a:active {
  text-decoration: none;
  color: black;
  animation: textShadow 10.1s infinite;
}

span:hover.btn, span:active.btn {
  text-decoration: none;
  color: black;
  animation: textShadow 10.1s infinite;
}

#checkPoint {
	pointer-events: none;
}

#memberSick {
	color: #338533;
}

#foodZero, #medicineZero, #treasureZero {
  color: #338533;
}







@keyframes flicker {
  0% {
    opacity: 0.27861;
  }
  5% {
    opacity: 0.34769;
  }
  10% {
    opacity: 0.23604;
  }
  15% {
    opacity: 0.90626;
  }
  20% {
    opacity: 0.18128;
  }
  25% {
    opacity: 0.83891;
  }
  30% {
    opacity: 0.65583;
  }
  35% {
    opacity: 0.67807;
  }
  40% {
    opacity: 0.26559;
  }
  45% {
    opacity: 0.84693;
  }
  50% {
    opacity: 0.96019;
  }
  55% {
    opacity: 0.08594;
  }
  60% {
    opacity: 0.20313;
  }
  65% {
    opacity: 0.71988;
  }
  70% {
    opacity: 0.53455;
  }
  75% {
    opacity: 0.37288;
  }
  80% {
    opacity: 0.71428;
  }
  85% {
    opacity: 0.70419;
  }
  90% {
    opacity: 0.7003;
  }
  95% {
    opacity: 0.36108;
  }
  100% {
    opacity: 0.24387;
  }
}
@keyframes textShadow {
  0% {
    text-shadow: 0.4389924193300864px 0 1px rgba(0,30,255,0.5), -0.4389924193300864px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
  5% {
    text-shadow: 2.7928974010788217px 0 1px rgba(0,30,255,0.5), -2.7928974010788217px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
  10% {
    text-shadow: 0.02956275843481219px 0 1px rgba(0,30,255,0.5), -0.02956275843481219px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
  15% {
    text-shadow: 0.40218538552878136px 0 1px rgba(0,30,255,0.5), -0.40218538552878136px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
  20% {
    text-shadow: 3.4794037899852017px 0 1px rgba(0,30,255,0.5), -3.4794037899852017px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
  25% {
    text-shadow: 1.6125630401149584px 0 1px rgba(0,30,255,0.5), -1.6125630401149584px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
  30% {
    text-shadow: 0.7015590085143956px 0 1px rgba(0,30,255,0.5), -0.7015590085143956px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
  35% {
    text-shadow: 3.896914047650351px 0 1px rgba(0,30,255,0.5), -3.896914047650351px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
  40% {
    text-shadow: 3.870905614848819px 0 1px rgba(0,30,255,0.5), -3.870905614848819px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
  45% {
    text-shadow: 2.231056963361899px 0 1px rgba(0,30,255,0.5), -2.231056963361899px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
  50% {
    text-shadow: 0.08084290417898504px 0 1px rgba(0,30,255,0.5), -0.08084290417898504px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
  55% {
    text-shadow: 2.3758461067427543px 0 1px rgba(0,30,255,0.5), -2.3758461067427543px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
  60% {
    text-shadow: 2.202193051050636px 0 1px rgba(0,30,255,0.5), -2.202193051050636px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
  65% {
    text-shadow: 2.8638780614874975px 0 1px rgba(0,30,255,0.5), -2.8638780614874975px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
  70% {
    text-shadow: 0.48874025155497314px 0 1px rgba(0,30,255,0.5), -0.48874025155497314px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
  75% {
    text-shadow: 1.8948491305757957px 0 1px rgba(0,30,255,0.5), -1.8948491305757957px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
  80% {
    text-shadow: 0.0833037308038857px 0 1px rgba(0,30,255,0.5), -0.0833037308038857px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
  85% {
    text-shadow: 0.09769827255241735px 0 1px rgba(0,30,255,0.5), -0.09769827255241735px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
  90% {
    text-shadow: 3.443339761481782px 0 1px rgba(0,30,255,0.5), -3.443339761481782px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
  95% {
    text-shadow: 2.1841838852799786px 0 1px rgba(0,30,255,0.5), -2.1841838852799786px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
  100% {
    text-shadow: 2.6208764473832513px 0 1px rgba(0,30,255,0.5), -2.6208764473832513px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
}
.crt::after {
  content: " ";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(18, 16, 16, 0.1);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
}
.crt::before {
  content: " ";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  z-index: 2;
  background-size: 100% 2px, 3px 100%;
  pointer-events: none;
  position: fixed;
  }



@font-face {font-family: 'Pixel'; src: url("../fonts/pixel.ttf") format("truetype"), url("../fonts/pixel.woff") format("woff"); font-weight: normal; font-style: normal;}