html {
    background-color: white;
}

body {
    background-color:white;
     justify-self: center;  
     height: 60dvh;
     width: 95vw;
}

.game-container {
  display: grid;   
  grid-template-rows: auto 1fr auto;
  max-height: 600px;
  max-width: 1600px;
  gap: 5px;
}


.title-bar {
    display: flex;
    flex-direction: rows;
    justify-content:space-between;
    align-items:center;
    background-color: dodgerblue;
    box-shadow: inset 3px 3px 6px #4287cd, inset -3px -3px 6px #53a9ff;
    border-radius: 8px;
    padding: 8px;
}

.game-window {
    display: grid;
    grid-template-columns: 2fr 1fr;
    background-color: blueviolet; 
}

.game-screen {
    display: grid;
    grid-template-rows:repeat(6, 1fr);
    background-color: cornflowerblue;
    align-items: center;
    border-width: 4px; 
    border-style:groove;
    border-color: black;    
}



#instruction-screen {
    text-align: center;
    color: white;
    font-weight: 500;
    font-size: 1.5rem;
    padding:0px;
    margin: 0px;
}
.instructions {
    background-color: white;   
    border-style:groove;
    margin-top: 18px;   
}

#title-instructions {
    color: blue;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 1.4rem;
    text-align: center;
    margin-top: 10px;
}

#instructions-text {
    margin-left: 5px;
    margin-right: 5px;
    font-size: 1.2rem;
    color: blue;
}

#instructions-lbl {
 margin-top: 10px;
}

#end-game {   
    border-radius: 8px;    
     cursor: pointer;
     text-align: center;    
     background-color: rgb(8, 0, 255);      
     color: white;    
     height: 33px;
     width: 150px;
     margin: 0 30px;
}

.game-button {
     font-size: 1.2rem;
     color: white; 
     margin: 0 30px;
}

#sign-in:disabled {
     background-color: rgb(8, 0, 255);      
     color: white; 
}

#title {   
    font-family:"Libertinus Keyboard";
    font-size: 2.5rem;
    word-spacing: 0.5em;
    color: white;
}

#word-clue-label {
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 1.5rem;
    margin-left: 55px;
    color: white;
}

#hello {
    color: yellow;
    font-size: 1.2rem;
    margin-left: 55px;
}

.log-in-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 55px;
}

#start {
     border-radius: 8px;    
     cursor: pointer;
     text-align: center;    
     background-color: rgb(8, 0, 255);      
     color: white; 
     font-size: 1rem;   
     height: 33px;
     width: 300px;
     margin: 0 30px;
}

#start:disabled {
    background-color:rgb(124, 120, 249);
    color: black;
}

#actual-clue  {    
   color:blueviolet;
   font-size: 1.75rem;
   margin-left: 10px;
}

.letter-boxes {
    display: flex;
    flex-direction: row;  
    justify-content: center;
    gap: 40px;    
}

#L1,#L2,#L3,#L4,#L5,#L6,#L7,#L8 {
   width: 55px;
   height: 55px;
   text-align: center;
   background-color: aliceblue;
   gap: 60px;
   color: black;
   font-size:2rem;
   border-style:groove;
   border-color: blue;   
}

.player-turn-info {
    display: flex;
    flex-direction: rows;
    justify-content: space-evenly;
    margin-left: 50px;
    color: yellow;
    font-size: 1.5rem;
}

#words-remaining, #game_number, #countdown-marker {
    margin-left: 8px;
    width: 50px;
    height: 30px;
    text-align: center;
    margin-top: 8px;
    margin-right: 40px;
    border-radius: 6px;
    border: 2px solid black;    
}

.answer-box {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

#type-answer {
    font-size: 1.5rem;
}

#stop-clock {
    border-radius: 8px;    
     cursor: pointer;
     text-align: center; 
     justify-content: center;   
     background-color: blueViolet;      
     color: white;    
     height: 40px;
     width: 350px;    
     color: white;
}

#stop-clock:disabled {
    background-color: rgb(124, 120, 249);
    color:black;
}

.points-info {
    display: flex;    
    justify-content:space-between;
    align-items: center;
    width:100%;   
}
.left-group, .right-group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 2rem;
  color: rgb(142, 175, 235);
}

