@font-face {
  font-family: NowAlt-Medium;
  src: url("../fonts/NowAlt-Medium.otf");
}
@font-face {
  font-family: NowAlt-Regular;
  src: url("../fonts/NowAlt-Regular.otf");
}
html, body {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  margin: 0px;
  background-color: #000;
  color: #133754;
  overflow: hidden;
  margin: 0;
  font-family: "NowAlt-Regular";
  user-select: none;
  touch-callout: none !important;
}
html button #start, body button #start {
  position: absolute;
  top: 20px;
  right: 20px;
}

* {
  box-sizing: border-box;
}

ul, ol {
  list-style-type: none;
  padding: 0;
}

.splash {
  z-index: 10;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #e2ceb5;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center bottom;
}

.splash header {
  position: absolute;
  left: 50%;
  top: 35%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  flex-direction: column;
}

.splash header .headerPart {
  margin: 0 0 2vh 0;
  min-height: 100px;
  max-height: 700px;
  height: 10vh;
  width: auto;
  margin: 10px 20px 0 20px;
}

.splash header .headers {
  text-align: center;
  margin: 15px 0 0 0;
}

.splash header .headerImage {
  text-align: center;
}

.splash header h3 {
  letter-spacing: 0.04em;
  line-height: 1.4;
  font-weight: 100;
  text-align: center;
  margin: 0;
  padding: 0;
  font-size: 15px;
  float: left;
  max-width: 500px;
}
@media screen and (max-width: 400px) {
  .splash header h3 {
    font-size: 9px;
  }
}
@media screen and (max-height: 550px) {
  .splash header h3 {
    font-size: 9px;
  }
}

.splash header h3 span {
  white-space: nowrap;
}

@media screen {
  .splash {
    background-image: url("../img/splash/bg-desktop.jpg");
  }
}
/* thin */
@media screen and (max-aspect-ratio: 1/1) {
  .splash {
    background-image: url("../img/splash/bg-mobile.jpg");
    background-position: center center;
  }
  .splash header {
    top: 38%;
  }
  .splash header .headers {
    min-width: 500px;
  }
  .splash header .headerPart {
    min-height: 50px;
    max-height: 90px;
    height: 9vh;
    width: auto;
  }
}
/* squarish */
@media screen and (min-aspect-ratio: 1/1) and (max-width: 600px) {
  .splash {
    background-image: url("../img/splash/bg-mobile.jpg");
  }
}
/* regular desktop */
@media screen and (min-aspect-ratio: 1/1) and (min-width: 1080px) {
  .splash {
    background-image: url("../img/splash/bg-desktop.jpg");
  }
  .splash header .headerPart {
    min-height: 50px;
    max-height: 120px;
    height: 16vh;
    width: auto;
  }
}
/* short */
@media screen and (max-height: 550px) {
  .splash {
    background-image: url("../img/splash/bg-desktop-wide.jpg");
    background-position: center center;
  }
  .splash header .headers {
    min-width: 800px;
  }
  .splash header .headerImage {
    text-align: center;
    width: 800px;
  }
  .splash header .headerPart {
    min-height: 40px;
    max-height: 40px;
    height: 1.5vh;
    width: auto;
    margin: 10px 10px 0 10px;
  }
}
@font-face {
  font-family: NowAlt-Regular;
  src: url("../fonts/NowAlt-Regular.otf");
}
.invisible, .hidden {
  visibility: hidden;
  pointer-events: none;
}

canvas {
  z-index: 1;
  position: absolute;
  top: 0;
  /*cursor: none;*/
}

.intro-media {
  position: fixed;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  left: -9999px;
  bottom: -9999px;
}

.intro-media.intro-overlay {
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  object-fit: contain;
  background: #000;
  z-index: 5;
  pointer-events: none;
}

#intro-video-webm, #intro-video-mp4 {
  z-index: 2;
}

.scene-intro-labels {
  display: none;
}

#skip-intro {
  z-index: 6;
  margin: 20px;
  position: absolute;
  bottom: 0;
  font-family: "NowAlt-Regular";
  letter-spacing: 2px;
  font-size: 14px;
  font-weight: 100;
  color: white;
  cursor: pointer;
  pointer-events: auto;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid #FFF;
  text-decoration: none;
}

