/* ===== BASIC PAGE ===== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #000;
  overflow: hidden;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.room {
  position: relative;
  width: 100vw;
  height: 100vh;
}

/* ===== STATIC DECOR (NO WIGGLE) ===== */

.tv {
  position: absolute;
  left: -2%;
  top: 2%;
  width: 47%;
}

.laddershelf {
  position: absolute;
  left: -7%;
  top: 7%;
  width: 30%;
}

.elec {
  position: absolute;
  left: -6%;
  top: 45%;
  width: 22%;
}

.plant2 {
  position: absolute;
  left: 24%;
  top: 20%;
  width: 16%;
}

.acou {
  position: absolute;
  left: 5%;
  top: 30%;
  width: 14%;
}


.seat {
  position: absolute;
  left: 28%;
  top: 25%;
  width: 22%;
  z-index: 30;
  pointer-events: none;
}

.rug {
  position: absolute;
  left: 22%;
  top: 50%;
  width: 30%;
}

.lawlight {
  position: absolute;
  left: 40%;
  top: 26.7%;
  width: 5%;
  z-index: 50;
}

.bookshelf {
  position: absolute;
  left: 30%;
  top: 3%;
  width: 21%;
  
}

.desk {
  position: absolute;
  left: 63%;
  top: 19%;
  width: 38%;
}

.chair {
  position: absolute;
  left: 70%;
  top: 30%;
  width: 16%;
  z-index: 35;
}

.plants {
  position: absolute;
  left: 84%;
  top: 40%;
  width: 11%;
}

/* ===== CLICKABLE THINGS (BASE) ===== */

.clickable {
  position: absolute;
  display: inline-block;
  cursor: pointer;
}

.clickable img {
  width: 100%;
  display: block;
}

/* ===== WIGGLE EFFECT (ONLY ITEMS WITH .wiggle) ===== */

.wiggle:hover img {
  animation: choppy-wiggle 0.55s steps(2, end) infinite alternate;
}

/* choppy / scrapbook style wiggle */
@keyframes choppy-wiggle {
  0%   { transform: rotate(-2deg); }
  50%  { transform: rotate(0deg); }
  100% { transform: rotate(2deg); }
}

/* ===== INDIVIDUAL CLICKABLE POSITIONS ===== */

/* corkboard above desk */
.corkboard {
  left: 65%;
  top: 8.7%;
  width: 18%;
  z-index: 28;
}

/* door */
.door {
  position: absolute;
  left: 10%;
  top: -4%;
  width: 22%;
}

/* laptop on desk */
.laptop {
  left: 82%;
  top: 19%;
  width: 12%;
}

.recordplayer {
  position: absolute;
  left: 50%;
  top: 28%;
  width: 14%;
}

/* books on shelf */
.books1 {
  left: 35%;
  top: 11.2%;
  width: 10%;
}

/* books on shelf */
.books2 {
  left: 34%;
  top: 28%;
  width: 14%;
  z-index: 18;
}

/* films on shelf */
.films {
  left: 2%;
  top: 18%;
  width: 10%;
}

/* photo on wall */
.photoframe {
  left: 83%;
  top: 10%;
  width: 10%;
}

/* posters column in the middle */
.poster-radiohead {
  left: 52%;
  top: 10%;
  width: 4%;
}

.poster-smiths {
  left: 49.8%;
  top: 12%;
  width: 4%;
}

.poster-metallica {
  left: 53%;
  top: 17%;
  width: 4%;
}

.poster-nara {
  left: 55%;
  top: 17%;
  width: 4%;
}

.poster-blur {
  left: 60%;
  top: 18%;
  width: 4%;
}

/* ===== SUBPAGES (you'll use these later) ===== */

.subpage {
  margin: 0;
  min-height: 100vh;
  background-color: #000;
  background-size: cover;
  background-position: center;
}

.home {
  position: fixed;
  top: 10px;
  left: 10px;
  padding: 6px 10px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  background: #3a2f20;
  color: #fdf6e3;
  border-radius: 4px;
  box-shadow: 0 3px #000;
}

.content-window {
  position: absolute;
  left: 20%;
  top: 18%;
  width: 60%;
  height: 64%;
  background: rgba(255, 248, 235, 0.9);
  overflow-y: auto;
  padding: 18px;
  border-radius: 10px;
}

body#homepage {
    background-image: url("background2.png"); /* use YOUR file name */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: black;
}



