:root {
	--green: #60992D; /*Maximum Green*/
	--grey: #2B2A2A; /*Jet*/
	--yellow: #F5B722; /*Selective Yellow*/
	--light-grey: #555B6E; /*Independence Grey*/
	--red: #DD1C1A; /*Maximum Red*/
}

* {
	touch-action: manipulation;
}

body {
	width: 100vw;
	/*height: 100%;*/
    margin: 0px;
    background-color: lemonchiffon;
}

#after {
	position: absolute;
	top: -100%;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
	border-radius: 40px;
	background-color: white;
	text-align: center;
	font-family: sans-serif;
	font-size: 20px;
	padding: 20px;
	padding-top: 2.5%;
	box-shadow: 0px 0px 10px 5px var(--grey);
}

#answer {
	font-weight: bold;
	font-size: 25px;
}

#definition {
    font-style: italic;
}

/* disabled by joe */
/* CSS rules to apply when the screen width is 600px or less */
/*@media (max-width: 2600px) {*/
	
	.key {
		width: 3.5vw;
		height: 5vh;
		padding: 5px;
		padding-top: 2px;
		margin: 0 2px;
		border-radius: 7px;
	}

	.kRow {
		margin-top: 5px;
	}
	
	td {
		/*width: 60px !important;*/
		width: 10vw;
		height: 6vh;
		font-size: 30pt;
	}

	#display {
		width: 55vw;
	}


	#after {
		width: 240px;
		min-height: 200px;
		max-height: 70%;
	}
	img.backspace {
		height: 16px;
	}
	img.enter {
		height: 15px;
	}
	img.space {
		height: 9px;
		margin-top: 5px;
	}
	
	div.specialKey {
		width: 35px;
		height: 24px;
		padding: 0;
		margin: 0 2px;
		border-radius: 7px;
		border: var(--light-grey) 2px solid;
		padding-top: 5px;
	}

	div.space {
		padding-top: 5px;
	}
	table {
		padding-bottom: 1%;
		padding-top: 0;
	}


/* }  */
/* media key closing curly bracket disabled by joe  */






#input {
	/* hidden off the top of the screen */
	position: fixed;
	top: -50%;
	width: 20%;
	height: 5%;
}

#result {
	float: left;
}

#display {
	box-sizing: border-box;
	height: 100%;
	align-content: center;
	margin: 0 auto;
    padding-bottom: 2.5%;
}

table {
    box-sizing: border-box;
	margin: 0 auto;
	height: 100%;
	width: 100%;
}

td {
	border: var(--light-grey) solid 2px;
	border-radius: 10px;
    text-align: center;
	font-family: 'Fredoka', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--grey);
}

.kRow {
    box-sizing: border-box;
	display: flex;
	clear: both;
	justify-content: center;
	align-content: center;
	width: 100%;
}

.key {
	color: var(--grey);
	font-family: 'Fredoka', sans-serif;
	float: left;
	border: 2px solid var(--light-grey);
	display: flex;
	align-content: center;
	justify-content: center;
	text-transform: uppercase;
}

div.specialKey {
	color: var(--grey);
	float: left;
	border: 2px solid var(--light-grey);
	display: flex;
	align-content: center;
	justify-content: center;
}

.red {
	border: 2px var(--red) solid;
}

.grey {
	border: 2px var(--grey) solid !important;
	color:  white;
	background: var(--grey);
}

.yellow {
	border: 2px var(--yellow) solid !important;
	color:  white;
	background: var(--yellow);
}

.green {
	border: 2px var(--green) solid !important;
	color:  white;
	background: var(--green);
}

.homeBtn {
    border-radius: 30px;
    position: fixed;
    bottom: 5px;
    left: 5px;
}