.chess-app-container {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.chess-app-mode-selection {
  margin-top: 40px;
}

.chess-app-heading {
    font-size: 24px;
    margin-bottom: 20px;
}

.chess-app-button {
    padding: 20px 40px;
    font-size: 20px;
    margin: 10px;
    cursor: pointer;
    border: none;
    background-color: #4A90E2;
    color: white;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}
.chess-app-join-ui {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin-top: 40px;
}

.chess-game-buddyname {
  font-size: 32px;
}

.chess-app-button:hover {
    background-color: #357ABD;
}

.chess-app-input {
    padding: 10px;
    font-size: 16px;
    margin: 10px;
    width: 240px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.chess-app-status {
    margin: 12px;
    font-size: 18px;
    font-weight: bold;
}

.chess-app-board {
    width: 480px;
    margin: 0;
    padding: 0;
}

.chess-app-opponent {
    margin-top: 20px;
    font-size: 20px;
    color: #333;
}
.chess-app-game-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  margin-top: 20px;
}

.chess-app-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 0;
  min-width: 300px;
}

.chess-app-small {
  padding: 10px 20px;
  font-size: 16px;
  margin-bottom: 10px;
  background-color: #777;
  border: none;
  color: white;
  border-radius: 6px;
  cursor: pointer;
}

.chess-app-small:hover {
  background-color: #555;
}


@media (max-width: 767px) and (pointer: coarse) and (hover: none) {
  .chess-app-game-row {
    flex-direction: column;
    align-items: center;
  }

  .chess-app-controls {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .chess-app-small {
    margin: 5px;
  }
}
