* {
  box-sizing: border-box;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  margin: 0;
  padding: 0;
}
html {
  overscroll-behavior: none;
  overflow: hidden;
  -ms-scroll-chaining: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
}
body {
  background: #ffffff url("../images/BG_0.png");
  background-position: 100%;
  background-size: cover;
  background-repeat: no-repeat;

  font-family: sans-serif;
  font-family: Arial;
  color: #050505;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -ms-user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
      -ms-user-select: none;
          user-select: none;
  -webkit-touch-callout: none;
  -ms-touch-action: manipulation;
  touch-action: manipulation;

  width: 100vw;
  height: 100vh;
  overflow: hidden;
}
.container {
  margin: 0 auto;
  width: 585px;
  height: 920px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -460px 0 0 -292px;
}
.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
#main_canvas {
  border: 12px solid #855d42;
}
header {
  margin-top: 3px;
  margin-bottom: 3px;
}
header a#logo_game {
  text-decoration: none;
  font-weight: bold;
  float: left;
  font-family: Ubuntu;
  font-size: 18px;
}
header a#logo_game span.cms {
  color: #b1ccdd;
}
header a#logo_game span.rs {
  color: #ff5050;
}
h1#title {
  margin-top: 0px;
  margin-bottom: 0px;
  float: right;
  font-size: 25px;
  font-weight: bold;
}
#think {
  position: relative;
  color: #ff5050;
  font-size: 25px;
  margin-top: 3px;
  margin-bottom: 3px;
}
#display_text {
  text-align: center;
  font-size: 22px;
  border: 4px solid #fcd482;
  background: #52180a;
  border-radius: 20px;
  color: #e5b97c;
  font-size: 32px;
  font-weight: 700;
  padding: 8px 20px;
  margin: 0 auto;
}
#anim {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: #52180a;
}
.menu-wrapper {
  border: 4px solid #fcd482;
  background: #52180a;
  border-radius: 20px;
  height: 195px;
  margin-bottom: 20px;
}
#score {
  margin: 6px 0 12px 3px;
  font-size: 22px;
  color: #e5b97c;
  font-size: 32px;
  font-weight: 700;
  padding: 8px 20px;
}
#score .you {
  float: left;
}
#score .cpu {
  float: right;
}
#score span.red {
  color: #ff5050;
}
#level {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
}
#level > div {
  float: left;
}
#level .circle {
  float: left;
}
.divLevelText {
  color: #e5b97c;
  font-size: 28px;
  font-weight: 700;
  padding: 8px 0 8px 20px;
}
#wrapLevel {
  margin: 12px 0;
}
.restart,
.block-modal-restart {
  background: #763824;
  border-radius: 20px;
  color: #e5b97c;
  font-size: 25px;
  font-weight: 700;
  padding: 8px 20px;
  float: left;
  margin: 0 0 12px 12px;
  cursor: pointer;
}
.block-modal {
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  display: none;
}
.block-modal-wrapper {
  margin: 12% auto;
  border-radius: 20px;
  width: 560px;
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.2);
  font-family: Arial;
  background: #52180a;
  border-radius: 10px;
  border: 5px solid #fcd482;
  color: #e5b97c;
  padding: 14px 10px 0;
  text-align: center;
  font-weight: 700;
}
.block-modal-title {
  font-size: 30px;
  height: 120px;
  margin: 0 auto;
  color: #fdf1bb;
  padding-top: 25px;
  width: 390px;
}
.block-modal-restart {
  float: none;
  margin: 0 0 20px 12px;
}
.circle,
.restart,
.block-modal-restart {
  outline: none;
  box-sizing: border-box;
}

.circle:focus,
.restart:focus,
.block-modal-restart:focus {
  outline: none;
}
#main_canvas {
  outline: none;
}
.circle,
.block-modal-restart {
  outline: none;
  box-sizing: border-box;
}

.circle:focus,
.block-modal-restart:focus {
  outline: none;
}
#modal-level {
  z-index: 1000;
}

.block-modal {
  display: none;
  z-index: 1000;
}

.block-modal-wrapper {
  position: relative;
}
.circle,
.restart,
.block-modal-restart,
#modal-level canvas {
  outline: none !important;
  border: none !important;
}

.tv-focus .circle:focus,
.tv-focus .restart:focus,
.tv-focus .block-modal-restart:focus,
.tv-focus #modal-level canvas:focus {
  outline: none !important;
  border: none !important;
}

.tv-focus .circle.selected,
.tv-focus .restart.selected,
.tv-focus .block-modal-restart.selected {
  border: 3px solid #ff5050 !important;
}

.block-modal {
  outline: none !important;
}

.tv-focus #modal-level canvas.selected {
  border: 3px solid #ff5050 !important;
}
