

/*  Major Structures  */


html { 
  background: black;day
  overflow-y: none;
  color: white;
} 

body{
  background: black;
  color: white;
  font-family: 'Alegreya';
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-attachment: fixed;
  margin: 0px;
  height: auto;
  min-height: 100%;
  font-size: 16px;
}

body ::-webkit-scrollbar-track {
    background: gray;
    width: 20px;
}

tw-passage {
    z-index: 5;
    padding-bottom: 0;
    margin-bottom: 0;
    padding: 0.01em 5px 0px 10px;
    border-radius: 6px;
    margin-bottom: 120px;
    text-shadow: none;
}


tw-sidebar{
  display: none;
}



tw-story{
  background: transparent;
  color: inherit;
  font: 150% Alegreya, Wisper,Sea,Courier,Lucida Console,sans-serif;
  margin: 0 auto 0 auto;
  padding: 110px 15%;
  padding-bottom: 0;
}

.inv-item tw-hook tw-link { color: #8cf; }

tw-hook[name="gray"],tw-hook[name="gray1"],tw-hook[name="gray2"],tw-hook[name="gray3"],tw-hook[name="gray4"],tw-hook[name="gray5"],.gray{
  color: #454545;
  cursor: pointer;
  transition: ease-out 0.3s 0.1s;
  margin-right: 15px;
}

.hidden{
  display: none;
}

tw-hook[name="gray"]:hover,tw-hook[name="gray1"]:hover,tw-hook[name="gray2"]:hover,tw-hook[name="gray3"]:hover,tw-hook[name="gray4"]:hover,tw-hook[name="gray5"]:hover,.gray:hover{
  color: #553338;
}

a, tw-link, .enchantment-link {
  color: #8b8989;
  transition: ease-out 0.3s 0.1s;
}

a, tw-link{
  color: #8b8989;
  border-bottom: none;
  text-decoration:  none;
  cursor: pointer;
}
a:hover, tw-link:hover, .enchantment-link:hover {
  color: #6A1723;
  text-decoration:  none;
}


#forceRefreshCanvas{
    position: fixed;
    height: 100vh;
    width: 2000px;
}

#steamOverlayCanvasFix {
  top: 0px;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  opacity: 0.01;
  pointer-events: none;
  z-index: -1;
  position: fixed;
}

#canv {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 4;
}


#back1, #back2 {
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 3;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center bottom;
  background-size: auto 100%;
}
#back2 {
  z-index: 2;
}

#nav-container { font-size: 25px; }




/*  Text Adjustments  */