.a-enter-vr {
  z-index: 2;
  width: 50px !important;
}

.a-enter-vr-button {
  background: url("data:image/svg+xml;charset=UTF-8,%3csvg enable-background='new 0 0 50 28' version='1.1' viewBox='0 0 50 28' xml:space='preserve' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m43.114 2.843c-0.953-0.951-2.218-1.84-3.564-1.84h-29.117c-1.347 0-2.612 0.89-3.564 1.84-0.952 0.951-1.476 2.4-1.476 3.746l1e-3 15.12c0 1.347 0.524 2.74 1.475 3.691 0.952 0.953 2.216 1.603 3.563 1.603h6.992c0.912 0 1.807-0.328 2.589-0.797 0.781-0.47 1.422-1.182 1.853-1.984l1.971-3.745c0.232-0.431 0.661-0.753 1.148-0.753h0.011c0.487 0 0.917 0.303 1.149 0.73l1.971 3.705c0.431 0.803 1.07 1.567 1.853 2.035s1.678 0.809 2.588 0.809h6.992c1.347 0 2.611-0.605 3.564-1.558 0.949-0.952 1.474-2.259 1.474-3.605l3e-3 -15.23c1e-3 -1.347-0.525-2.816-1.476-3.767m-27.045 15.405c-2.186 0-3.963-1.776-3.963-3.961s1.778-3.961 3.963-3.961c2.183 0 3.96 1.777 3.96 3.961 0 2.185-1.777 3.961-3.96 3.961m17.843 0c-2.183 0-3.959-1.776-3.959-3.961s1.776-3.961 3.959-3.961c2.187 0 3.965 1.777 3.965 3.961 0 2.185-1.778 3.961-3.965 3.961' fill='%23fff'/%3e%3c/svg%3e ") no-repeat !important;
  border: 0;
  bottom: 0;
  cursor: pointer;
  width: 50px !important;
  height: 28px !important;
  position: absolute;
  right: 0;
  z-index: 9999;
}

.pointer {
  cursor: pointer !important;
}

.a-canvas.a-grab-cursor:hover {
  cursor: inherit !important;
}

/*.a-canvas.a-grab-cursor:active,.a-grabbing{cursor:inherit !important}*/
#enterVR {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translate(-50%, 0);
  width: 300px;
}
#enterVR #enter360 {
  text-align: center;
  text-decoration: underline;
  color: #846852;
  margin-top: 20px;
  cursor: pointer;
}
#enterVR #enter360:hover {
  text-decoration: none;
}

#enter-vr-container {
  position: relative;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 15px;
  min-width: 170px;
  min-height: 46px;
  background: none;
  text-align: center;
}
#enter-vr-container .mode360 {
  left: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 15px;
  font-weight: 100;
  font-family: "NowAlt-Medium";
}
#enter-vr-container .mode360 * {
  float: left;
}
#enter-vr-container .mode360 img {
  margin-right: 5px;
  height: 25px;
}
#enter-vr-container .mode360 span {
  height: 25px;
  line-height: 30px;
}
#enter-vr-container .webvr-ui-title {
  position: relative;
  top: 1px;
  margin: 0 0 0 0;
  letter-spacing: 0.2em;
  line-height: 15px;
  font-size: 15px;
  font-weight: 100;
  font-family: "NowAlt-Medium";
  text-transform: uppercase;
}
#enter-vr-container .webvr-ui-button .svg360 {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}
#enter-vr-container .webvr-ui-button:hover {
  background-color: #846852;
}
#enter-vr-container .webvr-ui-button:hover .webvr-ui-title {
  color: #e2ceb5;
}
#enter-vr-container .webvr-ui-button:hover .webvr-ui-svg {
  fill: #e2ceb5;
}
#enter-vr-container .webvr-ui-button:hover .webvr-ui-svg-error {
  fill: #e2ceb5;
}
#enter-vr-container .webvr-ui-button:hover .svg360 .icon360 {
  fill: #e2ceb5;
}
#enter-vr-container #try-it-in-360 {
  letter-spacing: 0.075em;
  margin-top: 15px;
  color: #846852;
  text-transform: uppercase;
  padding-bottom: 2px;
  border-bottom: 1px solid #846852;
  font-family: "NowAlt-Regular";
  font-size: 15px;
  text-decoration: none;
}

