body {
  background-color: #000;  
  font-family:Arial, Helvetica, sans-serif;
  color: #fff;          
}



header {
  background-color: #111;
  padding: 16px;
}

header > h1{
  color: #FFE81F;      
}

.gameplay-area {
  grid-area: gameplay;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr 1fr
}

.target-panel, .player-panel {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  display: flex;
  flex-direction: column
}

.target-grid-container, .player-grid-container {
  width: 100%;
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.target-grid, .player-grid {
  width: 100%;
  height: 100%;
  min-height: 250px;
  border: 2px solid #bdc3c7;
  background-color: white;
}


.header-content .level-indicator {
  color: #ffffff;
  font-size: 0.9rem;
}

.progress-bar {
  background-color: #333; 
  height: 6px;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 8px;
}

.progress {
  background-color: #FFE81F; 
  height: 100%;
}

.layoutBoxes { /* for the different boxes by player and target*/
  background-color: #222;  
  color: #FFE81F;          
  border: 1px solid #444;    
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

button {
  background-color: #222;   
  color: #FFE81F;            
  border: 1px solid #FFE81F; 
  padding: 8px 16px;
  margin: 4px 0;
}

button:hover {
  background-color: #FFE81F; 
  color: #222;              
}


.instructions, .code-editor {
  background-color: #111; 
  border: 1px solid #444;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}

.modal {
  background-color: rgba(0, 0, 0, 0.8); 
  position: fixed;
  top: 0; left: 0;
  width: 100%; 
  height: 100%;
  display: flex; 
  align-items: center; 
  justify-content: center;
}

.modal-content {
  background-color: #111; 
  color: #FFE81F;      
  border: 2px solid #FFE81F;
  padding: 24px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  text-align: center;
}

.player-panel, .target-panel {
  flex: 1;
  background-color: #222;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 16px;
}

.player-panel h3,
.target-panel h3 {
  color: #FFE81F;       
  margin-top: 0;
}
