#currentguess{
    font-size: min(7vw, 54px);
    margin: 20px 0 20px;
    height: 1em;

    display: flex;
    justify-content: center;
    align-items: center;

    background-color: white;
}

#currentguess:empty{
    background-color: transparent;
}

#feedback{
    position: absolute;
    width: 100%;
    text-align: center;
    z-index: -1;
}


  #game-grid{
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;

  }
  #game-grid .line{
      display: flex;
      justify-content: center;
      height: 25%;
  }
  
  #game-grid .line .letter{
      width: 23.2%;
      height: 100%;
      background-color: #eee;
      /* display: inline-flex;
      align-items: center;
      justify-content: center; */
      font-size: min(7vw, 54px);
      font-weight: bold;
      border: none;
      border-radius: 50%;
      /* touch-action: manipulation; */
      margin: 0 2.3% 0 0;

  }

  #game-grid .line .letter:last-child{
      margin-right: 0;
   }

#game-grid .line .letter.lastButton{
    background-color: #aaa;
} 


  /* #game-grid .line button.letter.lastButton{
    background-color: #aaa;
    }  */

/* ANSWERS */

#answers{
    margin: 20px;
    position: relative;
}

#answers #recent-words{
    border: 1px solid #333;
    padding: 5px;
    display: flex;

}

#answers.foundwords-open #recent-words{
    border-color: #333 #333 transparent #333;
}

#answers #recent-words .word-list{
    /* background-color: yellow; */
    flex: 1;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    /* display: flex; */
    align-self: center;
}

#answers #recent-words .word-list span{
    margin-right: 4px;
    text-transform: capitalize;
}

#answers .word-list span.word:not(:last-child)::after {
    content: ",";
}

/* #answers .word-list span.word:last-child::after {
    content: "";
} */

#answers #toggle-foundwords{
    flex: 0;
    display: flex;
}



#answers.foundwords-open #toggle-foundwords{
    transform: rotate(-180deg);
}




#all-words{
    display: none;
    position: absolute;
    z-index: 1;
    
    background: white;
    border-width: 0px 1px 1px;
    border-color: #333;
    border-style: solid;
    
    padding: 20px 0px;

    width: 100%;
    box-sizing: border-box;

}

#foundwords{
    /* margin: 0 30px; */
    font-size: 1em;
}

#foundwords .words_by_length{
    display: flex;
}

#foundwords .count{
    width: 25px;
    text-align: right;
    padding-right: 4px;
}

#foundwords .wordlist{
    flex: 1;
}

#foundwords span.word{
    margin: 0px 1px 2px;
    display: inline-flex;
    min-width: 15px;
    height: 15px;
    font-size: 12px;
    align-items: center;
}

#foundwords span.word.notfound{
    background-color: #eee;
    color: transparent;
}

#foundwords span.word.found{
    padding: 0 1px;
    background-color: lightgreen;
}

#foundwords span.word.found.pangram{
    background-color: gold;
}

#share{
    margin: 20px;
    text-align: center;
}

#share button{
   
}


#controls{
    display: flex;
    justify-content: center;
}

#controls button.x{
    font-size: min(7vw, 54px);
    margin: 30px;
    padding: 15px;
    border-radius: 20px;
    background: none;
    border-width: 1px;

}

#controls button{
    /* font-size: min(7vw, 54px); */
    margin: 30px;
    /* padding: 15px;
    border-radius: 20px;
    background: none;
    border-width: 1px; */

}

#score{
    display: flex;
    justify-content: center;
}