.energy { color: #C29539; }
.memory { color: green; }
.loss { color: #6c6c72; }
.dim { color: dimgray; }
.health { color: darkred; }
.self { color: #7272a5; }
.emph{ color: #C29539; }
.softEmph{ color: #ebe8cd; }
.italicEmph{ color: #ebe8cd; font-style: italic; }
.speech{ color: #999; }
.select-item { cursor: pointer; }
.center-text{  text-align: center; display: inline-block; width: 100%;}
.clickable { cursor: pointer;  }
.wisper { font-family: 'wisper';  }
.small-text{
    font-size: 18px;
    position: absolute;
    top: 25px;
    font-style: italic;
    color: dimgray;
}

.explain{
    font-size: 18px;
    position: relative;
    top: -10px;
    font-style: italic;
    color: dimgray;
  }

.actText{
    font-size: 70px;
    color: #D2AC69;
}
.actTextSmall{
    color: #D2AC69;
}


.text-shimmer {
  background-position: -14rem top;
  background-repeat: no-repeat;
  background-size: 125px 130%;
  background-clip: text;

  
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-background-size: 14rem 100%;

  background-color: white;
  background-image: -webkit-gradient(linear, 100% 0, 0 0, from(white), color-stop(0.2, #838383), color-stop(0.5, #e2fb55), color-stop(0.7, #838383), to(white));

}

.active-shimmer{
  animation-name: shimmer;
  animation-duration: 8s;
  animation-iteration-count: 1;

}

@keyframes shimmer {
  0% {
    background-position: -250px 0;
  }
  100% {
    background-position: 300px 0;
  }
}

  .go_west{
    position: fixed;
    top: 50%;
    left: 30px;
  }

  .go_east{
    position: fixed;
    top: 50%;
    right: 20px;
  }

  .go_north{
    position: fixed;
    left: 45%;
    top: 10px;
  }

  .go_south{
    position: fixed;
    left: 45%;
    bottom: 10px;
  }



/* Semantic Adjustments  */

.ui.progress .bar {
    transition: width 0.5s ease, background-color 0.3s ease;
}

.ui.progress{
  margin:  0em 0em 1em;
}

.ui.active.progress .bar::after{
  animation: none;
  -webkit-animation: none;
}

.ui.inverted.progress {
    background: rgba(255, 255, 255, 0.18);
}

.ui.red.inverted.progress .bar {
    background-color: #4e3230;
}

.ui.blue.inverted.progress .bar {
    background-color: #4b6b7a;
}

.ui.button{
  font-family: 'wisper';
    font-size: 30px;
    padding: 13px 10px 10px 10px;
  background: black;
  color: white; 
  border: 1px solid white;
  box-shadow: 0 0 0 0 rgba(255,255,255, .5);

}

.pulse-button{
  animation: pulseButtonAnimation 1.5s infinite;
}

.pulse-button:hover {
  animation: none;
}

@keyframes pulseButtonAnimation {
  0% { }
  70% { box-shadow: 0 0 0 20px rgba(255,255,255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255, 0); }
}

.pulse-animation{
  animation: pulseAnimation 3s infinite;
}

.pulse-animation .bar{
  background-color: #979494 !important;
}


@keyframes pulseAnimation {
  0% { box-shadow: 0 0 0 0 #979494; }
  50% { box-shadow: 0 0 0 2px #979494; }
  100% { box-shadow: 0 0 0 0 #979494; }
}


/*  Menu */



.menu_frame {
     text-align: left;
     margin: auto;
}
 .sub_header {
     font-size: 29px;
     line-height: 1.3em;
}
 .menu_items{ font-size: 40px; }
 .small_menu_items{ font-size: 20px; }
 .menu_frame{ width: 70%; }



.menu_spacing_safe {
  padding: 1px;
  position: relative;
  margin-bottom: 30px;
}


.menu_spacing tw-enchantment {
  padding: 1px;
  position: relative;
  -moz-transition: ease-out 0.3s 0.1s;
  -o-transition: ease-out 0.3s 0.1s;
  -webkit-transition: ease-out 0.3s;
  -webkit-transition-delay: 0.1s;
  transition: ease-out 0.3s 0.1s;
}

.menu_spacing tw-enchantment::before {
  height: 4px;
  width: 100%;
  background: #6A1723;
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  -moz-transform: scaleX(0);
  -ms-transform: scaleX(0);
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.menu_spacing tw-enchantment::after {
  height: 4px;
  width: 100%;
  background: #6A1723;
  content: "";
  position: absolute;
  left: 0px;
  bottom: -2px;
  -moz-transform: scaleX(0);
  -ms-transform: scaleX(0);
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.menu_spacing tw-enchantment:hover {

}
.menu_spacing tw-enchantment:hover::before, .menu_spacing tw-enchantment:hover::after {
  -moz-transform: scaleX(1);
  -ms-transform: scaleX(1);
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}
.menu_spacing tw-enchantment:hover span::before, .menu_spacing tw-enchantment:hover span::after {
  -moz-transform: scaleY(1);
  -ms-transform: scaleY(1);
  -webkit-transform: scaleY(1);
  transform: scaleY(1);
}


#titleBox {
    font-size: 100px;
    margin: 5px;
    text-align: left;
    left: 10%;
    width: 500px;

}

#titleImage {
  width: 650px;
}

.actNote{
    font-size: 50px;
  text-align: right;
  color: #6A1723;
  right: 70px;
  position: absolute;
  bottom: 20px;
}


#menuBox{
    width: 500px;
    left: 25%;
    font-size: 50px;
    top: -40px;

}

.menu_items { position: relative; right: 10%; top: 0px; text-align: right; }
.menu_items_top { position: relative; top: 0px; text-align: center; }
.menu_spacing { margin-bottom: 30px; }


.list_spacing { margin-bottom: 15px; }




/*  Menu Accordian   */


#tagArea{
      position: fixed;
    bottom: 5px;
    right: 5px;
    width: 350px;
    text-align: right;
    color: #8b8989;
}

/* Style the buttons that are used to open and close the accordion panel */
.accordion {
    cursor: pointer;
    text-align: right;
    border: none;
    outline: none;
    transition: 0.4s;
    color: #8b8989;
    background-color: black;
    font-family: 'ALEGREYA';
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.activeAccordian, .accordion:hover {
  color: #6A1723;
}

/* Style the accordion panel. Note: hidden by default */
.accordionPanel {
    padding: 0 18px;
    background-color: black;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.accordionPanel p:first-child { margin-top: 1em; }
.accordionPanel p:last-child { margin-bottom: 1em; }
.accordionPanel p{
      line-height: 0.8em;
}

.hopeText{
  color: #cfcece;
}


 /* Fonts  */

 .handwriting{
    font-family: "Domestic";
    font-size: 25px;
    line-height: 0.5em;
 }



@font-face {
    font-family: 'Alegreya';
    src: url('../fonts/AlegreyaRegular.woff') format('woff');
    font-style: normal;
}

@font-face {
    font-family: 'Wisper';
    src: url('../fonts/Wisper-Regular.woff') format('woff');
    font-style: normal;
}

@font-face {
    font-family: 'Domestic';
    src: url('../fonts/Domestic_Manners.woff') format('woff');
    font-style: normal;
}

@font-face {
    font-family: 'Sea';
    src: url('../fonts/Louis-George-Cafe-Bold.woff') format('woff');
    font-style: bold;
}

@font-face {
    font-family: 'Sea';
    src: url('../fonts/Louis-George-Cafe-Italic.woff') format('woff');
    font-style: italic;
}

@font-face {
    font-family: 'Sea';
    src: url('../fonts/Louis-George-Cafe.woff') format('woff');
    font-style: normal;
}


/* Modal Window */

html.modal-active, body.modal-active {
  overflow: hidden;
}

#modal-container {
  font-size: 25px;
  position: fixed;
  display: table;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  transform: scale(0);
  z-index: 20;
  color: black;
}
#modal-container.two {
  transform: scale(1);
}
#modal-container.two .modal-background {
  background: rgba(0, 0, 0, 0);
  animation: fadeIn 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
#modal-container.two .modal-background .modal {
  opacity: 0;
  animation: scaleUp 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
#modal-container.two + .content {
  animation: scaleBack 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
#modal-container.two.out {
  animation: quickScaleDown 0s 0.5s linear forwards;
}
#modal-container.two.out .modal-background {
  animation: fadeOut 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
#modal-container.two.out .modal-background .modal {
  animation: scaleDown 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
#modal-container.two.out + .content {
  animation: scaleForward 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
#modal-container .modal-background {
  display: table-cell;
  background: rgba(0, 0, 0, 0.8);
  text-align: center;
  vertical-align: middle;
}
#modal-container .modal-background .modal {
  background: #111;
  color: white;
  padding: 50px;
  display: inline-block;
  border-radius: 3px;
  font-weight: 300;
  position: relative;
      text-align: left;

}
#modal-container .modal-background .modal h2 {
  font-size: 20px;
  line-height: 25px;
  margin-bottom: 25px;
}
#modal-container .modal-background .modal p {
  font-size: 18px;
  line-height: 22px;
}

#list-thoughts{
	text-align: left;
	font-size: 25px;
	margin-bottom: 25px;
}

#stop-think-button {
    float: right;
    font-size: 25px;
    border: none;
}

@keyframes fadeIn {
  0% {
    background: rgba(0, 0, 0, 0);
  }
  100% {
    background: rgba(0, 0, 0, 0.7);
  }
}
@keyframes fadeOut {
  0% {
    background: rgba(0, 0, 0, 0.7);
  }
  100% {
    background: rgba(0, 0, 0, 0);
  }
}
@keyframes scaleUp {
  0% {
    transform: scale(0.8) translateY(1000px);
    opacity: 0;
  }
  100% {
    transform: scale(1) translateY(0px);
    opacity: 1;
  }
}
@keyframes scaleDown {
  0% {
    transform: scale(1) translateY(0px);
    opacity: 1;
  }
  100% {
    transform: scale(0.8) translateY(1000px);
    opacity: 0;
  }
}
@keyframes scaleBack {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0.85);
  }
}
@keyframes scaleForward {
  0% {
    transform: scale(0.85);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes quickScaleDown {
  0% {
    transform: scale(1);
  }
  99.9% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}


/* Errata  */

#current-location {
    width: 100%;
    text-align: center;
    color: antiquewhite;
    font-size: 30px;
    font-family: Wisper;
    position: absolute;
    top: 45%;
}

.nav-text{
    width: 150px;
    font-size: 20px !important;
    position: absolute;

}

#north-btn { top: 10px; left: 225px; }
#south-btn { bottom: 10px; left: 225px; }
#east-btn { top: 40%; right: 10px; }
#west-btn { top: 40%; left: 10px; }

.glitch {
  animation: glitch 9725ms infinite;
  color: transparent;
  text-shadow: 0 0 13px white;
  font-size: 120%;
  user-select: none;
}


@keyframes glitch {
  0% { text-shadow: 0 0 13px white; }
  15% { text-shadow: 0 0 13px white; }
  16% { text-shadow: -5px -4px 17px white; }
  17% { text-shadow: 0 0 13px white; }
  49% { text-shadow: 0 0 13px white; }
  50% { text-shadow: 5px 0 10px white; }
  51% { text-shadow: 0 0 13px white; }
  98% { text-shadow: 0 0 13px white; }
  99% { text-shadow: -5px 5px 17px white; }
  100% { text-shadow: 0 0 13px white; }
}




/* Shimmer */

.text-shimmer, .text-shimmer-long, .shimmer, .susan-shimmer, .shimmer tw-hook, .long-shimmer, .long-shimmer tw-hook {
  margin: 0 auto;
  padding: 0 0 0 0;
  display: inline;
  margin-bottom: 0;

  background-position: -4rem top;
  background-repeat: no-repeat;
  background-size: 125px 130%;
  background-clip: text;

  animation-name: shimmer;
  animation-duration: 8s;
  animation-iteration-count: infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-animation-name: shimmer;
  -webkit-animation-duration: 8s;
  -webkit-animation-iteration-count: infinite;
  -webkit-background-size: 4rem 100%;

  background-color: white;
  background-image: -webkit-gradient(linear, 100% 0, 0 0, from(white), color-stop(0.3, #c3a66b), color-stop(0.7, #c3a66b), to(white));

}



.long-shimmer, .long-shimmer tw-hook, .text-shimmer-long  {
    
  -webkit-animation-name: long-shimmer;
  animation-name: long-shimmer;
}


@keyframes shimmer {
  0% {
    background-position: -150px 0;
  }
  100% {
    background-position: 200px 0;
  }
}
@keyframes long-shimmer {
  0% {
    background-position: -250px 0;
  }
  100% {
    background-position: 300px 0;
  }
}

@-webkit-keyframes shimmer {
  0% {
    background-position: -150px 0;
  }
  100% {
    background-position: 200px 0;
  }
}
@-webkit-keyframes long-shimmer {
  0% {
    background-position: -250px 0;
  }
  100% {
    background-position: 300px 0;
  }
}




/* Health and Energy Bars */


#healthBar{
  display: none;
  background-image: linear-gradient(to right, #54111B, #BE243C, #54111B);
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0%);
  top: 40px;
  z-index: 10;
}

#energyBar{ 
    display: none;
    background-color: #221B17;
    border: solid #4E3E30 3px;
    height: 40px;
    width: 600px;
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translate(-50%, 0%);
    z-index: 10;
}
 
#learnBar{ 
    background-color: #221B17;
    border: solid #4E3E30 3px;
    height: 35px;
    width: 565px;
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translate(-50%, 0%);
    z-index: 10;
}
 



#bar1Health{ background-color: #1A0804; }

.after-right-darkred:after { border-left: 20px solid #1A0804; transition: border-left 0s linear 0s;}
.after-right-brightred:after { border-left: 20px solid #54111B; transition: border-left 0.5s linear 1s;}

.after-left-darkred:after { border-right: 20px solid #1A0804; transition: border-right 0.5s linear 1s;}
.after-left-brightred:after { border-right: 20px solid #54111B; transition: border-left 0s linear 0s;}

#right1:before { border-left: 20px solid #292929; }
#left1:before { border-right: 20px solid #292929; }

.prg-right-end {
  right: 0;
  position: absolute;
}

.prg-left-end{
    left: -22px;
    position: absolute;
}

.prg-right-end:before, .prg-left-end:before, .prg-right-end:after, .prg-left-end:after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    
}

.prg-right-end:before {
    top: -2px;
    right: -21px;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
}

.prg-right-end:after {
    left: 100%;
    bottom: -29px;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
}

.prg-left-end:before {
    top: -2px;
    right: -21px;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
}

.prg-left-end:after {
    left: 2px;
    bottom: -29px;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
}


.prg-text{
    position: absolute;
    left: 235px;
    font-size: 20px;
    top: 1px;
}

.prg-name-text{
    position: absolute;
    left: 205px;
    top: -30px;
    font-size: 22px;
    text-shadow: 1px 0 0 #000, 0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000;
}

.prg-stats-text{
    position: absolute;
    top: 40px;
    font-size: 19px;
    text-shadow: 1px 0 0 #000, 0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000;
}
.prg-info-text{
    position: absolute;
    top: 30px;
    left: -40px;
    text-shadow: 1px 0 0 #000, 0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000;
}
.prg-link-movement{
    position: absolute;
    top: -30px;
    left: -40px;
    text-shadow: 1px 0 0 #000, 0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000;
}
.prg-stats-single{
    position: absolute;
    width: 100px;
    color: gray;
    text-shadow: 1px 0 0 #4E3E30, 0 -1px 0 #4E3E30, 0 1px 0 #4E3E30, -1px 0 0 #4E3E30;
}
.prg-info-stats-single{
    position: absolute;
    width: 100px;
    color: gray;
}
.prg-link-button{
    position: absolute;
    width: 150px;
    height: 22px;
    color: #a5a5a5;
    cursor: pointer;
    background: #141414;
    text-align: center;
    border: solid #212020 1px;
    border-radius: 7px;
    transition: background-color 1s, border 1s, visibility 1s, opacity 1s;
}
.prg-link-button:hover{
    background: #1A0804;
    border: solid #1A0804 1px;
}
.prg-stat-level{
  font-size: 17px;
}

#sight-text { left: 90px; display: none; }
#speech-text { left: 250px; display: none; }
#touch-text { left: 425px; display: none; }

#mood-text { left: 50px; display: none; }
#trust-text { left: 180px; display: none; }
#calm-text { left: 320px; display: none; }
#happy-text { left: 445px; display: none; }
#enrich-text {     left: 380px;
    display: none;
    top: -58px;
    width: 200px; display: none; }

#astarion-link { left: 90px; opacity: 0; cursor: default; }
#tomb-link { left: 260px; opacity: 0; cursor: default; }
#practice-link { left: 425px; opacity: 0; cursor: default; }

#day-text { font-size: 40px; }


.prg-level-text{
    font-size: 18px;

}

.prg-border {
    width: 500px;
    height: 31px;
    border: solid #292929 1px;
}
.prg-bar {
    float: right;
    display: inline-block;
    height: 29px;
    transition: width 1s, background-color 1s;
    width: 500px;
    text-align: center;
    font-size: 55px;
    font-family: courier;
    background-color: #1A0804;
}





#right2:before { border-left: 20px solid #4E3E30; }
#left2:before { border-right: 20px solid #4E3E30; }
#right2:after { border-left: 20px solid #221B17; }
#left2:after { border-right: 20px solid #221B17; }


#energyBar .prg-right-end:before {
    top: -4px;
    right: -22px;
    border-top: 21px solid transparent;
    border-bottom: 21px solid transparent;
}

#energyBar .prg-right-end:after {
    left: -1px;
    bottom: -35px;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
}

#energyBar .prg-left-end:before {
    top: -4px;
    right: -20px;
    border-top: 21px solid transparent;
    border-bottom: 21px solid transparent;
}

