/* from core */
@font-face {
  font-family: 'myfont';
  src: url('fonts/LatoLatin-Regular.eot');
  src: url('fonts/LatoLatin-Regular.woff') format('woff'),
    url('fonts/LatoLatin-Regular.ttf') format('truetype');
}

/* @font-face {
    font-family: 'myfontbold';
    src: url('fonts/LatoLatin-Bold.eot');
    src: url('fonts/LatoLatin-Bold.woff') format('woff'),
        url('fonts/LatoLatin-Bold.ttf') format('truetype');
    font-weight: bold;
} */



/* Apply to everything */
/* * {
    font-family: myfont, arial, helvetica, sans-serif;
   } */

html,
body {
  margin: 0px;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #000000;
  font-family: myfont, arial, helvetica, sans-serif;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;

  touch-action: none;

}

a:link {
  color: #333333;
}

a:hover {
  color: #4d4d4d;
}

.nounderline {
  text-decoration: none !important;
  font-size: 1.75rem;
  font-weight: 400;
  color: lightgrey;
}



#blackOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  z-index: 10;
  /* Ensure it overlays the game canvas */
  transition: opacity 1s ease;
  /* Smooth fade-out */
  opacity: 1;
  /* Fully visible initially */
  pointer-events: none;
  /* Prevent interaction */

}

#blackOverlay.show {
  opacity: 0;
  /* Fade out */

}



/* from core end */
#gameCanvas {

  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  z-index: 2;

  /* position: fixed;
  display: block;
  max-width: 100vw; /* Fit within viewport width */
  /*  max-height: 100vh; /* Fit within viewport height */
  /*  z-index: 2; */

}

/* from core end */
#particleCanvas {
  position: fixed;
  display: block;
  max-width: 100vw;
  /* Fit within viewport width */
  max-height: 100vh;
  /* Fit within viewport height */
  z-index: 3;
}

#startoptionsdiv {

  font-family: myfont, arial, helvetica, sans-serif;
  font-size: 1.5rem;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  height: 3 REM;

  width: 50%;

  color: #c1c1c1;
  box-sizing: border-box;
  position: fixed;
  left: 50%;
  top: 300px;
  transform: translate(-50%, -50%);
  margin: 0;
  max-width: 520px;
  width: min(90vw, 520px);
  transition: 0.4s;

}


#startScreen {
  position: absolute;
  top: 0;
  left: 0;
  transform: none;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1rem;
  overflow-y: hidden;
  background-color: rgba(0, 0, 0, 0);
  z-index: 7;
  flex-direction: column;
}

.logo {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
}


/************************************ JoyStick ***********************************/
/* 
body {
    margin: 0;
    padding: 0;
    margin-top: 20px;
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
  }
  
  #buttons {
    position: relative;
    border: solid 1px #aaa;
    display: inline-block;
    width: 100%;
    border-radius: 10px;
    height: 50px;
    overflow: hidden;
    margin-bottom: 20px;
    box-sizing: border-box;
  }
  
  .button {
    display: inline-block;
    background: #ccc;
    color: black;
    height: 50px;
    width: 33%;
    margin: 0;
    margin-right: -3px;
    text-align: center;
    line-height: 45px;
    font-size: 1.5rem;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  
  .button:hover {
    background: #eee;
  }
  
  .button:active {
    background: #ddd;
  }
  
  .button.active {
    color: white;
    background: #888;
  }
  
  .button:nth-child(2) {
    width: 34%;
    border-left: solid 1px #aaa;
    border-right: solid 1px #aaa;
  }
  
  .highlight {
    display: none;
  }
  
  .highlight.active {
    display: block;
  }
  
  .zone {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
  }
  
  .zone.active {
    display: block;
  }
  
  .zone > h1 {
    position: absolute;
    padding: 10px 10px;
    margin: 0;
    color: white;
    right: 0;
    bottom: 0;
  }
  
  .zone.dynamic {
    background: rgba(0, 0, 255, 0.1);
  }
  
  .zone.semi {
    background: rgba(255, 255, 255, 0.1);
  }
  
  .zone.static {
    background: rgba(255, 0, 0, 0.1);
  } */

/* ---------------------------------- End JoyStick ---------------------------------- */






