#HUD {
	position:absolute;
	top: 5px;
	left: 5px;
	right: 5px;
	display:flex;
	flex-flow:row;
	justify-content: space-around;
	z-index:10;
	font-size: 22px;
	gap: 10px;
	pointer-events: none;
}
button.button-hud {
	position: relative;
	flex-grow: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-flow: row;
	height: 45px;
	width: 45px;
	border: 0;
	border-radius: 10px;
	background-color: var(--yellow);
	box-shadow: inset -1px -1px 0 2px var(--yellow-dark);
	cursor: pointer;
	transition: all .2s ease-in-out;
	background-size: contain;
	background-repeat: no-repeat;
	pointer-events: all;
}
 
button.button-hud:hover {
	filter: brightness(120%) !important;
	transform: scale(1.05) !important;
}

button.button-hud:active  {
	transform: scale(.9) !important;
	filter: brightness(90%) !important;
}


#button-home {
	width: 45px;
	height: 45px;
	background-image: url(../images/hud-icons/house-icon.png);
	background-position: center;
	background-size: 60% 60%;
}

#button-settings {
	background-image: url(../images/hud-icons/gear-icon.png);
	zmargin-left:auto; margin-right:5px;
	background-position: center;
	background-size: 60% 60%;
}

#button-quit {
	background-image: url(../images/hud-icons/quit-icon.png);
	margin-left:auto; margin-right:5px;
	background-position: center;
	background-size: 60% 60%;
}

#button-sound {
	width: 45px;
	height: 45px;
	background-image: url(../images/hud-icons/music-icon.png);
	background-position: center;
	background-size: 60% 60%;
}
#button-sound.mute {
	background-image: url(../images/hud-icons/music-mute-icon.png);
}
#money-display {
	position:relative;
	display:flex;
	justify-content: flex-start;
	flex-flow:row;
	align-items: center;
	border-radius: 10px;
	padding: 0px 20px;
	margin: 0px auto 0px 0px;
	font-size: 20px;
	align-self: start;
	height: 45px;
	
	background-color:var(--black);
	color:var(--yellow);
	box-shadow:inset -1px -1px 2px 2px rgba(50,10,10,.5);
	
}

.market-info {
	position: absolute;
	left: 0px;
	right: 0px;
	bottom: -2px;
	background-color: rgba(0,0,0,0.7);
	color: white;
	padding: 2vh;
	text-align: center;
	font-size: 2vh;
	border-radius: 20px 20px 0px 0px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-size: var( --small-font-size );
}

#SettingsPanel .safearea {
	display: flex;
	justify-content: center;
	align-items: center;
	
	& #settings-panel {
		background-color: #333;
		border-radius: 30px;
		padding: 30px;
		border: 2px solid black;
		color: white;
		
		& h1 {
			text-align: center;
		}
		
		& button {
			width: 100%;
		}
		
		& .checkbox-setting-row {
			display: grid;
			grid-template-columns: 40px 1fr;
			grid-column-gap: 30px;
			align-items: center;
			justify-items: stretch;
			& > :nth-child(1) {
				text-align: center;
			}
			margin: 20px;
			
			& .settings-checkbox {
				width: 40px;
				height: 40px;
				border-radius: 4px;
				background-color: #369;
				color: white;
				display: grid;
				align-items: center;
				justify-items: center;
				font-size: 32px;
				&:not( .tab-highlighted ) {
					outline: 3px solid black;
				}
			}
			
		}
				
	}
}

body.disable-zoom * {
	touch-action: none !important;
}
