body {
    height: 100%;
    margin: 0;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    animation: fadein 2s;
  }
  
  #levelLayer,
  #luaLayer,
  body,
  html {
    touch-action: none;
  }
  
  #mainInfo {
    position: absolute;
    text-align: center;
    width: 100%;
    height: 100%;
    bottom: 100%;
    background: #ffffff88;
    transition: 1s;
    font-family: monospace;
    font-size: 30px;
    opacity: 0;
    overflow-y: scroll;
  }
  
  #mainInfo > div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
  }
  
  #infoOpen {
    position: absolute;
    width: 100px;
    height: 50px;
    border-color: black;
    border-bottom-left-radius: 10px;
    outline: none;
    top: 0;
    right: 0;
    background: #ffffff88;
    font-family: monospace;
  }
  
  #wjTip {
    position: absolute;
    background-color: #ffffff88;
    border: solid black;
    border-bottom-right-radius: 10px;
    font-family: monospace;
    transition: bottom 0.5s;
  }
  
  #moreBtn {
    width: 50px;
    height: 50px;
    background-color: #ffffff88;
    border: solid thin black;
    border-radius: 5px;
    font: 15px monospace;
    position: absolute;
    right: 0;
    padding: 0;
  }
  #timer {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    font-family: monospace;
    font-size: 20px;
    display: none;
  }
  
  @keyframes fadein {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  .imgbox {
    display: grid;
    height: 100%;
}
.center-fit {
    max-width: 100%;
    max-height: auto;
    margin: auto;
}
  
/*Fonts */  
  @font-face {
    font-family: "DSEG7-7SEGG";
    src: url("../fonts/DSEG7Modern-Regular.woff2") format("woff2"),
      url("../fonts/DSEG7Modern-Regular.woff") format("woff"),
      url("../fonts/DSEG7Modern-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
  }
  