
.puzzleWrap {
      max-width:95%;
      width:95%;
      margin:0 auto;
}

#puzzle .puzzleSquare {
    /*position: relative;
    background-clip: padding-box;
    width: 3rem;
    height: 3rem;
    max-width: 3rem;
    max-height: 3rem;
    border: 0.1vw solid #dedede;
    outline: none;*/
    text-transform: uppercase;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
}
  #puzzle { 
    border: 1.5vw solid white;
    width: 85vh;
    max-width: 85vh;
    font: 4vh sans-serif;
    aspect-ratio: 1 / 1 ;
    /*border-spacing: 0.1vw;
    padding: 0.8vw;*/
    margin: 0.2vw auto;
    border-collapse: collapse;
    touch-action: none;
    touch-action: pinch-zoom;
    outline: 0.2vw solid;
  }

/* indicates when a square has been selected */
#puzzle .selected {
  color: #fff;
  background-color: red;
  outline: none;
  font-weight:bold;
}
#puzzle .selected:first-child {
  /* border: 1px solid #70d77d;
  padding: 10px;
  border-top-left-radius: 25px;
  border-bottom-left-radius: 25px;
  border-right-color: transparent; */
}

#puzzle .selected:focus {
    border: none;
}

/* indicates that the square is part of a word that has been found */
#puzzle .found {
  color: #ffffff;
  background: #990000;
  font-weight: bold;
}

#puzzle .complete {
    background-color: #990000;
}

#words {
    display:block;
    color: #000000;
    margin: 2vw auto;
}

#words ul {
    text-align:right;
    padding:0;
    margin:0;
    display:block;
    list-style-type: none;
    column-count: 2;
    column-gap: 3vw;
}

#words li {
	text-align:right;
	display: block;
}

#words li:nth-child(n+7) {
	text-align:left;
}

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

@media (orientation: landscape) {
#puzzle{
	/*border: 3px solid green; 
	font-size: 3vh;
	width: 60vh;
	max-width: 60vh;
	aspect-ratio: 1 / 1 ;*/
}

}

@media (orientation: portrait) {
#puzzle{
	/*border: 3px solid red;
	font-size: 3vw;*/
	width: 80vw;
	max-width: 80vw;
    	font: 4vw sans-serif;
    	aspect-ratio: 1 / 1 ;
}

}

@media print {

    .puzzleWrap {
      max-width:100%;
      margin:0;
    }

  #puzzle { 
      max-width:100%;
  }
  #puzzle .puzzleSquare {
    width: 5vw;
    height: 5vw;
    max-width: 5vw;
    max-height: 5vw;
    }
    #words {
      width: 100%;
    }


}