/*
.controls {
    position:fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-around;
    width: 100%;   
    max-width: 400px;   
    z-index:100;
}
*/

.controls {

  /* Change to space-around for equal spacing */
  /* Optional: limit max width */

}

@media (orientation: portrait) {

  .control-button {
    /* position:fixed;   */
    position: absolute;
    /* now relative to .controls/.controls2 */
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 11vw;
    height: 11vw;
    font-size: 1.5rem;
    cursor: pointer;
    /*   transition: background 0.3s, opacity 0.3s; Add transition for opacity */
    user-select: none;
    /* Prevent text selection */
    opacity: 1;
    /* Default opacity */
    outline: none;
    /* Remove the blue highlight box */
    -webkit-tap-highlight-color: transparent;
    /* Remove tap highlight color on mobile */
    z-index: 100;
    color: rgba(255, 255, 255, 0.5);
    ;
    /* <-- This sets the text color */
  }


  /* Player 1 */
  #left {
    bottom: 3vw;
    left: 3vw;
  }

  #right {
    bottom: 3vw;
    left: 17vw;
  }

  #thrust {
    bottom: 3vw;
    right: 17vw;
  }

  #fire {
    bottom: 3vw;
    right: 3vw;
  }

  #hyperspace {
    bottom: 17vw;
    left: 3vw;
  }



  /* Player 2 */
  #left2 {
    top: 3vw;
    right: 3vw;
  }

  #right2 {
    top: 3vw;
    /* 2% viewport width */
    right: 17vw;
  }

  #thrust2 {
    top: 3vw;
    left: 17vw;
    rotate: 180deg;
  }

  #fire2 {
    top: 3vw;
    /* 2% viewport width */
    left: 3vw;
  }

  #hyperspace2 {
    top: 25vw;
    right: 3vw;
  }

}



@media (orientation: landscape) {

  .control-button {
    /* position:fixed;   */
    position: absolute;
    /* now relative to .controls/.controls2 */
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 11vh;
    height: 11vh;
    font-size: 1.5rem;
    cursor: pointer;
    /*   transition: background 0.3s, opacity 0.3s; Add transition for opacity */
    user-select: none;
    /* Prevent text selection */
    opacity: 1;
    /* Default opacity */
    outline: none;
    /* Remove the blue highlight box */
    -webkit-tap-highlight-color: transparent;
    /* Remove tap highlight color on mobile */
    z-index: 100;
    color: rgba(255, 255, 255, 0.5); /* <-- This sets the text color */
  }



  /* Player 2 */
 
  /* Player 1 */
  #left {
    bottom: 3vw;
    left: 3vw;
  }

  #right {
    bottom: 3vw;
    left: 17vw;
  }

  #thrust {
    bottom: 3vw;
    right: 17vw;
  }

  #fire {
    bottom: 3vw;
    right: 3vw;
  }

  #hyperspace {
    bottom: 25vw;
    left: 3vw;
  }



  /* Player 2 */
  #left2 {
    top: 3vw;
    right: 3vw;
  }

  #right2 {
    top: 3vw;
    /* 2% viewport width */
    right: 17vw;
  }

  #thrust2 {
    top: 3vw;
    left: 17vw;
    rotate: 180deg;
  }

  #fire2 {
    top: 3vw;
    /* 2% viewport width */
    left: 3vw;
  }

  #hyperspace2 {
    top: 25vw;
    right: 3vw;
  }

}



.checkbox {
  accent-color: rgb(0, 0, 0);

}


.radio {
  accent-color: rgb(0, 255, 195);


}




#fullscreenContainer {

  display: block;

  position: fixed;
  /* Fixed positioning */
  top: 10px;
  /* Distance from the top */
  right: 42px;
  /* Distance from the right */
  z-index: 1000;
  /* Ensure it is above other elements */
}

#fullscreen {
  background-color: transparent;
  /* Make button background transparent */
  border: none;
  /* Remove border */
  cursor: pointer;
  /* Change cursor to pointer */
  outline: none;
  /* Remove outline */
  z-index: 7;
}



/* Scrollbar for the ACTUAL scrolling element */
#mydropdown::-webkit-scrollbar {
    width: 6px; 
}
#mydropdown::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 6px;
}
#mydropdown::-webkit-scrollbar-track {
    background: transparent;
}



