@font-face {
  font-family: 'VCR OSD Mono';
  src: url('VCR_OSD_MONO_1.001.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'VCR OSD Mono', monospace;
  text-align: center;
  margin: 20px;
  color: white;
  text-shadow:
    -1px -1px 0 black,
     1px -1px 0 black,
    -1px  1px 0 black,
     1px  1px 0 black;
    margin: 0;
  height: 100vh;
  background-image: url('UT.png');
  background-size: cover;        
  background-repeat: no-repeat;  
  background-position: center;   
  background-attachment: fixed;    
}
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: url('vhs.gif') repeat;
  opacity: 0.05;
  pointer-events: none;
  z-index: 9;
}
table {
  margin: 0 auto;
  border-collapse: collapse;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent black */
  padding: 10px;
}


td {
  width: 30px;
  height: 30px;
  font-size: 28px;
  text-align: center;
  vertical-align: middle;
  border: 1px solid #fff;
  cursor: pointer;
  user-select: none;
}

.hidden {
  display: none;
}

td.selected {
  background-color: yellow;
}

td:empty {
  background-color: #eee;
}

button {
  font-family: 'VCR OSD Mono', monospace;
  font-size: 18px;
  font-weight: bold;
  padding: 10px 20px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  text-shadow:
    -1px -1px 0 black,
     1px -1px 0 black,
    -1px  1px 0 black,
     1px  1px 0 black;
  border: 2px solid red;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
}
input {
  font-family: 'VCR OSD Mono', monospace;
  font-size: 18px;
  font-weight: bold;
  padding: 10px 20px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  text-shadow:
    -1px -1px 0 black,
     1px -1px 0 black,
    -1px  1px 0 black,
     1px  1px 0 black;
  border: 2px solid red;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border: 2px solid red;
  width: auto;
}

#debugLog {
  position: fixed;
  bottom: 50px;
  right: 10px;
  background: rgba(0, 0, 0, 0.6); /* black with 60% opacity */
  border: 1px solid red;
  padding: 10px;
  max-width: 300px;
  color: white; /* white text for readability */
}

