@media only screen and (orientation: portrait) {
	.rotate-message {
		display: block;
		position: fixed;
		bottom: 20vh;
		font-size: 8vw;
		color: red;
		text-align: center;
		z-index: 1000;
	}
}

@media only screen and (orientation: landscape) {
	.rotate-message {
		display: none;
	}
}

body {
	color: white;
	margin: 0;
	font-family: sans-serif;
	font-size: 2vw;
	overflow-y: hidden;
}

.gradient {
	background-image: linear-gradient(#172661, #0B122E);
	height: 100vh;
	overflow-y: auto;
}

header {
	padding: 1vw;
	padding-left: 3vw;
	padding-right: 3vw;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.spacer {
	height: 100px;
}

h1 {
	padding: 0;
	margin: 0;
}

a {
	color: red;
	text-decoration: none;
}

p {
	margin-top: 3vh;
	margin-bottom: 3vh;
}

section {
	margin: 2vw;
	padding-left: 6vw;
}

.close {
	color: white;
	font-size: 3vw;
	padding-right: 1vw;
	text-shadow: 0 1px 0 #fff;
	position: absolute;
	top: 0;
	right: 0;
}

.language-selector {
	position: relative;
	top: 1vw;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1000;
}

.flag-container {
	display: flex;
	justify-content: center;
}

.flag {
	cursor: pointer;
	margin: 0 5px;
	height: auto;
	width: 5vw;
}

.flag:hover {
	box-shadow: 0 0 10px white;
}

.home-title {
	font-size: 5vw;
	padding-top: 2vw;
	text-align: center;
}

.title {
	font-size: 3vw;
	text-align: center;
}

.subtitle {
	font-size: 2.5vw;
	margin-top: 2vw;
	text-align: center;
}

.progress-total {
	background-color: rgba(255, 255, 255, 0.1);
	width: 50vw;
	height: 1vw;
	position: absolute;
	top: 1vw;
	left: 25vw;
	border-radius: 1vh;
	text-align: right;
}

.progress-user {
	background-color: white;
	width: 0.5vw;
	height: 1vw;
	position: absolute;
	top: 1vw;
	left: 25vw;
	border-radius: 1vh;
	text-align: left;
	color: #172661;
}

.logo-pbe {
	width: 22vw;
}

.logo-pathfinder {
	height: 16vw;
	padding-left: 3vw;
	padding-right: 3vw;
}

.question-number {
	padding-right: 10vw;
	margin-top: 0;
	margin-bottom: 0;
	font-weight: bold;
	font-size: 5vw;
}

.points {
	display: inline-block;
	vertical-align: top;
	padding-right: 6vw;
	margin-top: 0.5em;
	margin-bottom: 0;
	font-size: 3vw;
}

.score {
	display: inline-block;
	vertical-align: top;
	margin-top: 0.5em;
	margin-bottom: 0;
	font-size: 3vw;
}

.start-quiz {
	background-color: #252C48;
	width: 20vw;
	height: 4vw;
	border: 3px solid white;
	cursor: pointer;
	position: absolute;
	bottom: 1vw;
	right: 40vw;
}

.help {
	background-image: linear-gradient(#172661, #0B122E);
	border: 3px solid white;
	height: 55vh;
	width: 70vw;
	font-size: 2vw;
	position: absolute;
	top: 12.5vh;
	left: 12.5vw;
	padding: 3vw;
	margin-left: auto;
	margin-right: auto;
	z-index: 999;
	overflow-y: auto;
}

.overlay-title {
	font-size: 3vw;
	padding-bottom: 2vw;
	text-align: center;
	margin: 0;
}

.settings {
	background-image: linear-gradient(#172661, #0B122E);
	border: 3px solid white;
	height: 55vh;
	width: 70vw;
	font-size: 1.5vw;
	position: absolute;
	top: 12.5vh;
	left: 12.5vw;
	padding: 3vw;
	margin-left: auto;
	margin-right: auto;
	z-index: 1;
	overflow-y: auto;
}

.cbxwrapper {
	display: block;
	position: relative;
	padding-left: 35px;
	margin-bottom: 12px;
	cursor: pointer;
	font-size: 22px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.cbxwrapper input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}

.checkmark {
	position: absolute;
	top: 0;
	left: 0;
	height: 25px;
	width: 25px;
	background-color: #fff;
}

.cbxwrapper input:checked~.checkmark {
	background-color: #777;
}

.checkmark:after {
	content: "";
	position: absolute;
	display: none;
}

.cbxwrapper input:checked~.checkmark:after {
	display: block;
}

.cbxwrapper .checkmark:after {
	left: 9px;
	top: 5px;
	width: 5px;
	height: 10px;
	border: solid white;
	border-width: 0 3px 3px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

.chapters {
	column-count: 3;
}

#donate-button {
	left: 50%;
	transform: translateX(-50%);
	position: fixed;
	bottom: 10px;
}

.button {
	background-color: #252C48;
	font-size: 2.5vw;
	text-align: center;
	padding: 1vw 0.5vw 0 0.5vw;
	border-radius: 1vw;
	cursor: pointer;
}

.button-full-screen {
	width: 5vw;
	height: 4vw;
	position: absolute;
	bottom: 1vw;
	left: 1vw;
}

.button-full-screen img {
	max-width: 90%;
	max-height: 80%;
	object-fit: contain;
}

.button-correct {
	width: 15vw;
	height: 4vw;
	position: absolute;
	bottom: 1vw;
	left: 25%;
	margin-left: -7.5vw;
}

.button-incorrect {
	width: 15vw;
	height: 4vw;
	position: absolute;
	bottom: 1vw;
	right: 25%;
	margin-right: -7.5vw;
}

.button-qa {
	width: 25vw;
	height: 4vw;
	position: absolute;
	bottom: 1vw;
	right: 25%;
	left: 50%;
	margin-left: -12.5vw;
}

.button-help {
	width: 4vw;
	height: 4vw;
	position: absolute;
	bottom: 1vw;
	right: 1vw;
}

.button-help img {
	max-width: 90%;
	max-height: 80%;
	object-fit: contain;
}

.button-problem {
	width: 4vw;
	height: 4vw;
	position: absolute;
	bottom: 1vw;
	right: 7vw;
}

.button-problem img {
	max-width: 90%;
	max-height: 80%;
	object-fit: contain;
}

.button-score {
	width: 12vw;
	height: 4vw;
	position: absolute;
	top: 10vw;
	right: 35vw;
}

#keypad {
	background: #252C48;
	width: 240px;
	padding-bottom: 10px;
	position: absolute;
	bottom: 6vw;
	right: 25%;
	margin-right: -120px;
	font-size: 12pt;
	text-align: center;
	border-radius: 1vw;
	z-index: 10;
}

#numbers {
	margin: 0;
	padding-left: 10px;
	padding-right: 10px;
	list-style: none;
	position: relative;
}

#numbers li {
	display: inline-block;
	margin: 3px;
	width: 60px;
	height: 60px;
	font-size: 24px;
	line-height: 60px;
	text-align: center;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid white;
	border-radius: 5px;
	position: relative;
	cursor: pointer;
}

.result-questions {
	margin-top: 2vh;
	column-count: 4;
	column-gap: 5vw;
}

.disable {
	opacity: 0.1;
}

.clear-left {
	clear: left;
}

.qa-block {
	position: relative;
	padding: 1vw 3vw 3vw 3vw;
	display: block;
}

.question {
	position: relative;
	font-size: 3.5vw;
}

.answer {
	position: relative;
	font-size: 3.5vw;
}

.align-center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.timer {
	position: relative;
	width: 15%;
}

.timer__svg {
	transform: scaleX(-1);
}

.timer__circle {
	fill: none;
	stroke: none;
}

.timer__path-elapsed {
	stroke-width: 7px;
	stroke: rgba(0, 0, 0, 0.0);
}

.timer__path-remaining {
	stroke-width: 7px;
	stroke-linecap: round;
	transform: rotate(90deg);
	transform-origin: center;
	transition: 1s linear all;
	fill-rule: nonzero;
	stroke: currentColor;
}

.timer__path-remaining.green {
	color: rgb(65, 184, 131);
}

.timer__path-remaining.orange {
	color: orange;
}

.timer__path-remaining.red {
	color: red;
}

.timer__label {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 7vw;
}

/* Close Button */
#close {
	position: fixed;
	top: 1vw;
	right: 1vw;
	z-index: 1000;
	display: inline-block;
	cursor: pointer;
}

