  /* @import url('https://fonts.googleapis.com/css2?family=Poiret+One&display=swap');
  @import url('https://fonts.googleapis.com/css2?family=Nanum+Gothic&display=swap'); */
  @font-face {
    font-family: "Poiret One";
    src: url("/res/fonts/PoiretOne-Regular.ttf");
  }

  @font-face {
    font-family: "Nanum Gothic";
    src: url("/res/fonts/NanumGothic-Regular.ttf");
  }

  :root {
    --background-colour: #56b1a0;
    --line-colour: #fdfdfd;
    --highlight-colour: #ac3939;
    --detail-colour: #008080;
  }

  #wrapper {
    position: relative;
    padding: 10px;
    top: 0;
    left: 0;
    box-sizing: border-box;
    /* overflow: auto; */
    width: 100%;
    max-width: 500px;
    background-color: white;
  }

  #map {
    position: relative;
    padding-bottom: 120%;
    /* max-height: 800px;
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%; */
    opacity: 100%;
    pointer-events: none;
    display: none;
    /* z-index: -1; */
  }

  #canvas {
    position: relative;
    padding-bottom: 120%;
    max-height: 800px;
    background-color: var(--background-colour);
    opacity: 100%;
    pointer-events: auto;
  }

  #frame {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 90%;
    width: 90%;
    border: 4px solid var(--line-colour);
    border-style: double;
  }

  #rendering {
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
    height: 60%;
    width: 90%;
  }

  #textbox {
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
    height: 20%;
    width: 90%;
  }

  #titletext {
    text-align: center;
    font-size: 20px;
    /* font-family: "Yu Gothic"; */
    /* font-family: 'Nanum Gothic', sans-serif; */
    font-family: 'Poiret One', cursive;
    color: var(--line-colour);
    word-wrap: normal;
    /* top: 25%;
    left: 50%;
    transform: translate(-50%, -50%); */
    bottom: 5%;
    left: -3%;
  }

  #key {
    text-align: center;
    font-size: 15px;
    font-family: "Times New Roman", serif;
    color: var(--detail-colour);
    list-style-type: none;
    word-wrap: normal;
    /* top: 60%;
    left: 50%;
    transform: translate(-50%, -50%); */
    bottom: 5%;
    right: -3%;
  }

  .grab {
    /* border: 1px solid black; */
    cursor: grab;
    position: absolute;
    display: flex;
    white-space: nowrap;
  }

  #parameters {
    max-width: 500px;
  }

  ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  li {
    display: inline-block;
  }

  .guides {
    opacity: 0%;
  }

  #vertical {
    border-left: 1px solid black;
    height: 100%;
    position: absolute;
    left: 50%;
    /* margin-left: -3px; <= why? */
  }

  #horizontal {
    border-top: 1px solid black;
    width: 100%;
    position: absolute;
    top: 50%;
    /* margin-top: -3px; <=why? */
  }