@import url("https://use.typekit.net/hdo8dse.css");
@font-face {
  font-family: "Director";
  src: url("Director-Regular.woff2") format("woff2"), url("Director-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
html {
  overflow-y: hidden;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

h3 {
  font-family: "altesse-std-24pt", sans-serif;
  font-size: 3.6rem;
  color: #e397b7;
}

body {
  background: #000;
  min-height: calc(100vh - 1rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: "Director";
}

#audio {
  pointer-events: none;
  opacity: 0;
  position: fixed;
  left: -10vw;
}

#controls {
  z-index: 999;
  display: flex;
  justify-content: space-between;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0.5rem;
  position: fixed;
  opacity: 0.5;
  pointer-events: none;
}
#controls button {
  color: #fff;
  width: 36px;
  height: 36px;
  font-size: 1.25rem;
  object-fit: contain;
  border: 0;
  background: none;
  pointer-events: auto;
}
#controls button img {
  width: 100%;
}
#controls button:hover {
  cursor: pointer;
}

#top {
  position: absolute;
  top: 1rem;
  left: 0;
  padding: 0.75rem;
  width: 100%;
}
#top .wrapper {
  display: flex;
  flex-direction: column;
  text-align: center;
}
#top h1, #top h2 {
  font-size: 0.8rem;
  margin: 0.15rem;
  color: #fff;
}
#top h1 {
  font-size: 1.5rem;
  font-family: "altesse-std-24pt", sans-serif;
}
#top h2 {
  font-size: 0.6rem;
}
#top h2::before {
  content: "Age ";
}

#world {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}

#world[color=bw] {
  filter: grayscale(1) contrast(1.4) brightness(0.7);
}

.ui-helper-hidden-accessible {
  display: none;
}

.typed-cursor {
  color: #e397b7;
  opacity: 0;
  -webkit-animation: blink 0.7s infinite;
  -moz-animation: blink 0.7s infinite;
  animation: blink 0.7s infinite;
  display: none;
}

.ui-tooltip {
  display: inline-block;
}

#tag {
  position: fixed;
  transform: translate(8px, -1px);
  width: auto;
  white-space: nowrap;
  font-size: 0.75rem;
  z-index: 999;
  font-family: "Director";
  pointer-events: none;
  text-align: left;
}
#tag span {
  color: #fff;
  padding: 0.15rem 0.25rem;
}

#thoughts {
  position: absolute;
  top: calc(50vh + 85px);
  min-height: 80px;
  width: 100%;
  font-size: 0.7rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  pointer-events: none;
  z-index: 99;
}
#thoughts p {
  max-width: 580px;
  padding: 0.15rem;
  margin: 0 auto;
  display: inline-block;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  background-blend-mode: difference;
  line-height: 140%;
}
#thoughts p a {
  pointer-events: all;
  text-shadow: 0 0 5px #e397b7, 0 0 5px #e397b7;
  cursor: pointer;
}
#thoughts em {
  font-family: "altesse-std-24pt", sans-serif;
  font-size: 2.4rem;
}

#thoughts.large {
  z-index: 100;
  font-size: 1rem;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  pointer-events: auto;
}
#thoughts.large p {
  padding: 1rem;
  height: auto;
  text-shadow: 0 0 15px #e397b7;
  pointer-events: none;
}
#thoughts.large span[continue] {
  position: absolute;
  margin-top: -165px;
  opacity: 0.6;
  color: #fff;
  font-size: 0.7rem;
}

.thoughts-inner {
  display: none;
}

h4 {
  font-family: "Director";
  color: #e397b7;
  top: 100px;
  left: 0;
  font-size: 0.6rem;
  opacity: 0.8;
  z-index: 9;
  width: 100%;
  pointer-events: none;
  text-align: center;
  z-index: 9;
  opacity: 0;
}

h4::before {
  content: "( ";
}

h4::after {
  content: " )";
}

