:root {
  --p1-left: 0px;
  --p1-top: 0px;
  --p2-left: 0px;
  --p2-top: 0px;
  --p3-left: 0px;
  --p3-top: 0px;
}


html, body {
  margin:0;
  height: 100%;
  width: 100%;
  font-family: sans-serif;
}

.board {
  display: grid;
  grid-template-columns: repeat(10, 12vh);
  grid-template-rows:repeat(8, 12vh);
}

.square {
  width: 100%;
  height: 100%;
  background-color: yellow;
  text-align: center;
}

.square.sell::before {
  content: "sell";
}
.square.train::before {
  content: "train"
}
.square.money::before {
  content: "money"
}
.square.sale::before {
  content: "sale"
}
.square.exclaim::before {
  content: "exclaim"
}
.square.utility::before {
  content: "utility"
}
.square.target::before {
  content: "target"
}
.square.death::before {
  content: "death"
}

.play-area {
  background-color: black;
  color: white;
  font-size: 20px;
  font-weight: bold;
  font-family: monospace;
  grid-column-start: 2;
  grid-column-end: 10;
  grid-row-start: 2;
  grid-row-end: 8;
}

.controls {
  background-color: black;
  /* grid-column-start: 2;
  grid-column-end: 10;
  grid-row-start: 6;
  grid-row-end: 8; */
}

.control {
  display: none;
  color: white;
  font-size: 20px;
  font-weight: bold;
}

.divider {
  background: rgb(6,173,0);
  background: linear-gradient(90deg, rgba(6,173,0,1) 0%, rgba(79,121,9,1) 28%, rgba(74,175,0,1) 100%);
  height: 30px;
}

#p1 {
  position: absolute;
  background-color: blue;
    padding: 2px 10px;
  border-radius: 10px;
  color: white;
  font-weight: bold;
  left: var(--p1-left);
  top: calc(3vh + var(--p1-top) )
}

#p2 {
  position: absolute;
  background-color: orange;
    padding: 2px 10px;
  border-radius: 10px;
  color: white;
  font-weight: bold;
  left: var(--p2-left);
  top: calc(6vh + var(--p2-top) )
}

#p3 {
  position: absolute;
  background-color: red;
    padding: 2px 10px;
  border-radius: 10px;
  color: white;
  font-weight: bold;
  left: var(--p3-left);
  top: calc(9vh + var(--p3-top) )
}

.squad {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap:20px;
  font-family: monospace;
  font-size: 20px;
}

.player {
  color: white;
  font-weight: bold;
  text-transform: uppercase;
}

.gk {
  background-color: rgb(169, 80, 169);
  color: black;
}
.def {
  background-color: lightgreen;
  color: black;
}
.mid {
  background-color: lightskyblue;
  color: black;
}

#player-name,
.att {
  background-color: red;
  color: white;
  font-weight: bold;
}

#player-formation,
.team-money {
  color: white;
}

table {
  color:white;
  text-align: center;
  width: 100%;
  font-size: 20px;
}

thead {
  background-color: blue;
}



.team-name {
  text-transform: uppercase;
  font-weight: bold;

}
.team-name span {
  padding: 0 3px;
}

.number {
  background-color: red;
  color:white;
  font-family: monospace;
  font-size: 20px;
  font-weight: bold;
  font-family: monospace;
  padding: 0 4px;
  margin-left: 16px;
}

.command {
  color:white;
  font-family: monospace;
  font-size: 20px;
  font-weight: bold;
  font-family: monospace;
  padding: 0 4px;
  margin-left: 16px;
}

.screen {
  display: false;
}