#energyBar .prg-left-end:after {
    left: 3px;
    bottom: -35px;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
}



.prg-black-box{
width: 560px;
    height: 27px;
    position: absolute;
    background-color: #040303;
    right: 18px;
    top: 4px;
}

.prg-text-small{
    position: absolute;
    right: 2px;
    top: -5px;
    font-size: 20px;
    color: black;
    font-weight: normal;
}


.prg-inner-bar-small {
    width: 540px;
    height: 17px;
    position: absolute;
    background-image: linear-gradient(to right, #04181D, #04232D, #04181D);
    top: 5px;
    left: 10px;
}

.prg-bar-small {
    display: inline-block;
    height: 17px;
    width: 450px;
    position: absolute;
    transition: width 1s, background-color 1s;
    top: 5px;
    left: 10px;
    background-color: #C29539;
}


.prg-learn-text{
    position: absolute;
    left: 0px;
    top: -30px;
    text-shadow: 1px 0 0 #000, 0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000;
}

#text3 { transition: right 0.5s ease, color 0.5s ease; }

.prg-learning-stat { font-size: 22px; }
.prg-learning-level { font-size: 18px; }



/* Game Frame  */

#game-frame {
    z-index: -10;
    opacity: 0;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0px;
    left: 0px;
    background: black;
    color: white;
    display: flex;
    flex-flow: row;
    transition: background-color 2s ease;
}

