@font-face {
    font-family: milkjf;
    /* src: url(pc-9800.ttf);*/
    src:  url("x68000_sans.ttf");
  }

* {
    box-sizing: border-box; 
  }

  body {
    display: flex;
    height: 100vh;
    flex-direction: column;
    margin: 0;
    background-color: rgb(255, 255, 255);
    font-family: milkjf;
    
  }

  body.standard {

    background-image: url("images/BG_CLEAR.png");
    background-repeat: repeat;

  }

  body.fullBG {

    background-size:  cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;

  }

  #main {
    display: flex;
    flex: 1;
  }

  #main > .bg {
    flex: 1;
    order: 1;
  }

  #main > .sidebar {
    flex: 0 0 33vw;
    
    order: 2;
  }

  .sidebar {

    flex-direction: column;
  }
 
.bg, .choices, .choices, .status {
    padding: 1em;
  }

.bg {

    position: relative;
    background-size:  cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    border: 2px;
    border-style: solid;
    border-color: white;
    margin:  1em;
    padding:  0;
    text-align: right;
}

.fg {
    
    position: absolute;
    height: 100%;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: auto;
    margin-top:  auto;
    right:  0;
    background-color: transparent;
    border: none;
    -webkit-filter: drop-shadow(2px 2px 2px #FAF9F6);
    filter: drop-shadow(2px 2px 2px #FAF9F6);

}

  .dial {    
    height: 35vh;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    border: 2px;
    border-style: solid;
    border-color: white;
    margin: 1em;
    margin-bottom: 2em;
    background-color: RGBA(0,0,0,0.5);
    position: relative;
  }

  .dial, .choices, .status {

  -webkit-user-select: none;  /* Chrome all / Safari all */
  -moz-user-select: none;     /* Firefox all */
  -ms-user-select: none;      /* IE 10+ */
  user-select: none;          /* Likely future */      


  }

  .autoplayoff, .autoplay {
    position: absolute;
    top: 0;
    right: 3vw;
    font-size: 2vw;
    height: 20px;
    width: 30px;
    margin: 2px;
  }

  .autoplayoff {
    color: transparent;
  }

  .autoplay {

    color: white ;
  }

  .dialog1, .dialog2, .dialog3 { 
    height: 30%;
    width: 90%;
    padding: 1em;
    display: flex;
    flex-direction: row;

}

.text1, .text2, .text3, .choices {
    display: inline-block;
    font-size: 1.5vw;
    letter-spacing: 0.15em;
}

.text1 {
    color: white;
    text-align:  left;
    overflow-wrap: break-word;
}

.text2 {
    color: white;
}

.text3 {
    color: white;
}

.blank {
    color:  black;
}

.choices {

  color: white;
  margin:  1em;

  background-color: RGBA(0,0,0,0.5);
  height: fit-content;
  /* transition: height 1.5s; */
}

.status {

  color: white;
  margin:  1em;
  border: 2px;
  border-style: solid;
  border-color: white;
  background-color: RGBA(0,0,0,0.5);
  height: fit-content;
  /* transition: height 1.5s; */
  
}

.hidden {

  
  border: 0px;
  border-style: solid;
  border-color: black;
  
  background-color: RGBA(0,0,0,0);
  /* height:  5px; */
  /* transition: height 1.5s; */

}


.choiceListItem {
  color: white;
  text-decoration: none;
}

.choices {

  color: white;
}

.choiceListItem:hover {
color: white
/* text-decoration: underline; */
}


/* CHARACTER SPEAKING TAGS 2/2 */
/* replace the below with whatever characters you have set up in code.js */


.yue-xianming {
    color: rgb(255, 255, 255);
    letter-spacing: 0.15em;
    font-size: 1.5vw;
    display: inline-block
       
}
.qian-zhouyu {
    color: rgb(255, 255, 255);
    letter-spacing: 0.15em;
    font-size: 1.5vw;
    display: inline-block
     
   }
   
.shiragiku{
    color: rgb(255, 255, 255);
    letter-spacing: 0.15em;
    font-size: 1.5vw;
    display: inline-block
     
   }

.narration {
    color: white;
    font-size: 1.5vw;
    letter-spacing: 0.15em;
    display: inline-block
}

