/* ------------------------------ general styles ------------------------------*/
html, body {
  margin: 0;
  overflow: hidden;
}

canvas {
  background-color: #ffffff;
}

body {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  touch-action: none;
}

canvas { width: 100%; height: 100% }


/* ------------------------------ nav styles ------------------------------*/


nav {
	width: 150px;
	background-color: #e42313;
	height: 200px;
	margin: 0;
	margin-right: 50px;
	position: fixed;
	top: -240px;
	left: 0;
	opacity: 0.9;
	padding-top: 40px;
	z-index: 5;
	text-align: center;
	transition: top 0.4s ease;
}

.open_nav {
	position: fixed;
	top: 2px;
	left: 10px;
	z-index: 10;
	cursor: pointer;
}

p, a {
	font-family: 'Courier New';
}

/* ------------------------------ volume control styles ------------------------------*/

.volume-control {
	position: fixed;
	top: 50%;
	left: 10px;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	z-index: 10;
}

.volume-track {
	width: 44px;
	height: 80px;
	position: relative;
	cursor: pointer;
}

/* Visible 1px line centered in touch target */
.volume-track::before {
	content: '';
	position: absolute;
	left: calc(50% - 2px);
	top: 0;
	bottom: 0;
	width: 1px;
	background: #000;
}

.volume-bead {
	width: 9px;
	height: 9px;
	background: #000;
	border-radius: 50%;
	position: absolute;
	left: calc(50% - 2px);
	transform: translateX(-50%);
	cursor: grab;
}

.volume-bead:active {
	cursor: grabbing;
}

.mute-btn {
	background: none;
	border: none;
	cursor: pointer;
	padding: 12px;
	margin-top: 0px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
}

.speaker-icon {
	width: 18px;
	height: 18px;
	color: #000;
}

.speaker-icon path {
	stroke: #000;
	fill: none;
}

.speaker-body {
	fill: #000 !important;
}

.speaker-mute-x {
	display: none;
}
