@font-face {
    font-family: 'rustlerregular';
    src: url('fonts/rustler_-webfont.eot');
    src: url('fonts/rustler_-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/rustler_-webfont.woff') format('woff2'), url('fonts/rustler_-webfont.woff') format('woff'), url('fonts/rustler_-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'la_tequilaregular';
    src: url('fonts/latequila-webfont.eot');
    src: url('fonts/latequila-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/latequila-webfont.woff2') format('woff2'), url('fonts/latequila-webfont.woff') format('woff'), url('fonts/latequila-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'zabarsregular';
    src: url('fonts/zabars.regular-webfont.eot');
    src: url('fonts/zabars.regular-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/zabars.regular-webfont.woff2') format('woff2'), url('fonts/zabars.regular-webfont.woff') format('woff'), url('fonts/zabars.regular-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'liberationsans';
    src: url('fonts/LiberationSans.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'robotor';
    src: url('fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'robotob';
    src: url('fonts/Roboto-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    background-color: #0f0f0f;
    font-family: 'rustlerregular', cursive;
    font-family: 'la_tequilaregular', cursive;
    font-family: 'zabarsregular', cursive;
    font-family: 'edmundsregular', cursive;
}

#bg {
    background-repeat: repeat-x;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 1;
}

canvas {
    z-index: 100;
    position: fixed;
    background-color: rgb(83, 64, 28);
    margin-right: 0;
    margin-left: 0;
    left: 0;
    right: 0;
}

.modal {
    background-color: rgba(0, 0, 0, 0.9);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 105;
    display: none;
}

.login {
    /*background: url("../images/UI/modals/panel.png");*/
    background-repeat: no-repeat;
    margin: 0 auto;
    z-index: 110;
    width: 540px;
    height: 400px;
    position: absolute;
    display: none;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.login>.form-input {
    color: white;
    font-family: "metamorphousregular";
    font-size: 16px;
    float: left;
    margin-bottom: 40px;
    position: relative;
    left: 100px;
    top: 55px;
}

.login>.form-input input {
    background-color: rgba(255, 255, 255, 0);
    background-image: url("../images/UI/masteries/mastery-bar.png");
    color: white;
    font-family: "metamorphousregular";
    font-size: 14px;
    display: block;
    width: 320px;
    height: 58px;
    border: none;
    padding-left: 20px;
    background-repeat: no-repeat;
    -webkit-touch-callout: none;
    /* prevent callout to copy image, etc when tap to hold */
    -webkit-text-size-adjust: none;
    /* prevent webkit from resizing text to fit */
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    /* prevent tap highlight color / shadow */
    -webkit-user-select: none;
    outline-width: 0;
    outline: none;
}

.login img {
    position: relative;
    display: block;
    margin: 0 auto;
    top: 30px;
    cursor: pointer;
}

.nameModal {
    width: 407px;
    height: 302px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    visibility: hidden;
    z-index: 999;
    position: absolute;
}

.nameModalBG {
    background-image: url("../images/modal.png");
    width: 407px;
    height: 302px;
    display: block;
}

div.label {
    font-family: "averia_gruesa_libreregular";
    font-size: 34px;
    color: #000000;
    text-align: center;
    top: 50px;
    position: relative;
}

.nameModalBtn {
    color: #000;
    font-family: "averia_gruesa_libreregular";
    font-size: 22px;
    text-align: center;
    position: relative;
    margin: 0 auto;
    top: 125px;
    height: 55px;
    cursor: pointer;
}

.nameModalBtn>span {
    font-family: "averia_gruesa_libreregular";
    font-size: 22px;
    text-align: center;
    top: -44px;
    position: inherit;
}

.bgImage:hover {
    background-image: url("../images/button_hover.png");
}

.bgImage {
    background-image: url("../images/button_normal.png");
    margin: 0 auto;
    height: 55px;
    background-repeat: no-repeat;
    left: 50%;
    width: 149px;
}

.nameModal-input {
    background: #ededed;
    height: 40px;
    width: 60%;
    top: 80px;
    margin: 0 auto;
    display: block;
    position: relative;
    font-size: 22px;
}