
            * {
  box-sizing: border-box;
}
.row::after {
  content: "";
  clear: both;
  display: table;
}
.header1 {
 display: flex;
 flex-wrap: wrap;

 font-size: 1em;
 color: white;
 background-color: green;
 border: 1px solid springgreen;
 padding: 2px;
}
.header2 {
 display: flex;
 flex-wrap: wrap;

  font-size:3em;
  color: white;

 background-color: black;
 border: 1px solid springgreen;
 padding: 10px;
}

 .footer {
 display: flex;
 flex-wrap: wrap;
justify-content: center;
 background-color: black;
 border: 2px solid springgreen;
 padding: 10px;
 color: white;
 text-align: center;
 font-size: 1em;
 position: fixed;
 bottom: 0;
 width: 97%;
 }
 /* Six buttons with code link to some pages in this project */
 .button-group {
 display: flex;
 flex-wrap: wrap;
 justify-content: center;
 align-items: center;
 margin-top: 20px;
 }
 .button {
 display: inline-block;
 padding: 4px;
 margin: 4px;
 background-color: GREEN;
 color: white;
 border: 1px solid black;
 border-radius: 4px;
 font-size: 1em;
 text-align: center;
 text-decoration: none;
 }

 /* Fixed background */
 body {

   background-color: #FFFFFF;
   background-image: url('paint6.JPG');
   background-attachment: fixed;
   background-position: center center;
   background-repeat: repeat;
   background-size: 100% 100%;
   color: #000000;
   font-family: Arial;
   font-weight: normal;
   font-size: 13px;
   line-height: 1.1875;
   margin: 0;
   padding: 0;


 }

        #gameArea {
            top: -100%;
            left: 0%;
            width: 1000px;
            height: 500px;
            background-color: transparent;
            border: 1px solid BLUE;
            position: relative;
        }



          				.buttone {
            width: 50px;
            height: 50px;
            background-color: springgreen;
             border: 2px solid red;
             border-radius: 30%;
             padding: 6px;
             margin: 6px;
            display: inline-block;
            text-align: center;
            color: red;
            line-height: 6px;
            cursor: pointer;
        }



                  #character {
      position: absolute;
      BOTTOM: 0%;
      left: 50%;

       width: 100px;
            height: 100px;
            background-image: url('truck1.png');



    }

    .enemy {
      position:absolute;
      top:260px;
      width: 100px;
            height: 100px;
            background-image: url('enemy1.png');
       animation: move-enemy 20s infinite;
    }

    @keyframes move-enemy {
      0% {
        transform: translateX(100);
      }
      100% {
        transform: translateX(calc(10% + 500px));
      }

         #canvas {



    border: 0.0px solid black;

    margin: 6px 0 6px 0;

    cursor: pointer;

}

#colors button

{

    width: 40px;

    height: 40px;

    border-radius: 50%;

    margin-top: 6px;

}

#black

{

    background: black;

}

#pink

{

    background: pink;

}

#red

{

    background: red;

}

#green

{

    background: green;

}

#blue

{

    background: blue;

}

#orange

{

    background: orange;

}

#white

{

  background:white;

}

#yellow

{






         /* Flexible layout responsive design */

 .header1 {
 font-size: 0.5em;
 padding: 2px;
 }
 /* Big red header with red border */
 .header2 {
 font-size: 4em;
 padding: 2px;
 }
 /* Six buttons with code link to some pages in this project */
 .button-group {
 margin-top: 10px;
 }
 .button {
 padding: 5px;
 margin: 5px;
 font-size: 1em;
 }




        #gameArea {
            top: -100%;
            left: 0%;
            width: 360px;
            height: 400px;
            background-color: transparent;
            border: 1px solid BLUE;
            position: relative;
        }





.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.column {
  flex: 100%;

  padding: 5px;
}
.column img {

  width: 100%;
  height: auto;

      }
@media screen and (max-width: 600px) {
  .column {

    width: 100%;
  }


}