@font-face {
    font-family: NeonSans;
    src: url("../fonts/NeonSans.otf");
}
body {
	font-family: 'NeonSans', sans-serif;
	margin: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #0a0a0a;
}
canvas {
	display: block;
}
#font-loader{
	font-family: 'NeonSans';
	position: absolute;
	left: -1000px;
	visibility: hidden;
}

/*PRELOADER*/
#preloader {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #000;
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 1;
}

#username-input {
    border-radius: 0;
    border: 0;
    outline: 0;
    background: none;
    height: 30px;
    width: 300px;
    color: #fff;
	font-size: 20px;
	font-family: monospace;
	border-bottom: 2px solid #fff;
}

#leaderboards-table {
    color: #ffffffd9;
    width: 600px;
    font-family: monospace;
    font-size: 20px;
}

#leaderboards-table tr {
	background: #ffffff1a;
}

#leaderboards-table td {
    padding: 2px 7px;
}

#leaderboards-table thead td {
    font-weight: 900;
}

#volume-slider-container {
	width: 300px;
}

#volume-slider {
	width: 100%;
	border-color: #fff;
	appearance: none;
	height: 8px;
	border-radius: 10px;
	outline: none;
}

#volume-slider::-webkit-slider-thumb {
	appearance: none;
	width: 25px;
	height: 25px;
	background: #ffffff;
	cursor: pointer;
	border-radius: 50%;
}

#rooms-table {
    color: #ffffffd9;
    width: 600px;
    font-family: monospace;
    font-size: 20px;
}

#rooms-table tr {
	background: #ffffff1a;
}

#rooms-table td {
    padding: 2px 7px;
}

#rooms-table thead td {
    font-weight: 900;
}

#room-players-table {
    color: #ffffffd9;
    width: 600px;
    font-family: monospace;
    font-size: 20px;
}

#room-players-table tr {
	background: #ffffff1a;
}

#room-players-table td {
    padding: 2px 7px;
}

#room-players-table thead td {
    font-weight: 900;
}

#rooms-table .join-button {
	cursor: pointer;
}