﻿* {
  box-sizing: border-box;
  font-family:Georgia, "Times New Roman", Times, serif;
  margin:0;
  padding:0;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10+ and Edge */
  user-select: none; /* Standard syntax */
  -webkit-user-drag: none;
}

button {
  border-radius:0;
  font-size: .75vw;
  height: calc(var(--vh, 1vh) * 4);
  margin:0;
  width: 45%;
  text-align: center;
  -webkit-border-radius:0px;
}

#newGame {
  margin-top: calc(var(--vh, 1vh) * .5);
}

#framePage {
  height: calc(var(--vh, 1vh) * 100);
  border: white calc(var(--vh, 1vh) * 1) solid;
  background: white;
  position: relative;
}

#containerGame {
  height: calc(var(--vh, 1vh) * 99);
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 99.9%;
}

#left {
  background: #122463;
  display: inline-grid;
  float: left;
  grid-template-rows: .4fr 4fr 3fr 3fr 3fr 2fr;
  grid-template-columns: .15fr 2fr;
  height: 100%;
  position: relative;
  width: 16.6314678%;
}

#edgeLeftLeft {
  background: #122463;
  grid-area: 1 / 1 / 12 / 2;
}

.itemLeft {
  background: transparent;
  border: #122463 2px solid;
  position: relative;
  text-align: center;
}

.itemLeft img {
  border-radius: .6vh;
  height: auto;
  width: 48%;
}

.black {
  background: black;
  color: white;
  font-size: .9vw;
  padding: 2.5%;
  padding-top: 5%;
}

#board {
  background: #122463;
  display: inline-grid;
  float: left;
  grid-template-rows: .25fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr .25fr;
  grid-template-columns: .1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr .1fr;
  column-gap: 1vh;
  row-gap: .5vh;
  height: 100%;
  position: relative;
  width: 83.36853221%;
}

.itemGrid {
  background: #122463;
  position: relative;
}

[id^="card"] img {
  border-radius: .6vh;
  height: 100%;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.joker img {
  border: 2px white solid;
}

#edgeTop {
  background: #122463;
  grid-area: 1 / 1 / 2 / 13;
}

#edgeBottom {
  background: #122463;
  grid-area: 12 / 1 / 13 / 13;
}

#edgeLeft {
  background: #122463;
  grid-area: 2 / 1 / 12 / 2;
}

#edgeRight {
  background: #122463;
  grid-area: 2 / 12 / 12 / 12;
}

[id^="player"] {
  background: white;
  height: 100%;
  position: relative;
  width: 100%;
}

[id^="player"] > .token-king {
  border-radius: 50%;
  left: 10%;
  height: calc(var(--vh, 1vh) * 6);
  position: absolute;
  top: 10%;
  width: calc(var(--vh, 1vh) * 6);
  z-index: 1;
}

[id^="player"] > .token-king img {
  border-radius: 50%;
  height: calc(var(--vh, 1vh) * 6);
  width: calc(var(--vh, 1vh) * 6);
}

[id^="player"] > .token {
  border-radius: 50%;
  right: 10%;
  height: calc(var(--vh, 1vh) * 12);
  position: absolute;
  bottom: 10%;
  width: calc(var(--vh, 1vh) * 12);
  z-index: 1;
}

[id^="player"] > .token img {
  height: calc(var(--vh, 1vh) * 12);
  width: calc(var(--vh, 1vh) * 12);
}


[id^="card"] > .token-king {
  border-radius: 50%;
  left: 50%;
  height: calc(var(--vh, 1vh) * 4);
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(var(--vh, 1vh) * 4);
  z-index: 1;
}

[id^="card"] > .token-king img {
  border-radius: 50%;
  height: calc(var(--vh, 1vh) * 4);
  width: calc(var(--vh, 1vh) * 4);
}

[id^="card"] > .token {
  border-radius: 50%;
  left: 50%;
  height: calc(var(--vh, 1vh) * 8);
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(var(--vh, 1vh) * 8);
  z-index: 1;
}

[id^="card"] > .token img {
  height: calc(var(--vh, 1vh) * 8);
  width: calc(var(--vh, 1vh) * 8);
}

#whatsNew {
  background: white;
  border: #122463 10px ridge;
  color: #122463;
  display: none;
  font-size: 3vh;
  height: 45vh;
  top: 50%;
  left: 50%;
  position: absolute;
  text-align: center;
  transform: translate(-50%, -50%);
  width: 45vw;
  z-index: 5;
}

#whatsNew p {
  left:50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}