html {
	height: 100%;
	--accent: #159479;
	--accent2: #25c2a0;
}

body {
	display: flex;
	flex-direction: column;
	height: 100%;
	box-sizing: border-box;
	margin: 0;
	gap: 10px;
	padding: 10px;
	user-select: none;
}

.slider {
	/* background: #CFC; */
	flex-grow: 1;
	overflow: hidden;
	position: relative;
	border-radius: 20px;
	border: solid 1px #999;
	font-family: system-ui, sans-serif;
}

.quiz {
	/* background: #CCF; */
	position: absolute;
	height:100%;
	width: 100%;
	left: 100%;
	transition: left .3s ease, opacity .3s ease;
	opacity: 0;
	padding: 20px;
	box-sizing: border-box;
	overflow-y: auto;
}

.quiz.active {
	left: 0;
	opacity: 1;
}

.quiz.pass {
	left: -100%;
}

footer {
	/* background: #CCC; */
	height: 40px;
	flex-shrink: 0;
}

.progress {
	height: 100%;
	background: var(--accent);
	border-radius: 6px;
	transition: width .3s ease;
}

.trophies {
	border: solid 1px lightgray;
	font-size: 80%;
	padding: 10px;
	display: none;
}

h3.sum {
	color: var(--accent2);
}

p.question {
	font-weight: bold;
}

button {
	background: var(--accent);
	border: none;
	color: white;
	padding: 6px 18px;
	cursor: pointer;
	border-radius: 6px;
	min-height: 30px;
}

button.disable {
	background: darkgray;
	color: unset;
}

button:hover {
	background: var(--accent2);
}

button:hover.disable {
	background: darkgray;
}

button[name="play"] {
	width: 90px;
}

button.arrow {
	background: none;
	font-size: 22px;
	color: unset;
	padding: 0 12px;
}

button.arrow.disable {
	display: none;
}

h1 {
	display: flex;
}

label {
	cursor: pointer;
	padding: 3px;
	border-radius: 6px;
}

label:has(> svg:last-child) {
	display: inline-flex;
	align-items: flex-start;
	gap: .5em;
}

label:hover {
	outline: solid 1px var(--accent2);
}

label:has(input[type="radio"]:checked) {
	background: var(--accent);
	color: white;
}

svg rect.outline {
	fill: none;
	stroke: lightgray;
	stroke-width: 2;
	rx: 10;
}

svg rect.rounded {
	fill: none;
	stroke: black;
	stroke-width: 2;
	rx: 5;
}

svg line.bar {
	stroke: black;
	stroke-width: 2;
}

svg line.note {
	stroke: black;
	stroke-width: 10;
	stroke-linecap: round;
}
