
@font-face {
  font-family: 'over_pixelregular';
  src: url('fonts/over_pixel-webfont.woff2') format('woff2'),
       url('fonts/over_pixel-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}


@font-face {
    font-family: 'emulatorregular_6pts';
    src: url('fonts/emulator-webfont.woff2') format('woff2'),
         url('fonts/emulator-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

.ui-text.gameheadingstyle {
  user-select: none;
  font-family: "over_pixelregular", "Comic Sans MS", Impact, sans-serif !important;
    font-size: 120px;
  font-weight: normal;
  color: #ff4fbf;
  text-align: center;
    margin-left: 0px!important;
    padding: none;

  /* on écrase l’ancien text-shadow */
  text-shadow: 
    6px 6px 0 #33ff66,
    12px 12px 0 #3399ff !important;
  -webkit-text-stroke: 4px #ffff33;
}

.ui-text.gameheadingstyle2 {
  user-select: none;
  font-family: "over_pixelregular", "Comic Sans MS", Impact, sans-serif !important;
    font-size: 80px;
  font-weight: normal;
  color: #ff4fbf;
  text-align: center;
    margin-left: 0px!important;
    padding: none;

  /* on écrase l’ancien text-shadow */
  text-shadow: 
    6px 6px 0 #33ff66,
    12px 12px 0 #3399ff !important;

  -webkit-text-stroke: 4px #ffff33;
}

#bannerplaying
{font-size: 90px;}

* {
  margin:  0;
  padding: 0;
}

body {
  font-size: 24px;
}

#viewport {
  background: #020408;
  display: block;
  width: 100%;
  height: 95vh;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
}

.state-ui-container {
  display: flex;
  flex-direction: row;
  position: absolute;
  justify-content: left;
  align-items: left;
}

.ui-text {
  user-select: none;
 font-family: 'emulatorregular_6pts', monospace;
  font-size: 1em;
  font-weight: bold;
  font-variant-numeric: tabular-nums;
  margin: 10px;
  color: #e4e4e4;
  text-shadow: 0 2px 2px rgba(125,0,0,.51),
    0 0 10px rgba(255,0,255,1),
    0 0 10px rgba(255,0,255,1); 
  text-align: left;
  padding: 5px 0px 5px 0px;
    

}

#score {
  left: 0;
    color: #fffefe!important;
}

#lives {
  right: 0;
    text-align: center;
}

.ui-text--heading {
  font-size: 4em;
}



.state-ui-container {
  width: 100%;
  display: none;
  height: 100%;
  justify-content: center;
}

.console {
  align-self: center;
}
.banner {
  align-self: flex-start;
}

footer.game-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #000;
  color: #fff;
  text-align: center;
  padding: 1rem;
  border-top: 5px solid #ff3ac0;
  font-family: 'emulatorregular_6pts', monospace;
  text-shadow: 0 0 8px #ff00ff;
  z-index: 1000;
    height: 5vh;
}

#mobile-warning {
  display: none;
}

@media (max-width: 768px) {
  #mobile-warning {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    color: #ff3ac0;
    font-family: monospace;
    font-size: 20px;
    text-align: center;
    z-index: 2000;
  }

  #title, #game, #game_over, canvas, .console, footer {
    display: none !important;
  }
}

.blink {
  animation: blink 1s steps(2, start) infinite;
  color: #ff3ac0;
  font-family: 'emulatorregular_6pts', monospace;
  font-size: 20px;
  text-transform: uppercase;
  text-decoration: none;   /* enlève le soulignement */
  text-shadow: 0 0 8px #ff00ff, 0 0 16px #ff00ff;
}

@keyframes blink {
  to {
    visibility: hidden;
  }
}

