
.interface {
    height: 100%;
    margin: 0 auto;
    max-width: 800px;
    position: relative;
}

.viewport {
    height: 594px;
    cursor: pointer;

    overflow: hidden;
    position: relative;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */

}

.viewport.white {
    color: #000;
    background-color: #fff;
    transition: color 4s linear;
}

.viewport.whitelogo {
    color: #000;
    background-color: #fff;
    transition: color 3s ease;
}

.viewport.black {
    color: #000;
    background-color: #fff;
    transition: background-color 1s ease;
}


.viewport.white.on {
    color: #fff;
    background-color: #ffF;
}

.viewport.black.on {
    color: #000;
    background-color: #000;
}

.viewport > .view {
    box-sizing: border-box;
    height: 100%;
    position: relative;
}

.logo {
    font-size: 24px;
    text-align: center;
    line-height: 600px;
}

#fullscreen-button {
    width: 100vw;
    height: 100vh;
    text-align: center;
    line-height:100vh;
    color: black;
}

@media screen and (max-height: 600px) {
    .logo {
        line-height: 100vh;
    }
}


/* @media screen and (max-height: 600px) {
    .viewport {
        height: 100%;
    }
} */

@media screen and (max-width: 600px) {
    .viewport {
        font-size: 0.8em;
    }
}

@media screen and (max-width: 300px) {
    .viewport {
        font-size: 0.5em;
    }
}

@media screen and (min-width: 320px) and (max-width: 767px) {
  .viewport {
      width: 100vw;
      height: 100vh;
      font-size: 0.7em;
  }


}

@media screen and (min-width: 320px) and (max-width: 767px) and (orientation: portrait) {
  html {
    transform: rotate(+90deg);
    transform-origin: right top;
    width: 100vh;
    height: 100vw;
    overflow-x: hidden;
    position: absolute;
    top: 100%;
    right: 0;
  }

  .viewport {
      width: 100vh;
      height: 100vw;
  }

  .logo {
      line-height: 100vw;
  }

  #fullscreen-button {
      width: 100vh;
      height: 100vw;
      line-height:100vw;
  }
}

.viewport-line {
    white-space: pre;
    position: relative;
    overflow: hidden;
}

.viewport-line > div {
    position: absolute;
    display: none;
    top: 0;
}

.viewport-line > div.show {
    display: block;
    background-color: #AAA;
    z-index: -1;
}

.viewport.white.on .viewport-line > div.show {
    background-color: #FFF;
}

.viewport.black.on .viewport-line > div.show {
    background-color: #000;
}

.view > i {
    display: none;
}

.view > i.show {
    display: block;
    position: absolute;
    color: #aaa;
    font-size: 9pt;
    font-style: normal;
}

.button-bar {
    position: absolute;
    width: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
    background-color: #fff;
    border: 1px solid #aaa;
    z-index: 1;
}

.button-bar.mobile {
    right: 0;
    bottom: 0;
    top: auto;
    left: auto;
    border: none;
    width: auto;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;

    justify-content: center;
    align-items: center;

    background-color: transparent;
}

.button-bar.lock {
    display: none;
}

.button-bar > .button {
    float: left;
    color: #636363;
    text-transform: uppercase;
}

.button-bar.mobile > .button {
    float: right;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    opacity: 0.5;
}

.button-bar.mobile > .button > i {
    font-size: 3em;
    margin: 0.5em;
}

.button-bar > .button:hover {
    color: #000;
    opacity: 1;
}

.button-bar > .button.hold {
    color: #00b10c;
    opacity: 1;
}

.button-bar:not(.mobile) > .button.hold:not(.hidden) {
    background-color: #eee;
}

.button-bar > .button.red {
    float: left;
}

.button-bar > .button.hold.red {
    color: #da0600;
}

.button-bar > .button.lang {
    float: right;
}

.button-bar > .button.lang.hold {
    color: #00b10c;
}

.button-bar > .weapon {
    float: right;
    color: #373737;
    text-transform: uppercase;
}

.dialog {
    position: absolute;
    bottom: 0;
    margin: 1em 0.5em;
    /*z-index: -10;*/
}


/*.char {
    outline: 1px solid rgba(255, 0, 0, 0.5);
}

.monospace .char {
    display: inline-block;
    width: 15px;
    text-align: center;
}*/