/* Dropdown */
.dropbtn {
  background-color: #00000000;
  border: none;
  cursor: pointer;
  display: none;
}


.dropdown {
  position: fixed;
  display: inline-block;
  right: 0px;
  z-index: 200;
  top: 10px;
}


.dropdown-content {
  /* display: none; */
  height: 100%;
  /* adjust the height to fit your content otherwise shitty scrollbar */
  position: absolute;
  top: 54px;
  background-color: #1c1c1ce2;
  color: #ffffff86;
  /* Full opacity on hover */
  width: 220px;
  /* right: 0px; */
  right: -220px;
  /* start offscreen right */
  transition: right 0.3s ease-in-out;
  
  /* overflow: auto; */
   /* overflow-y: hidden;  */

      overflow-x: hidden;
    overflow-y: auto;     
    max-height: 90vh;      /* stay inside viewport */
    overscroll-behavior: contain;

  /* hides scrollbar */
  z-index: 250;
  /*  padding-left: 10px; */

}





.dropdown-content a {
  color: #ffffff86;
  text-decoration: none;
  display: block;
  z-index: 60;
}


.show {
  right: 0px;
  /* slide in from offscreen right */
  display: block;


}


.dropdown-content a:hover {
  color: #ffffff !important;
  /* Full opacity on hover */
}


.hide {
  display: none;
}


#coverscreen {
  position: fixed;
  /* zindex does not work with fixed aka static position */
  width: 100%;
  height: 100%;
  background: rgb(0, 0, 0);
  z-index: 8;
}




/* Style the buttons that are used to open and close the accordion panel */
.accordion {
  font-family: "myfont", arial, helvetica, sans-serif;
  background-color: #0e0e0eac;
  color: #b3b3b3;
  cursor: pointer;
  padding-bottom: 8px;
  padding-top: 8px;
  width: 100%;
  text-align: center;
  border: none;
  outline: none;
  transition: 0.25s;
  margin-top: 5px;

  font-size: 1rem;
}

.accordion:hover,
.accordion:active {
  background-color: #000000dd;
  color: #ffffff;
  cursor: pointer;
  padding-top: 11px;
  padding-bottom: 10px;
  width: 100%;
  text-align: center;
  border: none;
  outline: none;
  transition: 0.2s;
  margin-top: 5px;

}

.checkbox {
  color: #ffffff;
  opacity: 0.7;
}

.checkbox:hover {
  color: #ffffff;
  opacity: 1;
}

.checkboxtext {
  font-family: myfont, arial, helvetica, sans-serif;
  color: #ffffff;
  font-size: 0.8rem;
  opacity: 0.7;
}

.checkboxtext:hover {
  color: #ffffff;

  opacity: 1;
}


.myslider {
  accent-color: rgb(255, 255, 255);
  margin-top: 10px;


}



.slider {
  accent-color: rgb(255, 255, 255);
  margin: 0;
  padding: 0;
  width: 100%;
  height: 4px;

  outline: none;

}

.slider:hover {
  opacity: 1;
  /* Fully shown on mouse-over */
}

.slidertext {
  font-family: myfont, arial, helvetica, sans-serif;
  color: #ffffff;
  font-size: 0.8rem;

  opacity: 0.7;
}

.slidertext:hover {
  color: #ffffff;
  opacity: 1;
}



.pickertext {
  font-family: myfont, arial, helvetica, sans-serif;
  color: #ffffff;
  opacity: 0.7;
  font-size: 0.8rem;
}

.pickertext:hover {
  color: #ffffff;
  opacity: 1;
}


.radiotext {
  font-family: myfont, arial, helvetica, sans-serif;
  color: #ffffff;
  font-size: 1rem;
  opacity: 0.7;
}

.radiotext:hover {
  color: #ffffff;
  opacity: 1;
}

.start-player-row {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: nowrap;
}

.start-player-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.start-player-option input[type="radio"] {
  cursor: pointer;
}






/* Style the accordion panel. Note: hidden by default */
.panel {
  padding: 0 10px;

  background-color: rgba(0, 0, 0, 0);

  /*   display: none;
    overflow: hidden;*/

  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;


}

