* {
  box-sizing: border-box;
  user-select: none;
}

html,
body {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

canvas {
  image-rendering: pixelated;
  width: 100%;
  height: 100%;
  /* outline: 1px solid gray; */
}

span {
  position: absolute;
}

.invisible {
  display: none;
}

.scale-canvas {
  transform: scale(3);
}

.game-container {
  position: relative;
  /* outline: 1px solid gray; */
  background: rgb(134, 132, 132);

  width: 100%;
  height: 100vh;
  /* transform: scale(3); */
}

.btn {
  padding: 0;
  cursor: pointer;
}
.btn-setting {
  display: flex;
  align-items: center;

  position: absolute;
  left: 32px;
  top: 32px;
  width: 16px;
  height: 16px;
}

.score {
  display: flex;
  align-items: center;
  direction: rtl;

  position: absolute;
  right: 12px;
  top: 6px;
  width: 16px;
  height: 16px;
}
.score span {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 40px;
  font-weight: 900;
  color: white;
  height: 100%;
  -webkit-text-stroke: 2px black;
}

.menu {
  position: absolute;
  left: 50%;
  top: 50%;
  /* background: black; */
  transform: translate(-50%, -50%);
}
.menu-item {
  position: absolute;
  display: flex;
  justify-content: center;

  /* background: white; */
}

.menu-item span {
  top: 20px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: white;
  font-size: 14px;
  font-weight: 900;
  -webkit-text-stroke: 0.7px black;
}

.menu-start {
  width: 48px;
  height: 24px;
}

.game-over-title {
  top: -90px;
  left: 37px;
  width: 130px;
  height: 24px;
}

.score-text {
  top: 0;
  left: -80px;
  width: 40px;
  height: 14px;
}

.high-score-text {
  top: 0;
  right: -60px;
  width: 70px;
  height: 16px;
}

.btn-restart {
  /* align-items: center; */
  width: 24px;
  height: 24px;
  bottom: -85px;
  right: 77px;
}

@media (height<=600px) {
  .menu-game-over {
    /* width: 10px; */
    height: 110px;
  }
}

/* @font-face {
  font-family: NanoSquareOutlin;
  src: url(./dino_jump/sprites/Font/NanoSquareOutlin.ttf);
} */

/* @font-face {
  font-family: ImpactfulBits;
  src: url(./dino_jump/sprites/Font/ImpactfulBits.ttf);
}

@font-face {
  font-family: MicroPixel;
  src: url(./dino_jump/sprites/Font/MicroPixel.ttf);
} */
