body {
  margin: 0;
  padding: 0;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  font-family: Courier, monospace;
}

p {
  margin: 0 auto;
  padding: 5px 10px;
  font-size: 13px;
}

@font-face {
  font-family: 'Digital 7';
  src: url("../fonts/digital-7.mono.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

#ui {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background-color: grey;
  z-index: 999;
  top: 0;
  left: 0;
  -webkit-transition: opacity 1s 1s linear;
  transition: opacity 1s 1s linear;
}

#ui-container {
  background-color: lightgrey;
  width: 600px;
  margin: 0 auto;
  overflow: scroll;
  height: 100vh;
}

::-webkit-scrollbar {
  display: none;
}

#title {
  text-align: center;
  font-size: 24px;
  padding: 30px 0 0 0;
  text-transform: uppercase;
}

.ui_body_text {
  text-align: center;
  font-size: 14px;
  padding: 20px 0;
}

.col-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 0 0 30px 0;
}

.col-1_2 {
  height: 200px;
  width: 300px;
  background-repeat: no-repeat;
  position: relative;
}

.col-1_2 p {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: white;
}

#select_random {
  background-image: url(https://www.meme-arsenal.com/memes/13f0e6e3a9089de5c8943afcc767b533.jpg);
  background-size: 200%;
  background-position: 60%;
}

#select_create {
  background-image: url(https://thumbs.dreamstime.com/z/portrait-senior-man-home-having-laptop-computer-smiling-camera-34462054.jpg);
  background-size: cover;
  background-position: top;
}

.selected_indicator {
  position: absolute;
  width: 40px;
  height: 40px;
  top: 10px;
  left: 10px;
  background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/0/0b/BlueFlat_tick_icon.svg/512px-BlueFlat_tick_icon.svg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: none;
}

.col-1_3 {
  height: 200px;
  width: 200px;
  background-repeat: no-repeat;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#lvl_easy {
  background-image: url(https://i.kym-cdn.com/photos/images/original/001/232/375/3fb.jpg);
}

#lvl_normal {
  background-image: url(https://www.e-sante.fr/files/styles/pano_xxl/public/images/article/6/7/8/5502876/vignette-focus.jpg?itok=2W9NxV0F);
}

#lvl_hard {
  background-image: url(https://mat3e.github.io/brains/img/5.jpg);
}

#start_container {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 60px;
}

#start_button {
  background-color: #b00b1e;
  color: white;
  padding: 20px;
  display: inline-block;
  margin: 0 auto;
  text-align: center;
}

#module_list {
  background-color: white;
  padding: 20px;
  line-height: 25px;
}

#module_list ul {
  list-style-type: none;
  width: 300px;
  margin: 0 auto;
}

#module_list ul li span {
  width: 20px;
  display: inline-block;
}

#module_list ul li span:nth-of-type(1) {
  width: 40px;
  display: inline-block;
}

.hide {
  display: none !important;
}

.slidecontainer {
  width: 400px;
  margin: 0 auto;
}

.slider {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  width: 100%;
  height: 25px;
  background: #ffffff;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  -webkit-transition: opacity .2s;
  transition: opacity .2s;
}

.slider:hover {
  opacity: 1;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  background: darkgray;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  background: #4CAF50;
  cursor: pointer;
}

.slidecontainer p {
  text-align: center;
}

.bomb_container {
  width: 600px;
  height: 400px;
  border: 1px solid #ccc;
  margin: 80px;
  -webkit-perspective: 400px;
          perspective: 400px;
  margin: 0 auto;
  margin-top: 50px;
}

.bomb_container .cube {
  width: 600px;
  height: 400px;
  position: relative;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  -webkit-transform: translateZ(-100px);
          transform: translateZ(-100px);
  -webkit-transition: -webkit-transform 1s;
  transition: -webkit-transform 1s;
  transition: transform 1s;
  transition: transform 1s, -webkit-transform 1s;
}

.bomb_container .cube .cube__face {
  position: absolute;
  width: 600px;
  height: 400px;
  background: #858585;
}

.bomb_container .cube .cube__face--front {
  -webkit-transform: rotateY(0deg) translateZ(100px);
          transform: rotateY(0deg) translateZ(100px);
}

.bomb_container .cube .cube__face--front_2 {
  -webkit-transform: rotateY(0deg) translateZ(99px);
          transform: rotateY(0deg) translateZ(99px);
}

.bomb_container .cube .cube__face--right {
  -webkit-transform: rotateY(90deg) translateZ(500px);
          transform: rotateY(90deg) translateZ(500px);
  width: 200px;
}

.bomb_container .cube .cube__face--back {
  -webkit-transform: rotateY(180deg) translateZ(100px);
          transform: rotateY(180deg) translateZ(100px);
}