.keycontrols {
  font-family: arial, helvetica, sans-serif;
  color: #ffffff;
  font-size: 0.7 rem;
  font-size: 0.8rem;
  opacity: 0.7;
  margin: 0;
}


.key-button {
  border: none;
  cursor: pointer;
  width: 100%;
  margin-top: 5px;
  background-color: #00000085;
  color: #c1c1c1;
}

.key-button:hover {
  border: none;
  cursor: pointer;
  width: 100%;
  margin-top: 5px;
  background-color: #46464686;
  color: #ffffff;
}


.betatext {
  font-family: myfont, arial, helvetica, sans-serif;
  color: #ffffff;
  font-size: 0.8rem;
  opacity: 0.7;
  position: fixed;
  bottom: 10px;
  right: 15px;
  text-align: right;
  width: calc(100% - 30px);
}




.aibutton {
  font-family: myfont, arial, helvetica, sans-serif;
  font-size: 1rem;

  border: none;
  cursor: pointer;
  border-radius: 5px;
  height: 30px;
  margin-top: 10px;
  margin-bottom: 10px;
  width: 100%;
  background-color: #b2b2b281;
  color: #c1c1c1;
  z-index: 11;
}



/* restrt button on gameover */

.resetkeys {
  font-family: myfont, arial, helvetica, sans-serif;
  font-size: 1rem;

  border: none;
  cursor: pointer;
  border-radius: 5px;
  height: 30px;
  margin-top: 10px;
  margin-bottom: 10px;
  width: 100%;
  background-color: #00000081;
  color: #c1c1c1;
  z-index: 11;
}

.resetkeys:hover {
  background-color: #00000080;
  color: #ffffff;
  transition: 0.2s;
}



/* #gameversion option:checked {
  background-color: #00ff95; /* Your highlight color 
  color: white;
} */



#theme-select,
#gameversion,
#select_voice,
#select_voice1,
#select_backgroundmusic {
  font-family: myfont, arial, helvetica, sans-serif;
  font-size: 1rem;

  border: 1;
  cursor: pointer;
  border-radius: 5px;
  height: 30px;
  margin-top: 10px;
  margin-bottom: 10px;
  width: 100%;
  background-color: #00000081;
  color: #c1c1c1;
  z-index: 11;
}

#theme-select,
#gameversion,
#select_voice,
#select_backgroundmusic:hover {
  background-color: #00000080;
  color: #ffffff;
  transition: 0.2s;
}

#theme-select,
#gameversion,
#select_voice,
#select_backgroundmusic:focus {
  border-color: #818181;
  color: #ffffff;
  transition: 0.2s;
}

option {
  background-color: #37373780;
  color: #ffffff;
  transition: 0.2s;
}

#mybuttonrestartoptions {

  font-family: myfont, arial, helvetica, sans-serif;
  font-size: 1.5rem;
  width: 100%;
  margin: 0;


  border: none;
  cursor: pointer;
  border-radius: 5px;
  height: 60px;
  margin-top: 2px;
  margin-bottom: 10px;
  background-color: #000000a9;
  color: #9e9e9e;
  z-index: 7;
}

#mybuttonrestartoptions:hover {
  background-color: #000000b7;
  color: #ffffff;
  transition: 0.2s;
}






.mybutton {
  font-family: myfont, arial, helvetica, sans-serif;
  font-size: 1.5rem;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  height: 60px;
  margin-top: 20px;
  width: 100%;
  background-color: #1e1e1e8b;
  color: #c1c1c1;
  z-index: 7;
}

.mybutton:hover {
  background-color: #32323282;
  color: #ffffff;
  transition: 0.4s;  
}



#logo {
  font-size: 0.6rem;
  color: #ffffff;
  display: block;
  box-sizing: border-box;
  margin: 0 auto; 
  width: min(90vw, 520px);
  /* max-width: 520px; */
  text-align: center;
  overflow-x: hidden;
  opacity: 1;
  width: 100%;

  transition: all 0.4s ease;
}


#logo.animate {
  opacity: 0;
  /* State to transition to */
  transform: translateX(-50%) translateY(20vh) scale(1);
  /* Example animation */
}


#logo:hover {
  color: #ffffff;
  transition: 0.4s;
}



#resumeButton:hover {
  background-color: #8f8f8f;
  color: #ffffff;
  transition: 0.4s;
}



