html, body, div, span, h1, h2, h3, h4, h5, h6 {
  border: 0;
  outline: 0;
}

body, div, p {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  background-color: black;
  font-size: 11px;
  overflow: hidden;
  padding: 0;
  width: 1920px;
  height: 1080px;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

#container {
  width: 1920px;
  height: 1080px;
  padding: 0;
  margin: 0;
  background-image: url(../images/background.jpg);
}

#navrat {
  position: absolute;
  padding: 0;
  top: 35px;
  left: 50px;
  z-index: 10;
  width: 120px;
  height: 120px;
  background-image: url('../images/navrat.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#btn_reset {
  position: absolute;
  left: 220px;
  top: 35px;
  height: 120px;
  width: 120px;
  border: none;
  z-index: 99;
  background-image: url('../images/reload.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#napis {
  position: absolute;
  left: 760px;
  top: 25px;
  height: 140px;
  width: 400px;
  border: none;
  z-index: 99;
}

#board {
  position: absolute;
  left: 736px;
  top: 232px;
  width: 448px;
  height: 784px;
  z-index: 12;
  border: 8px solid #3b2a6b;
  margin: -8px 0 0 -8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  touch-action: none;
  -ms-touch-action: none;
}

#panelL, #panelR {
  position: absolute;
  top: 260px;
  z-index: 12;
  width: 360px;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: #3b2a6b;
}

#panelL { left: 250px; }
#panelR { left: 1310px; }

.lbl {
  font: 800 38px/46px Inter, Arial, Helvetica, sans-serif;
  opacity: 0.8;
}

.val {
  font: 900 84px/96px Inter, Arial, Helvetica, sans-serif;
  margin-bottom: 26px;
}

#next {
  display: block;
  margin: 10px 0 30px 0;
  width: 224px;
  height: 224px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  border: 8px solid #3b2a6b;
  box-sizing: content-box;
}

#hint {
  width: 230px;
  font: 700 26px/34px Inter, Arial, Helvetica, sans-serif;
  opacity: 0.75;
}

.ctl {
  position: absolute;
  z-index: 12;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: #3b2a6b;
  color: #fff;
  font: 900 70px/150px Inter, Arial, Helvetica, sans-serif;
  text-align: center;
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.25);
  touch-action: none;
}

.ctl:active { transform: translateY(6px); box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25); }

#btnL { left: 230px; top: 800px; }
#btnR { left: 410px; top: 800px; }
#btnRot { left: 1340px; top: 720px; background: #f24a2a; }
#btnDown { left: 1340px; top: 890px; }

#over {
  display: none;
  position: absolute;
  left: 728px;
  top: 420px;
  width: 464px;
  padding: 40px 0;
  z-index: 20;
  text-align: center;
  background: rgba(59, 42, 107, 0.93);
  border-radius: 24px;
  color: #fff;
  font-family: Inter, Arial, Helvetica, sans-serif;
}

#overTitle { font: 900 60px/70px Inter, Arial, Helvetica, sans-serif; }
#overScore { font: 800 40px/60px Inter, Arial, Helvetica, sans-serif; margin: 10px 0 24px 0; }

#overAgain {
  display: inline-block;
  padding: 14px 44px;
  background: #7ab332;
  border-radius: 40px;
  font: 900 44px/60px Inter, Arial, Helvetica, sans-serif;
}