.bomb_container .cube .cube__face--left {
  -webkit-transform: rotateY(-90deg) translateZ(100px);
          transform: rotateY(-90deg) translateZ(100px);
  width: 200px;
}

.bomb_container .cube .cube__face--top {
  -webkit-transform: rotateX(90deg) translateZ(100px);
          transform: rotateX(90deg) translateZ(100px);
  height: 200px;
}

.bomb_container .cube .cube__face--bottom {
  -webkit-transform: rotateX(-90deg) translateZ(300px);
          transform: rotateX(-90deg) translateZ(300px);
  height: 200px;
}

.bomb_container .cube .module_container {
  max-width: 600px;
  margin: 0 auto;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr 1fr;
      grid-template-columns: 1fr 1fr 1fr;
  -ms-grid-rows: 1fr 1fr;
      grid-template-rows: 1fr 1fr;
}

.bomb_container .cube .module_container .svg_container {
  margin: 0 auto;
  width: 200px;
  height: 200px;
  position: relative;
}

.bomb_container .cube .module_container .svg_container .svg_subcontainer {
  position: absolute;
  width: 190px;
  height: 190px;
  left: 5px;
  top: 5px;
}

#bomb_display {
  width: 190px;
  height: 190px;
  margin: 5px;
  position: relative;
}

#bomb_display img {
  position: absolute;
  width: 100%;
  height: 100%;
}

#bomb_display #strikes {
  position: absolute;
  color: #D30E25;
  font-family: 'Cutive Mono', Courier, monospace;
  font-size: 28px;
  top: 19.5%;
  left: 36%;
  pointer-events: none;
}

#bomb_display #countdown,
#bomb_display #countdown_bg {
  position: absolute;
  font-family: 'Digital 7', Courier, monospace;
  font-size: 65px;
  top: 58%;
  left: 6%;
  pointer-events: none;
}

#bomb_display #countdown {
  color: #D30E25;
}

#bomb_display #countdown_bg {
  color: #2E2E2E;
}

#bomb_controls {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 600px;
  margin: 0 auto;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: relative;
}

#bomb_controls #bomb_flip {
  margin-top: 40px;
  width: 150px;
  height: 150px;
  position: relative;
}

#bomb_controls #bomb_flip img {
  top: 25px;
  left: 25px;
  height: 80px;
  width: auto;
  position: absolute;
  cursor: pointer;
}

#bomb_controls #bomb_turner {
  margin-top: 40px;
  position: relative;
  width: 150px;
  height: 150px;
  background-color: black;
  border-radius: 10px;
}

#bomb_controls #bomb_turner .handle {
  position: absolute;
  z-index: 9;
  background-color: red;
  text-align: center;
  border: 1px solid #b90000;
  top: 50px;
  left: 50px;
  width: 50px;
  height: 50px;
  border-radius: 250px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  cursor: move;
  -webkit-transform-origin: center center;
          transform-origin: center center;
}

#bomb_controls #bomb_turner .stick {
  position: absolute;
  z-index: 8;
  text-align: center;
  top: 65px;
  left: 65px;
  width: 20px;
  height: 20px;
  min-height: 20px;
  border-radius: 200px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  cursor: move;
  background-color: #808080;
  -webkit-transform-origin: 10px 10px;
          transform-origin: 10px 10px;
}

#bomb_controls #bomb_turner > div.arr {
  position: absolute;
  width: 20px;
  height: 26px;
}

#bomb_controls #bomb_turner > div.arr img {
  width: 20px;
  height: 26px;
}

#bomb_controls #bomb_turner > div.arr:nth-child(1) {
  top: 10px;
  left: 65px;
  -webkit-transform: rotateZ(270deg);
          transform: rotateZ(270deg);
}

#bomb_controls #bomb_turner > div.arr:nth-child(2) {
  right: 13px;
  top: 62px;
  -webkit-transform: rotateZ(0deg);
          transform: rotateZ(0deg);
}

#bomb_controls #bomb_turner > div.arr:nth-child(3) {
  bottom: 10px;
  left: 65px;
  -webkit-transform: rotateZ(90deg);
          transform: rotateZ(90deg);
}

#bomb_controls #bomb_turner > div.arr:nth-child(4) {
  left: 13px;
  top: 62px;
  -webkit-transform: rotateZ(180deg);
          transform: rotateZ(180deg);
}

.components {
  height: 200px;
  display: -ms-grid;
  display: grid;
  -ms-grid-rows: 1fr 1fr;
      grid-template-rows: 1fr 1fr;
  grid-gap: 0 20px;
}

.cube__face--top .components,
.cube__face--bottom .components {
  width: 600px;
  -ms-grid-columns: 1fr 1fr 1fr;
      grid-template-columns: 1fr 1fr 1fr;
      grid-template-areas: "area1 area2 area3" "area4 area5 area6";
}

