
:root {
    --color-bg-incorrect: #b70000;
    --color-bg-correct: #1d7e05;
    --color-bg-partcorrect: rgb(238, 159, 0);
    --color-bg-skipped: #888;
    --color-bg-notused: white;

    --lyrics-bg-color:rgb(231, 231, 231);
    --word-masked-color:rgb(173, 173, 173);
  }
  


  #game { }

  #lyrics { }



  #guesses { }

  #search { }


/*
lyrics
*/

  #lyricsWrapper {
    margin:0.4rem 0.1rem;
    padding:0.1rem 0.1rem;
    background-color:var(--lyrics-bg-color);

    /* for when full lyrics display... */
    max-height:12rem;
    overflow-y:auto; 
    overflow-x:hidden;

    

  }

  #lyricsContent{  

  }


  .lyric-line {

      display:flex;
      flex-direction:row;
      justify-content: center; 
      flex-wrap:nowrap;

      margin: 0;
      padding:  0.3rem 0rem;

      overflow-x: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      text-align: center;
      font-style: italic;

      -webkit-text-size-adjust: none;
      text-size-adjust: none;

        
  }
    
  .word-masked {
    
    display:inline-block;    
    background-color: var(--word-masked-color);
  }

  .space-masked {
      background-color:#1d7e05;
      display:inline-block;
      background-color: var(--lyrics-bg-color);
  }



/*
guesses
*/
  #guessWrapper {

    overflow:auto;
    width:75%;
   
  }


  .guess {

    border:solid 1px black;
    padding: 0.4em 0.5rem;
    margin: 0.3rem 0;  

    font-size: 0.9rem;
    height:1.1rem;

    font-family:arial;
    color:white;
    font-weight: 600;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    
  }

  .guess-active {
    border:solid 2px black;
  }


  .guess-bg-correct {  background-color: var(--color-bg-correct);  }
  .guess-bg-incorrect {  background-color: var(--color-bg-incorrect);  }
  .guess-bg-skipped {  background-color: var(--color-bg-skipped);  }
  .guess-bg-partcorrect {  background-color: var(--color-bg-partcorrect);  }
  .guess-bg-notused {  background-color: var(--color-bg-notused);  }

  .guess-partcorrect {
    color: var(--color-bg-correct); 
  }


  .guess.guess-bg-skipped {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-align: center;
  }


  .guess.guess-bg-skipped::after {
    content: 'Skipped';
  }



/*
 search box
*/
  #searchWrapper {
    margin:0.3rem 0.5rem;
  }

  #txtGuess {

  padding:0rem 2.2rem;
  margin:0;
  height:3rem;
  width:100%;

  font-size:1rem;

  }





/*
game buttons
*/
  #buttonsWrapper{
    margin:0.3rem 0.5rem;

    font-size: 0.875rem;
    line-height: 1.25rem;
    margin-top:0.3rem;

    
  }

  #btnSkipGuess{
    text-transform: uppercase;
    padding: 0.5rem;
    text-indent: 0.25em;
    letter-spacing: 0.2em;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.25rem;
    padding: 0.5rem 0.75rem;

  }


  #btnSubmitGuess{
    text-transform: uppercase;
    padding: 0.5rem;
    text-indent: 0.25em;
    letter-spacing: 0.2em;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.25rem;
    padding: 0.5rem 0.75rem;
  }


/* input[type=button], */
   .btnSupport, .btnShare, .btnPlay{
  
    display: block;
    margin: 0.7rem auto;
    text-transform: uppercase;
    padding: 0.5rem;
    text-indent: 0.25em;
    letter-spacing: 0.2em;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.25rem;
    padding: 0.3rem 0.6rem;
    
  }






/*
game summary

*/

  #summaryWrapper>div{
    padding:0.2rem;
    font-family: 'PT Sans', sans-serif;

  }


  .score-wrapper {
      display:flex;
      justify-content: center;
  }


  .scorebox {
      width:1.5em;
      height:1.5em;
      border:solid 1px black;
      margin:0.1em;
  }

  .summary-trackname{
    font-weight: 600;
    
  }

  .summary-countdownmessage{  
    padding-bottom:0 !important;

   }

  .summary-countdown {
    padding-top:0  !important;
    font-size: 1.8rem;
    font-weight: 600;
 

  }

  .summary-stats{
    display:flex;
    align-items:center;
    justify-content: center;

    font-size: 1.2rem;
    padding:0.2rem;
    cursor:pointer;
  }

  .summary-stats svg{
    
    
  }

  /*
  Stats
  */

  .stats-info {
    display:flex;
    justify-content: space-evenly;
    align-items:flex-start;
  }

  .stats-info div{
    text-align: center;
    flex: 1 1 0px;
  }


  /* chart */

 .stats-chart {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: nowrap;

    border:solid 1px rgb(204, 204, 204);
    height:15rem;
  
 }

 .stats-bar-wrapper{
    flex: 1 0 0px;

    display: flex;
    flex-direction: column;;
    flex-wrap: nowrap;

    justify-content: flex-end;
    margin:0 0.2rem;

 }


  .stats-bar-value{
    width:100%;
    text-align:center;
    flex-grow:1;
    flex-shrink:0;
    flex-basis: 0;
    align-items:end;
    justify-content: end;
    vertical-align: end;

    display:flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items:center;

  }
  /* the actual label */
  .stats-bar-value div{
    font-size: 0.8rem;
    padding:0.2rem 0;
  }
 
  .stats-bar {
    width:100%;

  }
  .stats-bar-label{
    width:100%;
    text-align:center;
    flex-grow:0;
    flex-shrink:0;
    flex-basis: 0;

    border-top:solid 1px white;
  }

/* 
scrollbar visible on mobile
*/

  /* !important is needed sometimes */
  ::-webkit-scrollbar {
    width: 12px !important;
 }

 /* Track */
::-webkit-scrollbar-track {
   -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3) !important;
   -webkit-border-radius: 10px !important;
   border-radius: 2px !important;
 }

 /* Handle */
 ::-webkit-scrollbar-thumb {
   background: #41617D !important; 
   -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5) !important; 

 }
 ::-webkit-scrollbar-thumb:window-inactive {
   background: #41617D !important; 
 }