body{
  height:100vh;
  display:flex;
  justify-content: center;
  align-items: center;
  background-color: black;
}


td {
    width:3rem;
    height:3rem;
    border-radius: 0.3rem;
    text-align: center;
    transition:0.25s;
    opacity: 0.6;
}


td:hover{
  transform:scale(1.5)
}

td:empty {
    border:none;
} 

tr:nth-child(7) :nth-child(3),
tr:last-child :nth-child(n + 3):nth-child(-n + 16) {
    background-color:rgb(1, 121, 121);
}


  tr:first-child :first-child,
  tr:nth-child(2) :nth-child(n+14):nth-child(-n+16),
  tr:nth-child(3) :nth-child(n+15):nth-child(-n+16),
  tr:nth-child(4) :nth-child(16) {
    background-color: rgba(255, 255, 0, 0.76);
  }

  tr:nth-child(8) :nth-child(n+3):nth-child(-n + 16),
  tr:nth-child(6) :nth-child(3) {
    background-color:rgb(211, 4, 4);
  }


  tr:nth-child(2) :nth-child(2),
  tr:nth-child(3) :nth-child(2),
  tr:nth-child(4) :nth-child(2),
  tr:nth-child(5) :nth-child(2),
  tr:nth-child(6) :nth-child(2),
  tr:nth-child(7) :nth-child(2),
  tr:nth-child(7) :nth-child(18)
   {
    background-color:rgb(236, 211, 179);
  }

  tr:nth-child(2) :first-child,
  tr:nth-child(3) :first-child,
  tr:nth-child(4) :first-child,
  tr:nth-child(5) :first-child,
  tr:nth-child(6) :first-child,
  tr:nth-child(7) :first-child,
  tr:nth-child(7) :nth-child(17)
  {
    background-color:rgb(140, 140, 250);
  }
  
  tr:nth-child(4) :nth-child(n+3):nth-child(-n+12),
  tr:nth-child(5) :nth-child(n+3):nth-child(-n+12),
  tr:nth-child(6) :nth-child(n+4):nth-child(-n+12),
  tr:nth-child(7) :nth-child(n+4):nth-child(-n+12) {
    background-color: rgb(1, 165, 1);
  }

  tr:first-child :nth-child(18),
  tr:nth-child(2) :nth-child(18),
  tr:nth-child(3) :nth-child(18),
  tr:nth-child(4) :nth-child(18),
  tr:nth-child(5) :nth-child(18),
  tr:nth-child(6) :nth-child(18),
  tr:nth-child(7) :nth-child(16){
    background-color: rgb(161, 4, 161);
  }
/* von da wo ich bin -n spanne bis Feld x */
/* das nte Kind + 15 Felder */
  tr:nth-child(2) :nth-child(13),
  tr:nth-child(3) :nth-child(14),
  tr:nth-child(4) :nth-child(n+14):nth-child(-n+15),
  tr:nth-child(5) :nth-child(n+15):nth-child(-n+16),
  tr:nth-child(6) :nth-child(16)
   {
    background-color: rgb(240, 157, 3);
  }

  tr:nth-child(3) :nth-child(13),
  tr:nth-child(4) :nth-child(8),
  tr:nth-child(4) :nth-child(13),
  tr:nth-child(5) :nth-child(n+13):nth-child(-n+14),
  tr:nth-child(6) :nth-child(n+13):nth-child(-n+15),
  tr:nth-child(7) :nth-child(n+13):nth-child(-n+14)
   {
    background-color:rgb(248, 110, 133);
  }

tr:nth-child(2) :nth-child(17),
tr:nth-child(3) :nth-child(17),
tr:nth-child(4) :nth-child(17),
tr:nth-child(5) :nth-child(17),
tr:nth-child(6) :nth-child(17),
tr:nth-child(7) :nth-child(15){
  background-color: rgb(184, 92, 27);
}



