@font-face {
    font-family: milkjf;
    /* src: url(pc-9800.ttf);*/
    src:  url("x68000_sans.ttf");
  }

* {
    box-sizing: border-box; 
    user-select: none;
  }

  body {
    display: flex;
    height: 100vh;
    flex-direction: column;
    margin: 0;
    background-color: rgb(0,0,0);
    font-family: milkjf;
  }

  body.standard {
    background-image: url("images/blank.png");
    background-repeat: repeat;
  }

  body.fullBG {
    background-size:  cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
  }

  #curtain {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:#000000;
    color:#fff;
    z-index:999999999;
    padding-top:45vh;
    text-align:center;
    transition:0.5s;
  }

  #main {
    display: flex;
    flex: 1;
    min-width: 0;
    min-height: 0;
  }

  #main > .bg {
    flex: 1;
    order: 1;
  }

  #main > .sidebar {
    flex: 0 0 30vw;
    
    order: 2;
  }

  .sidebar {

    flex-direction: column;
  }
 
.bg, .choices, .choices, .status {
    padding: 2vh;
  }

.bg {
    position: relative;
    background-size:  cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    border: 2px;
    border-style: solid;
    border-color: white;
    margin:  2vh 2vh 0;
    padding:  0;
    text-align: right;
    min-width: 0;
    min-height: 0;
}

.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: 30vh;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    border: 2px;
    border-style: solid;
    border-color: white;
    margin: 2vh;
    margin-bottom: 8vh;
    background-color: RGBA(0,0,0,0.5);
    position: relative;
    z-index:1;
    font-size: 2vh;
    letter-spacing: 0.15em;
    background-color:rgba(0, 0, 0, 0.5);
  }

  .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 */      


  }

  #autoplay {
    position: absolute;
    bottom: 4vh;
    left: 15vh;
    font-size:3vh;
    height: 20px;
    width: 30px;
    margin: 2px;
    color:#fff;
  }

  #autoplay:hover, #reset:hover {
    cursor: pointer;
    color: #000000;
  }

  .autoplayoff {
    color: transparent;
  }

  .autoplay {
    color: #000000 !important;
  }

  .menuOpen {
    color:#000000 !important;
  }

  #reset {
    position: absolute;
    bottom: 4vh;
    right: 7vh;
    font-size:3vh;
    height: 20px;
    width: 30px;
    margin: 2px;
    color:#fff;
  }

  .historybutton {
    position: absolute;
    left: 2vh;
    bottom: 4vh;
    font-size:3vh;
    height: 20px;
    width: 30px;
    margin: 2px;
    z-index:1;
    color:#fff;
  }

  .historybutton:hover {
    color: #000000;
    cursor: pointer;
  }

  #settings {
    position: absolute;
    bottom: 4vh;
    left: 24vh;
    font-size:3vh;
    height: 20px;
    width: 30px;
    margin: 2px;
    color:#fff;
  }

  #settings:hover {
    color: #000000;
    cursor: pointer;
  }


  #settings-window {
    width:30vw;
    background-color: RGBA(0,0,0,0.9);
    border: 2px solid #fff;
    position:absolute;
    margin:20vh 35vw;
    z-index:10;
    color:#fff;
    font-size:2vh;
    padding:4vh;
  }

  #settings-window input[type='range'] {
    width:96%;
    margin-bottom:5%;
    height:1%;
  }

  #reset-window {
    width:30vw;
    background-color: RGBA(0,0,0,0.9);
    border: 2px solid #fff;
    position:absolute;
    margin:30vh 35vw;
    z-index:10;
    color:#fff;
    font-size:2vh;
    padding:4vh;
  }

  #reset-window div {
    font-size:3vh;
    display:inline-block;
    margin-top:1vh;
  }

  #reset-window div:hover {
    color: #000000;
    cursor: pointer;
  }

  #reset-window-yes {
    margin-right:3vw;
  }

  .dialog1, .dialog2, .dialog3 { 
    height: 30%;
    width: 90%;
    padding: 2vh;
    display: flex;
    flex-direction: row;

}

  .text1, .text2, .text3, .choices {
    display: inline-block;
    font-size: 1.5vw;
    letter-spacing: 0.15em;
}

.text1 {
    color: #F1F1F1;
    text-align:  left;
    overflow-wrap: break-word;
}

.text2 {
    color: #BBBBBB;
}

.text3 {
    color: #FEFEFE;
}

.blank {
    color:  #FAF9F6;
}

.choices, .status {
  font-size: 3vh;
  color: white;
  margin:  2vh 2vh 0 0;
  border: 2px;
  border-style: solid;
  border-color: white;
  background-color: RGBA(0,0,0,0.5);
  height: fit-content;
  /* transition: height 1.5s; */
  
}

.log {
  position:absolute;
  display: inline-block;
  font-size: 2vh;
  letter-spacing: 0.15em;
  color: white;
  margin:2%;
  border: 2px;
  border-style: solid;
  border-color: white;
  background-color: RGBA(0,0,0,0.9);
  z-index:999;
  overflow:scroll;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
  user-select: none;
  padding:2vh;
  text-align: left;
  height: 86%;
  width:96%;
  pointer-events:none;
}

.log::-webkit-scrollbar {
  display: none;
}

.loglist {

  align-self: self-start;
  list-style-type: none;
  padding-left:none;
  margin-bottom: 5px;
  height: 100%;
}

.hidden {
  
  border: 0px;
  border-style: solid;
  border-color: white;
  opacity:0;
  pointer-events:none;
  /* height:  5px; */
  /* transition: height 1.5s; */
}

.transparent {

  border: 0px;
  border-style: solid;
  border-color: white;
  background-color: RGBA(0,0,0,0);
  /* height:  5px; */
  /* transition: height 1.5s; */

}


.choiceListItem {
  color: white;
  text-decoration: none;
}

.choices {
  color: #000000;
}

.choiceListItem:hover {
color: #000000;
/* text-decoration: underline; */
}


/* CHARACTER SPEAKING TAGS 2/2 */
/* replace the below with whatever characters you have set up in code.js */


.nancy {
    color: #22e925;
    display: inline-block;
       
}

.miku {
    color: #3ce7cb;
    display: inline-block;
     
   }

.narration {
    color: #FAF9F6;
    display: inline-block;
}



