board-cell {
  --cell-border-color: #fff;
}

.boardEnemy {
  cursor: url('imagenes/puntomira.png'), auto;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background: #fafafa;
  width:100vw;
}

.game {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.boards {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.btn-group {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}
.btn-group > button {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
}
.minesRemaining {
  padding: 1rem;
  font-size: 1.5rem;
}
.modal {
  flex-direction: column;
}
.selected {
  background: #09f;
  border: 3px solid red;
}
.ships {
  display: flex;
  width:100vw;
  justify-content: center;
  align-items: center;
}

.ships UL {
  list-style: none;
  padding: 1rem;
  margin: 1rem;
}

.ships UL LI {
  cursor: pointer;
  border: 1px solid transparent;
}

.ships UL LI:hover, .selected {
  background: #ddd;
  border: 1px solid red;
}

.buttons {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.buttons button {
  width: 10rem;
  height: 3rem;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  margin-top:0.3rem;
}

#shipsImages {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}

.invisible {
  visibility:hidden;
}

.disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

/**
 * Modal
 */

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

.modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  max-width: 80%;
  text-align: center;
}
