* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}

html, body {
	background: #232428;
	color: #fff;
	padding: 0;
	margin: 0;
	font-family: 'Rubik', sans-serif;
	overflow-x: hidden;
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
}

input:focus, select:focus, textarea:focus, button:focus { outline: none; }

a, a:focus, a:active, a:visited { color: #fad735; }

header.header .questions {
	position: relative;
	background: #000000;
	padding: 1em;
}

header.header .questions h1 { cursor: pointer; }

header.header .current {
	background: #111214;
	padding: 1.5em 1em;
	color: #fad637;
}

header.header .questions .indices {
	position: absolute;
	right: 1em;
	top: 1em;
}
header.header .questions .indices > span {
	display: inline-block;
	vertical-align: middle;
	width: 2em;
	height: 2em;
	line-height: 2em;
	text-align: center;
	margin-right: .5em;
	border-radius: 100em;
	transition: background .2s, transform .2s;
	transform: scale(0);
	font-weight: bold;
}
header.header .questions .indices > span:nth-child(2) { transition-delay: .1s; }
header.header .questions .indices > span:nth-child(3) { transition-delay: .2s; }
header.header .questions .indices > span:nth-child(4) { transition-delay: .3s; }
header.header .questions .indices.joined > span { transform: scale(1); }
header.header .questions .indices > span:last-child { margin-right: 0; }
header.header .questions .indices > span.complete {
	background: #fad637;
	color: #000;
}

main.main {
	padding: 1.5em 1em;
}

footer.footer {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
}

footer.footer .progress-bar {
	background: #000;
	height: 0em;
	transition: height .2s;
}
footer.footer .progress-bar.visible { height: .5em; }

footer.footer .progress-bar .progress {
	height: 100%;
	background: #fad735;
}

input.session-input, .btn {
	display: inline-block;
	width: 100%;
	background: #414143;
	border: 0;
	border-radius: .2em;
	color: #fff;
	line-height: 3em;
	padding: 0 1em;
}
.session-input {
	text-transform: uppercase;
	margin-bottom: 1em;
}
.session-input:invalid, .session-input:required {
	outline: none;
	box-shadow: none;
}
.session-input:focus, .btn:focus {
	box-shadow: 0 -2px #fad735 inset;
}

.btn {
	display: inline-block;
	background: #000;
	font: inherit;
	font-weight: bold;
	line-height: 3em;
	width: auto;
	cursor: pointer;
	transition: background .1s;
}
.btn:hover, .btn:focus {
	background: #111;
	font-weight: bold;
	width: auto;
	cursor: pointer;
}

.btn.bottom-right {
	position: fixed;
	right: 1em;
	bottom: 1.5em;
}
.btn.bottom-right::after {
	display: inline-block;
	content: '\0025B6\00FE0E';
	margin-left: 1em;
	color: #fff;
}

input[type="checkbox"] {
	position: absolute;
	opacity: 0.001;
}
input[type="checkbox"] + label {
	display: inline-block;
	cursor: pointer;
}
input[type="checkbox"] + label::before {
	display: inline-block;
	content: ' ';
	padding: .25em;
	width: 1em;
	height: 1em;
	line-height: 1em;
	text-align: center;
	background: #414143;
	border-radius: .2em;
	margin-right: .5em;
	font-weight: bold;
}
input[type="checkbox"]:focus + label::before { box-shadow: 0 0 0 1px #fad735 inset; }
input[type="checkbox"]:checked + label::before {
	content: '×';
}

.list {
	list-style: none;
}
.list > li { margin: 1.5em 0; }
.list > li::before {
	display: inline-block;
	content: "\0025B6\00FE0E";
	color: #fad735;
	margin-right: 1em;
}

main.main .center-text {
	display: grid;
	align-content: center;
	text-align: center;
	min-height: 60vh;
}

main.main .answer-container {
	display: grid;
	grid-gap: 1em;
	grid-template-columns: 1fr 1fr;
}

button.question-button {
	background: #3e3e40;
	color: #fff;
	min-height: 60vh;
	font-weight: bold;
	font-size: 150%;
	border: 0;
}
button.question-button.active {
	background: #000;
	color: #fad731;
}

.monitor-session {
	display: block;
	cursor: pointer;
	padding: .5em 1em;
	height: 3em;
	line-height: 2em;
	margin: .25em;
	background: #000;
	border-radius: .2em;
}
