@font-face {
  font-family: "Director";
  src: url("/styling/Director-Regular.woff2") format("woff2"), url("/styling/Director-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
* {
  box-sizing: border-box;
}

body {
  font-family: "Director";
  background: #fff;
}

main::after {
  content: " ";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: url(/assets/texture.svg);
  background-size: 8px;
  opacity: 0.4;
  z-index: 15;
  pointer-events: none;
}

main {
  position: absolute;
  border: 3px double #000;
  width: calc(100vw - 1rem);
  height: calc(100vh - 1rem);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.wrapper::after {
  content: " ";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 20%;
  min-height: 40px;
  background-image: url(/assets/floor-2.gif);
  background-size: 32px;
  opacity: 1;
  z-index: -1;
  pointer-events: none;
}

h1 {
  font-size: 1rem;
}

[object], [person] {
  position: absolute;
  height: auto;
  background-size: contain;
  bottom: 0;
  z-index: 0;
  display: flex;
  align-content: flex-end;
  align-items: flex-end;
}
[object] img, [person] img {
  margin: 0 auto;
  object-fit: contain !important;
  max-height: 100%;
  max-width: 100%;
}

[object] {
  transform: scale(0.7);
  transform-origin: bottom center;
}

[object=fan] {
  z-index: 2;
}

[object=couch] {
  z-index: 1;
}

[object=window] {
  bottom: 50%;
  width: 150px;
  max-width: 35%;
  z-index: -1;
}

@media only screen and (max-width: 600px) {
  [object] {
    transform: scale(0.6);
  }
  [person] {
    transform: scale(0.75);
  }
}
[person] {
  z-index: 10;
  object-fit: scale-down;
}
[person] img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: auto;
}

[person][state=laying] {
  height: 60px;
  bottom: -10px;
  width: 200px;
  max-width: 90%;
  z-index: 10;
}

[person][state=standing], [person][state=back] {
  max-height: 60vh;
  bottom: -30px;
  width: 33vw;
  z-index: 11;
}

[person][state=back] {
  z-index: 12;
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-0.5px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(0.6px);
  }
}

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