/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */

/**
 * 1. Change the default font family in all browsers (opinionated).
 * 2. Correct the line height in all browsers.
 * 3. Prevent adjustments of font size after orientation changes in
 *    IE on Windows Phone and in iOS.
 */

/* Document
   ========================================================================== */

html {
  font-family: sans-serif; /* 1 */
  line-height: 1.15; /* 2 */
  -ms-text-size-adjust: 100%; /* 3 */
  -webkit-text-size-adjust: 100%; /* 3 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers (opinionated).
 */

body {
  margin: 0;
}

/**
 * Add the correct display in IE 9-.
 */

article,
aside,
footer,
header,
nav,
section {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 * 1. Add the correct display in IE.
 */

figcaption,
figure,
main { /* 1 */
  display: block;
}

/**
 * Add the correct margin in IE 8.
 */

figure {
  margin: 1em 40px;
}

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * 1. Remove the gray background on active links in IE 10.
 * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
 */

a {
  background-color: transparent; /* 1 */
  -webkit-text-decoration-skip: objects; /* 2 */
}

/**
 * Remove the outline on focused links when they are also active or hovered
 * in all browsers (opinionated).
 */

a:active,
a:hover {
  outline-width: 0;
}

/**
 * 1. Remove the bottom border in Firefox 39-.
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
 */

b,
strong {
  font-weight: inherit;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font style in Android 4.3-.
 */

dfn {
  font-style: italic;
}

/**
 * Add the correct background and color in IE 9-.
 */

mark {
  background-color: #ff0;
  color: #000;
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 */

audio,
video {
  display: inline-block;
}

/**
 * Add the correct display in iOS 4-7.
 */

audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Remove the border on images inside links in IE 10-.
 */

img {
  border-style: none;
}

/**
 * Hide the overflow in IE.
 */

svg:not(:root) {
  overflow: hidden;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers (opinionated).
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: sans-serif; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
 *    controls in Android 4.
 * 2. Correct the inability to style clickable types in iOS and Safari.
 */

button,
html [type="button"], /* 1 */
[type="reset"],
[type="submit"] {
  -webkit-appearance: button; /* 2 */
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Change the border, margin, and padding in all browsers (opinionated).
 */

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * 1. Add the correct display in IE 9-.
 * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
 * Remove the default vertical scrollbar in IE.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10-.
 * 2. Remove the padding in IE 10-.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in IE 9-.
 * 1. Add the correct display in Edge, IE, and Firefox.
 */

details, /* 1 */
menu {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Scripting
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 */

canvas {
  display: inline-block;
}

/**
 * Add the correct display in IE.
 */

template {
  display: none;
}

/* Hidden
   ========================================================================== */

/**
 * Add the correct display in IE 10-.
 */

[hidden] {
  display: none;
}


/*         RANGE-INPUT CSS         */
/* =============================== */

input[type=range].vranger{
   -webkit-transform: rotate(270deg);
           transform: rotate(270deg);
}

input[type=range] {
  -webkit-appearance: none;
  margin: 18px 0;
  width: 100%;
  width:125px;
}

input[type=range]:focus {
  outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 10px;
  cursor: pointer;
  animate: 0.2s;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  background: #3071a9;
  border-radius: 1.3px;
  border: 0.2px solid #010101;
}

input[type=range]::-webkit-slider-thumb {
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  border: 1px solid #000000;
  height: 36px;
  width: 26px;
  background: #ffffff;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -14px;
}

input[type=range]:focus::-webkit-slider-runnable-track {
  background: #367ebd;
}

input[type=range]::-moz-range-track {
  width: 100%;
  height: 10px;
  cursor: pointer;
  animate: 0.2s;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  background: #3071a9;
  border-radius: 1.3px;
  border: 0.2px solid #010101;
}

input[type=range]::-moz-range-thumb {
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  border: 1px solid #000000;
  height: 36px;
  width: 26px;
  background: #ffffff;
  cursor: pointer;
}

input[type=range]::-ms-track {
  width: 100%;
  height: 16px;
  cursor: pointer;
  animate: 0.2s;
  background: transparent;
  border-color: transparent;
  border-width: 16px 0;
  color: transparent;
}

input[type=range]::-ms-fill-lower {
  background: #2a6495;
  border: 0.2px solid #010101;
  border-radius: 2.6px;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}

input[type=range]::-ms-fill-upper {
  background: #3071a9;
  border: 0.2px solid #010101;
  border-radius: 2.6px;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}

input[type=range]::-ms-thumb {
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  border: 1px solid #000000;
  height: 36px;
  width: 26px;
  background: #ffffff;
  cursor: pointer;
}

input[type=range]:focus::-ms-fill-lower {
  background: #3071a9;
}

input[type=range]:focus::-ms-fill-upper {
  background: #367ebd;
}



/*         UI CSS         */
/* ======================== */


#hud{
  transition: all .5s linear;
    font: 16px uiFont;
    position: absolute;
    bottom:0;
    left:0;
    width:100%;
    height:100%;
    background:none;
    border:none;
}

#player-stats {
    margin: 0;
    top: 0;
    left: 5px;
    position: absolute;
}

#weapon-select{
    top:0;
    right:5px;
    position:absolute;
}

#score-board {
    margin: auto;
    text-align: center;
    margin: 0;
    position: absolute;
    left: 38%;
    top: 0;
}

#copyright{
    left:40%;
}
#angle-range-control{
    opacity:.6;
    /*
    position:absolute;
        bottom:0px;

    right:68px;
    */
    -webkit-transform:rotate(180deg);
            transform:rotate(180deg);
    
}

#force-range-control{
    opacity:.6;
    
    /*
    transform: rotate(270deg);
    position:absolute;
    bottom:115px;
    right:-46px; 
    */   
}

