:root 
{
	--label-buffer: 25px;
	--label-left: calc(var(--label-buffer) - 10px);
	--grid-w: 70px;
	--grid-h: 40px;
}
main
{
	padding-bottom: 0;
}
h1,h2,h3,h4,h5,h6
{
	text-transform: capitalize;
}
ol.instructions > li
{
	font-size: 25px;
	margin: 5px 0;
}
h2.final-results > span.heading 
{
	display: block;
	margin-bottom: 0;
	padding: 10px;
	border-bottom: 2px solid green;
}
h2.final-results
{
	text-align: center;
	width: 450px;
	margin: 20px auto;
	
}
ol.instructions
{
	text-align: left;
	width: 300px;
	/* border: 2px solid red; */
	margin: 20px auto;
}
input.resize-grid
{
	border: none;
	outline: none;
	background-color: black;
	color: var(--color3);
	font-size: 20px;
	padding: 10px;
	appearance: textfield;
  -webkit-appearance: textfield;
}
input.resize-grid::-webkit-outer-spin-button,
input.resize-grid::-webkit-inner-spin-button 
{
  -webkit-appearance: none;
}
h3.instructions
{
	color: var(--color3);
	margin: 25px;
	font-size: 30px;
}
h3.answer
{
	font-size: 30px;
	margin: 5px;
}
h1.good-job
{
	color: var(--color3);
	animation: changecolor 500ms linear forwards;
}
a.restart-link
{
	display: block;
	width: 200px;
	padding: 25px;
	border: 4px double var(--color3);
	border-radius: 15px;
	margin: 50px auto;
	text-decoration: none;
	outline: none;
}
h2.title
{
	color: var(--color3);
	margin: 20px;
	font-size: 35px;
}
div.grid, div.row
{
	display: flex;
	align-items: center;
	justify-content: center;
	letter-spacing: 3px;
}
div.grid 
{
	flex-direction: column;
}
div.row div
{
	width: var(--grid-w);
	height: var(--grid-h);
	/* border: 1px solid white; */
	display: flex;
	align-items: center;
	justify-content: center;
	text-transform: uppercase;
	font-size: 25px;
	padding: 0 25px;
	box-sizing: border-box;
}
div.row:last-child > div
{
	border-top: 1px solid var(--color3);
}
div.row:nth-child(odd):not(:last-child)
{
	background-color: var(--color5);
}
div.row div.h-label, div.row div.v-label
{
	color: var(--color3);
	font-weight: bold;
}
div.row div.h-label
{
	margin-top: var(--label-buffer);
}
div.row div.v-label
{
	margin-right: calc(var(--label-buffer) / 2);
}
div.row:last-child
{
	padding-left: var(--label-left);
}
h3.intro
{
	color: var(--color2);
	font-size: 35px;
	
}
input[type=text]
{
	width: 500px;
	background-color: black;
	color: var(--color3);
	font-size: 25px;
	padding: 10px;
	border: none;
	outline: none;
	margin: 0 auto;
	display: block;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 5px;
}
input[type=submit]
{
	display: none;
}
p.instructions, .more, p.answer
{
	color: var(--color1);
	font-size: 25px;
	margin: 10px auto;
	width: 850px;
}
h3.more
{
	color: var(--color2);
}
span.highlight
{
	color: var(--color3);
	text-transform: capitalize;
}
p.question
{
	color: var(--color2);
}
@keyframes changecolor
{
	0% {color: black;}
	/* 0% {opacity: 0;} */
}