#exitButton {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  font-size: 30px;
  color: white;
  display: none;
  cursor: pointer;
  background-image: url(../img/back_arrow.png);
  background-size: 100% 100%;
  z-index: 10000000000;
}
#exitButton.visible {
  display: block;
}

#fallback {
  z-index: 100;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: #e2ceb5;
  color: #133754;
  font-family: sans-serif;
  display: none;
}
#fallback #text {
  font-family: "NowAlt-Regular";
  line-height: 30px;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  font-size: 18px;
  text-align: center;
  transform: translate(-50%, -50%);
}
#fallback #text a {
  color: #846852;
}
#fallback.visible {
  display: block;
}

.footer {
  z-index: 11;
}

.footer .gradient {
  z-index: 11;
  position: fixed;
  bottom: 0;
  pointer-events: none;
  background-image: url("../img/splash/gradient.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left bottom;
}

.footer .left {
  left: 0;
  width: 200vw;
  height: 40vh;
}

.footer .right {
  right: 0;
  width: 200vw;
  height: 40vh;
  transform: scaleX(-1);
}

.footer .about-btn {
  z-index: 11;
  right: 0;
  top: 0;
  color: #133754;
  padding-bottom: 2px;
  border-bottom: 1px solid #133754;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  position: absolute;
  display: block;
  margin: 20px;
  font-family: "NowAlt-Regular";
  font-size: 15px;
  text-decoration: none;
}
@media screen and (max-width: 620px) {
  .footer .about-btn {
    font-size: 15px;
  }
}
@media screen and (max-height: 620px) {
  .footer .about-btn {
    font-size: 15px;
  }
}

.footer .terms {
  z-index: 12;
  position: absolute;
  display: block;
  text-align: right;
  right: 0;
  bottom: 0;
  margin: 0 20px 20px 0;
  color: #FFF;
  font-size: 15px;
  white-space: nowrap;
}

.footer .terms a {
  font-family: "NowAlt-Regular";
  color: #FFF;
  text-decoration: none;
}

.footer .terms a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 620px) {
  .footer .terms {
    margin: 0 0 20px 0;
    text-align: left;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
  .footer .credits {
    text-align: justify !important;
  }
  .footer .credits:after {
    content: "";
    display: inline-block;
    width: 100%;
    margin: 0 20px 30px 20px;
  }
  .footer .credits li {
    display: inline-block;
    margin: 0 0 0 0 !important;
  }
}
.footer .credits {
  z-index: 11;
  position: absolute;
  width: calc(100% - 40px);
  min-width: 300px;
  left: 0;
  bottom: 0;
  padding: 0;
  text-align: left;
  margin: 0 20px 17px 20px;
}

.footer .credits li {
  display: inline-block;
  margin: 0 10px 0 10px;
}

.footer .credits li:nth-of-type(1) img {
  width: 104px;
  height: auto;
}
@media screen and (max-width: 460px) {
  .footer .credits li:nth-of-type(1) img {
    width: 78px;
  }
}

.footer .credits li:nth-of-type(2) img {
  width: 1px;
  height: auto;
}
@media screen and (max-width: 460px) {
  .footer .credits li:nth-of-type(2) img {
    height: 40px;
  }
}

.footer .credits li:nth-of-type(3) img {
  width: 77px;
  height: auto;
}
@media screen and (max-width: 460px) {
  .footer .credits li:nth-of-type(3) img {
    width: 58px;
  }
}

.footer .credits li:nth-of-type(4) img {
  width: 1px;
  height: auto;
}
@media screen and (max-width: 460px) {
  .footer .credits li:nth-of-type(4) img {
    height: 40px;
  }
}

.footer .credits li:nth-of-type(5) img {
  width: 137px;
  height: auto;
}
@media screen and (max-width: 460px) {
  .footer .credits li:nth-of-type(5) img {
    width: 103px;
  }
}

.footer .credits li:nth-of-type(1) {
  margin-left: 0;
}

.footer .credits li:nth-of-type(5) {
  margin-right: 0;
}

.about {
  position: absolute;
  z-index: 20;
  width: 100vw;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  margin: 0px;
  display: none;
  background-color: #e2ceb5;
}

.about article {
  padding: 0;
  font-family: "NowAlt-Regular";
  background-color: #FFF;
}

.about article .close {
  position: fixed;
  top: 0;
  right: 0;
  width: 26px;
  height: 26px;
  padding: 0 0 0 0;
  margin: 30px 46px 0 0;
  background-image: url("../img/splash/about/close.png");
  background-size: cover;
  cursor: pointer;
}
@media screen and (max-width: 860px) {
  .about article .close {
    margin: 20px 26px 0 0;
  }
}

.about article .close:hover {
  filter: opacity(0.5);
}

.about article .squiggleTint {
  width: 31px;
  height: 7px;
  background-image: url("../img/splash/about/squiggleTint.png");
  background-size: cover;
}

.about article .squiggleGrey {
  width: 31px;
  height: 7px;
  background-image: url("../img/splash/about/squiggleGrey.png");
  background-size: cover;
}

.about article h2 {
  font-family: "NowAlt-Medium";
  color: #133754;
  text-transform: uppercase;
  font-size: 30px;
  letter-spacing: 0.2em;
  margin: 0 0 20px 0;
}

.about article .experimentHeader {
  padding: 80px 40px 100px 80px;
  background-color: #e2ceb5;
  background-image: url("../img/splash/about/landscape.jpg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center bottom;
}

.about article p {
  line-height: 1.9;
  font-size: 13px;
  overflow: auto;
}

.about article .custom-text-width {
  width: 50vw;
  margin: 20px 0 30px 0;
}

.about article .custom-text-width-code {
  margin: 20px 0 0 0;
}

.about article .terrain {
  padding: 80px 45px 45px 80px;
  overflow: auto;
}

.about article .codeHeader {
  padding: 80px 40px 100px 80px;
  background-color: #FFF;
}

.about article .column {
  padding-right: 40px;
}

.about article .left {
  float: left;
}

.about article .right {
  float: right;
}

.about article .image {
  width: 72%;
}

.about article .content {
  width: 28%;
}

.about article .katie-image {
  width: 57%;
}

.about article .katie-content {
  width: 43%;
}

.about article .clearfix::after {
  content: "";
  clear: both;
  display: table;
  padding: 0 0 5vw 0;
}

.about article h4 {
  font-family: "NowAlt-Medium";
  text-transform: uppercase;
  font-size: 20px;
  letter-spacing: 0.2em;
  margin: 0 0 10px 0;
}

.about article .aboutKatieHeader {
  padding: 80px 45px 45px 80px;
  background-color: #e2ceb5;
}

@media screen and (max-width: 860px) {
  .about article .custom-text-width {
    width: 80vw;
    padding: 0 45px 0 0;
  }
  .about article .experimentHeader {
    padding: 80px 40px 100px 30px;
  }
  .about article .codeHeader {
    padding: 80px 45px 100px 30px;
  }
  .about article .terrain h2 {
    padding: 0 45px 0 30px;
  }
  .about article .terrain {
    padding: 80px 0 45px 0;
    overflow: auto;
  }
  .about article .image {
    padding: 0 0 0 0;
    width: 100%;
  }
  .about article .clearfix::after {
    padding: 0 0 0 0;
  }
  .about article .content {
    padding: 50px 45px 20px 30px;
    width: 100%;
  }
  .about article .aboutKatieHeader {
    padding: 0 0 0 0;
    background-color: #e2ceb5;
  }
  .about article .katie-image {
    padding: 0 0 0 0;
    width: 100%;
  }
  .about article .katie-content {
    padding: 80px 45px 0 30px;
    width: 100%;
  }
}
