body{
  margin: 0px;
  background-color: navy;
}
#gameWindow {
    width: fit-content;
    margin: auto;
}

#gameHeader{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;

  border-style: solid;
  border-width: 2px;
  border-top-color: #808080;
  border-left-color: #808080;
  border-right-color: #ffffff;
  border-bottom-color: #ffffff;

  margin-bottom: 6px;

  height: 33px; min-height: 33px;   max-width: 33px;
  min-width: -webkit-fill-available;
}
#remainingBombs{
  height: 20px;
  display: inline-block;
  font-size: 20px;
  margin: 6.5px 0px;
  justify-self: start;
  padding-left: 5px;
}

#generateMap{
  display: inline-block;
  float: left;
  height: 24px;
  width: 24px; min-width: 24px;
  font-size: 20px;
  padding: 0px;
  margin: 4.5px 0px;
  justify-self: center;
}

#gameBoard{
  border-spacing: 0px;

  border-style: solid;
  border-width: 3px;
  border-top-color: #808080;
  border-left-color: #808080;
  border-right-color: #ffffff;
  border-bottom-color: #ffffff;
}

#gameBoard td{
  width: 12px; min-width: 12px; max-width: 12px;
  height: 12px; min-height: 12px; max-height: 12px;
  line-height: 12px;
  text-align: center;
  font-size: 1em;
  font-weight: bold;

  background: #c0c0c0;
  border-style: solid;
  border-width: 2px;
  border-top-color: #ffffff;
  border-left-color: #ffffff;
  border-right-color: #808080;
  border-bottom-color: #808080;
}
#gameBoard td[data-pressed="true"]{
  width: 14px; min-width: 14px; max-width: 14px;
  height: 14px; min-height: 14px; max-height: 14px;

  border-width: 1px;
  border-top-color: #808080;
  border-left-color: #808080;
  border-right-color: #c0c0c0;
  border-bottom-color: #c0c0c0;
}
#gameBoard td[data-value="-1"][data-pressed="true"]{
  background-color: red;
  border-right-color: red;
  border-bottom-color: red;
}
#gameBoard td[data-value="1"]{color:blue;}
#gameBoard td[data-value="2"]{color:green;}
#gameBoard td[data-value="3"]{color:red;}
#gameBoard td[data-value="4"]{color:darkblue;}
#gameBoard td[data-value="5"]{color:brown;}
#gameBoard td[data-value="6"]{color:teal;}
#gameBoard td[data-value="7"]{color:black;}
#gameBoard td[data-value="8"]{color:darkgray;}
#gameBoard td[data-flagged="true"]{color:red;}

#gameState{text-align: center;}

#customLevel{
  background: #333;
  display: inline-block;
  height: 0px;
  overflow: hidden;
  transition: 1s ease all;
  color: white;
  margin-top: 10px;
  margin-left: 8px;
  margin-right: 8px;
  width: calc(100% - 16px);
  margin-bottom: 8px; 
}

.levelButtons{
  width: calc(calc(100% / 4) - 8px);
  float: left;
  display: inline-block;
  margin-left: 4px;
  margin-right: 4px;
  height: 50px;
  margin-top: 8px;
  font-size: 15px;
  font-weight: bold;
}

input[type="number"]{
  width: -webkit-fill-available;
  height: 60px;
  margin: auto;
  font-size: 25px;
  text-align: center;
  border-radius: 10px;
  border: solid black 0px;;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button{
  -webkit-appearence: none;
  display: none;
  margin: 0;
}

.tooltip{
  width: calc(calc(100% / 9));
  display: inline-block;
  float: left;
  text-align: center;
  margin-bottom: 16px;
  margin-top: 0px;
  margin-left: calc(100% / 9);
  margin-right: calc(100% / 9);
}
.tooltip p {
  margin-top: 16px;
  margin-bottom: 8px;
}
