@font-face {
	font-family: 'Neue Montreal';
	src: url('/static/fonts/NeueMontreal-Regular.woff2') format('woff2'),
		url('/static/fonts/NeueMontreal-Regular.woff') format('woff');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Neue Montreal';
	src: url('/static/fonts/NeueMontreal-Light.woff2') format('woff2'),
		url('/static/fonts/NeueMontreal-Light.woff') format('woff');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Neue Montreal';
	src: url('/static/fonts/NeueMontreal-MediumItalic.woff2') format('woff2'),
		url('/static/fonts/NeueMontreal-MediumItalic.woff') format('woff');
	font-weight: 500;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Neue Montreal';
	src: url('/static/fonts/NeueMontreal-LightItalic.woff2') format('woff2'),
		url('/static/fonts/NeueMontreal-LightItalic.woff') format('woff');
	font-weight: 300;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Neue Montreal';
	src: url('/static/fonts/NeueMontreal-BoldItalic.woff2') format('woff2'),
		url('/static/fonts/NeueMontreal-BoldItalic.woff') format('woff');
	font-weight: bold;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Neue Montreal';
	src: url('/static/fonts/NeueMontreal-Medium.woff2') format('woff2'),
		url('/static/fonts/NeueMontreal-Medium.woff') format('woff');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Neue Montreal';
	src: url('/static/fonts/NeueMontreal-Bold.woff2') format('woff2'),
		url('/static/fonts/NeueMontreal-Bold.woff') format('woff');
	font-weight: bold;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Neue Montreal';
	src: url('/static/fonts/NeueMontreal-Italic.woff2') format('woff2'),
		url('/static/fonts/NeueMontreal-Italic.woff') format('woff');
	font-weight: normal;
	font-style: italic;
	font-display: swap;
}

html,
body {
	font-family: "Neue Montreal", Calibri, sans-serif;
	height: 100%;
	user-select: none;
	overflow: hidden;
	color: white;
}

body {
	color: black;
	margin: 0;
}

body.black {
	background-color: black;
	color: white;
}

a {
	color: white;
}

.column {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1.5rem;
	padding: 1rem;
	position: relative;
}

.section {
	display: flex;
	height: 100%;
}

img {
	max-width: 100%;
}

.left-column {
	justify-content: flex-start;
	flex: 1;
}

.middle-column {
	flex: 2;
}

.right-column {
	flex: 1.5;
	padding-right: 4rem;
}

.primary-text {
	font-size: 2rem;
}

#checkbox-wrapper {
	gap: 1rem;
	display: flex;
}

#checkbox-wrapper>* {
	gap: 1rem;
	display: flex;
	align-items: center;
	font-size: 0.9rem;
}

.button {
	border-radius: 2rem;
	padding: 0.5rem 1rem;
	border: 1px solid black;
	text-align: center;
	width: 40%;
	cursor: pointer;
}

.inactive {
	cursor: not-allowed;
	opacity: 0.5;
}

body.black .button {
	border-color: white;
}

#credits {
	position: absolute;
	bottom: 1rem;
	right: 1rem;
	display: flex;
	gap: 2rem;
	color: #636363;
	font-size: 0.8rem;
}

#credits a,
.disclaimer a {
	color: #636363;
}

.form-switch {
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.form-switch i {
	position: relative;
	display: flex;
	margin-right: 2rem;
	width: 1.3rem;
	height: 1.75rem;
	border-radius: 1rem;
	transition: all 0.3s linear;
}

.form-switch i::before {
	content: "";
	position: absolute;
	left: 0;
	width: 3rem;
	height: 1.5rem;
	border: 1px solid #585858;
	border-radius: 1rem;
	transform: translate3d(0.2rem, 0.1rem, 0) scale3d(1, 1, 1);
	transition: all 0.25s linear;
}

.form-switch i::after {
	content: "";
	position: absolute;
	left: 0;
	width: 1.6rem;
	height: 1.6rem;
	background-color: #585858;
	border-radius: 1rem;
	transform: translate3d(0.2rem, 0.1rem, 0);
	transition: all 0.2s ease-in-out;
}

.form-switch input {
	display: none;
}

.form-switch input:checked+i::after {
	transform: translate3d(1.7rem, 0.1rem, 0);
	background-color: white;
}

.form-switch input:checked+i::before {
	border-color: white;
}

.hidden {
	display: none;
	opacity: 0 !important;
	visibility: hidden !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

.answer {
	cursor: pointer;
}

.answer.selected {
	font-weight: bold;
}

.quadrant-button {
	position: absolute;
	width: 50%;
	height: 50%;
	background-color: transparent;
	border: none;
	cursor: pointer;
}

.quadrant-button.disabled {
	background: black;
	opacity: 0.5;
}

#q1 {
	top: 0;
	left: 0;
}

#q2 {
	top: 0;
	right: 0;
}

#q3 {
	bottom: 0;
	left: 0;
}

#q4 {
	bottom: 0;
	right: 0;
}

.quadrant-button.unselected {
	opacity: 0.5
}

.progress-container {
	width: 100%;
	background-color: #7C7C7C;
	height: 0.5rem;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	margin-top: -5rem;
}

