body {
    font-family: Arial, sans-serif;
    text-align: center;
    background:rgb(236, 205, 165);
}


#game-container {
    width: 60%;
    margin: 0 auto;
}

#word-display {
    font-size: 2rem; 
    margin: 1.25rem 0; 
    border: 0.1rem solid #ccc; 
    padding: 0.6rem; 
    background-color: #fff;
}

#scoreboard {
    display: flex;
    justify-content: space-between;
    margin: 1.5rem; 
}

#leaderboard ul {
    list-style: none;
    padding: 0; 
}


#keyboard {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 0.5rem;
    margin-top: 1.5rem;
    margin-bottom:2rem;
  }
  
  .key {
    padding: 0.75rem;
    background-color: #ccc;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
  }
  
  .key.correct {
    background-color: green;
    color: white;
  }
  
  .key.incorrect {
    background-color: red;
    color: white;
  }
  
  #guess-container {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
  }
  
  .letter-slot {
    width: 2rem;
    height: 2rem;
    border: 1px solid #000;
    text-align: center;
    line-height: 2rem;
    font-size: 1.5rem;
    background-color: rgb(196, 196, 196);
  }  
  
  #submit-word {
    font-size: 1rem;
    padding: 0.5rem;
    margin-top:4rem;
    margin-left: 0.5rem;
  }
  

  #popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
  }
  
  #popup.hidden {
    display: none;
  }
  
  #popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
  }
  
  #popup-message {
    margin-bottom: 20px;
  }
  
  #attempts {
    margin-top: 10px;
    font-size: 18px;
    margin-bottom:1rem;
  }
  
  #status {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    flex-direction:column;

  }
  
  #attempts, #timer {
    font-size: 16px;
    font-weight: bold;
  }
  