#fire-button{
    width:50px;
    height:50px;
    opacity:.7;
    position:absolute;
    bottom:5px;
    right:5px;
    background: url(images/ui/fire.png);
    background-size:cover;
    background-repeat: none;
}

#main-menu{
    position:absolute;
    top:0;
    z-index:1000;
}

.screen .menu-panel{
    width:100%;
    height:100%;
    max-width:700px;
    max-height:350px;
}

#main-menu.screen label{
    color:#63cbff;
}

#main-menu-button
{
    opacity:.5;
    font-size:20px;
    position:absolute;
    top:47%;
    left:-20px;
    -webkit-transform: rotate(90deg);
            transform: rotate(90deg);
}
#show-grid-button{
    opacity:.5;
    font-size:20px;
    position:absolute;
    left:-16px;
    top:65%;
    -webkit-transform: rotate(90deg);
            transform: rotate(90deg);
}
#main-menu-button:hover,
#show-grid-button:hover{
    opacity:1;
}

#player-selection{
    padding:0px;
    margin:0px;
}

li.player-score{
    display: inline;
    margin-right:5px;
}

#health-container{
    width: 50px;
    position: absolute;
    top: 13px;
    left: 105px;
}

#store-button{
    width:100px;
    height:18px;
    position: absolute;
    top:15px;
    left:0;
}

#player-name{
    position:absolute;
    top:0;
    left:0;

}

#player-force{
    /*
    position: absolute;
    right: 10px;
    bottom: 220px;
    */
}

#move-controls{
    left:3px;
    bottom:3px;
    position:absolute;

}
#angle-controls{
    right:65px;
    bottom:5px;
    position:absolute;
    opacity:.5;
}
#force-controls{
    right: -57px;
    bottom: 124px;
    -webkit-transform:rotate(270deg);
            transform:rotate(270deg);
    position:absolute;
    opacity:.5;
}

/*         MAIN CSS         */
/* ======================== */
@font-face {
  font-family: uiHeading;
  src: url(./fonts/armalite_rifle.woff);
}

@font-face {
  font-family: uiFont;
  /*src: url(./fonts/sf_atarian_system_extended_bold.woff);*/
  src: url(./fonts/armalite_rifle.woff);
}

@font-face {
  font-family: gameFont;
  src: url(./fonts/spincycle_ot.woff);
  /*src: url(./fonts/armalite_rifle.woff);*/
}

select{
  background: white;
  padding: 1px;
  border-radius: 5px;
}

button{
  cursor:pointer;
}

html,body{
  overflow-y:hidden;
  overflow-x:hidden;
  background:black;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
  padding:0px;
  margin:0px;
  height:100%;
  width:100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.togglebtn {
    outline:none;
    display: inline-block;
    position: relative;
    font: 14px uiFont,sans-serif;
    border: 1px solid black;
    border-radius: 6px;
    cursor: pointer;
    background: linear-gradient(to top right,rgba(170,190,255,1) 0%,rgba(255,255,255,1) 100%);
}

.togglebtn:active{
  -webkit-transform:scale(.95);
          transform:scale(.95);
}

.cell{
  -webkit-box-flex:1;
      -ms-flex:1;
          flex:1;
  margin:5px;
  text-align: center;
  vertical-align: middle;
}

.ui-button{
  width:25px;
  height:25px;
  background-size: cover;
  cursor:pointer;
  outline:none;
  vertical-align: middle;
}

.ui-image{
  pointer-events: none;
}

.ui-button:active{
  -webkit-transform: scale(.9);
          transform: scale(.9);
}

.ui-number{
  color: #6d6d6d;
  font: bold 14px sans-serif;
  margin-left: 2px;
  margin-right: 2px;
  min-width: 35px;
  padding: 2px 2px 0px 0px;
  text-align: center;
  vertical-align: middle;
}

.ui-label{
  color:#6d6d6d;
  /*background: rgba(255,255,255,.5);*/
  padding: 2px;  
}

.column, .row{
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  align-items: center;
}

.column{
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  margin:auto;
}

.row{
  margin-top:1px;
  margin-bottom:1px;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
}

.vector-container{
  width:75px;
}

  #player-name{
    min-width:100px;
    font-size:18px;
    color: blue;
  }

  #player-money{
    color:#158716;
  }

  #gravity-vector-canvas, #force-vector-canvas, #wind-vector-canvas{
    border:1px solid black;
    margin:auto;
  }

  #score-board .player-score{
    font-size:14px;
  }

