@font-face {
  font-family: 'HolyCow';
  src: url('178_HolyCow.ttf') format('truetype'); /* Path relative to css file */
}

@font-face {
  font-family: 'BadhouseBold';
  src: url('6_Bad_Neighborhood_Badhouse_Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'ArialCustom';
  src: url('13_Arial.ttf') format('truetype');
}

body {
  background-color: black; 
}


.roomdiv {
  position: relative;
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.roomimg {
  position: relative;
  display: block;
  top: 0px;
  left: 0px;
  z-index: -100;
}

.radioimg {
  position: absolute;
  transform: scale(0.585);
  top: 209px;
  left: -75px;
  z-index: 1;
  cursor: pointer;
}

.doomimg {
  position: absolute;
  transform: scale(0.275);
  top: 228px;
  left: 112px;
  clip-path: ellipse(200px 200px at 48% 40%);
  cursor: pointer;
}

.tableimg {
  position: absolute;
  transform: scale(1);
  top: 462px;
  left: 397px;
  z-index: 1;
  cursor: pointer;
}

.chairimg {
  position: absolute;
  top: 12px;
  left: 457px;
  z-index: -10;
}

.rubyimg {
  position: absolute;
  transform: scale(0.76);
  top: 238px;
  left: 395px;
  cursor: pointer;
  z-index: 1;
}

.irisimg {
  position: absolute;
  transform: scale(0.415);
  top: 170px;
  left: 18px;
  cursor: pointer;
}

.housematesimg {
  position: absolute;
  transform: scale(0.42);
  top: -99px;
  left: 171px;
  cursor: pointer;
}



.musicpopup {
  position: absolute;
  top: 560px;
  left: 22px;
  cursor: pointer;
  z-index: 20;
}

.journalpopup {
  position: absolute;
  top: 583px;
  left: 600px;
  cursor: pointer;
  z-index: 20;
}

.ecardspopup {
  position: absolute;
  top: 558px;
  left: 336px;
  cursor: pointer;
  z-index: 20;
}

.popupright[on] {
  transform-origin: top right;
  transition: transform 0.7s linear;
  transform: scale(1);
}

.popupright[off] {
  transform-origin: top right;
  transition: transform 0.7s linear;
  transform: scale(0);
}

.popupleft[on] {
  transform-origin: top left;
  transition: transform 0.7s linear;
  transform: scale(1);
}

.popupleft[off] {
  transform-origin: top left;
  transition: transform 0.7s linear;
  transform: scale(0);
}



.musictoggle {
  position: absolute;
  top: 647px;
  left: 12px;
  z-index: 10;
  cursor: pointer;
}

.rubyism {
  position: absolute;
  width: 264px;
  height: 26px;
  color: white;
  top: 705px;
  left: 442px;
  text-align: center;
  font-family: 'Georgia', serif;
  font-size: 11px;
  padding: 5px;
  text-shadow: 1px 2px 1px #202020;
}


.abouttitle {
  position: absolute;
  width: 365px;
  height: 33px;
  color: white;
  top: 52px;
  left: 22px;
  text-align: center;
  font-family: 'HolyCow';
  font-size: 25px;
  letter-spacing: -3px;
  text-shadow: 1px 2px 1px #202020;
  pointer-events: all;
  cursor: pointer;
  user-select: none;
}

.titlesegment { /* Break up title words to adjust spacing */
  margin-left: 5px;
  margin-right: 5px;
}

.aboutgloomsville {
  position: absolute;
  width: 380px;
  height: 200px;
  color: white;
  top: 88px;
  left: 18px;
  margin-top: 3px;
  text-align: left;
  font-family: 'ArialCustom';
  font-size: 13px;
  font-weight: 100;
  letter-spacing: 0.5px;
  line-height: 18px;
  text-shadow: 1px 2px 1px #202020;
  pointer-events: all;
  cursor: pointer;
  user-select: none;
}

.aboutcontainer {
  pointer-events: none;
  position: absolute;
  top: 655px;
  left: 12px;
  z-index: 100;
}

.aboutcontainer[collapsing] {
  transition: transform 0.7s linear;
  transform: translateY(0);
}

.aboutcontainer[collapsed]:hover {
    filter: hue-rotate(90deg) saturate(700%);  /* Make it 'selected' blue on hover like the original site */
}

.aboutcontainer[open] {
  transition: transform 0.7s linear;
  transform: translateY(-211px);
}

