@import url('https://fonts.googleapis.com/css?family=IBM+Plex+Mono&display=swap');

* {
  margin: 0;
  padding: 0;
}

html, body {
  font-family: 'Futura', sans-serif;
  background-color: #040526;
  color: white;
  margin-left: auto;
  margin-right: auto;
}

#app {
  width: 80%;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  touch-action: none;
}

h1 {
  padding-top: 100px;
}

#player-pieces {
  display: block;
  padding-left: 15px;
  width: 340px;
  height: 50px;
  border-bottom: 15px solid #6E3F06;
  background-color: #9B5D10;
  z-index: 10;
  cursor: grab;
}

#player-pieces .board_square {
  margin-right: 2px;
  margin-left: 2px;
  margin-top: 10px;
  margin-bottom: 6px;
  color: black;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.board_container {
  color: black;
  z-index: 0;
  display: grid;
  grid-template-columns: 40px 40px 40px 40px 40px 40px 40px 40px 40px 40px 40px 40px 40px 40px 40px;
  font-size: 9px;
  font-weight: 400;
}

.board_game_static, .board_game_dynamic {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  width: 600px;
  height: 600px;
}

.board_game_dynamic div, .board_game_dynamic .board_square, .board_game_dynamic .empty_square {
  background-color: transparent;
  box-shadow: none;
}

.multiplier_square {
  text-align: center;
  overflow-x: hidden;
  text-transform: uppercase;
}

.multiplier_square p {
  width: 40px;
  height: 40px;
  line-height: 13px;
  box-shadow: inset 0 0 0 1px #00000050;
}

.multiplier-2l p {
  background-color: #C1D8DB;
}
.multiplier-3l p {
  background-color: #0394A9;
}
.multiplier-2w p {
  background-color: #FFC7BA;
}
.multiplier-3w p {
  background-color: #FF6C5A;
}

.board_square {
  box-shadow: inset 0 0 0 1px #00000021;
  display: inline-block;
  height: 40px;
  width: 40px;
  background-color: #DED8C1;
  margin: 0;
  padding: 0;
  color: black;
}

.share-info {
  margin-top: 30px;
  font-size: 1em;
  border-bottom: 1px solid #FFFFFF70;
  padding-bottom: 20px;
  width: fit-content;
  margin-bottom: 40px;
}

.info-container {
  width: fit-content;
}

#share-code {
  padding: 10px 10px;
  border-radius: 5px;
  margin-left: 5px;
  outline: none;
  border: 2px solid #FFFFFF70;
  background: #00000021;
  font-family: 'IBM Plex Mono', monospace;
  color: #FFFFFF90;
  font-size: 14px;
}

.turn-info {
  display: inline-block;
  width: 100%;
  height: 100px;
}

.turn-info p {
  font-size: 1.3em;
  width: fit-content;
}

.piece {
  font-family: 'IBM Plex Mono', monospace;
  position:relative;
  height: 40px !important;
  width: 40px !important;
  font-size: 30px;
  background-color: #FFF7D8 !important;
  text-align: center;
  position: relative;
  padding-left: 4px;
  padding-right: 8px;
  box-shadow: 0 0 0 4px solid blue;
}

.piece_value {
  position: relative;
  font-size: 10px;
  top: 4px;
}

.board_square.active .piece {
  background-color: #ffed95 !important;
  border-right: 2px solid #633d055e;
  cursor: pointer;
}

/* BUTTONS */

.intent-switcher {
  margin-top: 40px;
}

button {
  border: none;
	font-family: inherit;
	font-size: inherit;
	cursor: pointer;
	padding: 10px 20px;
	text-transform: uppercase;
	letter-spacing: 1px;
	outline: none;
	position: relative;
  color: #fff;
  background: #20a03c;
  box-shadow: 0 6px #0a6533;
  border-radius: 40px;
  display: block;
  margin: 15px 0;
}

.btn_join {
  background-color: #0a89bb;
  box-shadow: 0 6px #115b77;
}
.btn_join:hover {
  box-shadow: 0 4px #115b77;
  top: 2px;
}
.btn_join:active {
  box-shadow: 0 0 #115b77;
  top: 6px;
}

.btn_submit {
  display: inline-block;
  float: right;
  position: relative;
  top: -50px;
}

.btn_submit:hover {
  top: -48px;
}
.btn_submit:active {
  top: -44px;
}

button:hover {
  box-shadow: 0 4px #0a6533;
  top: 2px;
}

button:active {
  box-shadow: 0 0 #0a6533;
  top: 6px;
}
