:root {
  --bg-button: #e2530d;
  --bg-button-secondary: #3c3c3a;
}

html {
  height: 100%;
}
body:before {
  content: url(../img/piece-front.png) url(../img/piece-back.png) url(../img/piece-left.png) url(../img/piece-right.png)
    url(../img/walnoot-gekraakt.png) url(../img/command-active.png) url(../img/command-hover.png);
  display: none;
}
body {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: default;
  margin: 0;
  background-color: #000000;
  height: 100%;
}
.container {
  position: fixed;
  width: 962px;
  height: 633px;
  margin: 0;
  display: none;
  /* Align container in center and scale dynamically */
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(var(--container-scale, 1));
}
.header,
.splash,
.intro {
  width: 962px;
  height: 633px;
  position: fixed;
  left: 0;
  top: 0;
}
.header {
  background-image: url('../img/header.png');
  background-repeat: no-repeat;
}
.help {
  display: none;
  position: absolute;
  top: 112px;
  left: 10px;
  width: 600px;
  font-size: 16px;
  color: #5a5958;
  font-family: 'Montserrat', 'cursive';
}
.help-text {
  overflow: auto;
  height: 277px;
}
.help-title {
  color: #3c3c3a;
  font-size: 25px;
  font-weight: 900;
  font-family: 'Chivo', 'sans-serif';
}
.splash {
  background-image: url('../img/intro.png');
  background-repeat: no-repeat;
}
.intro {
  display: none;
  background-image: url('../img/header-intro.png');
  background-repeat: no-repeat;
}
.intro-text {
  position: absolute;
  top: 135px;
  left: 72px;
  width: 600px;
  font-size: 16px;
  color: #5a5958;
  font-family: 'Montserrat', 'cursive';
}
.overlay {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 99;
}
.dialog-overlay {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 99;
  background-color: black;
  opacity: 0.4;
  border-radius: 20px;
}
.game-container {
  display: none;
  height: 575px;
  width: 870px;
  margin-top: 50px;
  margin-left: 65px;
  position: relative;
}
.setup {
  float: left;
  clear: both;
  position: relative;
  z-index: 3;
  top: -13px;
}
.progress {
  float: left;
  color: #3c3c3a;
  font-weight: 900;
  font-size: 100px;
  margin-left: 412px;
  font-family: 'Chivo', 'sans-serif';
}
.feedback-popup,
.badge-popup {
  display: none;
  position: absolute;
  height: 196px;
  width: 664px;
  top: 394px;
  left: 127px;
  z-index: 999;
}
.tip-popup {
  display: none;
  position: absolute;
  height: 184px;
  width: 508px;
  top: 394px;
  left: -44px;
  z-index: 999;
  background-repeat: no-repeat;
  background-image: url(../img/tip.png);
}
.feedback {
  float: left;
  height: 2em;
  width: 10em;
}
.feedback-title,
.tip-title,
.badge-title {
  left: 57px;
  top: -3px;
  position: relative;
  color: white;
  font-family: 'Chivo', 'sans-serif';
  font-weight: 900;
  font-size: 19px;
}
.tip-title {
  color: #3c3c3a;
  left: 133px;
}
.feedback-text,
.tip-text,
.badge-text {
  left: 45px;
  width: 400px;
  position: relative;
  font-family: 'Montserrat', 'cursive';
  font-size: 16px;
  color: #5a5958;
}
.tip-text {
  left: 133px;
  top: -24px;
  width: 365px;
}
.buttons {
  position: absolute;
  bottom: 31px;
  left: 179px;
  width: 309px;
}
.button-try-again,
.button-next-level,
.help-back-button,
.button-close-tip,
.button-close-badge,
.splash-button,
.exit-button,
.intro-start-button,
.intro-restart-button {
  float: right;
  padding: 10px;
  padding-left: 20px;
  padding-right: 20px;
  text-align: center;
  color: white;
  background-color: var(--bg-button);
  font-family: 'Chivo', 'sans-serif';
  font-weight: 900;
  font-size: 20px;
  margin: 5px;
  cursor: pointer;
}
.intro-start-button {
  float: left;
  margin: 0;
}
.intro-restart-button {
  float: left;
  margin: 0;
  margin-left: 1rem;
}
.splash-button {
  left: 338px;
  position: fixed;
  top: 371px;
}
.exit-button {
  background-color: var(--bg-button-secondary);
  left: 460px;
  position: fixed;
  top: 371px;
}
.button-try-again {
  width: 140;
  height: 20px;
}
.button-next-level,
.button-close-badge {
  width: 100px;
  height: 20px;
}
.help-back-button {
  position: absolute;
  top: 0;
  left: 614px;
}
.button-close-tip {
  margin: -19px;
  margin-right: 0px;
}
.button {
  padding: 5px;
  padding-left: 10px;
  padding-right: 10px;
  text-align: center;
  color: white;
  background-color: #3c3c3a;
  font-family: 'Chivo', 'sans-serif';
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
}
.button-tip {
  position: absolute;
  left: 86px;
  bottom: -42px;
}
.button-back {
  background-color: var(--bg-button);
  position: absolute;
  left: 4px;
  bottom: -42px;
}
.score {
  position: absolute;
  color: #3c3c3a;
  top: 430px;
  left: 88px;
  font-weight: 900;
  font-size: 40px;
  font-family: 'Chivo', 'sans-serif';
}
.controls {
  float: left;
  width: 1em;
  position: relative;
  z-index: 2;
  top: 160px;
  left: -24px;
}
.button-start {
  width: 87px;
  height: 81px;
  background-image: url('../img/button-doen.png');
  cursor: pointer;
}
.button-help {
  width: 120px;
  height: 30px;
  top: 165px;
  right: 72px;
  color: white;
  cursor: pointer;
  position: relative;
  background-image: url('../img/button-help.png');
}
.assignment {
  width: 26em;
  height: 77px;
  font-family: 'Montserrat', 'cursive';
  font-size: 16px;
  color: #5a5958;
}
.commands {
  width: 180px;
  margin-left: 25px;
  margin-top: 90px;
}
.commands-container {
  float: left;
  width: 221px;
  height: 330px;
  background-image: url('../img/commands-bg.png');
}
.command {
  margin-bottom: -7px;
  height: 35px;
  width: 166px;
  background-image: url('../img/command.png');
  background-repeat: no-repeat;
}
.command-active {
  background-image: url('../img/command-active.png');
  background-repeat: no-repeat;
}
.command:hover {
  background-image: url('../img/command-hover.png');
  background-repeat: no-repeat;
  cursor: pointer;
  color: var(--bg-button);
}
.command-icon > img,
.program-icon > img {
  vertical-align: middle;
  margin-top: 6px;
}
.command-icon,
.program-icon {
  margin-left: 5px;
  width: 45px;
  float: left;
}
.command-text,
.program-text {
  margin-top: 7px;
  float: left;
  font-size: 12px;
  font-family: 'Chivo', 'sans-serif';
}
.command-extra-spacing {
  margin-bottom: 5px;
}
.program {
  width: 185px;
  margin-left: 25px;
  margin-top: 72px;
  height: 239px;
  overflow-y: auto;
  overflow-x: hidden;
}
.program-container {
  float: left;
  width: 221px;
  height: 330px;
  background-image: url('../img/program-bg.png');
  margin-top: -1px;
}
.program-number {
  float: left;
  background-image: url('../img/command-number-bg.png');
  background-repeat: no-repeat;
  height: 22px;
  width: 16px;
  margin-top: 4px;
  padding-left: 5px;
  margin-right: 5px;
  color: #ffffff;
  font-family: 'Chivo', 'sans-serif';
  font-weight: 900;
}
.program-remove-icon {
  display: inline-block;
  margin-top: 3px;
  display: none;
}
.board {
  top: 54px;
  left: 22px;
  width: 360px;
  height: 360px;
  position: absolute;
}
.board-container {
  float: right;
  position: relative;
  width: 408px;
  height: 515px;
  background-image: url('../img/level-bg.png');
  background-repeat: no-repeat;
  top: -53px;
}
.badges {
  position: relative;
  top: 418px;
  left: 163px;
}
.badges > div {
  display: inline-block;
}
.badges > div > img {
  display: none;
}
.badges > .bronze {
  width: 74px;
  height: 79px;
}
.badges > .silver {
  width: 76px;
  height: 87px;
  margin-left: -9px;
}
.badges > .gold {
  width: 77px;
  height: 94px;
  margin-left: -14px;
}
.block {
  position: absolute;
}
.block-transparent {
}
.block-start {
}
.block-end {
  background-image: url('../img/walnoot.png');
  background-size: 100% 100%;
}
.block-cross {
  background-image: url('../img/cross.png');
  background-size: 100% 100%;
}
.block-tree {
  background-image: url('../img/tree.png');
  background-size: 100% 100%;
}
.block-water {
  background-image: url('../img/water.png');
  background-size: 100% 100%;
}
.block-collectable {
  background-image: url('../img/collectable.png');
  background-size: 100% 100%;
}
.block-path {
  display: none;
  margin-left: 1px;
}
.piece {
  width: 40px;
  height: 51px;
  position: absolute;
  background-image: url('../img/piece-front.png');
}
.piece-done {
  width: 87px;
  height: 98px;
  position: absolute;
  background-image: url('../img/walnoot-gekraakt.png') !important;
}
@font-face {
  font-family: 'Montserrat';
  font-style: medium;
  font-weight: 500;
  src: local('Montserrat'), url(../fonts/montserrat-medium.woff2) format('woff2');
}
@font-face {
  font-family: 'Chivo';
  font-style: normal;
  font-weight: 400;
  src: local('Chivo'), local('Chivo-Regular'), url(../fonts/chivo.woff) format('woff');
}
@font-face {
  font-family: 'Chivo';
  font-style: normal;
  font-weight: 900;
  src: local('Chivo Black'), local('Chivo-Black'), url(../fonts/chivo-black.woff) format('woff');
}

#root {
  background-image: url('../img/background.png');
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
}

.fullscreen {
  background-color: transparent;
  border: 0;
  position: fixed;
  top: 0.5rem;
  right: 0.5rem;
  cursor: pointer;
}
.fullscreen:hover {
  opacity: 0.5;
}
