body {
  background-color: #97b4d1;
  font-family: monospace;
}

h1 {
  text-align: center;
  font-size: 40px;
}

h2 {
  text-align: center;
  font-size: 25px;
}

.button {
  background-color: #dbd32e;
  border: 1px solid black;
  color: white;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
  padding: 14px 25px;
  margin: 0 auto;
  /*float: left;*/

  //width: 25%;
  max-width: 600px;

}

a:link, a:visited, a:hover, a:active {
    color: white;
    text-align: center;
    text-decoration: none;
}

.btn-group .button:not(:last-child) {
  border-right: none; /* Prevent double borders */
}

.btn-group .button:hover {
  background-color: #3e8e41;
}

#chessboard {
  margin-top: 5%;
}


#myCanvas {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 75%;
  max-width: 1050px;
  max-height: 600px;
}

#promote {
  display: none;
}

#selection {
  margin: 0 auto;
  width: 100%;
  max-width: 1000px;
}

#selection .button {
  background-color: #ff0000;
  font-size: 32px;
  width: 48%;
  margin-bottom: 20px;
}

#selection .button:hover {
  background-color: #000000;
}

#selection .button:not(:first-child) {
  float: right;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}
