* {
	margin: 0;
	border: 0;
	font-family: 'Segoe UI';
}

body {
	background-color:lightgrey;
}

p {
  margin-top: 1em;
}

a {
  color: black;
}

.header {
	background:black;
	color:white;
	border-bottom: 3px solid grey;
	text-transform: uppercase;
	line-height: 40px;
}

.flex1 {
	display: flex;
	flex-direction: row;
}

.flex2 {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding-left: 10px;
	padding-right: 10px;
	text-align: justify;
}

.flex2 h2 {
	padding: 10px;
	text-align: center;
}

.flex3 {
	display: flex;
	flex-direction: row;
}

.flex4 {
	flex: 1;
	display: flex;
	flex-direction: column;
}

#gamespace {
	text-align: center;
}

#gamespace input, select {
	text-align: center;
	margin: auto;
	border-radius: 2.5px;
}

#gamespace input[type=text] {
	outline: 0;
}

/* Remove scroll arrows from number input box */
#gamespace input::-webkit-outer-spin-button,
#gamespace input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#gamespace table {
	max-width: 52.7%;
	min-width: 25%;
	margin-left: auto;
	margin-right: auto;
}

.lboardl {
	text-align: left;
}

.lboardr {
	text-align: right;
}

@media (max-width:960px) {
	.flex1 {
		flex-direction: column;
	}
}