#area-sidebar {
    width: 500px;
    width: 600px;
    flex: 0 0 auto;
    height: 100%;
    position: relative;
    top: 0px;
    left: 0px;
    display: flex;
    flex-flow: column;
}

#area-picture {
    background-image: url("../absenceImages/black.jpg");
    background-position: center bottom;
    background-size: 100%;
    transition: background-image 0.4s;
    width: 100%;
    height: 500px;
    height: 700px;
    flex: 0 1 auto;
    background-repeat: no-repeat;
}

#area-fill {
    width: 100%;
    flex: 1 1 auto;
    position: relative;
}

#area-navigation {
    width: 100%;
    height: 220px;
    flex: 0 1 auto;
    position: relative;
}

#area-scene {
    flex: 1 1 auto;
    height: 100vh;
    position: relative;
    top: 0px;
    right: 0px;
    display: flex;
    flex-flow: column;
}

#area-scene > div {
    width: 100%;
    flex: 1 1 auto;
    display: flex;
    flex-flow: column;
}


#area-stats > div {
    width: 90%;
    font-size: 23px;
}

#scroll-cue {
    display: none;
    right: 16%;
    bottom: 130px;
    position: absolute;
    z-index: 5;
    font-size: 50px;
}

#area-description {
    margin: 0;
    font-size: 20px;
    width: 100%;
    height: 500px;
    overflow-x: hidden;
    overflow-y: auto;
    flex: 1 1 auto;
    background-color:  black;
    transition: background-color 2s ease;
}

