#svg{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  fill: none;
  pointer-events: none;
}

#line{
  stroke-width:6px;
  stroke-linecap: round;
  stroke-dasharray: 3 12;
  stroke: rgb(230,230,230);
  top: -100px;
  left: -100px;
  z-index: -9;
}


.bullet{
  width: 20px;
  height: 20px;
  background: rgb(230,230,230);
  position: absolute;
  border-radius: 50%;
  top: -100px;
  left: -100px;
}


html{
  min-width: 600px;
  margin: 0px auto;
  padding: 0px;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -o-font-smoothing: antialiased;
  touch-action: manipulation;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

body{
  text-align: center;
  background-color: rgb(205,200,195);
  font-family: 'Courier New', serif;
  text-size-adjust: none;
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: none;
  width: 600px;
  display: block;
  margin: 0px auto;
  padding: 0px;
  color: rgb(50,50,50);
}

/* CRUSSATO NAME & MOTTO */
#header{
  margin: 0 auto;
  position: relative;
  display: block;
}

.header-title{
  font-family: "Montserrat Alternates", sans-serif;
  margin: 10px 0px 0px 0px;
  font-size: 55px;
  line-height: 55px;
  font-weight: 900;
}

.header-motto{
  font-family: "Montserrat Alternates", sans-serif;
  margin: 0px 0px 10px 0px;
  font-size: 20px;
  font-weight: 700;
}

.logo-icon{
  display: block;
  width: 150px;
/*  height: 150px;*/
  margin: 0 auto;
}

.play-now{
  font-family: "Montserrat Alternates", sans-serif;
  font-size: 32px;
  font-weight: 900;
  line-height: 54px;
  width: 230px;
  height: 50px;
  margin: 20px auto;
  border: solid 5px rgb(220, 160, 50);
  border-radius: 10px;
  display: block;
  -webkit-user-select: none;  
  -moz-user-select: none;    
  -ms-user-select: none;      
  user-select: none;
}

.level-section{
  font-family: 'Montserrat Alternates', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin: 10px auto;
}

.level-text{
  font-family: 'Montserrat Alternates', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin: 14px auto;
  margin-right: 20px;
}

#gamelevel{
  margin-top: 50px;
  margin-bottom: 10px;
}

#gamelevel label {
  display: inline-block;
  width: 100px;
  padding: 5px;
  margin: 0px 10px;
  border: solid 3px rgb(175,175,175);
  border-radius: 5px;
  transition: all 0.15s;
}

#gamelevel input[type="radio"] {
  display: none;
}
#gamelevel input[type="radio"]:checked + label {
  border: solid 3px rgb(220, 160, 50);
}

.show-rules{
  font-family: "Montserrat Alternates", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 38px;
  width: 150px;
  height: 35px;
  margin: 40px auto;
  border: solid 3px rgb(220, 160, 50);
  border-radius: 5px;
  display: block;
  -webkit-user-select: none;  
  -moz-user-select: none;    
  -ms-user-select: none;      
  user-select: none;
}

.invisible{
  display: block;
  color: rgba(205,200,195,0);
  height: 0px;
  margin: 0px;
  padding: 0px;
  font-size: 0px;
  line-height: 0px;
  overflow:hidden;
}

/* CHECKERED BOARD */
#playgame{
margin: 0 auto;
text-align: center;
clear:both;
}

#game-board{
  display: table;
  table-layout: fixed;
  width: 600px;
  height: 600px;
  text-align: center;
  border: 2px solid rgb(75,75,75);
  border-collapse: collapse;
  margin: 0 auto;
}

.row{
  display: table-row;
  text-align: center;
  border-collapse:collapse;
}

.square{
  display: table-cell;
  vertical-align: middle;
  border-collapse: collapse;
  /*width: 50px;
  height: 50px;*/
}

.square.white{
  color: rgb(0,0,0);
  background-color: rgb(190,180,170);
}

.square.black{
  color: rgb(240,240,240);
  background-color: rgb(130,120,110);
}


/* PAWNS & DUMMY EMPTY PAWNS */
.pawn{
  font-family: "crussato", serif;
  font-size: 26px;
  text-align: center;
  text-decoration: none;
  margin: 0 auto;
  padding: 4px;
  width: 36px;
  height: 36px;
  line-height: 36px;
  border-radius: 50%;
  transition: transform 0.3s;
  position: relative;
  z-index: 9;
}


