body {
    margin: 0;
    text-align: center;
    font-family: sans-serif;
  }
  * {
    touch-action: none;
  }
  canvas {
    background-color: black;
    border: 10px solid white;
      
      z-index: -1;
  }
  
  canvas:focus {
    border: 10px solid grey;
  }

  .diceModalEl {
    position: absolute;
    background-color: white;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
    padding: 16px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    border-radius: 5px;
    display: none;
  }
  .diceColumn {
    float: left;
    width: 33.33%;
  }
  .diceRow:after {
    content: "";
    display: table;
    clear: both;
  }
  
  .victoryModalEl {
    position: absolute;
    background-color: white;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
    padding: 16px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    border-radius: 5px;
    display: none;
  }
  .victoryRow::after {
    content: "";
    clear: both;
    display: table;
  }
  .victoryColumnLeft {
    float: left;
    width: 40%;
    padding: 5px;
  }
  .victoryColumnRight {
    float: left;
    border-left:70px;
    border-top:70px;
    padding-left:90px;
    padding-top:50px;
    width: 30%;
    
  }

  .startModalEl {
    position: absolute;
    background-color: white;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
    padding: 16px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    border-radius: 5px;
    display: block;

  }
  .startButtonEl {
    margin-top: 12px;
    background-color: blue;
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
  }
  .rollButtonEl {
    margin-top: 12px;
    background-color: blue;
    border: none;
    color: white;
    padding: 18px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: large;
  }
  .modalQuestionEl {
    position: relative;
    background-color: white;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
    padding: 16px;
    max-width: 900px;
    width: 100%;
    text-align: center;
    border-radius: 5px;
    display: none;
    

    animation-duration: 0ms;
    animation-name: animation_green;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    -webkit-animation:animation_green 0ms infinite; /* Safari and Chrome */

  }
  .timerdiv {
    position: absolute; 
    top: 10px; 
    right: 15px;
    background-color: rgb(0,0,0, 0.2); 
    width:100px;
    padding-left: 10px;
    padding-top: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    border-radius: 5px;
    border: 2px solid rgb(44, 83, 4);
    border-width: 2px;
  }
  .timerspan {
    font-size:24px;
    font-family:verdana;
    color: rgb(44, 83, 4);
    font-weight: 900;
  }
  .answerdiv {
    padding: 8px;
    margin-bottom: 4px; 
    cursor: pointer;    
    background-color: #f5f3f3;
    border-radius: 5px;
  }
  .buttonEl {
    margin-top: 12px;
    background-color: blue;
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
  }
  .volumeOffEl {
    color: white;
    width: 20px;
    height: 20px;
    cursor: pointer;
    display: none;

  }
  @-webkit-keyframes animation_red {
    0%     {background-color:red;}
    50.0%  {background-color:#ff9999;}
    100.0%  {background-color:red;}
  }

  @keyframes animation_red {
      0%     {background-color:red;}
      50.0%  {background-color:#ff9999;}
      100.0%  {background-color:red;}
  }
  @-webkit-keyframes animation_green {
    0%     {background-color:green;}
    50.0%  {background-color:#99ff99;}
    100.0%  {background-color:green;}
  }

  @keyframes animation_green {
      0%     {background-color:green;}
      50.0%  {background-color:#99ff99;}
      100.0%  {background-color:green;}
  }

  @keyframes blink_green {
    from {
        color:green;
    }
    to {
        color:white;
    }
  }
  @-webkit-keyframes blink_green {
      from {
          color:green;
      }
      to {
          color:white;
      }
  }
  @keyframes blink_red {
    from {
        color:red;
    }
    to {
        color:white;
    }
  }
  @-webkit-keyframes blink_red {
      from {
          color:red;
      }
      to {
          color:white;
      }
  }

  .questionImage {
    max-width: 99%;
    max-height: 99%;
  }
  #howManyPlayers {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background-color: #3b8ec2;
    padding: 20px;
    color: white;
    border: 1px solid #ccc;
    font-size: 16px;
    height: 29px;
    width: 250px;
}

.nameInput {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  padding: 10px;
  color: #3b8ec2;
  border: 1px solid #3b8ec2;
  font-size: 16px;
     height: 35px;
     width: 200px;
}

#submitNames {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  background-color: #3b8ec2;
  color: #fff;
  padding: 10px;
  border: 1px solid #3b8ec2;
  font-size: 16px;
  
}

#submitNames:hover {
  background-color: #3e8e41;
}

#score_table_header  {
  background: rgba(255,137,0,0.9);
  padding: 10px 20px;
  color: rgba(129, 69, 0, 1);
}
#score_table_header, #score_table_cell {
  border-style: solid;
  border-width: 0 1px 1px 0;
  border-color: rgba(0,0,0,0.1);
}

#score_table_header:first-child {
  border-top-left-radius: 5px;
}
#score_table_header:last-child {
  border-top-right-radius: 5px;
  border-right: none;
}
#score_table_header:first-child, #score_table_cell:first-child {
  padding: 7px 8px;
}

#score_table_cell {
  padding: 7px 20px;
  background: rgba(230,230,230,1);
  color: rgba(0, 0, 0, 0.6);
}
#score_table_cell1 {
  padding: 7px 20px;
  background: rgba(230,230,230,1);
  color: rgba(0, 0, 0, 0.6);
  text-align:right;
}

#score_table_cell_lime {
  padding: 7px 20px;
  background: limegreen;
  color: rgba(0, 0, 0, 0.6);
}

#score_table_row:last-child #score_table_cell:first-child {
  border-radius: 0 0 0 5px;
}
#score_table_row:last-child #score_table_cell:last-child {
  border-radius: 0 0 5px 0;
}
#score_table_row #score_table_cell:last-child {
  border-right: none;
}
