

/*  Major Structures  */


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

body{
  background: black;
  color: white;
  font-family: 'wisper';
  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: 10px;
    text-shadow: none;
}


tw-sidebar{
  display: none;
}



tw-story{
  background: transparent;
  color: inherit;
  font: 150% Wisper,Sea,Courier,Lucida Console,sans-serif;
  margin: 0 auto 0 auto;
      padding: 5% 10%;
    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"],.gray{
  color: #999;
  opacity: 0.4;

}

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

a, tw-link{
  color: #727171;
  border-bottom: none;
  text-decoration:  none;
  cursor: pointer;
  font-weight: bold;
}
a:hover, tw-link:hover, .enchantment-link:hover {
  color: #603e3e;;
  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: 100% 100%;
}
#back2 {
  z-index: 2;
}

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




/*  Text Adjustments  */

.memory { color: green; }
.loss { color: #6c6c72; }
.self { color: #7272a5; }
.emph{ color: #7272a5; }
.speech{ color: #999; }
.select-item { cursor: pointer; font-weight: bold; }
.center-text{  text-align: center; display: inline-block; width: 100%;}
.clickable { cursor: pointer; font-weight: bold;  }
.wisper { font-family: 'wisper';  }
.small-text, .explain{
    font-size: 18px;
    position: relative;
    top: -10px;
}

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

  
  -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_right{

        margin-left: 50%;

 }

.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: #603e3e;
  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: #603e3e;
  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);
}


 /* Fonts  */

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

@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; }
}




/* 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;
}


#resume-game {
    right: 5px;
    bottom: 5px;
    position: fixed;
    z-index: 5;
    font-size: 30px;
}