border: 2px dashed #008000;
2px dashed #0000FF;
2px dashed #FF0000;
your code has a mistake, both
.enemy hae a border value (2px dashed #0000FF; and 2px dashed #FF0000;) but no border property. (like you did in friend)
nice catch my friend. now i know that sometimes im totally blind. thank you for the reply.