body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
  }
  
  h1 {
    text-align: center;
    font-family:  'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 1.5rem;
    margin-top: 5px;
    margin-bottom: 5px;
   }
   
  
  #mainContainer{
    display: flex;
    flex-direction: column;
    align-items: center
   }

   .messageContainer{
    margin: 10px;
    text-align: center;
    height: 30px
   }

   .wordRow {
    display: flex;
     align-items: center;
     flex-direction: row;
   }

   .letterBox {
    border: 2px solid gray;
    border-radius: 3px;
    margin: 2px;
    font-size: 2.75rem;
    font-weight: 700;
    width: min(10vw, 3.5rem);
   height: min(10vw, 3.5rem);
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  }
 
  #keyboardContainer {
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
 
 .hidden {
   visibility: hidden
  }
  
  #keyboardContainer div {
    display: flex;
  }
  
  .secondRow {
    margin: 0.5rem 0;
  }
  
  .keyboardButton {
    font-size: min(4vw, 1.5rem); 
    font-weight: 700;
    padding: 0.5rem;
    margin: 0 2px;
    cursor: pointer;
    text-transform: uppercase;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    border: 1px solid gray
  }

.fadedKey {
    opacity: 0.5;
    pointer-events: none; /* optional: prevent clicking */
}

.button-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none; /* optional if you want it to not be clickable */
}

.buttonsContainer {
  display:flex;
  flex-direction: row;
  gap:10px;
}


.bottomButton {
  display: inline-flex;
  cursor: pointer;
  text-decoration: none;
  background-color: #404040;
  color: white;
  padding: 5px 5px;
  border-radius: 30px;
  font-size: 18px;
  font-family: Arial, Helvetica, sans-serif;
  justify-content: center;
  align-items: center;
  margin-top: 10px; /* Adds spacing between text and button */
  height:30px
}

.diagonalBox {
  outline: 2px solid rgb(0, 0, 0);
}
 