body {
	margin: 0;
	font-size:16px;
	height: 100%;
	width: 100%;
	/* min-width:320px; */
	padding:0;
	 box-sizing: border-box;
	-webkit-user-select: none; /* Safari */
	-ms-user-select: none; /* IE 10 and IE 11 */
	user-select: none; /* Standard syntax */	
	font-family: "Roboto", "Helvetica", "Arial", sans-serif;
	justify-content: space-around;
	position: fixed;
	overflow: hidden;
	background-image: url("background.png");
	background-size: 100%;
	background-color: white;
	color: white;
}

h1 {
	text-align: left;
	margin: 4px;
	color: #e64d00;
	position: absolute;
	left: 40px;
	width: calc(100% - 96px);
}

p {
	font-size: 18px;
	width: fit-content;
	margin: 4px;
	position: relative;
}

.home_img {
	width: 32px;
	position: absolute;
	left: 6px;
	top: 6px;
}

#board {
	position: relative;
	top: 50px;
	width: 100%;
	color:black;
}

.row {
	display: flex;
	justify-content:center;
}

.square {
	width: 90px;
	height: 90px;
	margin: 4px;
	border: 2px solid black;
	background: white;
	border-radius: 8px;
	font-size: 32px;
	display: flex;
    justify-content: center;
    align-items: center;
}

#keyboard {
	position: relative;
	top: 70px;
	width: 604px;
	left: calc(50% - 302px);
}

.key_row {
	display: flex;
	justify-content: center;
}

.key {
    background: #e64d00;
	cursor: pointer;
	color:white;
	/* border: 2px solid black; */
}

.key:hover {
	 background:#b33c00;
}

@media (max-width:650px) or (max-height: 840px) {
	.square {
		width: 60px;
		height: 60px;
	}
	
	#keyboard {
		width: 424px;
		left: calc(50% - 212px);
	}
}



@media (max-width:425px) or (max-height:628px) {
	.square {
		width: 50px;
		height: 50px;
	}
	
	#keyboard {
		width: 374px;
		left: calc(50% - 187px);
	}
}

#complete {
	position: absolute;
	z-index: 4;
	width: 300px;
	height: 200px;
	background: #aaff80;
	left: calc(50% - 150px);
	top: 50px;
	margin: 4px;
	border-radius: 8px;
	color: white;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	align-items: center;
	display:none;
	transition: opacity,2s;
}

#congrats {
	width: 0px;
	background: #e64d00;
	height: 2px;
	animation: underline 0.5s;
	animation-fill-mode: forwards;
}

#complete_overlay {
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 3;
	background: black;
	top: 0px;
	left: 0px;
	opacity: 50%;
	display:none;
	transition: opacity,2s;
}

.button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #e64d00;
	color: black;
	padding: 4px;
	border-radius: 8px;
	cursor: pointer;
	margin: 8px;
}

.button .button_icon {
	font-variation-settings: 'FILL' 0;
	transition: font-variation-settings 0.5s; 
}

.button:hover {
	background: #b33c00;
}

.button:hover .button_icon  {
	font-variation-settings: 'FILL' 1;
}

.button_text {
	margin: 8px;
	text-align: center;
}

.icon-pulse {
	font-variation-settings: 'wght' 400;
	font-variation-settings: 'FILL' 0;
	transition: font-variation-settings 0.5s; 
}

.icon-pulse:hover {
	font-variation-settings: 'FILL' 1;
}

@keyframes underline {
  0% {
	width: 0px;
  }
  100% {
    width: 100%;
  }
}

#footer {
	position: absolute;
	width: 100%;
	height: 60px;
	bottom: 0px;
	z-index: 6;
	background: #aaff80;
	color: black;
	display: flex;
	justify-content: space-around;
}

.footer_item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100px;
	cursor: pointer;
	margin: 0px;
	border-radius: 0px;
	padding: 0px;
}

.more_div {
	position: absolute;
	width: 200px;
	height: 100%;
	background: #e64d00;
	z-index: 5;
	right: 0px;
	/* justify-content: center; */
	display: none;
	flex-direction: column;
	align-items: center;
	bottom: 0px;
	animation: more_div_animate 0.5s;
	animation-fill-mode: forwards;
}

@keyframes more_div_animate {
	0% {bottom: -300px; opacity: 0;}
	100% {bottom: 0px; opacity: 1;}
}

.more_overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	background: black;
	opacity: 20%;
	z-index: 4;
	display: none;
}

.more_content {
	font-size: 24px;
    margin: 24px;
	cursor: pointer;
	text-align: center;
}

.container {
	background: #e64d00;
	color: white;
	display: flex;
}

input {
	border: 2px solid #aaff80;
	margin: 4px;
	border-radius: 5px;
	padding: 16px;
	outline: 0px;
	width: 285px;
}

input:focus {
	border: 2px solid #44cc00;
}