.cube__face--right .components,
.cube__face--left .components {
  width: 400px;
  -webkit-transform: rotate(-90deg);
          transform: rotate(-90deg);
  -webkit-transform-origin: 200px 200px;
          transform-origin: 200px 200px;
  -ms-grid-columns: 1fr 1fr;
      grid-template-columns: 1fr 1fr;
      grid-template-areas: "area1 area2" "area3 area4";
}

.components .serial_number {
  width: 100%;
  height: 100%;
}

.components .serial_number > span {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-family: 'Cutive Mono', Courier, monospace;
  font-size: 20px;
  color: #000000;
}

.components .serial_number > div {
  width: 125px;
  margin: 0 auto;
}

.components .serial_number > div > span {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-family: 'Cutive Mono', Courier, monospace;
  font-size: 30px;
  color: #AAAAAA;
  background-color: #000000;
  padding: 5px;
}

.components .battery_container,
.components .port_container,
.components .indicator_container {
  width: 100%;
  height: 100%;
  position: relative;
}

.components .indicator_lit,
.components .indicator_unlit {
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  width: 150px;
  height: 63px;
}

.components .indicator_lit {
  background-image: url("../media/bomb_components/indi_lit.svg");
}

.components .indicator_unlit {
  background-image: url("../media/bomb_components/indi_unlit.svg");
}

.components .indicator_label {
  position: absolute;
  font-family: 'Cutive Mono', Courier, monospace;
  font-size: 26px;
  color: #FFFFFF;
  left: 47%;
  top: 35%;
  left: 87px;
  top: 35px;
}

.components .battery {
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  -webkit-transform: translate(-50%, -50%) rotate(90deg);
          transform: translate(-50%, -50%) rotate(90deg);
  left: 50%;
  top: 50%;
}

.components .ports {
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
}

.components .battery_container .b__aa {
  background-image: url("../media/bomb_components/bat_aa.svg");
  width: 50px;
  height: 80px;
}

.components .battery_container .b__aa_x2 {
  background-image: url("../media/bomb_components/bat_2x_aa.svg");
  width: 60px;
  height: 80px;
}

.components .battery_container .b__d {
  background-image: url("../media/bomb_components/bat_d.svg");
  width: 50px;
  height: 80px;
}

.components .battery_container .b__9v {
  background-image: url("../media/bomb_components/bat_9v.svg");
  width: 50px;
  height: 70px;
}

.components .port_container .port__dvi-d {
  background-image: url("../media/bomb_components/dvi-d.svg");
  width: 110px;
  height: 35px;
}

.components .port_container .port__parallel_port {
  background-image: url("../media/bomb_components/parallel_port.svg");
  width: 160px;
  height: 33px;
}

.components .port_container .port__ps-2 {
  background-image: url("../media/bomb_components/ps-2.svg");
  width: 40px;
  height: 40px;
}

.components .port_container .port__stereo-rca {
  background-image: url("../media/bomb_components/stereo-rca.svg");
  width: 30px;
  height: 45px;
  -webkit-transform: translate(-50%, -50%) rotate(90deg);
          transform: translate(-50%, -50%) rotate(90deg);
}

.wire_module .wires path {
  display: none;
}

.wire_module .wire-shadow g {
  display: none;
  opacity: 0.8;
}