#area-text {
    width: 100%;
    height: 700px;
    flex: 1 1 auto;
    display: flex;
    flex-flow: column;
    background-color:  black;
    transition: background-color 2s ease;
}

#area-tools {
    height: 100px;
    margin-left: 0;
    width: 90%;


}

#area-tools > .button-tools {
    width: 25%;
    float: left;
    margin-right: 2em;
}

#area-tools > .button-tools > button {
    opacity: 0;
}

#alert-tools {
    width: 100%;
    height: 20px;
    margin: 0 0 10px 0;
    transition: opacity 0.1s ease-in-out 0.1s;
    opacity: 0;
}

#button-examine {
    opacity: 0;
}

#button-think {
    opacity: 0;
}

#button-items {
    opacity: 0;
}

#button-wait {
    opacity: 0;
}

#area-stats {
    width: 100%;
    height: 220px;
    flex: 0 1 auto;
    position: relative;
    padding: 10px 1em 1em 3em;
}

#area-memory {
    opacity: 0; 
    bottom: 10px;
    position: absolute; }
#area-self { opacity: 0; }
#area-health { opacity: 0; }


.stat-area {  opacity: 0;  display: flex; flex-flow: row;}
.stat-label { width: 10%; }
.stat-bar {  width: 100%; margin-left: 10px; }