#game{
  position:relative;
  margin:auto;
  background:black;

  

  /*
  -webkit-box-flex:1;
      -ms-flex:1;
          flex:1;
          */
}

@-webkit-keyframes shake {
  10%, 90% {
    -webkit-transform: rotate(0deg) translate3d(-1px, 0, 0);
            transform: rotate(0deg) translate3d(-1px, 0, 0);
  }

  20%, 80% {
    -webkit-transform: rotate(1deg) translate3d(2px, -1px , 0);
            transform: rotate(1deg) translate3d(2px, -1px , 0);
  }

  30%, 50%, 70% {
    -webkit-transform: rotate(0deg) translate3d(-2px, 2px, 0);
            transform: rotate(0deg) translate3d(-2px, 2px, 0);
  }

  40%, 60% {
    -webkit-transform: rotate(-1deg) translate3d(3px, -1px, 0);
            transform: rotate(-1deg) translate3d(3px, -1px, 0);
  }

}

@keyframes shake {
  10%, 90% {
    -webkit-transform: rotate(0deg) translate3d(-1px, 0, 0);
            transform: rotate(0deg) translate3d(-1px, 0, 0);
  }

  20%, 80% {
    -webkit-transform: rotate(1deg) translate3d(2px, -1px , 0);
            transform: rotate(1deg) translate3d(2px, -1px , 0);
  }

  30%, 50%, 70% {
    -webkit-transform: rotate(0deg) translate3d(-2px, 2px, 0);
            transform: rotate(0deg) translate3d(-2px, 2px, 0);
  }

  40%, 60% {
    -webkit-transform: rotate(-1deg) translate3d(3px, -1px, 0);
            transform: rotate(-1deg) translate3d(3px, -1px, 0);
  }

}

  #win{
    position:absolute;
    margin:auto;
  }

  #bg{
    background-repeat:no-repeat;
    background-size:cover;
    background-position:center;
    position: relative;
    top:0;
    left:0;
    width:100%;
    height:100%;

  }

  .screen{
    font:16px uiFont;
    height:100%;
    width:100%;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-flex:1;
        -ms-flex:1;
            flex:1;
    transition: all .3s linear;
    position:absolute;
  }

  .menu-panel{
    color:#fff;
    text-align: center;
    position: relative;
    background-color:rgba(10, 19, 24, 0.84);
    margin:auto;
    border: 2px solid rgba(0,0,0,1);
  }

  .menu-heading{
    width:100%;
    font:40px uiHeading;
    border-bottom:1px solid rgba(0,0,0,.5);
    background-color: #28424f;
    border-bottom-right-radius:40%;
    border-bottom-left-radius:40%;
  }

  .item-list{
    margin:0;
    padding:0;
  }
  .item-list li{
    display:inline-block;
  }

  .tooltip{
    position:absolute;
    top:0;
    left:0;
    color:orange;
    display:none;
    background:rgba(0,0,0,.8);
    width:100%;
    height:80%;
    margin:0;
    padding:0;
    padding-top:20%;
    font-size:10px;
  }

  .item{
    font:12px sans-serif;
    background-color: rgba(18, 21, 25, 0.73);
    margin:5px;
    height:64px;
    /*width:125px;*/
    width:64px;
    position: relative;
    border:1px solid #313131;
    border-radius: 6px;
  }
  .item:hover .tooltip{
    display:block;
  }
  .item:hover{
    box-shadow: rgb(243, 246, 179) 0px 0px 6px 3px;
  }

  .item-img{
    margin-top:15px;
    width:32px;
    height:32px;
  }

  .item-text{
    position: absolute;
    font-size:10px;
    left:3px;
    top:0;
  }

  .item-count{
    font-size:10px;
    position:absolute;
    left:3px;
    bottom:0;
  }

  .item-cost{
    font:12px gameFont;
    color:#379837;
    position:absolute;
    bottom:0;
    right:3px;
  }

  .player-select-box{
    font: 15px Verdana;
    color:white;
    margin:3px;
    padding:4px;
    border-radius: 10px;
    /*border: 1px solid black;*/
    border:none;
    display: inline-block;
  }

  .menu-section-title{
    padding:3px;
    margin:3px;
    background:black;
  }

  #flash-message {
    pointer-events: none;
    text-shadow: 2px 2px black;
    font: 64px gameFont;
    width:100%;
    color:white;
    text-align: center;
    position: absolute;
    top: 50%; left:50%;
    -webkit-transform: translate(-50%,-50%);
            transform: translate(-50%,-50%);
  }

  #store-menu .menu-panel{
    width:380px;
    height:340px;
    overflow:auto;
  }

  #store-menu .menu-heading{
    font-size:26px;
  }

  #wind-control{
    position: absolute;
    bottom:25px;
    right:0;
  }

  #grid-info-panel{
    font-family:monospace,sans-serif;
    font-size: 16px;
    z-index:1000;
    cursor:pointer;
    display:none;
    border-radius:5px;
    padding:10px;
    transition:all 1s;
    width:300px;
    height:280px;
    position:absolute;
    top:-250px;
    right:0;
    opacity:.3;
    /*
    -webkit-transform:translateX(-50%);
            transform:translateX(-50%);
            */
    background:#bbb;
  }

  #copyright{
    text-shadow: 1px 1px white;
    position:absolute;
    bottom:3px;
    right:15px;
    font:10px Arial;
    color: black;
  }

  #crosshair{
    position:absolute;
    z-index:100;
    display:none;
    -webkit-transform: translate(-50%,-50%);
            transform: translate(-50%,-50%);
  }

  .hidden{
    display:none;
  }

