body {
  font-family: 'Montserrat', sans-serif;
  background-color: #282c34;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: calc(10px + 2vmin);
  color: white;
  height: 100%;
  width: 100%;
  background-image: url("images/zero-wing.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

a {
  font-family: 'Montserrat', sans-serif;
  color: white;
  font-size: 32px;
}

.clock {
  color: yellow;
}

.header {
  color: lightblue;
  font-size: 48px;
}

.footer {
    color: gray;
    font-size: 14px;
}

.hidden {
  opacity: 0;
}

.victory {
  color: lightgreen;
  font-size: 48px;
}

.stalemate {
  color: orange;
  font-size: 48px;
}


.grid-container {
  display: inline-grid;
  /* grid-template-columns: repeat(3, minmax(50px, 1fr)); /* Sets 3 columns with equal width */
  grid-template-columns: repeat(var(--Cols), minmax(80px, 1fr));

  background-color: #222222;
  padding: 8px;
}

.active-player {
  background-color: #21F396;
  padding: 8px;
  transition: all ease-in 1s ;
}

.active-player-flip {
  background-color: #F99621;
  padding: 8px;
  transition: all ease-in 1s ;
}

.active-player-nuke {
  background-color: #FF0000;
  padding: 8px;
  transition: all ease-in 1s ;
}

.inactive-player {
  background-color: #217683;
  padding: 8px;
  transition: all ease-in 1s ;
}

.green {
  color: #21F396;
}

.red {
    color: #F39621;
}

.yellow {
    color: wheat;
}

.small {
    font-size: 18px;
}

.red-button {
    border: 0;
    line-height: 2.5;
    padding: 0 20px;
    font-size: 1rem;
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px 1px #000;
    border-radius: 10px;
    background-color: rgba(220, 0, 0, 1);
    background-image: linear-gradient(to top left, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0));
    box-shadow: inset 2px 2px 3px rgba(255, 255, 255, 0.6), inset -2px -2px 3px rgba(0, 0, 0, 0.6);
}

.red-button:hover {
    background-color: rgba(255, 120, 0, 1);
}

.red-button:active {
    box-shadow: inset -2px -2px 3px rgba(255, 255, 255, 0.6), inset 2px 2px 3px rgba(0, 0, 0, 0.6);
}

.blue-button {
    border: 0;
    line-height: 2.5;
    padding: 0 20px;
    font-size: 1rem;
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px 1px #000;
    border-radius: 10px;
    background-color: rgba(100, 20, 120, 1);
    background-image: linear-gradient(to top left, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0));
    box-shadow: inset 2px 2px 3px rgba(255, 255, 255, 0.6), inset -2px -2px 3px rgba(0, 0, 0, 0.6);
}

.blue-button:hover {
    background-color: rgba(160, 0, 160, 1);
}

.blue-button:active {
    box-shadow: inset -2px -2px 3px rgba(255, 255, 255, 0.6), inset 2px 2px 3px rgba(0, 0, 0, 0.6);
}

.green-button {
    border: 0;
    line-height: 2.5;
    padding: 0 20px;
    font-size: 1rem;
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px 1px #000;
    border-radius: 10px;
    background-color: rgba(0, 180, 120, 1);
    background-image: linear-gradient(to top left, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0.5));
    box-shadow: inset 2px 2px 3px rgba(255, 255, 255, 0.6), inset -2px -2px 3px rgba(0, 0, 0, 0.6);
}

.green-button:hover {
    background-color: rgba(0, 255, 180, 1);
}

.green-button:active {
    box-shadow: inset -2px -2px 3px rgba(255, 255, 255, 0.6), inset 2px 2px 3px rgba(0, 0, 0, 0.6);
}

.login-button {
    border: 0;
    line-height: 2.5;
    padding: 0 20px;
    font-size: 2rem;
    text-align: center;
    color: #000;
    text-shadow: 1px 1px 1px #000;
    border-radius: 10px;
    background-image: linear-gradient(to top left, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0));
    box-shadow: inset 2px 2px 3px rgba(255, 255, 255, 0.6), inset -2px -2px 3px rgba(0, 0, 0, 0.6);
    border-color: rgba(0,0,0,0);
    border: 4px;
}

.login-button:hover {
    background-image: linear-gradient(to top left, rgba(200, 200, 200, 0.4), rgba(200, 200, 200, 0.8) 30%, rgba(200, 200, 200, 0.7));
    border-color: yellow;
}

.login-button:active {
    box-shadow: inset -2px -2px 3px rgba(255, 255, 255, 0.6), inset 2px 2px 3px rgba(0, 0, 0, 0.6);
}

.grid-square {
  background-color: #282c34;
  border: 1px solid rgba(0, 0, 0, 0.8);
  padding: 20px;
  font-size: 30px;
  text-align: center;
  color: #484c54;
}

.grid-square-clickable {
  background-color: #282c34;
  border: 1px solid rgba(0, 0, 0, 0.8);
  padding: 20px;
  font-size: 30px;
  text-align: center;
  color: #484c54;
}

.grid-square-clickable:hover {
  background-color: #484c54;
  color: #282c34;
}

.player1 {
    background-color: #E6B0AA;
}

.player2 {
    background-color: #D7BDE2;
}

.player3 {
    background-color: #A9CCE3;
}

.player4 {
    background-color: #A4D3E7;
}

.player5 {
    background-color: #F9E79F;
}

.player6 {
    background-color: #EDBB99;
}

.player7 {
    background-color: #AEB6EF;
}

.player8 {
    background-color: #000000;
    color: #FF2200;
}

