/*
fadderiet-dark: #441168;
fadderiet-mid: #723d97;
fadderiet-light: #9768ac;
fadderiet-ultralight: #d1a8ce;
*/

body {
	margin: 0;
	font-family: Nunito, sans-serif;
	user-select: none;
	overflow: hidden;
	background-color: #eaeaea;
}

.hidden {
	display: none !important;
}

a {
    color: #723d97;
    text-decoration: none;
}

.header {
	width: 100%;
	background-color: #9768ac;
	display: flex;
	color: #441168;
	align-items: center;
	justify-content: space-between;
}
	.header > div {
		margin-right: 1rem;
	}
	.header > div:first-child {
		margin-left: 1rem;
	}
	.header img {
		height: 48px;
	}

.logo {
	color: #eaeaea;
	display: flex;
	align-items: center;
	font-size: 28px;
	font-weight: bold;
	gap: 5px;
	flex: 0;
}

.clock {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	flex: 1;
}

.controls {
	display: flex;
	align-items: center;
	gap: 5px;
	flex: 0;
}

.footer {
	text-align: right;
	font-size: 0.8em;
	padding: 0.5em 0.8em;
}

.valueDisplay {
	font-size: 12px;
	text-align: center;
}
	.valueDisplay .value {
		font-weight: bold;
		font-size: 18px;
		margin-bottom: -5px;
	}

.clickableIcon {
	border-radius: 10px;
	padding: 5px 5px 2px;
	line-height: 1em;
	transition: 0.1s;
}
	.clickableIcon:hover:not(:disabled) {
		background-color: #d1a8ce;
	}
	.clickableIcon:active:not(:disabled) {
		color: #723d97;
	}
	.clickableIcon.keptPressed {
		background-color: #d1a8ce;
		/* text-shadow: #d1a8ce 0 0 5px; */
		box-shadow: inset #9768ac 0 0 4px 2px;
	}

.main {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
	padding: 15px;
	gap: 15px;
}

.game {
	flex: 0;
}

.menus {
	flex: 1;
	min-width: 300px;
	max-width: 512px;
}

#gameboard {
	border-radius: 10px;
}

.console {
	font-family: 'Roboto Mono', 'Courier New', Courier, monospace;
	background: black;
	color: #d1a8ce;
	border-radius: 10px;
	padding: 1em;
	white-space: pre-wrap;
}

.selectable {
	user-select: text;
}

.modal {
	background-color: rgba(12, 3, 4, 0.8);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: white;
}
	.modal > div {
		width: 80%;
		max-width: 600px;
		margin: 0.5em 0;
	}
	.modal > ul {
		width: 80%;
		max-width: 600px;
		margin: 0.5em 0;
	}
	.modal > h2 {
		width: 80%;
		margin: 0.5em 0;
		text-align: center;
	}
	.modal > .footnote {
		font-size: 10px;
		position: fixed;
		bottom: 0;
		right: 0;
		text-align: right;
		margin-right: 0.5em;
	}

.modalButton {
	text-align: center;
	font-size: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: fit-content !important;
	padding: 5px 5px 5px 15px;
	border-radius: 10px;
}
	.modalButton:hover {
		background-color: #723d97;
	}
	.modalButton:active {
		color: #d1a8ce;
	}
	.modalButton > span {
		margin-left: 0.5ex;
		padding-right: 0.4ex;
	}

.caption {
	font-style: italic;
	text-align: center;
}

#inspectorPrimaryInfo {
	display: flex;
}

#inspectorTitle {
	font-weight: bold;
	font-size: larger;
}

#inspectorDescription {
	font-style: italic;
}

#inspectorSpriteContainer {
	margin: 1em;
}