.pawn.empty{
  color: rgba(255,0,0,0);  
  background: rgba(255,0,0,0);
  border: 5px solid rgba(125,125,125,0);
}

.pawn.white{
  color: rgb(50,50,50);
  background: rgb(230,230,230);
  border: 5px solid rgb(230,230,230);
  -webkit-text-stroke: 1px rgb(50,50,50);
  }

.pawn.black{
  color: rgb(240,240,240);  
  background: rgb(50,50,50);
  border: 5px solid rgb(50,50,50);
  -webkit-text-stroke: 0px rgb(240,240,240);
}

.pawn.attack{
  border: 5px solid rgb(0, 0, 0);
  color:rgb(0, 0, 0);
  background-color:rgb(130, 180, 130);
  -webkit-text-stroke: 1px rgb(0, 0, 0);;
}

.pawn.neutral{
  border: 5px solid rgb(130, 180, 130);
}

.pawn.passive{
  border: 5px solid rgb(200, 100, 100);
}

.pawn.neutral.pawnhover{
  border: 5px solid rgb(130, 180, 130);
  background-color: rgb(160, 220, 160);
}

.pawn.passive.pawnhover{
  border: 5px solid rgb(200, 100, 100);
  background-color: rgb(240, 200, 200);
}

.pawn.zoomlift{
  transform: scale(1.2);
}


/* TURN & WINNER BANNER */
.turn {
  font-family: "Montserrat Alternates", sans-serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 50px;
  border: none;
  vertical-align: middle;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin: 10px 100px;
  width: 400px;
  height: 50px;
}

turn:focus {
  outline:0;
}

.turn.black{
  color: rgb(240,240,240);
  background-color: rgb(50,50,50);
}

.turn.white{
  color: rgb(50,50,50);
  background: rgb(240,240,240);
}

.turn.end.black{
  color: rgb(50,50,50);
  background: rgb(50, 170, 50);
}

.turn.end.white{
  color: rgb(240,240,240);
  background: rgb(200, 50, 50);
}

.turn.end.draw{
  color: rgb(50,50,50);
  background: rgb(220, 160, 50);
}


/* UNDO - RESTART - PUZZLE */

.action{
  font-family: "Montserrat Alternates", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 35px;
  width: 120px;
  height: 35px;
  margin: 5px 5px;
  margin-bottom: 30px;
  border: solid 2px rgb(220, 160, 50);
  border-radius: 5px;
  display: inline-block;
  -webkit-user-select: none;  
  -moz-user-select: none;    
  -ms-user-select: none;      
  user-select: none;
}

.disable-action{
  pointer-events:none;
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
  opacity: 0.5;
  filter: alpha(opacity=50); /* For IE8 and earlier */
}

/* RULES & INFO WRAPPER*/
.page-section{
  display: block;
  text-align: center;
  margin: 0 auto;
  padding: 20px;
}

.section-title{
  font-family: "Montserrat Alternates", sans-serif;
  font-size: 32px;
  font-weight: 900;
  margin: 20px auto 0px auto;
}

.section-text{
  font-family: "Montserrat Alternates", sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 28px;
  text-align: left;
  margin: 15px auto;
}

.section-note{
  font-family: "Montserrat Alternates", sans-serif;
  font-size: 16px;
  font-style: italic;
  font-weight: 500;
  text-align: left;
  margin: 15px auto;
}

/* APP STORE ICONS & FOOTER */
#footer{
  position: fixed;
  background-color: rgb(205,200,195,1);
  bottom: 0px;
  left: 0;
  right: 0;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  display: block;
}

.footer-text{
  font-family: "Montserrat Alternates", sans-serif;
  padding: 15px;
  font-size: 12px;
  font-weight: 500;
}


/* MENU & SHOW & HIDE PAGE UTILITIES */
.menu-icon{
  font-family: sans-serif;
  font-size: 38px;
  font-weight: bold;
  line-height: 54px;
  display: block;
  position: absolute;
  width: 54px;
  height: 54px;
  left: 10px;
  background-color:rgb(205,200,195);
  color: rgb(50,50,50);
}

.menu-item{
  font-family: "Montserrat Alternates", sans-serif;
  font-size: 22px;
  font-weight: 600;
  display: block;
  margin: 35px 120px;
  padding:10px;
  border: solid 2px rgb(220, 160, 50);
  border-radius: 5px;
}

.closed{
  position: fixed !important;
  top: -99999px !important;
  left: -99999px !important;
  overflow: hidden !important;
}