html, body {
	height: 100%;
	margin: 0;
	padding: 0;
}

body {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	flex-direction: column;
	font-family: sans-serif;
}


#gamecode {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	transition: all 0.3s ease;
}

#gamecode.small {
	position: absolute;
	top: 10px;
	right: 10px;
	transform: scale(0.5);
}
button {
	margin: 5px;
	padding: 10px;
}
.bg-input {
	width: 100%;
	padding: 6px;
	font-size: 32px;
	box-sizing: border-box;
}

.bg-results {
	list-style: none;
	padding: 0;
	margin: 4px 0;
	border: 1px solid #ccc;
	max-height: calc(100vh - 4em);
	font-size: 32px;
	overflow-y: auto;
}

.bg-result-item {
	padding: 4px 6px;
	cursor: pointer;
}

.bg-result-item:hover {
	background-color: #f0f0f0;
}

h2{
	
	font-size: 64px;
	text-align: center;
}
input, button{
	display:block;
	font-size: 40px;
	margin:1em;
}
#answers {
	text-align: center;
	font-size: 50px;
}

#answers > * {
	display: inline-block;
	margin: 0 5px;
}

button.selected{
	background-color: #ff9;
}
input{
	width:10em;
}
input[type="number"]{
	width:5em;
}
