body { 
    background-color: rgba(64,64,64,1.0);
	overflow: hidden;
    padding: 0px;
    margin: 0px;

    -webkit-touch-callout: none;
    -webkit-user-select: none; /* Webkit */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE 10  */

    /* Currently not supported in Opera but will be soon */
    -o-user-select: none;
    user-select: none;  
    
    /*min width/height is 16:9 1024x576*/
    min-height: 576px;
    min-width: 1024px;
}

a { cursor: default;
    color: white;

}

p {
	font: 0.8125em "Muli", "Helvetica Neue", Helvetica, Arial, sans-serif;
	margin-top: 0px;
	margin-bottom: 0px;
	height: inherit;
    color: #ffffff;
}

h1{
   font: 2.0em "Muli", "Helvetica Neue", Helvetica, Arial, sans-serif;
   margin-top: 45%;
   margin-bottom: 50%;
   color: #ffffff;
   margin-left: 0px;
}

h3{
   font: 1.5125em "Muli", "Helvetica Neue", Helvetica, Arial, sans-serif;
   margin-top: 0px;
   margin-bottom: 2px;
   color: #ffffff;
   margin-left: 2px;
}

@font-face {
    font-family: racer_font;
    src: url('../fonts/RACERITA.TTF') format('opentype');
}

h4 {
        font-family: racer_font;
        font-size: 32px;
        font-stretch: extra-expanded;
        color: #ffffff;
        margin-top: 0px;
        margin-bottom: 0px;
}

h5 {
        font-family: racer_font;
        font-size: 40px;
        font-stretch: extra-expanded;
        color: #ffffff;
        opacity: 1.0;
        margin-top: 0px;
        margin-bottom: 0px;
        margin-left: 0px;
        -webkit-text-shadow: 22px 22px 6px rgba(0,0,0,0.6);
        -moz-text-shadow: 22px 22px 6px rgba(0,0,0,0.6);
        text-shadow: 22px 22px 6px rgba(0,0,0,0.6);
}

#frame {
  width: 100%;
  height: 768px;
  border:40px solid rgba(64,64,64,0.5);
  top: -768px;
  position: relative;
  box-sizing:border-box;
  -moz-box-sizing:border-box;
  -webkit-box-sizing:border-box;
}

#stats {
    background: rgba(64,64,64,0.5);
    width: 800px;
    height: 470px;
	position: relative;
    visibility: hidden;
	top:  0px;
    right: 0px;
	left: 0px;
    bottom: 0px;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
    border: 1px solid white;
    z-index: 9999;
    pointer-events: none;
}

#fpsdisplay {
    top: 20px;
    left: 20px;
    position: absolute;
    background: rgba(0,0,0,0.3);
    padding-top: 0px;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 10px;
    width:  317px;
    height: 60px;
    border: 1px solid white;
}

#keyboard {
    top: 110px;
    left: 20px;
    position: absolute;
    background: rgba(0,0,0,0.3);
    padding-top: 0px;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 10px;
    width: 138px;
    height: auto;
    border: 1px solid white;
}

#mouse {
    top: 110px;
    left: 179px;
    position: absolute;
    background: rgba(0,0,0,0.3);
    padding-top: 0px;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 10px;
    width: 158px;
    height: auto;
    border: 1px solid white;
}

#gamepad {
    top: 245px;
    left: 20px;
    position: absolute;
    background: rgba(0,0,0,0.3);
    padding-top: 0px;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 10px;
    width: 317px;
    height: auto;
    border: 1px solid white;
}

.leftcolumn {
    width: 158px;
}

.rightcolumn {
    position: absolute;
    left: 158px;
    top: 30px;
    width: 158px;
}

.label1 {
    background: rgba(0,0,0,0.2);
    width: auto;
    height: auto;
    padding-left: 3px;
    padding-right: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    border: 0px;
    margin-right: 0px;
}

.label2 {
    background: rgba(0,0,0,0.0);
    width: auto;
    height: auto;
    padding-left: 3px;
    padding-right: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    border: 0px;
    margin: 0px;
}

.labeltext {
    position: relative;
    width: 100%;
    height: auto;
    right: 0px;
    top: 0px;
}

.labelvalue {
    position: absolute;
    width: 41px;
    height: auto;
    right: 0px;
    top: 0px;
}

.labelvalueleft {
    position: absolute;
    width: 41px;
    height: auto;
    right: 0px;
    top: 0px;
    margin-right: 20px;
}

canvas {
	border: 0px;
	padding: 0px;
}

#load_screen {
    width: 100%; 
    height: 100%; 
    background: rgba(64,64,64,1.0); 
    position: absolute; 
    top: 0px; 
    left: 0px;
    -webkit-transition: opacity 0.5s ease-in-out;
    -moz-transition: opacity 0.5s ease-in-out;
    -ms-transition: opacity 0.5s ease-in-out;
    -o-transition: opacity 0.5s ease-in-out;
    transition: opacity 0.5s ease-in-out;

}

#load_bar_container {
    width: 50%;
    height: 2%;
    position: relative;
    top: 20%;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid white;
}

#load_bar {
    width: 10%;
    height: 100%;
    position: relative;
    top: 0px;
    left: 0px;
    background: rgba(128,128,128,1.0);
}

#load_text {
    position: relative;
    top: 10px;
    left: 10px;
}

