body {
  overflow: hidden;
  background-color: #010128;
  margin: 0px;
  width: 100%;
  height: 100%;
  font-family: "Courier New", Courier, monospace;
}

#background {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  user-select: none;
}
#tile_canvas {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  user-select: none;
}
#hud_canvas {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  user-select: none;
}



#titlescreen_container {
  display: block;
  position: absolute;
  width: 300px;
  height: 350px;
  top: calc(50% - 175px);
  left: calc(50% - 150px);
  background-color: #4240c4;
  border-radius: 10px;
}

#title {
  display: block;
  position: absolute;
  text-align: center;
  color: white;
  width: 100%;
  top: -5px;
}
#supertitle {
  display: block;
  position: absolute;
  top: -30px;
  left: 0px;
  width: 100%;
  font-size: 46px;
}
#subtitle {
  display: block;
  position: absolute;
  top: 30px;
  left: 0px;
  width: 100%;
  font-size: 36px;
}

#name_input {
  display: block;
  position: absolute;
  top: 125px;
  left: 50%;
  width: 280px;
  height: 50px;
  margin-top: -25px;
  margin-left: -140px;
  color: #000000;
  background-color: #baeaee;
  border: none;
  border-radius: 10px;
  font-size: 30px;
  font-family: "Courier New", Courier, monospace;
  text-align: center;
  line-height: 50px;
  cursor: text;
  resize: none;
  overflow: hidden;
}

#play_button {
  display: block;
  position: absolute;
  top: 230px;
  left: 50%;
  width: 200px;
  height: 100px;
  margin-top: -50px;
  margin-left: -100px;
  color: #fff;
  background-color: #137586;
  border-radius: 10px;
  font-size: 50px;
  font-family: "Courier New", Courier, monospace;
  text-align: center;
  line-height: 110px;
  cursor: pointer;
  user-select: none;
}
#play_button:hover {
  background-color: #1a9aa6;
}

#skin_select {
	display: block;
	position: absolute;
	width: 200px;
	height: 36px;
	top: 290px;
	left: 50%;
	margin-left: -100px;
	text-align: center;
	color: white;
  font-family: "Courier New", Courier, monospace;
	background-color: #054a52;
	border-radius: 10%;
}
#skin_select:hover{
	cursor: pointer;
	background-color: #034449;
}

#titlescreen_copyright {
	display: block;
	position: absolute;
	width: 100%;
	height: 12px;
	bottom: 4px;
	left: 0px;
	text-align: center;
	color: #0fd9d6;
  font-family: "Courier New", Courier, monospace;
	font-size: 12px;
	line-height: 12px;
}



#changelog {
  left: calc(50% - 490px);
}
#how-to-play {
  left: calc(50% + 190px);
}
.titlescreenInfo {
  display: block;
  position: absolute;
  width: 300px;
  height: 260px;
  top: calc(50% - 130px);
  background-color: #4240c4;
  color: white;
  border-radius: 10px;
  border: 5px solid #4240c4;
  box-sizing: border-box;
  overflow-y: scroll;
}
::-webkit-scrollbar {
  display: block;
  width: 8px;
  background: #054a52;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb {
  background: #137586;
  border-radius: 5px;
  border: 1px solid #054a52;
}



#deathscreen_container {
  display: none;
  position: absolute;
  width: 35%;
  height: 20%;
  top: 40%;
  left: 32.5%;
  background: #777;
  color: #FFD700;
  text-align: center;
  user-select: none;
  cursor: pointer;
  border-radius: 5%;
}
.deathscreen_fade_in {
  opacity: 1;
  animation-name: deathscreen_fade_in_anim;
  animation-duration: 1s;
  animation-iteration-count: 1;
  animation-timing-function: ease-in;
}
@keyframes deathscreen_fade_in_anim {
  0% {
    opacity: 0
  }
  100% {
    opacity: 1;
  }
}
#death_message {
  font-size: 100%;
  display: block;
  position: absolute;
  top: 10%;
  width: 100%;
}
#score_at_death {
  font-size: 250%;
  display: block;
  position: absolute;
  top: 45%;
  width: 100%;
}
#close_deathscreen {
  font-size: 75%;
  bottom: 2%;
  display: block;
  position: absolute;
  width: 100%;
}
