/* Sicherstellen, dass das Schachbrett eine feste Größe hat */
#board1 {
  width: 400px;  /* Breite des Schachbretts */
  height: 400px; /* Höhe des Schachbretts */
  margin: 0 auto; /* Zentrieren des Schachbretts */
}

.container {
  text-align: center;
}

.fen-controls {
  margin-top: 20px;
}

.controls {
  margin-top: 20px;
}

button {
  margin: 5px;
  padding: 10px;
  font-size: 14px;
  cursor: pointer;
}

input[type="text"] {
  padding: 5px;
  font-size: 14px;
  width: 300px;
}
#chessboard {
    display: grid;
    grid-template-columns: repeat(8, 50px);
    grid-template-rows: repeat(8, 50px);
    margin: 20px 0;
    width: 400px;
    height: 400px;
}
#chessboard div {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#chessboard .light {
    background-color: #f0d9b5;
}

#chessboard .dark {
    background-color: #b58863;
}


/* Stil für die hervorgehobenen Felder */
.square-available {
    background-color: rgba(255, 255, 0, 0.4); /* Gelbe Hintergrundfarbe */
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 0, 0.6);
}
