.rook, .knight, .bishop, .king, .queen, .pawn {
  left: 50%;
  bottom: 50%;
  position: absolute;
  transform: translate(-50%, 50%);
  width: auto;
}

.rook {height: 80%;} 
.knight {height: 70%;}
.bishop {height: 70%;}
.king {height: 95%;}
.queen {height: 90%;}
.pawn {height: 60%;}


/* The Modal (background) */
.modal {
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,1); /* Black w/ opacity */
  display: none; /* Hidden by default */
  height: calc(var(--vh, 1vh) * 100); /* Full height */
  left: 0;
  padding-top: 100px; /* Location of the box */
  position: fixed; /* Stay in place */
  top: 0;
  width: 100%; /* Full width */
  z-index: 3; /* Sit on top */
}

.modal-start {
  display: block;
}

#trayModal {
  background-image: url(resources/objects/felt1.jpg);
  border: 10px white ridge;
  color: white;
  font-size: calc(var(--vh, 1vh) * 5); 
  height: auto;
  left: 50%;
  padding: calc(var(--vh, 1vh) * 5); 
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 90vw;
  z-index: 1;
}

#trayModal p {
  font-size: 2vw;
}

#trayModal img {
  border-radius: calc(var(--vh, 1vh) * 1);
  height: auto; 
  margin: 0 1.1%;
  position: relative;
  width: 30%;
}

#trayModal .label {
  display: inline-block;
  font-size: 2vw;
  font-weight: bold; 
  margin: 0 1.1%;
  width: 30%;
}

#trayModal .black {
  color: black;
}

#trayModal button {
  font-size: calc(var(--vh, 1vh) * 3); 
  height: calc(var(--vh, 1vh) * 5);
  text-align: center;
  width: calc(var(--vh, 1vh) * 15);
  position: relative;
}

.radio {
  margin-left: 3vw;
  margin-right: 1.5vw;
  transform: scale(3);
  vertical-align: middle;
  -ms-transform: scale(3);
  -webkit-transform: scale(3);
  -o-transform: scale(3);
  -moz-transform: scale(3);
}

.radio:first-of-type {
  margin-left: 0;
}