.progress-bar {
	height: 100%;
	width: 0;
	transition: width 0.5s ease;
	position: absolute;
}

.progress-bar-fill {
	background: dodgerblue;
	height: 100%;
}

#restart-button {
	position: fixed;
	bottom: 1rem;
	left: 1rem;
	cursor: pointer;
}

#top-left-logo a {
	display: grid;
	grid-column-gap: 0.5rem;
	grid-template-columns: auto auto;
	justify-content: space-between;
	align-items: center;
	margin: 1.5rem 1rem;
}

.kleeman-logo {
	max-width: 150%;
}

.logo {
	width: 60%;
}

.powered-by-kleeman a {
	width: 25%;
	position: absolute;
	top: 0;
	display: grid;
	grid-column-gap: 0.5rem;
	grid-template-columns: auto auto;
	justify-content: space-between;
	align-items: center;
	margin: 1.5rem 1rem;
}

#email-input {
	background: transparent;
	border: none;
	border-bottom: 1px solid #525252;
	height: 4rem;
	color: white;
	outline: none;
	font-size: 1.5rem;
}

#prompt-input {
	font-size: 0.9rem;
	color: #7C7C7C;
	background: #F2F2F2;
	padding: 0.5rem 1rem;
	min-height: 1.1rem;
	margin-top: 5rem;
}

.text-bold {
	font-weight: bold;
}

#answer-title {
	font-size: 2rem;
	margin-bottom: 0.5rem;
}

#answers {
	margin-top: 3rem;
}

.disclaimer {
	position: absolute;
	bottom: 3vh;
	font-size: 0.8rem;
	color: #636363;
	padding: inherit
}

#social-media-buttons {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

#social-media-buttons a {
	border: 1px solid #7C7C7C;
	border-radius: 25px;
	padding: 0.2rem;
	height: 2.5rem;
	width: 2.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

#social-media-buttons img {
	width: 70%;
}

#social-media-buttons a:hover {
	border-color: white;
}

#social-media-buttons a:hover img {
	filter: invert(1%) sepia(1%) saturate(1%) hue-rotate(1deg) brightness(1000%) contrast(80%);
}

#result-image {
	max-height: 80vh;
	object-fit: contain;
}

#answers-grid {
	margin-top: 1rem;
	max-height: 30vh;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	gap: 0.5em;
}

.tooltip {
	position: relative;
	display: inline-block;
}

.tooltip .tooltiptext {
	transition: all 0.2s 0.1s linear;

	opacity: 0;
	visibility: hidden;
	width: 180px;
	background-color: black;
	color: #fff;
	text-align: center;
	padding: 1rem;
	border-radius: 6px;

	position: absolute;
	z-index: 1;

	top: -5px;
	right: 105%;
}

.tooltip:hover .tooltiptext {
	visibility: visible;
	opacity: 1;
	font-weight: normal;
}

@media only screen and (min-width: 767px) {
	.mobile-only {
		display: none !important;
	}

	.middle-column {
		padding-top: 4rem;
	}
}

@media only screen and (max-width: 768px) {
	.section {
		flex-direction: column;
		height: 90%;
		overflow-y: auto;
		overflow-x: hidden;
	}

	#intro-section .column {
		padding: 0 4rem;
	}

	div:not(#intro-section) .column {
		flex: initial !important;
	}

	.left-column {
		padding: 2rem 1rem;
		width: 100%;
	}

	#intro-section .left-column {
		flex: 0.5;
		padding: 0 1rem;
		width: 40%;
	}

	#intro-section .middle-column {
		order: initial;
		flex: 1;
	}

	.middle-column,
	.right-column {
		position: initial;
	}

	#intro-section .right-column {
		flex: 2;
	}

	.right-column {
		padding-top: 2rem;
		padding-bottom: 4rem !important;
	}

	#result-section .right-column,
	.right-column {
		padding-top: 0;
	}

	.logo {
		width: 40%;
	}

	#intro-section .logo {
		width: 100%;
	}

	#credits {
		justify-content: flex-end;
	}

	#intro-section .middle-column {
		position: relative;
	}

	.powered-by-kleeman.mobile-only {
		right: 34vw;
		top: 6vw;
		width: 16%;
		align-items: center;
		display: flex;
	}

	#intro-section .powered-by-kleeman {
		right: auto;
	}

	.middle-column {
		order: 3;
	}

	.button {
		position: absolute;
		bottom: 1rem;
		right: 1rem;
	}

	#intro-section .button {
		position: relative;
		bottom: initial;
		right: initial;
	}

	#prompt-input,
	.progress-container {
		margin-top: 0;
	}

	.progress-container {
		height: 1rem;
	}

	.mobile-only {
		display: block;
	}

	.desktop-only {
		display: none !important;
	}

	#result-section .disclaimer {
		position: relative;
		bottom: auto;
		padding: initial;
	}

	#social-media-buttons {
		justify-content: normal;
		gap: 1rem;
	}

	.hr {
		position: absolute;
		bottom: 4rem;
		left: 0;
		width: 100%;
		background: #000000;
		opacity: 0.5;
	}

	#restart-button {
		bottom: 1.8rem;
	}
}