/**
* Styles for the puzzle
*/

.content-puzzle{
    display: flex;
    justify-content: space-between;
}

.content-puzzle > #puzzle{
    width: 70%;
}

.content-puzzle > #words{
    width: 30%;
}

#puzzle {
  display: inline-block;
  /*border: 1px solid black;*/
  padding: 2vw;
}

#puzzle > div { /* rows */
  width: auto;
  margin: 0 auto;
}

/* style for each square in the puzzle */
.puzzleSquare {
  height: 2rem;
  width: 2rem;
  text-transform: uppercase;
  background-color: white;
  border: 0;
  font: 1.5rem sans-serif;
}


button::-moz-focus-inner {
  border: 0;
}

/* indicates when a square has been selected */
#puzzle .selected {
  background-color: orange;
}

/* indicates that the square is part of a word that has been found */ 
#puzzle .found {
  background-color: blue;
  color: white;
}

#puzzle .solved {
  background-color: purple;
  color: white;
}

/* indicates that all words have been found */
#puzzle .complete {
  background-color: green;
}

/**
* Styles for the word list
*/
#words {
  display: flex;
  max-width: 30rem;
  padding: 1em;
  list-style-type: none;
  text-align: right;
}

#words li {
  padding: 3px 0;
  font: 1.3em sans-serif;
}

/* indicates that the word has been found */
.wordFound {
  text-decoration: line-through;
  color: gray;
}