@font-face {
    font-family: milkjf;
    src: url("pc-9800.ttf");
    /* src:  url("x68000_sans.ttf"); */
  }

* {
    box-sizing: border-box; 
  }

body {
    height: 100vh;
    width: 100vw;
    margin: 0;
    background-color: white;
    font-family: milkjf;
    
  }

.main {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    background: black;
 }

.sidebar {
    z-index: 4;
    position: absolute;
    top: 0;
    right: 3vw;
   }
 
.choices, .status {
    padding: 1em;
    -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: relative;
    top: 0;
    right: 0;
    font-size: 2vw;
    height: 20px;
    width: 30px;
    margin: 2px;
  }

  .autoplayoff {
    color: transparent;
  }

  .autoplay {

    color: #e60017 ;
    z-index:  99;
  }

  .historybutton {
    position: absolute;
    bottom: 3vh;
    right: 6vw;
    font-size: 2vw;
    height: 20px;
    width: 30px;
    margin: 2px;
    z-index:9;
    color:RGBA(255,255,255,0.1);
    
  }

  .historybutton:hover {

    color: #e60017;
  }

.choices, .status {
  
  display: inline-block;
  font-size: 1.5vw;
  letter-spacing: 0.15em;
  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; */
  }

.log {

  display: inline-block;
  font-size: 2em;
  letter-spacing: 0.15em;
  color: white;
  margin:2em;
  border: 2px;
  border-style: solid;
  border-color: white;
  background-color: RGBA(0,0,0,0.9);
  z-index:99;
  overflow:scroll;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
  user-select: none;
  padding:1em;
}

.log::-webkit-scrollbar {
  display: none;
}

.loglist {

  list-style-type: none;
  padding-left:none;
  margin-bottom: 5px;
  
}

.hidden {
  
  border: 0px;
  border-style: solid;
  border-color: white;
  opacity: 0;
  /* height:  5px; */
  /* transition: height 1.5s; */
  }

.choiceListItem {
  color: white;
  text-decoration: none;
  }

.choices {

  color: #e60017;
  }

.choiceListItem:hover {

  color: #e60017;
  /* text-decoration: underline; */
  }

.crt::after {
  content: " ";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(18, 16, 16, 0.1);
  opacity: 0;
  z-index: 4;
  pointer-events: none;
 }
.crt::before {
  content: " ";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  z-index: 4;
  background-size: 100% 2px, 3px 100%;
  pointer-events: none;
  }
.crt {
    animation: textShadow 5.6s infinite;
 }

#screen {

    height: 100%;
    width: 100%;
    position: relative;
    border: 2px solid black;
    margin: auto;
    background:black;
    display:  flex;
    justify-content: center;
    image-rendering: pixelated;
  
  }

canvas { 
  position: absolute; 
  height: 100%;
  width: 100%;
  image-rendering: -moz-crisp-edges;
  image-rendering: -webkit-crisp-edges;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  
}
  #text { z-index: 3; }
  #front { z-index: 2; }
  #front2 { z-index: 2; }
  #back { z-index: 1; }