.left-group {
    margin-left: 50px;
}

.right-group {
    margin-right: 75px;
}

#input1 {
    height: 40px;
    width: 50px;
    text-align: center;
    color:blue;
    border-radius: 10px;
    border: 4px solid blue;
}

#input2 {
    height: 40px;
    width: 60px;
    color:blue;
    border-radius: 10px;
    border: 4px solid blue;
    text-align: center;
    color:magenta;
}

.information-bar {
    display: grid;
    grid-template-columns: 0.5fr 2fr 0.5fr;
    background-color: dodgerblue;    
    box-shadow: inset 3px 3px 6px #4287cd, inset -3px -3px 6px #53a9ff;
    border-radius: 8px;
    padding: 8px;
}

.player-stats, .whizzerd-board {
    display: flex; 
    height: 95%; 
    width: 98%;  
    align-items: center;
    background-color: dodgerblue;
    margin-left: 10px;    
}

.stats-info {
    display: flex;     
    flex-direction:column;
    align-items: center;     
    width:90%;
    height:99%;    
    background-color: cornflowerblue;
    border-color: blue;
    border-style:groove;
    border-radius: 7px;
    gap: 8px;
}

#best-single-points {   
    border-radius: 6px;
    border: 2px solid black;  
    width: 55px;
    height: 25px;
    text-align: center; 
    margin-top: 5px;   
    font-size: 1.2rem;
    color: blue;
}

#hiScorer_Lbl {
    text-align: center;
    color: yellow;
    font-size: 1.1rem;
    margin-top: 10px;
}

#hiScorer {   
    border-radius: 6px;
    border: 2px solid black;    
    width: 55px;
    height: 25px;
    text-align: center;    
    font-size: 1.2rem;
    margin-top: 5px;
    color: blue;
}

#best-single-game {
    text-align: center;
    color: yellow;
    font-size: 1.1rem;
    margin-top: 10px;
}

.answer-board {
    display: grid; 
    height:95%;  
     grid-template-columns: 0.65fr 0.35fr;
     background-color:rgb(192, 156, 225);
    box-shadow: inset 3px 3px 6px rgba(0,0,0,0.2),
              inset -3px -3px 6px rgba(255,255,255,0.8);
     border: 1px solid rgba(0,0,0,0.2);  
     border-radius: 8px;
     border-color:blue;
     align-items: center;     
}

.answer-line {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap:10px;
    justify-content:flex-start;    
    margin-left: 32px;    
    font-family:Arial, Helvetica, sans-serif;
    font-size: 2rem;
    color: blue;
}

#answer-input {
    height: 40px;
    width: 180px;
    font-size: 1.75rem;  
    border-radius: 6px; 
    border: 3px solid blue;
}

#submit {
    height: 40px;
    width: 160px;
    margin-left: 10px;
    font-size: 1.5rem;
    margin-top: 6px;
    margin-right: 0px;
     border-radius: 8px;    
     cursor: pointer;
     text-align: center;    
     background-color: rgb(8, 0, 255);      
     color: white;       
}

#submit:disabled {
    background-color: rgb(171, 170, 170);
    color: rgb(71, 70, 70);
}

#answer-directions {
    font-size: 3rem;
}

.points {
    display: flex;
    flex-direction: row;
    align-items: center;    
    color: white;
    font-size: 1.2rem;
    gap: 5px;
}

.point-group {
  display: flex;
  align-items: center;   /* 👈 label + input align */
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  gap: 2px;
}

.game-points { 
    text-align: center;       
}

.word-points {
    text-align: center;      
}

.points-labels {
    white-space: nowrap;
    margin-left: 6px;
}

#word-points-value, #game-points-value {
    width: 45px;
    height: 30px; 
    border-radius: 6px; 
    border: 3px solid purple;
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 1.2rem;
    text-align: center; 
    margin: 0;
}

#gameOverDialog {  
  top: 50%;
  left: 50%;
  background-color: rgb(23, 131, 203); 
  color:white;
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 1.25rem; 
  border-radius: 10px;
  transform: translate(-40%, -50%);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  height: 320px;
  width: 400px;
  margin: auto;
  padding: 20px;
}

