@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Sharp:opsz,wght,FILL,GRAD@20,400,0,-25');

#titleimage {
  max-width:400px;
}

#threepeat {
  position: relative;
  display: inline-block;
  margin: .5ch;
  box-shadow: 3px 3px 3px #ddf;
  border: 2px solid #ccf;
  border-radius: 10px;
  background-color: #fefef8;
  padding: 1em;
  font-family: sans-serif,arial,helvetica;
  font-size: 1.2em;
  text-align: center;
}

#threepeat:has(input:focus) {
  border-color: deepskyblue;
}

#tp-header {
  align-content: center;
  transition: height 200ms;
}

#tp-announce {
  font-weight: bold;
}

#tp-scorecard > *:first-child {
  margin: 0 0 1ch 0;
}

#tp-words {
  margin: 1ch;
}

#tp-about, #tp-defs, #tp-history, #tp-hint {
  border: 2px solid #bbc;
  border-radius: 10px;
  box-shadow: 3px 3px 3px #ccd;
  background-color: #eee;
  padding: 1ch;
}

#tp-history > div,
#tp-defs,
#tp-about h3,
#tp-about blockquote,
#tp-about p {
  text-align: left;
}

#tp-defs > .tp-word > p {
  background-color: lawngreen;
}

#tp-history {
  text-wrap: nowrap;
}

p.tp-word, .tp-word > p {
  vertical-align: middle;
  align-content: center;
  text-align: center;
  margin: .5ch 1px .5ch 0;
  width: 2ch;
  height: 2ch;
  display: inline-block;
  border: 1px;
  text-transform: uppercase;
  background-color: lightgrey;
  position: relative;
  transition: background-color 200ms, scale 200ms, opacity 200ms;
}

.tp-word {
  text-wrap: nowrap;
}

.tp-guessBad > p {
  background-color: red;
}

.tp-guessGood > p {
  background-color: lawngreen;
}

.tp-letterAnimated {
  position:absolute;
  z-index: 1;
  width: 1em;
  transition:
    left 200ms,
    top 200ms,
    background-color 200ms
}

#threepeat .tp-button {
  margin: .5ch;
  font: inherit;
  color: var(--col-dark);
  border: none;
  border-radius: 8px;
  background-color: white;
  outline: 1px solid currentColor;
  padding: 0.375em 0.5em;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

#threepeat .tp-button:is(:hover, :active) {
  outline-width: 2px;
}

.material-symbols-sharp {
  padding-right: 0.2em;
  font-size: 1.2em;
  vertical-align: sub;
  font-family: 'Material Symbols Sharp';
  display: revert-layer;
}

/* Container for better visualization */
.select-container {
  width: 300px;
  margin: 20px;
}

/* Styling the select menu */
select {
  padding: 10px 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  font-size: 16px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Add a custom arrow icon */
select::after {
  content: "▼";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 12px;
  color: #666;
}

/* On focus */
select:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

/* Option styling */
option {
  padding: 10px;
}

.threepeat_ack {
    max-width: 850px;
    margin: 20px;
}
.gameid-done {
    background: green;
}
