* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding: 0;
  margin: 0;
}
body {
  overscroll-behavior: none;
  overflow: hidden;
  -ms-scroll-chaining: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  background-image: url("../img/bg_0.png");
  background-position: center center;
  -moz-background-size: cover;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100vw;
  height: 100vh;
  font-family: "Arial";
}
canvas {
  display: block;
  margin: 0 auto;
}

.game-stats {
  text-align: center;
  font-style: "Arial";
  font-weight: bold;
  font-size: 2em;
}
.wrapper {
  width: 600px;
  height: 965px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -482px 0 0 -300px;
}
.heading,
.controls {
  width: 600px;
  background: #9648c5;
  -webkit-box-shadow: 12px 15px 20px 0 rgba(46, 61, 73, 0.5);
  -moz-box-shadow: 12px 15px 20px 0 rgba(46, 61, 73, 0.5);
  box-shadow: 12px 15px 20px 0 rgba(46, 61, 73, 0.5);
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -moz-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 20px;
  margin: 0 auto;
}
.controls {
  padding: 0 20px;
}
.controls img {
  width: 130px;
  height: 130px;
}
.scores-container {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
}
.game-stats {
  margin-right: 10px;
}
.time,
.game-stats {
  background-color: #5e2e97;
  -webkit-box-shadow: inset 1px 1px 4px rgba(0, 0, 0, 0.2),
    inset -1px -1px 4px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: inset 1px 1px 4px rgba(0, 0, 0, 0.2),
    inset -1px -1px 4px rgba(0, 0, 0, 0.2);
  box-shadow: inset 1px 1px 4px rgba(0, 0, 0, 0.2),
    inset -1px -1px 4px rgba(0, 0, 0, 0.2);
  font-style: normal;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 34px;
  color: #fff;
  padding: 5px 14px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
  position: relative;
  text-shadow: 1px 1px 0 #6229be, -1px 1px 0 #6229be, 1px -1px 0 #6229be,
    -1px -1px 0 #6229be;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-weight: bold;
}
.time img,
.game-stats img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
  pointer-events: none;
}
.buttons {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
}
.button-pause {
  margin-right: 10px;
}
.pause,
.restart,
.play {
  width: 70px;
  height: 70px;
}
.pause {
  background-image: url("../img/pause.png");
  -moz-background-size: cover;
  background-size: cover;
}
.play {
  background-image: url("../img/play.png");
  -moz-background-size: cover;
  background-size: cover;
}
.restart {
  background-image: url("../img/restart.png");
  -moz-background-size: cover;
  background-size: cover;
}
#menu-pause,
#menu-game-over {
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: none;
}
.menu-wrapper-pause {
  margin: 30% auto;
  width: 400px;
  padding: 0px;
  list-style-type: none;
  background: url("../img/shop_frame_4 1.png");
  background-position: 100%;
  -moz-background-size: cover;
  background-size: cover;
  background-repeat: no-repeat;
  -webkit-border-radius: 16px;
  -moz-border-radius: 16px;
  border-radius: 16px;
}
.menu-wrapper-game-over {
  margin: 30% auto;
  width: 400px;
  padding: 0px;
  list-style-type: none;
  background: url("../img/shop_frame_4 1.png");
  background-position: 100%;
  -moz-background-size: cover;
  background-size: cover;
  background-repeat: no-repeat;
  -webkit-border-radius: 16px;
  -moz-border-radius: 16px;
  border-radius: 16px;
  color: white;
}
#menu-pause-title,
#menu-game-over h1 {
  text-align: center;
  color: white;
  font-size: 34px;
  background: url("../img/header.png");
  background-position: 100%;
  -moz-background-size: cover;
  background-size: cover;
  background-repeat: no-repeat;
  height: 174px;
  position: relative;
  line-height: 4.2;
}
.menu-items {
  padding: 0px;
  cursor: pointer;
  padding-bottom: 10px;
}
.menu-items li {
  display: block;
  margin-top: 20px;
  margin-bottom: 20px;
  background: url("../img/Group 144.png");
  background-position: 100%;
  -moz-background-size: cover;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  width: 86%;
  margin-left: 7%;
  height: 168px;
  line-height: 162px;
  text-align: center;
  font-weight: bold;
  font-size: 32px;
}
body.tv-device canvas:focus {
  outline: 4px solid #fff;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
}
body.tv-device .menu-items li:focus {
  outline: 4px solid #fff;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
}
body.tv-device .button-pause:focus,
body.tv-device .button-restart:focus {
  outline: 4px solid #fff;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
}
.menu-item-score {
  text-align: center;
  color: white;
  font-size: 38px;
  margin: 50px 0;
  font-weight: bold;
}
