
@font-face {
    font-family: 'Spaceport'; /*a name to be used later*/
    src: url('/media/Spaceport_2006.otf'); /*URL to font*/
}

div, button, form, select, input, option {
	font-family: "Spaceport";
	box-sizing: border-box;
	margin: 0; 
	padding: 0; 
	border: 0;
	display: flex;
	box-shadow: 0;
}

span {
	display: inline-block;
}

body {
	background: black;
	margin: 0;
	padding: 0;
	border: 0;
	font-family: "Spaceport";	
}

.mainscreens
{
	background-color: rgba(50, 50, 50, 0.75);
	color: #ffffff;
	padding: 5px;
	margin: 5px;
	/* padding-bottom: 10px;
	padding-top:10px;
	width : 300px; */
	z-index:100;
	border: 1px white solid;
}

.fb-like {
	font-size: initial;
	pointer-events: visible;
	margin-top: 10px;
}

#loginscreen
{
	pointer-events: visible;
}

#logocontainer {
	display: flex;
}

#viewport {
	position: fixed;
	left: 0;
	top: 0;
	margin: 0;
	border: 0;
	z-index: 0;
	width: 100vw;
	height: 100vh;
	cursor: url('media/images/cross.png'), auto;
	cursor: -webkit-image-set(
	  url('media/images/cross.png') 1x,
	  url('media/images/cross2.png') 2x
	), auto;	
	background: linear-gradient(to bottom right, rgb(23, 0, 23), rgb(0, 0, 23));
}

#account {
	display: inline-flex;
	justify-content: center;
	width:225px;
	height: 300px;
}

#highscores {
	display: inline-flex;
	justify-content: center;
	width:225px;
	height: 300px;
}

.btn, #login, #login_name, #login_name:focus, #loginscreen a {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: rgba(0, 0, 0, 1.0);
	color: white;
	border: 1px white solid;
	outline: none;
	white-space: nowrap;
	margin: 2px;
	padding: 2px;
	font-family: "Spaceport";
	font-size: 15px;
	height: 32px;
	pointer-events: visible;
}

#login_name, #login_name:focus, #serverlist {
	height: 28px;
	text-align: center;
}

/* #login_name:focus {
	background-color: white;
	color:black;
} */

#login_name:hover {
	background: white;
	color:black;
}

.btn:hover, #login:hover, #loginscreen a:hover {
	background: white;
	color:black;
	cursor: pointer;
}

#fbBtn:hover {
	background: #3B5998;
	color: #FFFFFF;
}

#loginscreen img {
	width: 30px;
	height: 30px;
	margin-right: 4px;
}

.regionbtn {
	width: 121px;
}

#logoutBtn {
	display: none;
}

.flex-container {
	display: -webkit-flex;
	display: flex;
}

#gui {
	position: fixed;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	color: black;
	font-size: 28px;
	-webkit-flex-direction: row;
	flex-direction: row;
	justify-content: space-between;
	z-index: 1;
	pointer-events: none;
	cursor: default;
}

#lefttop {
	-webkit-flex-direction: column;
	flex-direction: column;	
	justify-content: flex-start;
	align-items: flex-start;

	position: absolute;
	top   : 0;
	left  : 0;
}

#leftmiddle {
	-webkit-flex-direction: column;
	flex-direction: column;	
	justify-content: center;
	align-items: flex-start;

	position: absolute;
	top   : 0;
	bottom   : 0;
	left  : 0;
}

#leftbottom {
	-webkit-flex-direction: column;
	flex-direction: column;	
	justify-content: flex-end;
	align-items: flex-start;
	left  : 0;
	bottom: 0;
}

#centertop {
	-webkit-flex-direction: column;
	flex-direction: column;	
	justify-content: flex-start;
	align-items: center;

	position: absolute;
	top   : 0;
	left  : 0;
	right : 0;
}