#inventory .inventory-wrapper {
  position: relative;
  max-width: 550px;
  margin: 0 auto 0.5rem;
  padding: 0.25rem;
  height: 70px;
  display: flex;
  justify-content: center;
  align-content: flex-start;
  align-items: flex-end;
  opacity: 0;
}
#inventory .inventory-wrapper a {
  display: inline-block;
  width: 70px;
  height: 60px;
  color: #e397b7;
  margin: 0.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 0.65rem;
  opacity: 0.7;
  cursor: pointer;
  object-fit: contain;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  pointer-events: auto;
}
#inventory .inventory-wrapper img {
  max-height: 60%;
  width: auto;
  mix-blend-mode: lighten;
}
#inventory .inventory-wrapper a:hover {
  opacity: 1;
}
#inventory .inventory-wrapper a[object=dice] {
  background-image: url(../i/dice-one.gif);
}
#inventory .inventory-wrapper a[object=safetypin] {
  background-image: url(../i/safetypin.gif);
}
#inventory .inventory-wrapper a[object=firefly] {
  background-image: url(../i/firefly.gif);
}
#inventory .inventory-wrapper a[object=stone] {
  background-image: url(../i/stone.gif);
}
#inventory .inventory-wrapper a[object=lighter] {
  background-image: url(../i/lighter.gif);
}

#memory {
  position: absolute;
  left: 50%;
  top: calc(50% + 40px);
  transform: translate(-50%, -50%);
  width: 840px;
  height: 530px;
  object-fit: contain;
  pointer-events: none;
}
#memory .memory-wrapper {
  position: relative;
  height: 100%;
  width: 100%;
}
#memory .memories {
  position: absolute;
  display: flex;
  object-fit: contain;
  flex-wrap: wrap;
  text-align: center;
  justify-content: center;
}
#memory .memories img {
  object-fit: contain;
  max-height: 50px;
  max-width: 50px;
}
#memory .memories [m] {
  filter: saturate(0) contrast(1.5) brightness(0.5);
  transition: all 0.15s ease-in-out;
}
#memory .memories [m][active] {
  filter: saturate(1.2);
}
#memory .memories.memory-w, #memory .memories.memory-e {
  width: 66px;
}
#memory .memories.memory-w img, #memory .memories.memory-e img {
  margin: 0.51rem 0;
}
#memory .memories.memory-n, #memory .memories.memory-s {
  width: 100%;
  margin: 0.5rem auto;
  left: 50%;
  transform: translateX(-50%);
}
#memory .memories.memory-n img, #memory .memories.memory-s img {
  margin: 0 0.62rem;
}
#memory .memory-e {
  right: 4px;
  text-align: right;
}
#memory .memory-w {
  left: 4px;
  text-align: right;
}
#memory .memory-s {
  bottom: 0;
}

#actions {
  z-index: 10;
  color: #e397b7;
  width: 100%;
  height: 40px;
  padding: 0.75rem 0.5rem;
  font-size: 1.65rem;
  pointer-events: none;
  margin-top: 4rem;
}
#actions .actions-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: flex-start;
  align-items: flex-start;
  max-width: 700px;
  margin: 0 auto;
  line-height: 100%;
  pointer-events: none;
}
#actions a {
  display: inline-block;
  flex-grow: 1;
  color: gray;
  cursor: grab;
  padding: 0.25rem;
  text-transform: capitalize;
  font-family: "altesse-std-24pt", sans-serif;
  pointer-events: auto;
}
#actions a[active] {
  color: #fff;
}
#actions a:before {
  content: "  ";
}
#actions a:after {
  content: "  ";
}
#actions a:hover {
  text-shadow: 0 0 5px #e397b7;
}

.pulse {
  animation: pulse 0.8s infinite;
}

@-webkit-keyframes pulse {
  0% {
    filter: brightness(1);
  }
  25% {
    filter: brightness(1.1);
  }
  50% {
    filter: brightness(1.2);
  }
  75% {
    filter: brightness(1.1);
  }
  100% {
    filter: brightness(1);
  }
}

/*# sourceMappingURL=s.css.map */
