#game-canvas-container {
  /* position: relative;
    height: 0;
    overflow: hidden;
    padding-top: 56.25%; */
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
}

#game-canvas {
  /* font-family: Space, Mono; */
  font-family: monospace, serif;
  font-size: 15px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#game-button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  margin: 0.4em;
  padding: 1em;
  cursor: pointer;
  background: #e1e1e1;
  text-decoration: none;
  color: #666;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#game-button:before {
  content: "";
  position: absolute;
  border: #e1e1e1 solid 6px;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
}

#game-button:hover:before,
#game-button:focus:before,
#game-button:active:before {
  -webkit-animation-name: hvr-ripple-out;
  animation-name: hvr-ripple-out;
}

/* Ripple Out */

@-webkit-keyframes hvr-ripple-out {
  100% {
    top: -12px;
    right: -12px;
    bottom: -12px;
    left: -12px;
    opacity: 0;
  }
}

@keyframes hvr-ripple-out {
  100% {
    top: -12px;
    right: -12px;
    bottom: -12px;
    left: -12px;
    opacity: 0;
  }
}

#game-panel {
  position: absolute;
  /* top: 20%;
    left: 10%;
    right: 10%; */
  top: 20%;
  left: 50%;
  /* max-width: 630px;
    min-width: 320px; */
  max-width: 580px;
  min-width: 270px;
  font-family: monospace, serif;
  font-size: 15px;
  color: black;
  /* transform: scale(1.2); */
  /* transform: translateX(-50%) translateY(-50%) scale(1); */
  transform: translateX(-50%) scale(1);
  opacity: 0.9;
  background-color: rgba(255, 255, 255, 1);
  border: solid 1px black;
  padding: 20px;
  border-radius: 5px;
  visibility: visible;
}

.hide-panel {
  /* transition: all 1.0s; */
  /* transform: scale(1) !important; */
  /* opacity: 0.9 !important; */
  /* transform: translateX(-50%) translateY(-50%) scale(1) !important; */
  /* visibility: visible !important; */
  animation-duration: 1s;
  animation-fill-mode: forwards;
  animation-name: hide-panel-anim;
}

@keyframes hide-panel-anim {
  /* 100% {
        visibility: hidden;
        opacity: 0;
        transform: scale(1.2);
    } */
  100% {
    visibility: hidden;
    opacity: 0;
    /* transform: translateX(-50%) translateY(-50%) scale(1.2); */
    transform: translateX(-50%) scale(1.2);
  }
}

#game-panel-title {
  color: #000;
  background: none;
  margin: 0;
  overflow: hidden;
  padding-top: 0.5em;
  padding-bottom: 0.17em;
  border-bottom: 1px solid #a2a9b1;
  display: block;
  font-size: 2em;
  font-weight: bold;
}