#load-screen{
  width:100%;
  height:100%;
  background:url(images/bg/help.jpg);
  background-repeat: no-repeat;
  background-size:auto;
  background-position:center;
  background-color:white;
  z-index:1001;
  position:absolute;
  top:0;
  left:0;
}

#load-screen h1{
  cursor:pointer;
  text-align:center;
  width:225px;
  color:black;
  font-family:'uiFont';
  font-size:40px;
  position:absolute;
  top:50%;
  left:50%;
  -webkit-transform:translate(-50%,-50%) rotate(2deg);
          transform:translate(-50%,-50%) rotate(2deg);
  margin:0;
  padding:0;
}

#explosion,
#explosion-nuke{
  position:absolute;
  top:0;
  left:0;
}

#grid-canvas{
  background:rgba(0,0,0,.5);
  display:none;
}

#canvas-container{
  width:100%;
  height:100%;
}
canvas{
  margin:auto;
  position:absolute;
  bottom:0;
  left:0;
}

#weather-scroll {
  width: 100%;
  height: 100%;
  /*background: url(images/textures/clouds.png);*/
  background-repeat:repeat-x;
  -webkit-animation: backgroundScrollHorizontal 20s linear infinite;
  animation: backgroundScrollHorizontal 20s linear infinite;
  position: fixed;
  top: 0;
  left: 0;
}

/*Right to left*/
@-webkit-keyframes backgroundScrollHorizontal {
  from {background-position: 0 0;}

  to {background-position: -400px 0;}

}

@keyframes backgroundScrollHorizontal {
  from {background-position: 0 0;}

  to {background-position: -400px 0;}

}

/*Down*/
@-webkit-keyframes backgroundScrollVertical {
  from {background-position: 0 0;}

  to {background-position: -400px 0;}

}

@keyframes backgroundScrollVertical {
  from {background-position: 0 0;}

  to {background-position: -400px 0;}

}

/*Diagonal*/
@-webkit-keyframes backgroundScrollDiagonal {
  from {background-position: 0 0;}

  to {background-position: -400px 0;}

}

@keyframes backgroundScrollDiagonal {
  from {background-position: 0 0;}

  to {background-position: -400px 0;}

}

#skip-ai-match-button{
  padding:5px 10px;
  position:absolute;
  top:50%;
  left:50%;
  -webkit-transform:translate(-50%,-50%);
          transform:translate(-50%,-50%);
}
/*         MOBILE CSS         */
/* ======================== */

@media (max-width:800px){
    /*
    .screen{
        font-size:12px;
    }

    .ui-label, .togglebtn{
        font-size:14px !important;
    }

    #show-grid-button{
        display:none;
    }

    #fullscreen-button {
        display: none;
    }
    */
}

