html {
	font-family: "Montserrat", sans-serif;
}

body {
	background-color: #;
}

button {
	font-family: inherit;
	font-weight: 600;
	cursor: pointer;
	opacity: 0.8;
}
button:hover {
	opacity: 1;
}
button:active {
	opacity: 0.8;
}


.controls {
	display: grid;
	grid-template-columns: 1fr;
	align-items: center;
	justify-content: center;
	margin-top: 2px;
	gap: 1em;
}
.alert {
	margin-bottom: 5px;
	text-align: center;
}
#error {
	width: 330px;
	margin: 5px auto;
	opacity: 0.6;
}
.drop-container {
	display: flex;
	justify-content: center;
}
.drop {
	position: relative;
	display: inline-flex;
	align-items: center;
}
button {
	flex-shrink: 0;
	border: none;
	border-radius: 10px;
	padding: 1em 1em 1em 1em;
	background: lime;
	width: 7em;
}
button[disabled], html input[disabled] {
	cursor: not-allowed;
	opacity: .5;
}
.d-none{
	display: none !important;
}
.box {
	background-color: rgba(255, 255, 255, 0.1);
}

.coin_amount {
	width: 120px;
	margin: 0 5px;
	height: 35px;
	background: #f0f0f06e;
	border: 1px solid #ffffff78;
	border-radius: 5px;
	padding: 5px 5px;
    font-weight: bold;
    color: #fff;
}

.coin_amount::placeholder {
    color: #a49c9c;
    opacity: .5;
}
.coin_amount:focus { 
    outline: none !important;
    border-color: #719ECE;
    box-shadow: 0 0 2px #ffffff78;
    background: #f0f0f06e;
    color: #000;

}
.coin_amount:disabled, .coin_amount[readonly] {
	background-color: #403433;
	opacity: 1;
	cursor: not-allowed;
}
.drop_button {
	width: 100px;
	padding: 5px;
	height: 35px;
}
.auto {
	display: flex;
	width: 70px;
	justify-content: center;
	align-items: center;
	border: 1px solid #ffffff63;
	margin: 0 5px;
	height: 30px;
	cursor: pointer;
	border-radius: 5px;
}
.box {
	position: relative;
	background-color: rgba(255, 255, 255, 0.1);
	border-radius: 0.2em;
	width: 0.8em;
	height: 0.8em;
}
.box:after {
	font-size: 0.6em;
	vertical-align: middle;
	position: absolute;
	left: calc(100% + 0.4em);
	color: #fff;
	content: "auto";
}

svg {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}


#balls,
#multiplier {
	position: relative;
	font-weight: 900;
	font-size: 2.2em;
	margin-right: auto;
	color: rgba(255, 255, 255, 0.2);
}
#multiplier:before {
	content: "-";
	position: absolute;
	bottom: 100%;
	font-size: 0.3em;
	font-weight: 400;
}


#balls:before {
	content: "Balls";
}


#multiplier {
	text-align: right;
}
#multiplier:before {
	content: "Drop";
	right: 0;
}
.canvas-container {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	padding-top: 60px;
}
canvas {
	display: block;
	margin: auto;
	background: unset !important;
}


.notes {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: 1px;
}
.note {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 27px;
	aspect-ratio: 30 / 26;
	border-radius: 5px;
	background-color: gray;
	flex-shrink: 0;
	border-bottom: solid 4px yellow;
	text-align: center;
	font-size: 0.8em;
	font-weight: 600;
}
.note[data-pressed="true"] {
	animation: press 0.5s;
}

@keyframes press {
	0% {
		border-bottom-width: 4px;
	}
	50% {
		border-bottom-width: 0;
	}
	100% {
		border-bottom-width: 4px;
	}
}

/*.note:nth-child(1),
.note:nth-child(11) {
	background-color: #0f3;
	border-color: #0a0;
}
.note:nth-child(2),
.note:nth-child(10) {
	background-color: #1f3;
	border-color: #0a0;
}
.note:nth-child(3),
.note:nth-child(9) {
	background-color: #3f2;
	border-color: #0a0;
}*/
.note:nth-child(1),
.note:nth-child(11) {
	background-color: #4f2;
	border-color: #0a0;
}
.note:nth-child(2),
.note:nth-child(10) {
	background-color: #6f2;
	border-color: #0a0;
}
.note:nth-child(3),
.note:nth-child(9) {
	background-color: #7f1;
	border-color: #3a0;
}
.note:nth-child(4),
.note:nth-child(8) {
	background-color: #9f1;
	border-color: #4a0;
}
.note:nth-child(5),
.note:nth-child(7) {
	background-color: #af0;
	border-color: #6a0;
}
.note:nth-child(6) {
	background-color: #cf0;
	border-color: #7a0;
}
.m-auto {
	margin: auto;
	float: unset;
}