.module_button_label {
  position: absolute;
  text-align: center;
  font-family: 'Cutive Mono', Courier, monospace;
  text-transform: uppercase;
  top: 90px;
  left: 30px;
  width: 110px;
  font-size: 20px;
  color: #000000;
  -webkit-transition: -webkit-transform 0.1s linear;
  transition: -webkit-transform 0.1s linear;
  transition: transform 0.1s linear;
  transition: transform 0.1s linear, -webkit-transform 0.1s linear;
  pointer-events: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

svg.button_module .button_container .button {
  cursor: pointer;
}

svg.button_module .button_container .button:hover {
  stroke: 4px solid red;
  -webkit-transform: scale(10px);
          transform: scale(10px);
}

svg.button_module .strip_color {
  -webkit-animation-duration: 2s;
          animation-duration: 2s;
  -webkit-animation-timing-function: ease-in-out;
          animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
  -webkit-animation-direction: alternate;
          animation-direction: alternate;
}

@-webkit-keyframes strip_color_white {
  0% {
    fill: #e6e6e6;
  }
  90% {
    fill: white;
  }
  100% {
    fill: white;
  }
}

@keyframes strip_color_white {
  0% {
    fill: #e6e6e6;
  }
  90% {
    fill: white;
  }
  100% {
    fill: white;
  }
}

@-webkit-keyframes strip_color_blue {
  0% {
    fill: #000082;
  }
  80% {
    fill: blue;
  }
  100% {
    fill: blue;
  }
}

@keyframes strip_color_blue {
  0% {
    fill: #000082;
  }
  80% {
    fill: blue;
  }
  100% {
    fill: blue;
  }
}

@-webkit-keyframes strip_color_red {
  0% {
    fill: #b40000;
  }
  80% {
    fill: red;
  }
  100% {
    fill: red;
  }
}

@keyframes strip_color_red {
  0% {
    fill: #b40000;
  }
  80% {
    fill: red;
  }
  100% {
    fill: red;
  }
}

@-webkit-keyframes strip_color_yellow {
  0% {
    fill: #cdcd00;
  }
  80% {
    fill: yellow;
  }
  100% {
    fill: yellow;
  }
}

@keyframes strip_color_yellow {
  0% {
    fill: #cdcd00;
  }
  80% {
    fill: yellow;
  }
  100% {
    fill: yellow;
  }
}

@-webkit-keyframes strip_color_green {
  0% {
    fill: #00cd00;
  }
  80% {
    fill: lime;
  }
  100% {
    fill: lime;
  }
}

@keyframes strip_color_green {
  0% {
    fill: #00cd00;
  }
  80% {
    fill: lime;
  }
  100% {
    fill: lime;
  }
}

.keypad_container {
  width: 120px;
  height: 120px;
  left: 25px;
  top: 40px;
  position: absolute;
  background-color: #A7A7A7;
  cursor: pointer;
}

.keypad_container .keypad_key {
  width: 54px;
  height: 54px;
  float: left;
  background-color: #FFFFFF;
}

.keypad_container .keypad_key:nth-child(1) {
  margin: 4px 2px 2px 4px;
}

.keypad_container .keypad_key:nth-child(2) {
  margin: 4px 4px 2px 2px;
}

.keypad_container .keypad_key:nth-child(3) {
  margin: 2px 2px 4px 4px;
}

.keypad_container .keypad_key:nth-child(4) {
  margin: 2px 4px 4px 2px;
}

.keypad_container .keypad_key .keypad_light {
  width: 18px;
  height: 4px;
  margin: 5px auto;
  background-color: #000000;
}

.keypad_container .keypad_key .keypad_label {
  width: 36px;
  height: 36px;
  margin: 5px auto;
  display: block;
}

.simon_container {
  width: 100px;
  height: 100px;
  left: 45px;
  top: 50px;
  position: absolute;
  background-color: #A7A7A7;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.simon_container > div {
  width: 44px;
  height: 44px;
  float: left;
  opacity: 0.3;
  cursor: pointer;
}

.simon_container .blue {
  background-color: blue;
  margin: 4px 2px 2px 4px;
}

.simon_container .yellow {
  background-color: yellow;
  margin: 4px 4px 2px 2px;
}

.simon_container .red {
  background-color: red;
  margin: 2px 2px 4px 4px;
}

.simon_container .green {
  background-color: green;
  margin: 2px 4px 4px 2px;
}

.replay {
  width: 20px;
  height: 20px;
  left: 15px;
  top: 15px;
  cursor: pointer;
  position: absolute;
  background-image: url(../media/module_simon/replay_btn.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

.wof_container > div {
  position: absolute;
  text-transform: uppercase;
  font-family: Courier, monospace;
  text-align: center;
}

.wof_container .wof_display {
  width: 135px;
  height: 45px;
  left: 15px;
  top: 15px;
  background-color: #000000;
  color: #FFFFFF;
  font-size: 25px;
  line-height: 44px;
}

.wof_container .wof_text {
  width: 60px;
  height: 25px;
  background-color: #FFFFFF;
  color: #000000;
  font-size: 10px;
  line-height: 25px;
  cursor: pointer;
  -webkit-transition: -webkit-transform 0.3s linear;
  transition: -webkit-transform 0.3s linear;
  transition: transform 0.3s linear;
  transition: transform 0.3s linear, -webkit-transform 0.3s linear;
}

.wof_container .wof_text:nth-child(2) {
  left: 15px;
  top: 80px;
}

.wof_container .wof_text:nth-child(3) {
  left: 85px;
  top: 80px;
}

.wof_container .wof_text:nth-child(4) {
  left: 15px;
  top: 115px;
}

.wof_container .wof_text:nth-child(5) {
  left: 85px;
  top: 115px;
}

.wof_container .wof_text:nth-child(6) {
  left: 15px;
  top: 150px;
}

.wof_container .wof_text:nth-child(7) {
  left: 85px;
  top: 150px;
}

.wof_container .wof_strip {
  width: 30px;
  height: 120px;
  top: 60px;
  right: 10px;
  background-color: #000000;
}

.wof_container .wof_strip_light_1,
.wof_container .wof_strip_light_2,
.wof_container .wof_strip_light_3 {
  width: 18px;
  height: 10px;
  right: 16px;
  background-color: #CCCCCC;
}

.wof_container .wof_strip_light_1 {
  top: 160px;
}

.wof_container .wof_strip_light_2 {
  top: 140px;
}

.wof_container .wof_strip_light_3 {
  top: 120px;
}

.memory_container > div {
  position: absolute;
  text-transform: uppercase;
  font-family: Courier, monospace;
  text-align: center;
}

.memory_container .memory_display {
  width: 135px;
  height: 65px;
  left: 15px;
  top: 40px;
  color: #FFFFFF;
  font-size: 50px;
  line-height: 60px;
  opacity: 0;
  -webkit-transform: scaleX(3.5) scaleY(0);
          transform: scaleX(3.5) scaleY(0);
  -webkit-transition: all 0.1s linear;
  transition: all 0.1s linear;
}

.memory_container .memory_strip {
  width: 30px;
  height: 120px;
  top: 60px;
  right: 10px;
  background-color: #000000;
}

.memory_container div[class^="memory_strip_light_"] {
  width: 18px;
  height: 10px;
  right: 16px;
  background-color: #CCCCCC;
}

.memory_container div[class^="memory_strip_light_"][class$="1"] {
  top: 160px;
}

.memory_container div[class^="memory_strip_light_"][class$="2"] {
  top: 140px;
}

.memory_container div[class^="memory_strip_light_"][class$="3"] {
  top: 120px;
}

.memory_container div[class^="memory_strip_light_"][class$="4"] {
  top: 100px;
}

.memory_container div[class^="memory_strip_light_"][class$="5"] {
  top: 80px;
}

.memory_container div[class^="memory_strip_light_"][class$="6"] {
  top: 160px;
}

.memory_container div[class^="memory_position_"] {
  position: absolute;
  width: 30px;
  height: 45px;
  top: 110px;
  background-color: #fff;
  color: #000;
  font-size: 25px;
  line-height: 44px;
  -webkit-transform: scaleY(0);
          transform: scaleY(0);
  -webkit-transform-origin: top center;
          transform-origin: top center;
  -webkit-transition: -webkit-transform 0.1s linear;
  transition: -webkit-transform 0.1s linear;
  transition: transform 0.1s linear;
  transition: transform 0.1s linear, -webkit-transform 0.1s linear;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  cursor: pointer;
}

.memory_container div[class^="memory_position_"][class$="1"] {
  left: 15px;
}

.memory_container div[class^="memory_position_"][class$="2"] {
  left: 50px;
}

.memory_container div[class^="memory_position_"][class$="3"] {
  left: 85px;
}

.memory_container div[class^="memory_position_"][class$="4"] {
  left: 120px;
}

.morsecode_container > div {
  position: absolute;
  text-transform: uppercase;
  text-align: center;
}

.morsecode_container .morsecode_display {
  width: 80px;
  height: 20px;
  left: 60px;
  top: 105px;
  background-color: #000000;
  font-size: 17px;
  line-height: 23px;
  color: #C37800;
  font-family: 'Digital 7', Courier, monospace;
}

.morsecode_container .morsecode_light {
  width: 40px;
  height: 26px;
  top: 20px;
  left: 35px;
  background: #ffff00;
  opacity: 0.30;
}

.morsecode_container .morsecode_flash {
  opacity: 1;
}

.morsecode_container .morsecode_tuner_line {
  background-color: #b00b1e;
  width: 4px;
  height: 20px;
  top: 70px;
  left: 25px;
  -webkit-transition: left 0.2s linear;
  transition: left 0.2s linear;
}

.morsecode_container .morsecode_btn_left,
.morsecode_container .morsecode_btn_right {
  top: 105px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  cursor: pointer;
  -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: -webkit-transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), -webkit-transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.morsecode_container .morsecode_btn_left:hover,
.morsecode_container .morsecode_btn_right:hover {
  -webkit-transform: scale(1.2);
          transform: scale(1.2);
}

.morsecode_container .morsecode_btn_left {
  left: 30px;
  border-right: 10px solid #444444;
}

.morsecode_container .morsecode_btn_right {
  right: 30px;
  border-left: 10px solid #444444;
}

.morsecode_container .morsecode_TX_btn {
  width: 40px;
  height: 20px;
  left: 80px;
  top: 155px;
  background-color: #FFFFFF;
  color: #000000;
  font-size: 12px;
  line-height: 20px;
  font-family: Courier, monospace;
  cursor: pointer;
  -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: -webkit-transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), -webkit-transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.morsecode_container .morsecode_TX_btn:hover {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

.wire_sequences_container .right_overlay,
.wire_sequences_container .left_overlay {
  position: absolute;
  width: 55.5px;
  height: 110px;
  top: 45px;
  background-color: #444444;
  -webkit-transform: scaleX(1);
          transform: scaleX(1);
  -webkit-transition: -webkit-transform 0.3s linear;
  transition: -webkit-transform 0.3s linear;
  transition: transform 0.3s linear;
  transition: transform 0.3s linear, -webkit-transform 0.3s linear;
}

.wire_sequences_container .right_overlay {
  left: 30px;
  -webkit-transform-origin: 0 50%;
          transform-origin: 0 50%;
}

.wire_sequences_container .left_overlay {
  left: 85px;
  -webkit-transform-origin: 100% 50%;
          transform-origin: 100% 50%;
}

.wire_sequences_container .wire_and_panel_ani {
  -webkit-transform: translate(-1176px, -1px) scale(0.6);
          transform: translate(-1176px, -1px) scale(0.6);
  -webkit-transform-origin: 666% 60%;
          transform-origin: 666% 60%;
}

.maze_container .maze_bg {
  position: absolute;
  width: 125px;
  height: 125px;
  left: 20px;
  top: 45px;
  padding: 5px;
  background-image: url(../media/module_maze/maze_bg.svg);
}

.maze_container .maze_rings {
  position: absolute;
  width: 125px;
  height: 125px;
  left: 20px;
  top: 45px;
  padding: 5px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  pointer-events: none;
}

.maze_container .maze {
  position: absolute;
  width: 125px;
  height: 125px;
  left: 20px;
  top: 45px;
  padding: 5px;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
      grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  -ms-grid-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
      grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-gap: 1px;
  -webkit-transform: scaleY(-1);
          transform: scaleY(-1);
}

.maze_container .maze .maze_square {
  width: 20px;
  height: 20px;
  -ms-grid-column: 1;
  -ms-grid-column-span: 6;
  grid-column: 1 / 7;
  -ms-grid-row: 6;
  -ms-grid-row-span: 1;
  grid-row: 6 / 7;
  position: relative;
}

.maze_container .maze .maze_square > div {
  position: absolute;
  background-color: white;
  width: 6px;
  height: 6px;
  left: 7px;
  top: 7px;
}

.maze_container .maze .maze_triangle {
  background-color: black;
  width: 20px;
  height: 20px;
  -ms-grid-column: 5;
  -ms-grid-column-span: 2;
  grid-column: 5 / 7;
  -ms-grid-row: 3;
  -ms-grid-row-span: 4;
  grid-row: 3 / 7;
  position: relative;
}

.maze_container .maze .maze_triangle > div {
  position: absolute;
  left: 50%;
  top: 45%;
  -webkit-transform: translateX(-50%) translateY(-50%);
          transform: translateX(-50%) translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 9px solid red;
  -webkit-animation: triangle_ani 20s linear infinite;
          animation: triangle_ani 20s linear infinite;
  -webkit-transform-origin: 50% 65%;
          transform-origin: 50% 65%;
}

@-webkit-keyframes triangle_ani {
  from {
    -webkit-transform: translateX(-50%) translateY(-50%) rotate(0deg);
            transform: translateX(-50%) translateY(-50%) rotate(0deg);
  }
  to {
    -webkit-transform: translateX(-50%) translateY(-50%) rotate(360deg);
            transform: translateX(-50%) translateY(-50%) rotate(360deg);
  }
}

@keyframes triangle_ani {
  from {
    -webkit-transform: translateX(-50%) translateY(-50%) rotate(0deg);
            transform: translateX(-50%) translateY(-50%) rotate(0deg);
  }
  to {
    -webkit-transform: translateX(-50%) translateY(-50%) rotate(360deg);
            transform: translateX(-50%) translateY(-50%) rotate(360deg);
  }
}

.maze_container div[class^="maze_button_"] {
  position: absolute;
  width: 0;
  height: 0;
}

.maze_container div[class^="maze_button_"][class$="top"] {
  top: 33px;
  left: 67px;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 10px solid #444444;
}

.maze_container div[class^="maze_button_"][class$="right"] {
  top: 95px;
  left: 157px;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 10px solid #444444;
}

.maze_container div[class^="maze_button_"][class$="bottom"] {
  top: 182px;
  left: 67px;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 10px solid #444444;
}

.maze_container div[class^="maze_button_"][class$="left"] {
  top: 95px;
  left: 8px;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-right: 10px solid #444444;
}

.maze_container .keyboard_button {
  position: absolute;
  color: #FFF;
  font-size: 8px;
  left: 15px;
  top: 15px;
  background-color: #444444;
  padding: 2px;
  cursor: pointer;
}

.maze_container .keyboard_button:hover {
  -webkit-transform: scale(0.95);
          transform: scale(0.95);
}

.password_container .password_bg {
  position: absolute;
  background-color: #878686;
  height: 60px;
  width: 168px;
  left: 16px;
  top: 65px;
}

.password_container .label1 .display,
.password_container .label2 .display,
.password_container .label3 .display,
.password_container .label4 .display,
.password_container .label5 .display {
  position: absolute;
  background-color: #000000;
  width: 30px;
  height: 50px;
  top: 70px;
  color: #FFFFFF;
  font-size: 27px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.password_container .label1 .btn_top,
.password_container .label1 .btn_bottom,
.password_container .label2 .btn_top,
.password_container .label2 .btn_bottom,
.password_container .label3 .btn_top,
.password_container .label3 .btn_bottom,
.password_container .label4 .btn_top,
.password_container .label4 .btn_bottom,
.password_container .label5 .btn_top,
.password_container .label5 .btn_bottom {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #444444;
  -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: -webkit-transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), -webkit-transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
}

.password_container .label1 .btn_top:hover,
.password_container .label1 .btn_bottom:hover,
.password_container .label2 .btn_top:hover,
.password_container .label2 .btn_bottom:hover,
.password_container .label3 .btn_top:hover,
.password_container .label3 .btn_bottom:hover,
.password_container .label4 .btn_top:hover,
.password_container .label4 .btn_bottom:hover,
.password_container .label5 .btn_top:hover,
.password_container .label5 .btn_bottom:hover {
  -webkit-transform: scale(1.2);
          transform: scale(1.2);
}

.password_container .label1 .btn_top > div,
.password_container .label1 .btn_bottom > div,
.password_container .label2 .btn_top > div,
.password_container .label2 .btn_bottom > div,
.password_container .label3 .btn_top > div,
.password_container .label3 .btn_bottom > div,
.password_container .label4 .btn_top > div,
.password_container .label4 .btn_bottom > div,
.password_container .label5 .btn_top > div,
.password_container .label5 .btn_bottom > div {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 6px solid #CECECE;
  margin-left: 3px;
  margin-top: 3px;
}

.password_container .label1 .btn_top,
.password_container .label2 .btn_top,
.password_container .label3 .btn_top,
.password_container .label4 .btn_top,
.password_container .label5 .btn_top {
  top: 49px;
}

.password_container .label1 .btn_bottom,
.password_container .label2 .btn_bottom,
.password_container .label3 .btn_bottom,
.password_container .label4 .btn_bottom,
.password_container .label5 .btn_bottom {
  top: 127px;
}

.password_container .label1 .btn_bottom > div,
.password_container .label2 .btn_bottom > div,
.password_container .label3 .btn_bottom > div,
.password_container .label4 .btn_bottom > div,
.password_container .label5 .btn_bottom > div {
  margin-top: 5px;
  -webkit-transform: rotateZ(180deg);
          transform: rotateZ(180deg);
}

.password_container div[class^="label"]:nth-of-type(2) .display {
  left: 21px;
}

.password_container div[class^="label"]:nth-of-type(2) .btn_top,
.password_container div[class^="label"]:nth-of-type(2) .btn_bottom {
  left: 29px;
}

.password_container div[class^="label"]:nth-of-type(3) .display {
  left: 53px;
}

.password_container div[class^="label"]:nth-of-type(3) .btn_top,
.password_container div[class^="label"]:nth-of-type(3) .btn_bottom {
  left: 61px;
}

.password_container div[class^="label"]:nth-of-type(4) .display {
  left: 85px;
}

.password_container div[class^="label"]:nth-of-type(4) .btn_top,
.password_container div[class^="label"]:nth-of-type(4) .btn_bottom {
  left: 93px;
}

.password_container div[class^="label"]:nth-of-type(5) .display {
  left: 117px;
}

.password_container div[class^="label"]:nth-of-type(5) .btn_top,
.password_container div[class^="label"]:nth-of-type(5) .btn_bottom {
  left: 125px;
}

.password_container div[class^="label"]:nth-of-type(6) .display {
  left: 149px;
}

.password_container div[class^="label"]:nth-of-type(6) .btn_top,
.password_container div[class^="label"]:nth-of-type(6) .btn_bottom {
  left: 157px;
}

.password_container .password_submit {
  position: absolute;
  background-color: #FFFFFF;
  color: #000000;
  width: 60px;
  height: 20px;
  left: 70px;
  top: 160px;
  font-family: Courier, monospace;
  font-size: 11px;
  text-transform: uppercase;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: -webkit-transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), -webkit-transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
}

.password_container .password_submit:hover {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

.shake {
  -webkit-animation-name: shake_kf;
          animation-name: shake_kf;
  -webkit-animation-duration: 0.1s;
          animation-duration: 0.1s;
  -webkit-animation-timing-function: ease-in;
          animation-timing-function: ease-in;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
}

@-webkit-keyframes shake_kf {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  25% {
    -webkit-transform: rotate(2deg);
            transform: rotate(2deg);
  }
  50% {
    -webkit-transform: rotate(-2deg);
            transform: rotate(-2deg);
  }
  75% {
    -webkit-transform: rotate(2deg);
            transform: rotate(2deg);
  }
  100% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
}

@keyframes shake_kf {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  25% {
    -webkit-transform: rotate(2deg);
            transform: rotate(2deg);
  }
  50% {
    -webkit-transform: rotate(-2deg);
            transform: rotate(-2deg);
  }
  75% {
    -webkit-transform: rotate(2deg);
            transform: rotate(2deg);
  }
  100% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
}

.red_light {
  opacity: 0;
  -webkit-transition: opacity 0.1s linear;
  transition: opacity 0.1s linear;
}

.green_light {
  opacity: 0;
}

#congratz {
  position: absolute;
  -webkit-transform: rotateX(0deg) translateZ(100px);
          transform: rotateX(0deg) translateZ(100px);
  display: none;
}

#congratz div {
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
}

#congratz div:nth-child(1) {
  background-image: url(https://media.giphy.com/media/EIZCMrLTkVJHa/giphy.gif);
  height: 250px;
  width: 250px;
  top: 150px;
  z-index: 3;
}

#congratz div:nth-child(2) {
  background-image: url(https://media2.giphy.com/media/5R2YzhtLB1Q7Nf6dyl/giphy.gif?cid=790b7611e167c0702180c8977b3bfc99f5bcc14a6e355063&rid=giphy.gif);
  height: 400px;
  width: 600px;
  top: 75px;
  z-index: 1;
}

#congratz div:nth-child(3) {
  background-image: url(https://media0.giphy.com/media/xBq2i35baKUxrQ4WAu/giphy.gif?cid=790b7611b0b641706555983e042026087cbbe4bbf618843c&rid=giphy.gif);
  height: 150px;
  width: 150px;
  top: 150px;
  left: 450px;
  z-index: 2;
}

#congratz div:nth-child(4) {
  background-image: url(https://media0.giphy.com/media/U4eIECsCD1IBys7Aju/giphy.gif?cid=790b7611ff52b446bc5759580aa61049285be60976ab4711&rid=giphy.gif);
  height: 150px;
  width: 150px;
  top: 250px;
  left: 450px;
  z-index: 3;
}

#congratz div:nth-child(5) {
  background-image: url(https://media0.giphy.com/media/S664rS0bJJ8m348tYP/giphy.gif?cid=790b761199b270a5acd1a17984a54b28ca124f703185d465&rid=giphy.gif);
  height: 150px;
  width: 250px;
  top: 250px;
  left: 230px;
  z-index: 3;
}

#congratz div:nth-child(6) {
  background-image: url(https://media1.giphy.com/media/du9tXPzxB6grJuuO0J/giphy.gif?cid=790b761156c7ec3b82e8660d1cd024af8df73c516c42697a&rid=giphy.gif);
  height: 130px;
  width: 250px;
  top: 0px;
  left: 350px;
  z-index: 3;
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}

#congratz div:nth-child(7) {
  background-image: url(https://media1.giphy.com/media/2g9E2BeMUGpOXNGchW/giphy.gif?cid=790b761183ed37ff156c6c73c36cde99bf50be4611d0d186&rid=giphy.gif);
  height: 230px;
  width: 120px;
  top: 0px;
  z-index: 3;
  -webkit-animation: hammertime 8s linear infinite;
          animation: hammertime 8s linear infinite;
}

#congratz div:nth-child(8) {
  background-image: url(https://media0.giphy.com/media/Stj0eoxmtDMqGmjOVy/giphy.gif?cid=790b761162aa5fa2cf1992e580894d91efcdb80307997d9c&rid=giphy.gif);
  height: 430px;
  width: 420px;
  top: 0px;
  z-index: 0;
}

#congratz div:nth-child(9) {
  background-image: url(https://media3.giphy.com/media/3og0IBq1emkEfTmU9i/giphy.gif?cid=790b76111d7b1daadcff185680fe064bb171a5214dafab86&rid=giphy.gif);
  height: 330px;
  width: 320px;
  top: 0px;
  left: 220px;
  z-index: 0;
}

@-webkit-keyframes hammertime {
  from {
    left: -300px;
  }
  to {
    left: 1000px;
  }
}

@keyframes hammertime {
  from {
    left: -300px;
  }
  to {
    left: 1000px;
  }
}
/*# sourceMappingURL=all-styles.css.map */