.username_class:focus{
	background-image: url('https://numbers.noahhirt.co.uk/account/person_focus.svg?v=3');
}

.email_class:focus{
	background-image: url('https://numbers.noahhirt.co.uk/account/email_focus.svg?v=3');
}

.password_class:focus{
	background-image: url('https://numbers.noahhirt.co.uk/account/password_focus.svg?v=3'), url('https://numbers.noahhirt.co.uk/account/visibility_focus.svg?v=3');
}

.password_class_off:focus{
	background-image: url('https://numbers.noahhirt.co.uk/account/password_focus.svg?v=3'), url('https://numbers.noahhirt.co.uk/account/visibility_off_focus.svg?v=1');
}

.submit {
	background: #aaff80;
	color: black;
}

.submit:hover {
	background: #44cc00;
}

.create_account_p  { 
	text-decoration-color: #aaff80;
}

.create_account_p:hover {
	text-decoration-color: #44cc00;
}

.challenge_container {
    position: absolute;
    top: 50px;
    background: #e64d00;
    width: calc(100% - 16px);
    left: 8px;
    display: flex;
    flex-direction: column;
}

.money {
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
}

.reward {
	display: flex;
	justify-content: space-evenly;
	align-items: center;
}

.goal {
	display: flex;
	justify-content: space-around;
	font-size: 44px;
	background: grey;
	border-radius: 16px;
	width: 200px;
	padding: 2px;
}

.challenge_info {
	display:flex;
	flex-direction:column;
	align-items:center;	
}

.box_container {
	display: flex;
	align-items: center;
	flex-direction: row;
	justify-content: space-evenly;
}
.challenge_box {
    width: 100px;
    height: 100px;
    margin: 8px;
    background: black;
	border-radius: 8px;
    display: flex;
    align-items: center;
	flex-direction: column;
	justify-content: space-evenly;
}

.glow1 {
	color: white;
	font-size: 40px;
	text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #e64d00, 0 0 40px #e64d00, 0 0 50px #e64d00, 0 0 60px #e64d00, 0 0 70px #e64d00;
}
.glow2 {
	color: white;
	font-size: 40px;
	text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px yellow, 0 0 40px yellow, 0 0 50px yellow, 0 0 60px yellow, 0 0 70px yellow;
}
.glow3 {
	color: white;
	font-size: 40px;
	text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #aaff80, 0 0 40px #aaff80, 0 0 50px #aaff80, 0 0 60px #aaff80, 0 0 70px #aaff80;
}

.glow_fail {
  animation-name: spinner;
  animation-timing-function: linear;
  animation-iteration-count: 1;
  animation-duration: 2s;
  transform-style: preserve-3d;
  text-align:center;
  animation-fill-mode: forwards;
}
@keyframes spinner {
  0% {
    transform: rotateY(0deg);
	opacity:100%;
  }
  100% {
    transform: rotateY(-360deg);
	opacity:0%;
	display: none;
  }
}

.fail {
	font-size: 40px;
	text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #e64d00, 0 0 40px #e64d00, 0 0 50px #e64d00, 0 0 60px #e64d00, 0 0 70px #e64d00;
	width: 30px;
	height: 46px;
	display: flex;
	justify-content: center;
	align-items: center;
	animation: appear 1s;
	animation-delay: 2s;
	animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
	position: absolute;
	left: -999px;
}

.complete {
    font-size: 40px;
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #aaff80, 0 0 40px #aaff80, 0 0 50px #aaff80, 0 0 60px #aaff80, 0 0 70px #aaff80;
    width: 30px;
    height: 46px;
    display: flex;
    justify-content: center;
    align-items: center;
	animation: appear 1s;
	animation-delay: 2s;
	animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
	display: none;
	opacity:0%
}

@keyframes appear {
  from {
    font-size: 0px;
	opacity:0%;
	position: relative;
	left:0px;
  }
  to {
	font-size: 40px;
	opacity: 100%;
	position: relative;
	left:0px
  }
}

#overlay {
	width: 100px;
	height: 100px;
	position: absolute;
	background: #e64d00;
	border-radius: 8px;
	z-index: 3;
	opacity: 60%;
}

.glow_succeed {
	font-size: 8px;
}

/* .challenge_title { */
	/* color: #aaff80; */
	/* margin: 8px; */
/* } */

/* .challenge_info { */
	/* display: flex; */
	/* width: 100%; */
	/* flex-direction: row; */
	/* justify-content: space-evenly; */
/* } */

/* .challenge_button { */
	/* background: #aaff80; */
/* } */

/* .challenge_button:hover { */
	/* background: #44cc00; */
/* } */

#rtn_ch {
	text-decoration: underline;
	text-decoration-color: #e64d00;
	margin: 8px;
	cursor: pointer;
	font-size: 16;
}

#rtn_ch:hover {
	text-decoration-color: #b33c00;
}