/*
  wordgame.css
  Extra styles for the Word Guessing Game page.
*/

.game-card {
  text-align: center;
}

#secret-display {
  margin: 20px 0;
}

#secret-display span {
  display: inline-block;
  background-color: #eeeeee;
  border: 2px solid #333333;
  border-radius: 8px;
  width: 45px;
  height: 45px;
  line-height: 45px;
  margin: 4px;
  font-size: 26px;
  font-weight: bold;
} 

input {
  font-size: 18px;
  padding: 8px;
  width: 140px;
  margin: 8px;
  text-transform: uppercase;
}

button {
  background-color: #1f5f99;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  margin: 6px;
  font-size: 16px;
  cursor: pointer;
}

button:hover {
  background-color: #163d63;
}

#message-text {
  font-size: 20px;
  font-weight: bold;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

th {
  background-color: #1f5f99;
  color: white;
}

th, td {
  border: 1px solid #cccccc;
  padding: 10px;
  text-align: center;
}

.letter-box {
  display: inline-block;
  border-radius: 6px;
  padding: 8px 11px;
  margin: 2px;
  font-weight: bold;
  color: black;
}

.correct,
.correct-demo {
  background-color: lightgreen;
}

.close,
.close-demo {
  background-color: #fff3a3;
}

.wrong,
.wrong-demo {
  background-color: lightgray;
}

input[type="file"]::file-selector-button {
  background-color: white;
  color: #1f5f99;
  border: 2px, solid, #1f5f99;
  border-radius: 8px;
  padding: 10px 14px;
  margin: 6px;
  font-size: 16px;
}
