/*
 * Copyright (C) 2016 Jan-Dirk van Dingenen
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

@import url(https://fonts.googleapis.com/css?family=Gloria+Hallelujah);

body {
    background-color:rgb(30,30,30);    
    background-repeat: no-repeat;
    background-size:cover;
    padding:0;
    margin:0;
    font-family: monospace;
}

#game {
    width: 1200px;
    cursor: default;
    margin-left: auto;
    margin-right: auto;
    height: 855px;
    margin-top: 20px;
    border: solid 2px rgb(197, 85, 0);
    overflow: hidden;
    border-radius: 4px;
}

#game.paused:before {
    position: absolute;
    pointer-events: none;
    content: 'paused';
    color: rgba(0, 0, 0,0.3);
    font-size: 300px;
    z-index: 1;
    text-transform: uppercase;
    width: 1200px;
    height: 700px;
    text-align: center;
    line-height: 700px;
    font-weight: bold;    
}

#canvasContainer {
    display:inline-block;   
    border-radius: 4px 4px 0px 0px;
    background-color: rgba(255, 255, 255,0.4);
    height:700px;
    width:1200px;  
    box-sizing: border-box;
    position: relative;
    background-image: url(background.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

div#canvasOverlay {
    width: 1200px;
    height: 700px;
    position: absolute;
    top: 0px;
    left: 0px;
    padding: 0;
    box-sizing: border-box;
    border-radius: 5px;
}

#actionBar {
    width:1200px;
    height:155px;
    display:inline-block;
    background-color: rgba(50,50, 50,0.9);
    margin-top: -2px;
    box-sizing: border-box;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.unit {
    background-image:url(army.png);
    background-repeat: no-repeat;
    background-position: 0 0;
    display:inline-block;
    width:75px;
    height:100px;
    cursor:move;
    position:relative;
}

.unit .unitName, .unit .unitCost {
    font-variant: small-caps;
    position: absolute;
    color: rgb(255, 255, 255);
    width: 100%;
    text-align: center;
    font-size: 95%;
    font-weight: 100;
    text-rendering: optimizeLegibility;
    text-shadow: 0px 0px 2px rgb(0, 0, 0);
}

.unit .unitName {    
    top: 3px;
}

.unit .unitCost {    
    bottom: -15px;
}

.unit.unitNothing:before {
    width: 5px;
    height: 70px;
    margin-top: 0px;
    background: rgb(197, 85, 0);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(30deg);
    content: ' ';
    position: absolute;
    top: 20px;
    left: 37.5px;
}

.unit.unitNothing:after {
    width: 5px;
    height: 70px;
    margin-top: 0px;
    background: rgb(197, 85, 0);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(-30deg);
    content: ' ';
    position: absolute;
    top: 20px;
    left: 37.5px;
}

.gridRow {
    padding:0;
    margin:0;
    height:100px;
}

.gridLoc  {
    width:75px;
    height:100px;
    display:inline-block;
    box-sizing: border-box;
    background-color:transparent;
    border-right: solid 1px rgba(0,0,0,0.1);
    border-bottom: solid 1px rgba(0,0,0,0.1);
}

.gridLoc.canDrop {
    border:solid 0.1px rgba(0, 0, 0, 0.1);
}

.gridLoc.dropHere {
    background-color:rgba(0,0,0,0.1);
    border:solid 1px rgba(197, 85, 0, 1) !important;
}

.enemyGrid  {
    width:75px;
    height:100px;
    display:inline-block;
    box-sizing: border-box;
}

#unitPicker {
    height:125px;   
    position: relative;
}

div#pickerInfo, div#battleInfo {
    position: absolute;
    top: 50px;
    left: 700px;
    border:solid 1px rgba(197, 85, 0, 1);
    padding: 20px;
    background-color: rgba(255,255,255,1);
    width: 200px;
    border-radius: 3px;
    cursor:move;
    z-index: 10;
    display:none;
}

#pickerInfo #pickerTitle {
    position: absolute;
    top: -23px;
    left: 75px;
    text-align: center;
    font-size: 30px;
    text-transform: uppercase;
    font-weight: bolder;
    border:solid 1px rgba(197, 85, 0, 1);
    background-color: rgb(255, 255, 255);
    padding: 0px 10px;
    border-radius: 3px;
    color: rgba(197, 85, 0, 1);
}

#pickerInfo button {
    width: 100%;
    height: 35px;
    margin-top: 20px;
    cursor:pointer;
    border:solid 1px rgba(197, 85, 0, 0.5);
    background-color:rgba(197, 85, 0, 0.1);
    outline:none;
}

div#battleInfo {
    width: 500px;
    left:35px;
    top:50px;
}

#battleInfo #battleTitle {
    position: absolute;;
    top: -20px;
    text-align: center;
    font-size: 30px;
    text-transform: uppercase;
    font-weight: bolder;
    border: solid 1px rgb(197, 85, 0);
    background-color: rgb(255, 255, 255);
    padding: 0px 10px;
    border-radius: 3px;
    color: rgb(197, 85, 0);
    display: inline-block;
    left: 50%;
    transform: translate(-50%, 0%);
}

#battleInfo #battlePicker {
    width:100%;
    margin-top: -34px;
    margin-bottom: 10px;
}

div#battleNavigator {
    text-align: center;
    clear: both;
    padding-top: 15px;
}

#battleInfo .battleSwitch, #unitHelp .battleSwitch {
    display: inline-block;
    cursor: pointer;
    border: solid 1px rgba(197, 85, 0, 0.5);
    background-color: rgba(197, 85, 0, 0.1);
    padding: 8px;
    width: 100px;
    text-align: center;
    margin-top: 13px;
}

.battleSwitch.switchLeft, .battleSwitch.battlePVE  {
    float: left;
}

.battleSwitch.switchRight, .battleSwitch.battlePVP {
    float: right;
}

#battleInfo .battleSwitch.createPvpArmy {
    width: 150px;
}

#battleInfo .battleSwitch.buttonActive {
    box-shadow: 0px 0px 10px rgb(197, 85, 0);
    border-style: inset;
}

#battleInfo #battleScores {
    text-align: center;
    margin-bottom: 8px;
    text-transform: uppercase;
    color: rgb(197, 85, 0);
    font-size: 30px;
    font-weight: bolder;
    padding: 5px;
    border-bottom: solid 1px rgb(197, 85, 0);
}

#battleInfo .highscore {
    width: 240px;
    display: inline-block;
    border: solid 1px rgb(197, 85, 0);
    border-radius: 3px;
    overflow: hidden;
    vertical-align: top;
}

#battleInfo .highscore.lord {
    margin-right:8px;
}

#battleInfo .highscore .highscoreTitle {
    text-align: center;
    font-weight: bold;
    font-size: 150%;
    font-variant: small-caps;
}

#battleInfo .highscore .scores li {
    padding: 3px 10px;
}

.scores span, .pvpscores span {
    display: inline-block;
    width: 125px;
}

.pvpreplays span {
    font-weight: bolder;
    color: rgb(197, 85, 0);
}

ol li:first-child {
    font-weight: bolder;
    color: rgb(197, 85, 0);
}



.icon {
    position:relative;
}

.icon:before, .icon:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0px;
}

span.startIcon:before {
    left: -16px;
    border: 8px solid rgba(0, 0, 0, 0);
    border-width: 8px 12px;
    border-left-color: rgb(197, 85, 0);
    margin-top: -9px;
    background: rgba(0, 0, 0, 0);
}

span.startIcon:after {
    top: 50%;
    left: 2px;
    margin: -8px 0 0;
    background: rgb(197, 85, 0);
}

span.nextIcon.icon {
    margin-left: 10px;
}

span.nextIcon:before {
    left: 8px;
    border-width: 7px 0 7px 8px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0) rgb(197, 85, 0);
    margin-top: -7px;
    background: rgba(0, 0, 0, 0);
}

span.nextIcon:after {
    left: 0;
    width: 8px;
    height: 6px;
    margin-top: -3px;
    background: rgb(197, 85, 0);
}

span.prevIcon.icon {
    margin-right: 25px;
}

span.prevIcon.icon:before {
    left: 0px;
    border-width: 7px 8px 7px 0;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0) rgb(197, 85, 0);
    margin-top: -7px;
    background: rgba(0, 0, 0, 0);
}

span.prevIcon.icon:after {
    left: 8px;
    width: 8px;
    height: 6px;
    margin-top: -3px;
    background: rgb(197, 85, 0);
}

span.powerIcon {
    margin-right: 20px;
    position: relative;
    top: -1px;
}

span.powerIcon.icon:before {
    left: 1px;
    width: 10px;
    height: 10px;
    border: 2px solid rgb(197, 85, 0);
    margin: -8px 0 0;
    margin-top: -6px;
    background: rgba(0, 0, 0, 0);
    border-radius: 16px;
}

span.powerIcon.icon:after {
    left: 6px;
    width: 2px;
    height: 7px;
    border: 1px solid #FAEEE6;
    margin: -8px 0 0;
    background: rgb(197, 85, 0);
}

span.backIcon {
    margin-right:20px;
}

span.backIcon:before {
    left: 4px;
    width: 7px;
    height: 7px;
    border-width: 0 0 3px 3px;
    border-style: solid;
    border-color: rgb(197, 85, 0);
    margin-top: -5px;
    background: rgba(0, 0, 0, 0);    
    transform: rotate(45deg);
}

span.backIcon:after {
    left: 3px;
    width: 13px;
    height: 4px;
    margin-top: -2px;
    background: rgb(197, 85, 0);
}

span.flagIcon {
    margin-right:25px;
}

span.flagIcon:before {
    margin: -8px 0 0;        
    left: 3px;
    width: 7px;
    height: 7px;
    margin-top: -5px;
    border-width: 7px 0 0 2px;
    border-style: solid;
    border-color: rgb(197, 85, 0);
    background: rgba(0, 0, 0, 0);
    transform: skewY(-8deg);
}

span.flagIcon:after {
    margin: -8px 0 0;  
    left: 9px;
    width: 6px;
    height: 7px;
    margin-top: -3px;
    background: rgb(197, 85, 0);
    transform: skewY(-6deg);
}

span.battleIcon {
    margin-right:25px;
}

span.battleIcon:before {
    margin: -8px 0 0;
    background: rgb(197, 85, 0);
    left: 4px;
    width: 16px;
    height: 5px;
    margin-top: 1px;
    border-radius: 5px 5px 0 0;
}

span.battleIcon:after {
    margin: -8px 0 0;
    background: rgb(197, 85, 0);
    left: 9px;
    width: 6px;
    height: 10px;
    margin-top: -7px;
    border-radius: 5px 5px 5px 5px / 5px 5px 10px 10px;
}

span.infoIcon {
    margin-right:25px;
}

span.infoIcon:before {
    content: "i";
    left: 3px;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    font-size: 14px;
    font-weight: bold;
    font-style: italic;
    line-height: 15px;
    text-align: center;
    color: rgb(255, 255, 255);
    background: rgb(197, 85, 0);
    border-radius: 16px;
}

.pvpHighRow {
    cursor:pointer;
}

.pvpHighRow:hover {
    background-color:#FAEEE6;
}

ul.pvpreplays {
    padding-left: 5px;
}

li.pvpReplayRow {
    list-style:none;
    padding-left: 30px;
}

li.pvpReplayRow:before {
    margin: -8px 0 0;
    background: rgb(197, 85, 0);
    left: 2px;
    width: 14px;
    height: 12px;
    margin-top: -6px;
    border-radius: 2px;
}

li.pvpReplayRow:after {
    margin: -8px 0 0;
    left: 14px;
    border-style: solid;
    border-width: 5px 6px 5px 0;
    border-color: rgba(0, 0, 0, 0);
    border-right-color: rgb(197, 85, 0);
    margin-top: -5px;
    background: rgba(0, 0, 0, 0);
}


 #pickerInfo #armyPoints {
    font-size: 125%;
    font-weight: bold;
}

#unitInfo {
    margin-top: 10px;
}

#unitInfo .unit,  #unitInfo img {
    float:left;
}

#unitInfo .infoRight {
    float: left;
    width: 125px;
}

#unitInfo .infoName {
    font-variant: small-caps;
    font-size: 18px;
    width: 100%;
    color: rgb(197, 85, 0);
    padding-left: 0px;
}

#unitInfo .infoLabels {
    float:left;
    width:65px;
    text-align: right;
    margin-right:10px;
}

#unitInfo .infoValues {
    float:left;
    width:50px;
    font-weight:bold;
}

#unitInfo .infoSpecial {
    width: 100%;
    padding-top: 10px;
    clear: both;
}

#unitInfo .infoBottom {
    clear: both;
    width: 200px;
}

#unitInfo .infoBottom .infoBottomRight, #unitInfo .infoBottom .infoBottomLeft {
    width: 100px;
    float: left;
}

#unitInfo .infoBottom .infoValues {
    width:25px;
}

#unitInfo #poisonEffect {
    width:75px;
    height:75px;
    position:absolute;
    top:15px;
    z-index:0;
    background-image:url(effects.png);
    background-repeat: no-repeat;
    background-position: -75px -150px;
    opacity:0.8;
}

.backButton {
    position: absolute;
    top: 0px;
    right: 0px;
    padding: 10px;
    cursor: pointer;
    border: solid 1px rgba(197, 85, 0, 0.5);
    background-color: rgba(197, 85, 0, 0.1);
    text-align: center;
    width: 70px;
}

#gameControls {
    display:none;
    width: 1200px;
    cursor: default;
    margin-left: auto;
    margin-right: auto;
    height: 140px;
    overflow: hidden;
    border-radius: 4px;
}

#gameControls .controller {
    display:inline-block;
    color:#E3E3E3;
    font-variant: small-caps;
    height: 70px;
    padding: 10px;
    vertical-align: top;
    margin:0px 40px;
}

#gameControls .controlHeader {
    text-align: center;
    font-size:15px;
}

#gameControls .slideMin, #gameControls .slideMax {
    display: inline-block;
    position: relative;
    top: -10px;
}

#gameControls #speedSlider {
    border: 1px solid rgb(170, 170, 170);
    background: #fff;
    color: rgb(34, 34, 34);
    width:500px;
    height:20px;
    border-radius:4px;
    position: relative;
    display: inline-block;
    margin: 10px;
}

#gameControls #speedSlider .ui-slider-range {
    position: absolute;
    z-index: 1;
    display: block;
    border: 0;
    background-position: 0 0;
    left:0;
    width:50%;
    background: #C55500;
    top: 0;
    height: 100%;
    border-radius: 4px;
}

#gameControls #speedSlider .ui-slider-handle {
    position: absolute;
    z-index: 2;
    width: 26px;
    height: 26px;
    cursor: default;
    -ms-touch-action: none;
    touch-action: none;
    top: -3px;
    margin-left: -13px;
    border: 1px solid rgb(211, 211, 211);
    background: rgb(230, 230, 230);
    background: radial-gradient(ellipse at center, rgba(252,255,244,1) 0%,rgba(179,190,173,1) 100%);
    outline: none;
    cursor: ew-resize;
    border-radius: 12px;
}

#pvpMenu {
    display:none;
}

#battleTypeHolder {    
    width: 100%;
    text-align: center;
}

.ui-widget-overlay {
    background-color: rgba(0,0,0,0.8);    
    width: 1200px;
    height: 855px;
    margin-top: 20px;
    border: solid 2px rgb(197, 85, 0);
    border-radius: 4px;
    position:absolute;
    top:0px;
    left:50%;
    transform: translate(-50%, 0%);
}

.ui-dialog.ui-widget {
    z-index:999;
    border:solid 2px rgba(197, 85, 0, 1);
    padding: 20px 20px 0px 20px;
    background-color: rgba(255,255,255,1);
    border-radius: 3px;    
    outline: none;
}

.ui-dialog-titlebar {
    border: solid 1px rgb(197, 85, 0);
    display: inline-block;
    padding: 5px 13px;
    color: rgb(197, 85, 0);
    border-radius: 2px;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: bolder;
    position: absolute;
    background-color: rgb(255, 255, 255);
    top: -18px;
    left: 50%;
    transform: translate(-50% ,0);
    cursor:move;
    white-space: nowrap;
}

div#DLname {
    padding: 16px 16px;
    box-sizing: border-box;
}

#DLname .DLinputName {
    font-size: 20px;
    width: 250px;
    height: 45px;
    line-height: 45px;
    padding-left: 15px;
    outline: none;
}

.ui-dialog-titlebar-close {
    display: none;
}

.ui-dialog-content button {
    float: right;
    display: inline-block;
    cursor: pointer;
    border: solid 1px rgba(197, 85, 0, 0.5);
    background-color: rgba(197, 85, 0, 0.1);
    padding: 8px;
    width: 100px;
    text-align: center;
    margin-top: 13px;
    outline:none;
}

.ui-dialog-content button.pvpContinue {
    margin-bottom: 20px;
    float: left;
}

.ui-dialog-content button.Gameclose {
    margin-bottom: 20px;
}

#gameover {
    display:none;
}

#gameover .gameOverText {
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

#gameover .gameOverText span {
    font-weight: bold;
    color: rgba(197, 85, 0, 1);
}

#unitHelp {
    display:none;    
}

#unitHelp .infoPage {
    font-family: 'Gloria Hallelujah', cursive;
    width: 45%;
    font-size: 20px;
    color: rgb(68, 51, 51);
}

#unitHelp .infoPage h1 {
    font-variant: small-caps;
}

#unitHelp .battleSwitch.infoLeft {
    position:absolute;
    bottom:20px;
    left:20px;
}

#unitHelp .battleSwitch.infoClose {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%,0%);
}


#unitHelp .battleSwitch.infoRight {
    position:absolute;
    bottom:20px;
    right:20px;
}

.ui-dialog {
    background-repeat: no-repeat;
}

#other {
    position:absolute;
    top:3px;
    right:5px;
}

#other a {
    font-family: monospace;
    color:rgba(255,255,255,0.5);
    font-size:75%;
}

::selection, button::selection {
  background: transparent;
}
::-moz-selection, button::-moz-selection {
  background: transparent; 
}

.DLinputName::selection, button::selection {
  background: #CA661A;
  color:#fff;
}
.DLinputName::-moz-selection, button::-moz-selection {
  background: #CA661A; 
  color:#fff;
}

div#questionMark {
    display:none;
    width: 600px;
    height: 700px;
    position: absolute;
    right: 0px;
    top: 0px;
    line-height: 700px;
    background: rgba(0, 0, 0, 0);
    color: rgba(0,0,0,0.1);
    font-size: 700px;
    text-align: center;
    overflow: hidden;
    font-family: arial;
    font-weight: bolder;
}

.controller .cycle {
  border-radius: 5px;
  box-shadow: 0 0 10px 0 rgba(0,0,0,0.5);
  display: inline-block;
  text-align: center;
  position: relative;
  height: 70px;
  width: 80px;

  -webkit-perspective: 479px;
  -moz-perspective: 479px;
  -ms-perspective: 479px;
  -o-perspective: 479px;
  perspective: 479px;

  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -o-backface-visibility: hidden;
  backface-visibility: hidden;

  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);

  -webkit-transform: translate3d(0,0,0);
  -moz-transform: translate3d(0,0,0);
  -ms-transform: translate3d(0,0,0);
  -o-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}
.controller .count {
  background: #202020;
  color: #f8f8f8;
  display: block;
  font-size: 40px;
  line-height: 70px;
  overflow: hidden;
  position: absolute;
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
  top: 0;
  width: 100%;

  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);

  -webkit-transform-style: flat;
  -moz-transform-style: flat;
  -ms-transform-style: flat;
  -o-transform-style: flat;
  transform-style: flat;
}
.controller .count.top {
  border-top: 1px solid rgba(255,255,255,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  border-radius: 5px 5px 0 0;
  height: 50%;

  -webkit-transform-origin: 50% 100%;
  -moz-transform-origin: 50% 100%;
  -ms-transform-origin: 50% 100%;
  -o-transform-origin: 50% 100%;
  transform-origin: 50% 100%;
}
.controller .count.bottom {
  background-image: linear-gradient(rgba(255,255,255,0.1), transparent);
  background-image: -webkit-linear-gradient(rgba(255,255,255,0.1), transparent);
  background-image: -moz-linear-gradient(rgba(255,255,255,0.1), transparent);
  background-image: -ms-linear-gradient(rgba(255,255,255,0.1), transparent);
  background-image: -o-linear-gradient(rgba(255,255,255,0.1), transparent);
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  border-radius: 0 0 5px 5px;
  line-height: 0;
  height: 50%;
  top: 50%;

  -webkit-transform-origin: 50% 0;
  -moz-transform-origin: 50% 0;
  -ms-transform-origin: 50% 0;
  -o-transform-origin: 50% 0;
  transform-origin: 50% 0;
}

/* Animation start */
.controller .count.curr.top {
  -webkit-transform: rotateX(0deg);
  -moz-transform: rotateX(0deg);
  -ms-transform: rotateX(0deg);
  -o-transform: rotateX(0deg);
  transform: rotateX(0deg);
  z-index: 3;
}
.controller .count.next.bottom {
  -webkit-transform: rotateX(90deg);
  -moz-transform: rotateX(90deg);
  -ms-transform: rotateX(90deg);
  -o-transform: rotateX(90deg);
  transform: rotateX(90deg);
  z-index: 2;
}
/* Animation end */
.controller .flip .count.curr.top {
  -webkit-transition: all 250ms ease-in-out;
  -moz-transition: all 250ms ease-in-out;
  -ms-transition: all 250ms ease-in-out;
  -o-transition: all 250ms ease-in-out;
  transition: all 250ms ease-in-out;

  -webkit-transform: rotateX(-90deg);
  -moz-transform: rotateX(-90deg);
  -ms-transform: rotateX(-90deg);
  -o-transform: rotateX(-90deg);
  transform: rotateX(-90deg);
}
.controller .flip .count.next.bottom {
  -webkit-transition: all 250ms ease-in-out 250ms;
  -moz-transition: all 250ms ease-in-out 250ms;
  -ms-transition: all 250ms ease-in-out 250ms;
  -o-transition: all 250ms ease-in-out 250ms;
  transition: all 250ms ease-in-out 250ms;

  -webkit-transform: rotateX(0deg);
  -moz-transform: rotateX(0deg);
  -ms-transform: rotateX(0deg);
  -o-transform: rotateX(0deg);
  transform: rotateX(0deg);
}

.controller #pauseGame, .controller #playGame, .controller #stopGame {
    padding: 18px;
    display: inline-block;
    cursor: pointer;
    margin-top: 15px;
    margin-left: 25px;
}

.controller #pauseGame:before {
    width: 6px;
    height: 30px;
    border: 4px solid rgb(197, 85, 0);
    border-width: 0 11px;
    margin-top: -17px;
    left: 2px;
} 

.controller #playGame:before {
    left: 2px;
    border: 8px solid rgba(0, 0, 0, 0);
    border-width: 16px 21px;
    border-left-color: rgb(197, 85, 0);
    margin-top: -17px;
}

.controller #stopGame:before {
    left: 2px;
    background-color: #C55500;
    width: 30px;
    height: 30px;
    margin-top: -15px;
}