*,
*::before,
*::after {
  font-family: 'Bai Jamjuree',sans-serif;
  box-sizing: border-box;
  flex-shrink: 0; }

html, body {
  overflow: hidden; }

body {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  position: fixed;
  margin: 0;
  background-color: #0b0c0e;
  color: white;
  font-size: 12px;
  user-select: none; }

#content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #0b0c0e url(../imgs/bg1.png) center bottom no-repeat;
  background-size: contain; }

#title {
  z-index: 1;
  transform-origin: 20px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  font-size: 32px;
  transition: all 2s; }
  #title.side {
    transform: rotate(90deg) scale(0.5) translate(calc(-50% + 131.5px), calc(-50% + 20px));
    color: rgba(220, 222, 226, 0.75); }

#renderer {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  position: absolute;
  /* width: 100% !important; */
  /* height: 100% !important; */
  margin: auto;
  transition: filter 1s;
  will-change: filter; }

#guide {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 10px; }
  #guide > img {
    margin-top: -10px;
    width: auto;
    height: 35px; }
  #guide div {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 0px;
    height: 15px;
    margin-left: 5px; }
  #guide span {
    position: absolute;
    color: rgba(255, 255, 255, 0.75);
    mix-blend-mode: overlay;
    white-space: nowrap; }

#frame {
  display: flex;
  justify-content: center;
  width: 100vw;
  height: 100vh; }
  @media (orientation: portrait) {
    #frame {
      height: 100vw; } }
  @media (orientation: landscape) {
    #frame {
      width: 100vh; } }

#variants {
  position: absolute;
  bottom: 30px;
  right: 0px;
  display: flex;
  justify-content: space-around;
  width: 150px;
  height: 40px;
  mix-blend-mode: screen; }
  #variants > img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    cursor: pointer; }