#resumeButton {
  font-family: myfont, arial, helvetica, sans-serif;
  font-size: 1.5rem;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  height: 60px;
  margin-top: 20px;
  width: 50%;
  background-color: #5a5a5a70;
  color: #c1c1c1;
  position: absolute;
  /* Add absolute positioning */
  left: 0;
  /* Align it horizontally */
  right: 0;
  /* Center horizontally */
  bottom: 10%;
  /* Set it 20% from the bottom */
  margin: 0 auto;
  /* Optional, ensures centering */
}


#loadButton:hover {
  background-color: #8f8f8f;
  color: #ffffff;
  transition: 0.4s;
}



#loadButton {
  font-family: myfont, arial, helvetica, sans-serif;
  font-size: 1.5rem;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  height: 60px;
  margin-top: 20px;
  width: 50%;
  background-color: #5a5a5a70;
  color: #c1c1c1;
  position: absolute;
  /* Add absolute positioning */
  left: 0;
  /* Align it horizontally */
  right: 0;
  /* Center horizontally */
  bottom: 10%;
  /* Set it 20% from the bottom */
  margin: 0 auto;
  /* oOptional, ensures centering */
  transition: 0.4s;
}





#startButton:hover {
  background-color: #8f8f8f;
  color: #ffffff;
  transition: 0.4s;
}



#startButton {
  font-family: myfont, arial, helvetica, sans-serif;
  font-size: 1.5rem;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  height: 60px;
  margin-top: 20px;
  width: 50%;
  background-color: #5a5a5a70;
  color: #c1c1c1;
  box-sizing: border-box;
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  margin: 0;
  max-width: 520px;
  width: min(90vw, 520px);
  
  transition: 0.4s;
}

@media (max-height: 760px), (max-width: 700px) {
  #startScreen {
    justify-content: flex-start;
    padding-top: 1rem;
    /* margin-left:15px;
margin-right: 15px;; */

  }

  #logo {
    font-size: 0.45rem;
  }

  #startoptionsdiv,
  #startButton {
    width: min(94vw, 520px);
  }
}



#button1:hover {
  background-color: #32323284;
  color: #ffffff;
  transition: 0.4s;
}



#button1 {
  height: 60px;
  margin-top: 20px;
  width: 100%;

  background-color: #1e1e1e;
  color: #c0c0c0;
}


canvas {
  /* position: absolute;  */

  /* seems to make faster!!! */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -o-transform: translateZ(0);
  -ms-transform: translateZ(0);
  will-change: transform;
  /* hint to the browser that the transform property will change */
  backface-visibility: hidden;
  /* prevent unnecessary rendering of the back face of the canvas */

  display: block;
  max-width: 100vw;
  /* Fit within viewport width */
  max-height: 100vh;
  /* Fit within viewport height */
  /* aspect-ratio: 16 / 9; /* Set to your game's aspect ratio */
  /*  image-rendering: pixelated; /* Crisp scaling for pixel art */
}



#textdisplay1text {
  margin: 0;
}

#textdisplay2text {
  margin: 0;
}


#textdisplay3text {
  margin: 0;
}

#textdisplay4text {
  margin: 0;
}

#textdisplay5text {
  margin: 0;
}


/* FPS */
#textdisplay1 {
  display: none;
  color: #ffffff;
  z-index: 5;
  position: fixed;
  /* Fixed positioning */
  top: 44px;
  /* Distance from the top */
  right: 10px;
  /* Distance from the right */
  z-index: 5;
  /* Ensure it is above other elements */
  text-align: right;

}

/* Under Construction */
#textdisplay2 {
  display: none;
  color: #00ff08;
  z-index: 5;
  position: fixed;
top: 88px;
  /* Fixed positioning */
  bottom: 0px;
  /* Distance from the top */
  right: 10px;
  /* Distance from the right */
  z-index: 5;
  /* Ensure it is above other elements */
  text-align: right;
}

/* FPS Title */
#textdisplay3 {
  display: none;
  color: #ffffff;
  z-index: 5;
  position: fixed;
  /* Fixed positioning */
  top: 44px;
  /* Distance from the top */
  right: 46px;
  /* Distance from the right */
  z-index: 5;
  /* Ensure it is above other elements */
  text-align: right;
}

