html, body {
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: arcadeFont;
  src: url(fonts/ARCADE_R.TTF);
}

body {
  background: rgb(78, 78, 78);
  font-size: 1.3rem;
  font-family: arcadeFont;
}

/* Setting some standard font settings */

/* Setting a fake outside stroke */
.strokeText3 {
  text-shadow:
    -3px -3px 0 rgb(0, 0, 0),
     0   -3px 0 rgb(0, 0, 0),
     3px -3px 0 rgb(0, 0, 0),
     3px  0   0 rgb(0, 0, 0),
     3px  3px 0 rgb(0, 0, 0),
     0    3px 0 rgb(0, 0, 0),
    -3px  3px 0 rgb(0, 0, 0),
    -3px  0   0 rgb(0, 0, 0);
}
.text{
  color: #ffffff;
  line-height: 3rem;
}

h1{
  font-size: 4rem; 
}

.textHighscore{
  position: absolute;
  bottom: 5%;
  left: 2%;
}
.currentScore{
  position: absolute;
  bottom: 5%;
  right: 2%;
}

.debugText{
  position: absolute;
  top: 5%;
  right: 2%;
}

canvas {
  /*position: absolute;
   top: 50%;
  left: 50%; */
  display: block;
}

#mainContainer {
  z-index: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

#overlayContainer {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
}
#overlayGameOVER{
  text-align: center;
  display: none;
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
}

#p5_loading {
  background: black;
  min-width: 50%;
  min-height: 50%;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 2rem;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  align-text: center;
}

.loading-screen p {
  -webkit-animation: pulse 1s linear 2s infinite alternate;
  animation: pulse 1s linear 2s infinite alternate;
  }
  @-webkit-keyframes pulse {
  0% { opacity: 0; }
  100% { opacity: 1; }
  }
  @keyframes pulse {
  0% {
  opacity: 0;
  }
  100% {
  opacity: 1;
  }
  }