body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding:0;
    color: #000;
}

html {
    scroll-behavior: smooth;
}




h1 {
    font-size: 2.5em;
    margin-top: 10px;
    padding-top: 20px;
}

p {
    font-size: 1.2em;
    margin-bottom: 20px;
}


table {
  margin: 0 auto;
  width: 40vw;
  height: 40vw;
  border-collapse: collapse;
  margin-bottom: 5vw;
}

td {
  border: 2px solid #333;
  width: 33.33%;
  height: 33.33%;
  text-align: center;
  font-size: 20px;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  color: #000;
}

td::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;          
  height: var(--fill, 0%); 
  background-color: var(--win, #8A8AFF); /* gold will override if set */
  transition: height 0.3s ease, background-color 0.3s ease;
  z-index: -10;
}



td > * {
  position: relative;
  z-index: 1;
  color: #FFF;
  font-weight: bold;
}
#bingoTable {
  border-collapse: separate;      /* allow spacing between cells */
  border-spacing: 8px;            /* controls the gaps between cells */
  margin: 20px auto;
}

#bingoTable td {
  padding: 20px;
  text-align: center;
  vertical-align: middle;

  border-radius: 12px;            /* soft round corners */
  border: 2px solid #ccc;         /* subtle border between cells */

  transition: background-color 0.2s ease, transform 0.1s;
  cursor: pointer;
}

#bingoTable td:hover {
  transform: scale(1.03);
}
#timerChart {
    padding-right: 10px;
}
