
html,
@@font-face {
  font-family: 'pixel NES';
  src: url(Pixel NES.otf);
  font-family: 'pixel Tandy';
  src: url(Pixel Tandy.otf);
}
body {
  margin: 0;
  background: url("image/FOND_T.png");
  background-size: 100%;
}

canvas {
  display: block;
  background-color: black;
}

.flexboxjeu {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-content: center;

    margin-left: 12%;
    margin-top: 4%;
    width: 100%;
    background-image: url('images/fondjeupuzzle.png');

}


h1 {
  font-size: 100px;
  font-family: 'pixel Tandy',sans-serif;
  text-shadow: 1px 1px 0.5px white;

  position: absolute;
  top: 28%;
  left: 10;
  margin-right: 50%;
  transform: translate(225%, 225%);
}

#info-jeux {
    width: 400px;
    margin: 0 0 0 50px;
}

#info-jeux h2 {
    padding: 0;
    margin: 0 0 20px 0;
    text-align: center;
    color: black;
    background-color: white;
    border: solid 4px white;
    border-radius: 25px;
    font-family: 'pixelNES',sans-serif;
}

#info-mouvement {
    background-color: black;
    height: 150px;
    border: solid 4px white;
    border-radius: 25px;
    padding: 10px;
    color: white;
}

#consigne{
  display: block;
  font-family: 'pixel Tandy',sans-serif;
}

#timer {
    background-color: black;
    border: solid 4px white;
    border-radius: 25px;
    color: white;
    display: flex;
    margin: 50px auto auto auto;
    font-family: 'pixel Tandy',sans-serif;
}

#img-chrono {
    padding: 10px;
}

#timer svg {

    fill: white;
}

#perdu {
    display: none;
}

.resultat {
    margin: auto auto auto 13px;
}

#reload {
    margin: 20px auto auto auto;
    width: auto;
    text-align: center;
    display: none;
}

#reload button {
    padding: 10px;
    background-color: white;
    border: none;
    border-radius: 25px;

}

#reload button:hover {
    background-color: red;
    color: white;
}




.end-game {
    display: none;
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    margin: auto;
    background: rgba(0, 0, 100, 0.5);
}



/* .flexbox { */
  /* display: flex; */
/* } */
