  * {
      box-sizing: border-box;
  }

  body {
    background: rgba(158, 158, 158, 0.21);
  }

  .modal {
    display: flex;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    background: transparent;
    transition: 1s;
  }
  .modal:hover .right-wing {
    transform: translateX(0%);
  }
  .modal:hover .left-wing {
    transform: translateX(0%);
  }

  .modal .left-wing {
    height: 100%;
    width: 50%;
    background: black;
    transform: translateX(-50%);
    transition: 1s;
  }

  .modal .right-wing {
    height: 100%;
    width: 50%;
    background: silver;
    transform: translateX(50%);
    transition: 1s;
  }

  main .container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
  }

  #tools-panel {
    display: flex;
    justify-content: flex-start;
    padding: 15px;
    background: silver;
  }

  .tools-section {
    padding: 20px;
    background: #607d8b;
  }

  .tools-section h2 {
    margin-top: 0;
  }

  .submit-btn {
    margin: 5px;
    padding: 10px;
    background: #8BC34A;
    border: none;
    text-transform: uppercase;
    font-family: cursive;
    transition: 0.5s;
  }

  .submit-btn:hover {
    background: black;
    color: white;
    cursor: pointer;
  }

/*Fields*/
  #board {
    background: grey;
    border-collapse: collapse;
    margin: 10px;
    border: solid 5px saddlebrown;
  }

  td {
    position: relative;
    width: 60px;
    min-width: 60px;
    height: 60px;
    min-height: 60px;
    border: solid 1px black;
    text-align: center;
  }

  .field-white {
    background: white;
  }
  .field-black {
    background: grey;
  }

  .checkField-avaliable {
    background: rgba(33, 150, 243, 0.6);
    cursor: pointer;
  }

  .checkField-friendly {
      background: green;
  }

  .checkField-enemy {
    background: red;
  }

/*FIGURES*/

  img {
    width: 100%;
    max-width: 100%;
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: 0.4s;
    z-index: 2;
  }

  img:hover {
    transform: scale(1.3);
  }

  .active {
    border: yellow solid 4px;
  }

  .checkField-enemy img {
    cursor: crosshair;
  }

  .checkField-friendly img {
    cursor: not-allowed;
}


