body {
  margin: 0; padding: 0;
  overflow: hidden;
  background-color: black;
  /*background-color: #27ae60;*/
  font-family: 'Nunito Sans', sans-serif;
}

canvas { 
  margin: auto auto; 
  bottom: 0;
  right: 0;
  background-color: #222222; 
}

#instructionsContainer {
  display: none;
  /*display: flex;*/
  width: 100%;
  height: 100%;
  top: 0;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#instructions {
  background-color: white;
  width: 80%;
  max-width: 200px;
  /*display: flex;*/
  justify-content: center;
  align-items: center;
  flex-direction: column;
  /*height: 33%;*/
  padding: 40px;
  /*margin-bottom: 100px;*/
}

.instructionText {
  margin: 10px 0 20px;
}

#instructionsLogo {
  width: 100%; 
  object-fit: contain;
}

#instructionsImage {
  padding-top: 5px;
  width: 50%;
  margin: 0 auto;
  display: block;
  object-fit: contain;
}

.button {
  background-color: red;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 200px;
  color: white;
  padding: 16px 0;
}

#play {
  width: 80%;
  max-width: 300px;
  background: #fff;
  text-align: center;
  display: none;
}

#scoreBoard {
	position: fixed;
	bottom: 0px;
	left: 0px;
	width: 100px;
	height: 60px;
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	border-radius: 5px;
	z-index: 10;
}

#time {
  background: rgb(208, 58, 54);
  color: #fff;
  padding: 10px 20px;
  font-size: 23px;
  font-weight: bold;
  width: 75px;
  text-align: center;
}

#distance {
  background: #fff;
  color: rgb(208, 58, 54); 
  font-weight: bold;
  font-size: 25px;
  padding: 5px 10px;
  width: 70px;
  text-align: right;
}

#distance:after {
  content: 'feet';
  display: inline-block;
  color: #000;
  transform: rotate(-90deg) translateX(30%);
  font-size: 10px;
}

#gameOver {
  width: 90%;
  max-width: 300px;
  display: flex;
  opacity: 0;
  z-index: -5;
  transition: opacity .2s ease-in 2s;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  z-index: -5;
  position: absolute;
  top: 3%;
  left: 50%;
  transform: translateX(-50%);
  background: url('images/ending-redbg.png');
  background-size: cover;
}

#actionPointGameOver {
  width: 80%;
  margin: 20px auto;
  background-size: cover;
}

#characterrocket {
  width: 80%;
  margin-top: -100px;
}

#final {
  width: 60%;
  color: #000;
  text-align: center;
  padding: 0;
  text-transform: uppercase;
  font-size: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
  z-index: 10;
}

#finalScore {
  font-size: 30px;
}

#finalDistance, #finalTime {
  color: #EF473A;
  font-size: 35px;
  background: linear-gradient(to bottom, #EF473A 0%, #D0021B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
}

#feet, #secs {
  text-transform: none;
  font-weight: bold;
}



#madeIt {
  font-weight: bold;
  font-size: 24px;
}

.stack {
  display: flex;
  flex-direction: column;
}

.scoreCols {
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-weight: bold;
}

#shareBtn, #retryBtn {
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;

    background: transparent;
    margin: 5px;
    padding: 7px 20px;
    border: 2px solid #fff;
    color: #fff;
    width: 80%;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
}

#retryBtn {
  margin-bottom: 20px;
}