#nav-container {
    text-align: right;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 100;
}



.menu_frame {
    width: 50%;
  padding: 10px;
}

.menu_items {
    font-size: 30px;
    text-align: center;
    margin-top: 20px;
}

span.menu_spacing { margin: 0 10px; }
span.space { margin: 0 10px; }




@media (max-width: 800px) {

#titleImage { width: 100%; }
#titleBox { width: 100%; }

#titleBox {
    left: 1%;
}

tw-story {
    margin: 0 auto 0 auto;
    padding: 110px 5%;
}

.menu_frame {
    width: 80%;
}

.go_west {
    position: absolute;
    top: -8%;
    left: 30px;
}

.go_east {
        position: absolute;
        top: -8%;
        right: 20px;
}


#resume-game {
  visibility: hidden;
}

.prg-link-movement{
  transform: scale(1.5);
}
#astarion-link { left: -5px; bottom: -13px; }
#tomb-link { left: 150px;  bottom: -13px;}
#practice-link { left: 305px;  bottom: -13px;}



#energyBar {
    transform: scale(0.7) translate(-72%, 0%);
}


#healthBar{
  transform: scale(0.9) translate(-55%, 0%);
}


}




@media (max-width: 500px) {


.date-text{
  display: none;

}

#energyBar {
    transform: scale(0.5) translate(-99%, 0%);
}


#healthBar{
  transform: scale(0.6) translate(-83%, 0%);
}

.prg-stat-level {
    font-size: 20px;
}


#trust-text, #calm-text, #happy-text, #mood-level{
    font-size: 20px;

}

.prg-stats-single{
  font-size: 21px;
}

.prg-text {
    left: 225px;
    font-size: 25px;
}


  }