/**
* Wordfind.js 0.0.1
* (c) 2012 Bill, BunKat LLC.
* Wordfind is freely distributable under the MIT license.
* For all details and documentation:
*     http://github.com/bunkat/wordfind
*/

  .wordSearchPuzzle p {
    font-family: "Ubuntu" !important;
    /* font-size: 22px; */
    font-size: 1em;
    text-align: center;
    margin: 0 auto;
  }
  
  /**
  * Styles for the puzzle
  */
  .wordSearchPuzzle {
    /* border: 1px solid rgb(255, 255, 255); */
    /* padding: 20px;
    float: left;
    margin: 30px 20px; */
    white-space: nowrap;
    width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem;
    background: white;
    border-top-right-radius: 1rem;
    border-top-left-radius: 1rem;
    height: 450px;
    border-bottom-right-radius: 1rem;
    border-bottom-left-radius: 1rem;
    margin: 1rem;
  }

  @media (min-width: 769px) {
    /* .wordSearchPuzzle {
      width: fit-content;
    } */
    .wordSearchPuzzle div {
      display: block !important;
      /* transform: scale(1.3); */
      /* padding: 1rem; */
    }
    .puzzleSquare {
      font-size: 1.2rem !important;
    }
  }
  
  .wordSearchPuzzle div {
    width: 50%;
    margin: 0 auto;
    display: flex !important;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    /* transform: scale(1.3); */
    padding: 0.1rem;
  }
  
  /* style for each square in the puzzle */
  .wordSearchPuzzle .puzzleSquare {
    /* height: 30px;
    width: 30px; */
    text-transform: uppercase;
    background-color: white;
    border: 0;
    font-family: "Ubuntu" !important;
    font-size: 1em;
    text-align: center;
    color: #000;
    margin-left: -0.7rem;
  }
  
  button::-moz-focus-inner {
    border: 0;
  }
  
  /* indicates when a square has been selected */
  .wordSearchPuzzle .selected {
    background-color: #DFA46D;
  }
  
  /* indicates that the square is part of a word that has been found */ 
  .wordSearchPuzzle .found {
    background-color: #005677;
    color: white;
  }
  
  .wordSearchPuzzle .solved {
    background-color: purple;
    color: white;
  }
  
  /* indicates that all words have been found */
  .wordSearchPuzzle .complete {
    background-color: #00263A;
  }
  
  /**
  * Styles for the word list
  */
  .wordSearchWords {
    padding-top: 20px;
    -moz-column-count: 2;
    -moz-column-gap: 20px;
    -webkit-column-count: 2;
    -webkit-column-gap: 20px;
    column-count: 1;
    column-gap: 20px;
    width: 300px;
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    padding-bottom: 2rem;
    height: 450px;
    border-radius: 1rem;
    margin: 1rem;
  }
  
  .wordSearchWords ul {
    list-style-type: none;
    margin-block-start: 0;
  }
  
  .wordSearchWords li {
    padding: 3px 0;
    font-family: "Ubuntu" !important;
    font-size: 1em;
    color: black;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-right: 3rem;
  }
  
  /* indicates that the word has been found */
  .wordSearchWords .wordFound {
    text-decoration: line-through;
    color: gray;
  }
  
  /**
  * Styles for the button
  */
  #solve {
    margin: 0 30px;
  }

  div.js-wordSearchWrap.wordSearchWrap {
    min-height: 100vh;
    display: flex;
    /* padding-top: 2rem; */
    flex-direction: row;
    margin: 0 auto;
  }

  div.js-wordSearchWords.wordSearchWords::before {
    content: "Word Bank";
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 30px;
    display: block;
  }

  @media (max-width: 950px) {
    .wordSearchPuzzle {
      padding: 2rem;
      background: white;
      width: 300px;
    }

    .wordSearchPuzzle div {
      width: 100%;
      transform: scale(1);
    }

    .wordSearchWords {
      width: 300px;
      margin: 0rem;
    }

    .puzzleSquare {
      font-size: 1.2rem !important;
    }

    .wordSearchPuzzle .puzzleSquare {
      margin-left: auto;
      padding-bottom: 2rem;
    }

    div.js-wordSearchWrap.wordSearchWrap {
      min-height: 100vh;
      display: flex;
      padding-top: 2rem;
      flex-direction: column;
      padding-bottom: 2rem;
    }

    .wordSearchWords {
      border-top-left-radius: 0rem;
      border-top-right-radius: 0rem;
      border-bottom-left-radius: 1rem;
      border-bottom-right-radius: 1rem;
    }

    div.js-wordSearchPuzzle.wordSearchPuzzle {
      border-bottom-left-radius: 0rem;
      border-bottom-right-radius: 0rem;
      margin: 0rem;
    }

    /* .wordSearchWords {
      padding-top: 20px;
      -moz-column-count: 2;
      -moz-column-gap: 20px;
      -webkit-column-count: 2;
      -webkit-column-gap: 20px;
      column-count: 2;
      column-gap: 20px;
      width: 700px;
      margin-left: auto;
      margin-right: auto;
      background-color: white;
      border-bottom-left-radius: 1rem;
      border-bottom-right-radius: 1rem;
      padding-bottom: 2rem;
    } */
  }
  
  
  /* @media (max-width: 650px)
  {
    .wordSearchWrap {
        display: block;
        position: relative;
        top: 0;
        left: -60px;
    }
    .wordSearchPuzzle {
        padding: 5px;
        margin: 0 0 0 20px;
    }
    .wordSearchPuzzle .puzzleSquare {
        height: 25px;
        width: 25px;
        font-size: .6em;
    }
} */

.ws-container {
  display: flex;
  /* justify-content: center; */
  width: 100%;
  flex-direction: column;
}

/* @media (max-width: 768px) {
  div.js-wordSearchWrap.wordSearchWrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: auto;
  } */

  /* .ws-container { */
    /* display: flex;
    justify-content: flex-end; */
    /* display: flex;
    justify-content: center;
    width: 100%;
    flex-direction: column; */
  /* }
} */

