/* BACKGROUND AND BODY */
.body {
  width: 100%;
  min-height: 700px;
  position: relative;
  margin: 0;
  padding: 90px 0 100px;
  background-color: #303853;
  font-family: 'Wendy One', sans-serif;
  font-size: 1.5em;
  color: white;
  text-align: center;
  background: rgb(48, 56, 83); /* Old browsers */
  background: -moz-linear-gradient(
    top,
    rgba(48, 56, 83, 1) 0%,
    rgba(32, 38, 55, 1) 100%
  ); /* FF3.6-15 */
  background: -webkit-linear-gradient(
    top,
    rgba(48, 56, 83, 1) 0%,
    rgba(32, 38, 55, 1) 100%
  ); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
    to bottom,
    rgba(48, 56, 83, 1) 0%,
    rgba(32, 38, 55, 1) 100%
  ); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#303853', endColorstr='#202637',GradientType=0 ); /* IE6-9 */
}

#game-scene {
  width: 100%;
  position: relative;
  z-index: 9;
}

.table {
  background-color: #645a7e;
  z-index: 10;
  width: 100%;
  position: absolute;
  bottom: 0;
  height: 100px;
}

#begin-game,
#reset-button {
  width: 200px;
  background-color: #645a7e;
  border-radius: 8px;
  color: #fff;
  padding: 25px;
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  top: 200px;
  z-index: 200;
  cursor: pointer;
  border: none;
  font-family: 'Wendy One', sans-serif;
  font-size: 25px;
}

#reset-button {
  display: none;
  top: 5px;
  background-color: #303853;
}

/* BOARD AND PIECES */
#game-board {
  position: relative;
  width: 548px;
  margin: 0 auto;
  border: 8px solid #5fcf80;
  height: 472px;
  border-radius: 7px;
  float: left;
  z-index: 15;
  box-sizing: border-box;
}

#game-board-underlay {
  position: absolute;
  width: 548px;
  height: 472px;
  box-sizing: border-box;
  margin: 0 auto;
  left: 0;
  right: 0;
  border: 16px solid transparent;
}

#play-area {
  margin: 0 auto;
  width: 750px;
  margin-top: 100px;
  opacity: 0;
}

.token {
  width: 60px;
  height: 60px;
  transform: scale(1.1);
  transform-origin: center;
  border-radius: 100%;
  position: absolute;
  top: -50px;
}

circle {
  stroke-width: 16px;
}

/* BOARD STAND */
.stand-container {
  float: left;
  width: 100px;
  margin-top: 150px;
  position: relative;
}

.stand-container.left {
  left: 27.5px;
}

.stand-container.right {
  right: 27.5px;
}

.stand-leg {
  width: 20px;
  height: 350px;
  margin: 0 auto;
  background-color: #e59a13;
  border-radius: 5px 5px 0px 0px;
}

.stand-attachment {
  width: 15px;
  height: 20px;
  background-color: #e59a13;
  position: absolute;
  top: 15px;
}

.stand-attachment.left {
  left: 58px;
}

.stand-attachment.right {
  right: 58px;
}

.stand-foot {
  width: 100%;
  background-color: #e59a13;
  height: 20px;
  border-radius: 8px 8px 0px 0px;
  top: 350px;
}

/* TEXT CONTENT */
#game-over {
  display: none;
  position: absolute;
  z-index: 100;
  top: -60px;
  left: 0;
  right: 0;
}
