@font-face {
	font-family: 'icons';
	src: url('./fonts/icons/icons.eot');
	src: url('./fonts/icons/icons.eot?#iefix') format('embedded-opentype'), url('./fonts/icons/icons.woff2') format('woff2'),
		url('./fonts/icons/icons.woff') format('woff'), url('./fonts/icons/icons.ttf') format('truetype'),
		url('./fonts/icons/icons.svg#icons') format('svg');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

.icon {
	font-family: 'icons';
	display: flex;
	align-items: center;
	justify-content: center;
	font-style: normal;
	font-size: 2em;
	line-height: 0.5;
}

.icon::after {
	font-family: 'icons';
	display: block;
	box-sizing: border-box;
}

.icon.close::after {
	content: 'x';
}

.icon.sound-off::after {
	content: 'a';
}

.icon.sound-on::after {
	content: 'b';
}

.icon.help::after {
	content: 'c';
}

.icon.no-help::after {
	content: 'd';
}

.icon.pause::after {
	content: 'e';
}

.icon.play::after {
	content: 'f';
}

.icon.wallet::after {
	content: 'g';
}

.icon.next::after {
	content: 'h';
}

.icon.menu::after {
	content: 'i';
}

.icon.settings::after {
	content: 'j';
}

.icon.plus::after {
	content: 'k';
}

.icon.chevron-left::after {
	content: 'l';
}

.icon.arrow-left::after {
	content: 'm';
}

#metaBar {
	position: absolute;
	top: 0;
}

div.edit-button {
	z-index: 999999;
}

phred-editor-view {
	z-index: 999999;
}

phred-editor-view #game {
	margin-top: 0px;
}

#popup-container {
	font-family: sans-serif;
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: 30px;
	left: 0;
	bottom: 0;
	width: 100%;
	padding: 0;
	margin: 0;
	background: rgba(0, 0, 0, 0.5);
	overflow: hidden;
}

#popup-container.no-meta-bar {
	top: 0;
}

#popup-container > .popup {
	background-color: white;
	width: 300px;
	height: 300px;
	position: relative;
	display: flex;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

/* == ERROR POPUP == */

#popup-container.error {
	background: #173440;
	background: linear-gradient(0, #173440 0%, #0a1b26 50%);
	color: #2c3e50;
}

#popup-container.error > .popup {
	width: 480px;
	height: 250px;
	border-radius: 10px;
	background-color: #ecf0f1;
	max-width: 90%;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

#popup-container.error > .popup > .content {
	padding: 1em;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

#popup-container.error > .popup > .content h1 {
	margin: 0 0 0.5em;
}

#popup-container.error > .popup > .content p {
	font-size: 1.2em;
	text-align: center;
	margin: 0.4em 0;
}