#centermiddle {
	-webkit-flex-direction: column;
	flex-direction: column;	
	justify-content: center;
	align-items: center;

	position: absolute;
	top   : 0;
	left  : 0;
	bottom: 0;
	right : 0;
}

#centerbottom {
	-webkit-flex-direction: column;
	flex-direction: column;	
	justify-content: flex-start;
	align-items: center;

	position: absolute;
	left  : 0;
	bottom: 0;
	right : 0;
}

#righttop {
	-webkit-flex-direction: column;
	flex-direction: column;	
	justify-content: flex-start;
	align-items: flex-end;

	position: absolute;
	top   : 0;
	right : 0;
}

#rightmiddle {
	-webkit-flex-direction: column;
	flex-direction: column;	
	justify-content: center;
	align-items: flex-end;

	position: absolute;
	top   : 0;
	bottom: 0;
	right : 0;
}

#rightbottom {
	-webkit-flex-direction: column;
	flex-direction: column;	
	justify-content: flex-end;
	align-items: flex-end;

	position: absolute;
	bottom: 0;
	right : 0;
}

.guielem {
	background-color: rgba(50,50,50,0.75);
	color: white;
	border: 1px white solid;
	/*display: inline-flex;*/
	padding-left: 10px;
	padding-right: 10px;
	margin: 10px;
	flex-shrink: 0;
}

.guibutton {
	pointer-events: visible;
	font-size: 22px;
}

#logo {
	color: white;
	opacity: 0.7;
	background-color: transparent;
}

#settingsbutton {
	background-image: url("media/images/settings.png");
	background-size: 30px 30px;
	background-repeat: no-repeat;
	width: 32px;
	height: 32px;
}

#soundsettings {
	background-image: url("media/images/sound.png");
	background-size: 30px 30px;
	background-repeat: no-repeat;
	width: 32px;
	height: 32px;
}

#musicsettings {
	background-image: url("media/images/music.png");
	background-size: 30px 30px;
	background-repeat: no-repeat;
	/* background-position-x: 2px; */
	width: 32px;
	height: 32px;
}

.closebutton {
	position: absolute; 
	top:2px; 
	right: 2px;
	pointer-events: visible;
	background-image: url("media/images/close_window.png");
	background-size: 100%;
	width: 18px;
	height: 18px;
}

.closebutton:hover {
	background-image: url("media/images/close_window_hover.png");
	cursor: pointer;
}

a:link {
    text-decoration: none;
	color: white;
}

a:visited {
    text-decoration: none;
	color: white;
}

a:hover {
    text-decoration: underline;
	color: white;
}

a:active {
    /*text-decoration: underline;*/
	color: white;
}

.guibutton:hover {
	background-color: rgba(255, 255, 255, 1);
	color: black;
	cursor: pointer;	
}

::-webkit-scrollbar {
	width: 8px;
	background-color: transparent;
}

::-webkit-scrollbar-thumb {
	border-radius: 4px;
	background-color: rgba(255, 255, 255, 0.5);
}

::-webkit-scrollbar-thumb:hover {
	background-color: rgba(255, 255, 255, 1);
}

#mainAdContainer {
	position:relative;
	display:none;
	-webkit-flex-direction: column;
	flex-direction: column;
	margin: 0;
	font-size:21px; 
	padding: 10px;
	pointer-events: visible;
	width: 960px;
	height: 540px;
}

#top10list {
	margin-top:20px;
	display:flex;
	flex-direction: column;
}

.leaderboardrow {
	font-size: 13px;
	display:flex;
	flex-direction: row;
}

.leaderboardrank {
	width: 3ch;
	text-align: right;
	flex-grow: 0;
}

.leaderboardflag {
	width: 16px;
	height: 16px;
	margin-left: 5px;
	margin-top: 2px;
}

.leaderboardflagimg {
	width: 16px;
	height: 16px;
}

.leaderboardname {
	margin-left: 5px;
	flex-grow: 1;
	text-align: left;
	overflow: hidden;
}

.leaderboardmass {
	flex-grow: 0;
	padding-left: 5px;
}