body {
	background-color: #edeef2;
	color: #223;
	max-width: 600px;
	margin: auto;
	padding: 20px;
	font-family: sans-serif;
}

header {
	text-align: center;
}

header a:link, header a:visited {
	color: inherit;
	text-decoration: inherit;
}

header h2 {
    font-size: 15px;
    font-weight: normal;
	text-decoration: underline;
}

header h2:hover {
	color: #555;
}

hr {
	width: 50%;
	border: solid 1px #999;
}

.big-button {
	border: none;
	background-color: #8fbfff;
	color: #1f4f9f;
	font-size: 20px;
	padding: 10px 30px;
	border-radius: 10px;
	transition: 0.07s
}

.big-button:hover {
	background-color: #7fafef;
	transition: 0.07s
}

.big-button:active {
	background-color: #6f9fdf;
	transition: 0.07s
}

#question {
	display: grid;
	grid-template-areas: "text text number"
						 "visual choices choices"
						 "check check check";
	grid-template-columns: 2fr 1fr 80px;
	grid-gap: 20px;
}

#question__text {
	grid-area: text;
}

#question__number {
	grid-area: number;
	display: grid;
	place-items: center;
	font-weight: 600;
}

#question__visual_container {
	grid-area: visual;
	padding: 40px;
	background-color: white;
	margin: 0px;
	border-radius: 10px;
}

#question__visual {
	width: 100%;
}

#question__choices {
	grid-area: choices;
	padding: 20px 0;
	border: none;
}

#question__choices ol {
	height: 100%;
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
}

#question__choices li:first-of-type {
	margin: 0 0 auto 0;
}

#question__choices li:last-of-type {
	margin: auto 0 0 0;
}

#question__choices li {
	margin: auto 0 auto 0;
	border: solid 2px #999;
	list-style-position: inside;
	padding: 10px;
	border-radius: 10px;
	transition: 0.07s
}

#question__choices li:hover {
	background-color: rgba(0, 0, 0, 0.05);
	transition: 0.07s
}

#question__choices li:active {
	background-color: rgba(0, 0, 0, 0.1);
	transition: 0.07s
}

#question__choices li.checked {
	background-color: rgba(0, 0, 0, 0.15);
	transition: 0.07s
}

#question__choices li::marker {
	font-weight: 600;
}

#question__choices label {
	text-align: center;
}

#question__check-answer {
	grid-area: check;
}

#landing, #thank-you {
	display: grid;
	max-width: 70%;
	margin: auto;
	line-height: 1.5;
	text-align: center;
	place-items: center;
}

@media (max-width: 520px) {
	#question {
		grid-template-areas: "text number"
							 "visual visual"
							 "choices choices"
							 "check check";
		grid-template-columns: 1fr 80px;
		grid-gap: 10px;
	}

	#question__visual_container {
		display: grid;
		place-items: center;
	}

	#question__visual {
		width: 90%;
	}

	#question__choices {
		padding: 20px 0;
	}

	#question__choices li {
		margin: 20px 0 20px 0;
	}
}