/* Info 1 */


#textdisplay4 {
  display: none;
  color: #ffffff;
  z-index: 5;
  position: fixed;
  /* Fixed positioning */
  top: 54px;
  /* Distance from the top */
  right: 90px;
  /* Distance from the right */
  z-index: 5;
  /* Ensure it is above other elements */
  text-align: right;

  /*
    display: none;
    color: #ffffff;
    z-index: 5;
    position: fixed;
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
    z-index: 10;
     */

}

/* Info 2  Bottom right Dev display */
#textdisplay5 {
  display: none;
  color: #ffffff;
  z-index: 5;
  position: fixed;
  /* Fixed positioning */
  bottom: 20px;
  /* Distance from the top */
  right: 10px;
  /* Distance from the right */
  z-index: 5;
  /* Ensure it is above other elements */
  text-align: right;
}


#bmcarthur {
  display: none;
  color: #818181;
  z-index: 5;
  position: fixed;
  /* Fixed positioning */
  bottom: 40px;
  /* Distance from the top */
  right: 10px;
  /* Distance from the right */
  z-index: 5;
  /* Ensure it is above other elements */
  text-align: right;
}





/* Style the color picker input element */

#colorPickerttext {
  width: 50px;
  font-weight: normal;
  margin-right: 10px;


}



#colorpicker1 {

  width: 30px;
  height: 20px;
  padding: 0px;
  border: 0px solid #ccc;
  border-radius: 0px;
  background-color: #00000000;
}

#colorpicker2 {
  width: 30px;
  height: 20px;
  padding: 0px;
  border: 0px solid #ccc;
  border-radius: 0px;
  background-color: #00000000;
}

#colorpicker3 {
  width: 30px;
  height: 20px;
  padding: 0px;
  border: 0px solid #ccc;
  border-radius: 0px;
  background-color: #00000000;
}

#colorpicker4 {
  width: 30px;
  height: 20px;
  padding: 0px;
  border: 0px solid #ccc;
  border-radius: 0px;
  background-color: #00000000;
}

#colorpicker5 {
  width: 30px;
  height: 20px;
  padding: 0px;
  border: 0px solid #ccc;
  border-radius: 0px;
  background-color: #00000000;

}

#colorpicker6 {

  width: 30px;
  height: 20px;
  padding: 0px;
  border: 0px solid #ccc;
  border-radius: 0px;
  background-color: #00000000;
}

#colorpicker7 {
  width: 30px;
  height: 20px;
  padding: 0px;
  border: 0px solid #ccc;
  border-radius: 0px;
  background-color: #00000000;
}

#colorpicker8 {
  width: 30px;
  height: 20px;
  padding: 0px;
  border: 0px solid #ccc;
  border-radius: 0px;
  background-color: #00000000;
}

#colorpicker9 {
  width: 30px;
  height: 20px;
  padding: 0px;
  border: 0px solid #ccc;
  border-radius: 0px;
  background-color: #00000000;
}

#colorpicker10 {
  width: 30px;
  height: 20px;
  padding: 0px;
  border: 0px solid #ccc;
  border-radius: 0px;
  background-color: #00000000;

}

#colorpicker11 {
  width: 30px;
  height: 20px;
  padding: 0px;
  border: 0px solid #ccc;
  border-radius: 0px;
  background-color: #00000000;

}

#colorpicker12 {
  width: 30px;
  height: 20px;
  padding: 0px;
  border: 0px solid #ccc;
  border-radius: 0px;
  background-color: #00000000;

}

#colorpicker13 {
  width: 30px;
  height: 20px;
  padding: 0px;
  border: 0px solid #ccc;
  border-radius: 0px;
  background-color: #00000000;

}

#colorpicker14 {
  width: 30px;
  height: 20px;
  padding: 0px;
  border: 0px solid #ccc;
  border-radius: 0px;
  background-color: #00000000;

}

.keybuttons {
  background-color: #3030307e;
  color: #ffffff;
  cursor: pointer;
  padding-top: 9px;
  padding-bottom: 9px;
  width: 100%;
  text-align: center;
  border: none;
  outline: none;
  transition: 0.4s;
  margin-top: 5px;
}


#pcanvas {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 9999;
  pointer-events: none;
}