@font-face {
  font-family: 'PT Sans';
  src: url("../fonts/PTSans/PTS55F_W.eot");
  src: local("PT Sans"), url("../fonts/PTSans/PTS55F_W.eot?#iefix") format("embedded-opentype"), url("../fonts/PTSans/PTS55F_W.woff") format("woff"), url("../fonts/PTSans/PTS55F_W.ttf") format("truetype"), url("../fonts/PTSans/PTS55F_W.svg#PTSans-Regular") format("svg");
}
@font-face {
  font-family: 'PT Sans';
  font-style: italic;
  src: url("../fonts/PTSans/PTS56F_W.eot");
  src: local("PT Sans Italic"), url("../fonts/PTSans/PTS56F_W.eot?#iefix") format("embedded-opentype"), url("../fonts/PTSans/PTS56F_W.woff") format("woff"), url("../fonts/PTSans/PTS56F_W.ttf") format("truetype"), url("../fonts/PTSans/PTS56F_W.svg#PTSans-Italic") format("svg");
}
@font-face {
  font-family: 'PT Sans';
  src: url("../fonts/PTSans/PTS75F_W.eot");
  font-style: normal;
  font-weight: bold;
  src: local("PT Sans Bold"), url("../fonts/PTSans/PTS75F_W.eot?#iefix") format("embedded-opentype"), url("../fonts/PTSans/PTS75F_W.woff") format("woff"), url("../fonts/PTSans/PTS75F_W.ttf") format("truetype"), url("../fonts/PTSans/PTS75F_W.svg#PTSans-Bold") format("svg");
}
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  position: relative;
  min-height: 480px;
  background: #f8f8f8;
  font: 14px/1.5 "PT Sans", "sans-serif" normal;
  color: #3a3a3a;
}

a {
  color: #4682b4;
}

p {
  margin: 0.8em 0;
}

.az-main,
.az-header,
.az-footer {
  box-sizing: border-box;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.az-main {
  -moz-transition: opacity 2s;
  -o-transition: opacity 2s;
  -webkit-transition: opacity 2s;
  transition: opacity 2s;
  position: relative;
  padding: 100px 20px 100px;
}

.az-header,
.az-footer {
  position: fixed;
  left: 0;
  right: 0;
  background: #f8f8f8;
}

.az-header {
  top: 0;
}

.az-footer {
  bottom: 0;
  padding-top: 25px;
}

.az-title {
  height: 60px;
  margin-top: 20px;
  text-align: center;
  font-size: 2em;
  font-weight: bold;
}

.az-location {
  height: 40px;
  font-size: 1.4em;
}

.az-story {
  overflow: hidden;
  text-align: justify;
}

.az-story__command {
  font-weight: bold;
  color: #3087ff;
}
.az-story__command:last-of-type {
  margin-top: 2.5em;
  padding: 1em 0 0;
  border-top: 2px dashed #a0a0a0;
}

.az-parser {
  position: relative;
  margin: 0 0 20px;
}

.az-suggestions {
  position: absolute;
  overflow: hidden;
  left: 0;
  right: 0;
  bottom: 100%;
  line-height: 22px;
}

.az-suggestions__item {
  display: inline-block;
  padding: 0.4em 0.6em;
  margin: 0 1.2em 0.8em 0;
  line-height: 1.2;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
}
.az-suggestions__item:last-of-type {
  margin-right: 0;
}
.az-suggestions__item:hover {
  background: rgba(0, 0, 0, 0.7);
}

.az-inputs {
  display: -webkit-flex;
  -webkit-justify-content: space-between;
  -webkit-align-items: stretch;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  -moz-box-shadow: inset 0 1px 8px rgba(0, 0, 0, 0.15);
  -webkit-box-shadow: inset 0 1px 8px rgba(0, 0, 0, 0.15);
  box-shadow: inset 0 1px 8px rgba(0, 0, 0, 0.15);
  height: 50px;
  box-sizing: border-box;
  padding: 0 0.4em;
  border: 1px solid #e6e6e6;
  border-radius: 3px;
  background: #fff;
}

.az-inputs__text {
  -webkit-flex-grow: 1;
  -webkit-order: 3;
  flex-grow: 1;
  order: 3;
  width: 50px;
  padding: 0.2em;
  border: 0;
  background: transparent;
  font-size: 18px;
  font-family: "PT Sans", "sans-serif";
  color: rgba(0, 0, 0, 0.6);
}
.az-inputs__text:-moz-placeholder {
  color: rgba(0, 0, 0, 0.4);
}
.az-inputs__text::-moz-placeholder {
  color: rgba(0, 0, 0, 0.4);
}
.az-inputs__text:-ms-input-placeholder {
  color: rgba(0, 0, 0, 0.4);
}
.az-inputs__text::-webkit-input-placeholder {
  color: rgba(0, 0, 0, 0.4);
}
.az-inputs__text:focus {
  outline: 0;
}

.az-inputs__text,
.az-inputs__btn {
  margin: 0.1em 0.25em;
}

.az-inputs__btn {
  position: relative;
  width: 32px;
  margin: 0 0.1em;
  padding: 0;
  border: 0;
  background: 50% 50% no-repeat;
  background-size: 24px;
  cursor: pointer;
  opacity: 0.6;
}
.az-inputs__btn:focus {
  outline: none;
}
.az-inputs__btn:hover {
  opacity: 0.8;
}

.az-inputs__execute {
  -webkit-order: 4;
  order: 4;
  background-image: url(../images/go.png);
}

.az-inputs__game-look {
  -webkit-order: 1;
  order: 1;
  background-image: url(../images/look.png);
}

.az-inputs__game-inv {
  -webkit-order: 2;
  order: 2;
  background-image: url(../images/inv.png);
}

.az-inputs__game-more {
  -webkit-order: 1;
  order: 1;
  background-image: url(../images/more.png);
}

.az_start_splash_visible,
.az_ending_splash_visible {
  overflow: hidden;
}

.az_start_splash_visible .az-splash_start {
  z-index: 999;
  opacity: 1;
}
.az_start_splash_visible .az-main {
  opacity: 0;
}

.az_ending_splash_visible .az-splash_ending {
  z-index: 999;
  opacity: 1;
}
.az_ending_splash_visible .az-main {
  opacity: 0;
}

.az-splash {
  -moz-user-select: -moz-none;
  -ms-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  -moz-transition: opacity 2s;
  -o-transition: opacity 2s;
  -webkit-transition: opacity 2s;
  transition: opacity 2s;
  display: -moz-flex;
  display: -webkit-flex;
  display: flex;
  box-sizing: border-box;
  position: fixed;
  overflow: auto;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -999;
  opacity: 0;
  padding: 20px 0;
  background: #f8f8f8;
  text-align: center;
}
.az-splash > * {
  flex-shrink: 0;
}

.az-splash__content {
  margin: auto;
  width: 90%;
}

/* Media queries */
@media screen and (min-width: 700px) {
  body {
    font-size: 17px;
  }

  .az-main,
  .az-header,
  .az-footer {
    width: 660px;
  }

  .az-inputs__text {
    font-size: 20px;
  }

  .az-splash__content {
    width: auto;
  }
}