.close1,
.close2 {
	width: 35px;
	height: 5px;
	border-radius: 3px;
	background-color: #fff;
	margin: 6px 0;
}

.close1 {
	-webkit-transform: rotate(-45deg) translate(-4px, 3px);
	transform: rotate(-45deg) translate(-4px, 3px);
}

.close2 {
	-webkit-transform: rotate(45deg) translate(-4px, -4px);
	transform: rotate(45deg) translate(-4px, -4px);
}

/* Menu Button */
#menu {
	position: fixed;
	bottom: 20px;
	left: 20px;
	z-index: 1000;
	display: inline-block;
	cursor: pointer;
}

.menu-text {
	color: white;
	position: absolute;
	bottom: 20px;
	left: 60px;
	margin-left: 8px;
	font-family: sans-serif;
	font-size: 32px;
	cursor: pointer;
}

.bar1,
.bar2,
.bar3 {
	width: 35px;
	height: 5px;
	border-radius: 3px;
	background-color: #fff;
	margin: 6px 0;
	transition: 0.4s;
}

/* Transform bars into cross */
.change .bar1 {
	-webkit-transform: rotate(-45deg) translate(-8px, 7px);
	transform: rotate(-45deg) translate(-8px, 7px);
}

.change .bar2 {
	opacity: 0;
}

.change .bar3 {
	-webkit-transform: rotate(45deg) translate(-8px, -8px);
	transform: rotate(45deg) translate(-8px, -8px);
}

/* Overlay */
.overlay {
	height: 0%;
	width: 25%;
	position: fixed;
	border: 3px solid white;
	border-radius: 1vw;
	z-index: 1;
	bottom: 0;
	left: 0;
	background-color: rgb(37, 44, 72, 0.9);
	transition: 0.5s;
}

/* Overlay content */
.overlay-content {
	position: relative;
	top: 2vh;
	width: 100%;
	text-align: center;
}

.overlay a {
	margin-top: 2vh;
	text-decoration: none;
	font-size: 2.5vw;
	color: white;
	display: block;
	transition: 0.3s;
}

.overlay a:hover,
.overlay a:focus {
	text-shadow: 0 0 10px white, 0 0 20px white, 0 0 30px white;
}