.menu_container {
    width: 100%; 
    height: 100%; 
    background: rgba(0,0,0,0.0); 
    position: absolute; 
    top: 0px; 
    left: 0px;
    pointer-events: none;
}

.menu {
    pointer-events: auto;
    min-height: 441px;
    width: 50%; 
    height: 50%; 
    background: rgba(0,0,0,0.5); 
    /* background-image: url(../images/background.png);
    background-size: cover;
    background-repeat: no-repeat; */
    position: relative; 
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
    opacity: 0.0;
    text-align: center;
    border: 1px solid white;
    -webkit-transition: opacity 0.3s ease-in-out;
    -moz-transition: opacity 0.3s ease-in-out;
    -ms-transition: opacity 0.3s ease-in-out;
    -o-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
    z-index: 1;
}

.button {  
    position: relative;
    border: 3px solid rgba(64,64,64,1.0); 
    display: block; 
    height: 10%; 
    line-height: 30px; 
    width: auto; 
    text-decoration: none; 
    text-align: center; 
    color: white; 
    font-weight: bold; 
    margin-top: 1%;
    margin-left: 1%;
    margin-right: 1%;
    background: rgba(32,32,32,1.0);
    z-index: 5;
    -webkit-box-shadow: 0px 0px 0px #000000;
    -moz-box-shadow: 0px 0px 0px #000000;
    box-shadow: 0px 0px 0px #000000;
    transition: all 200ms linear;
	/*transition: opacity 200ms linear; */
    
} 

.button:focus {
   outline: none;
   z-index: 15;
   -webkit-box-shadow: 0px 5px 45px #ffffff;
   -moz-box-shadow: 0px 5px 45px #ffffff;
   box-shadow: 0px 0px 45px #ffffff;
   border: 3px solid #ffffff;
   background: rgba(128,128,128,1.0);
}

.input {
   z-index: 5;
   background: rgba(128,128,128,0.5);
   -webkit-box-shadow: 0px 0px 0px #000000;
   -moz-box-shadow: 0px 0px 0px #000000;
   box-shadow: 0px 0px 0px #000000;
   transition: all 200ms linear;
   border: none;

}

.input:focus {
   z-index: 15;
   background: rgba(255,255,255,1.0);
   -webkit-box-shadow: 5px 5px 45px #ffffff;
   -moz-box-shadow: 5px 5px 45px #ffffff;
   box-shadow: 5px 5px 45px #ffffff;
   border: none;
}

.menu_filler {
    position: relative; 
    display: block;
    margin-left: 1%; 
    margin-right: 1%;
    margin-top: 1%; 
    width: auto; 
    background: rgba(0,0,0,0.0); 
    z-index: -2;
    overflow: hidden;
}

#credits_container {
    position: relative; 
    top: 0px; 
    left: 0px; 
    height: 2920px;
    background: rgba(0,0,0,0.0);
}

.selector {
    width: auto; 
    border: 3px solid rgba(64,64,64,1.0); 
    height: 20%; 
    margin-right: 1%; 
    margin-top: 1%; 
    margin-left: 1%;
    overflow: hidden;
    background: rgba(32,32,32,1.0);
    z-index: 5;
    -webkit-box-shadow: 0px 0px 0px #000000;
    -moz-box-shadow: 0px 0px 0px #000000;
    box-shadow: 0px 0px 0px #000000;
    transition: all 200ms linear;
}

.selector:focus {
   outline: none;
   z-index: 15;
   -webkit-box-shadow: 0px 5px 45px #ffffff;
   -moz-box-shadow: 0px 5px 45px #ffffff;
   box-shadow: 0px 0px 45px #ffffff;
   border: 3px solid #ffffff;
   background: rgba(32,32,32,1.0);
}

.slider {
    width: auto; 
    border: 3px solid rgba(64,64,64,1.0); 
    height: 6.15%; 
    margin-right: 1%; 
    margin-top: 1%; 
    margin-left: 1%;
    overflow: hidden;
    background: rgba(32,32,32,1.0);
    z-index: 5;
    -webkit-box-shadow: 0px 0px 0px #000000;
    -moz-box-shadow: 0px 0px 0px #000000;
    box-shadow: 0px 0px 0px #000000;
    transition: all 200ms linear;
}

.slider:focus {
   outline: none;
   z-index: 215;
   -webkit-box-shadow: 0px 5px 45px #ffffff;
   -moz-box-shadow: 0px 5px 45px #ffffff;
   box-shadow: 0px 0px 45px #ffffff;
   border: 3px solid #ffffff;
   background: rgba(32,32,32,1.0);
}

.buttonLabel {
    width: 100%; 
    height: 100%; 
}

.color_container {
    position: absolute; 
    width: 16%; 
    height: 54%; 
    top: 34%; 
    background: rgba(0,0,0,0.5); 
    border: 1px solid white;   
}

.glow {
    -webkit-box-shadow: 0px 0px 45px #ffffff;
    -moz-box-shadow: 0px 0px 45px #ffffff;
    box-shadow: 0px 0px 45px #ffffff;
    z-index: 35;
}

.left_arrow {
    opacity: 0.0;
}

.right_arrow {
    opacity: 0.0;
}

#ingame_UI_container {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.0;
    transition: opacity 200ms linear;
}

.instructions_page {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.0;
    transition: opacity 200ms linear;
    background: rgba(0,0,0,0.0);
}
