/* ------------------------------
   Base Reset & Layout Setup
------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  background: url("assets/backgrounds/hearts.png");
  font-family: Verdana, sans-serif;
  font-size: 12px;
  color: #222;
  cursor: url("assets/glitter_cursor.cur"), auto;
}
/* ------------------------------
   Structure & Containers
------------------------------ */
#container {
  display: flex;
  max-width: 900px;
  margin: 30px auto;
  border: 2px dotted #ff99cc;
  background-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 12px #ffccff;
  height: 500px; /* Added fixed height */
  overflow: hidden;
}
/* ------------------------------
   Sidebar Shared Style
------------------------------ */
.sidebar {
  width: 160px;
  padding: 10px;
  background-color: #ffe6f9;
  border-right: 2px dashed #ffbbee;
  display: flex;
  flex-direction: column;
  height: 100%; /* Make sidebar take full container height */
}
.sidebar.right {
  border-left: 2px dashed #ffbbee;
  border-right: none;
}
/* Sidebar Inner Flex Layout */
.sidebar-inner {
  display: flex;
  flex-direction: column;
  height: 100%; /* Make inner container take full sidebar height */
}
/* Push bottom images to bottom of sidebar */
.spacer {
  flex-grow: 1; /* This will now work properly */
}
.sidebar-deco {
  display: block;
  max-width: 100%;
  height: auto;
  margin-top: 10px;
}
/* ------------------------------
   Main Content Column
------------------------------ */
.content {
  flex: 1;
  padding: 20px;
  text-align: center;
  max-height: 500px;
  overflow-y: auto;
  overflow-x: hidden;
}
/* Scrollbar Aesthetic */
.content::-webkit-scrollbar {
  width: 10px;
}
.content::-webkit-scrollbar-thumb {
  background: linear-gradient(#ffccff, #cc99ff);
  border-radius: 10px;
}
.content::-webkit-scrollbar-track {
  background: #ffe6ff;
}
/* ------------------------------
   Typography & Navigation
------------------------------ */
nav h2,
aside h2 {
  font-size: 14px;
  color: #cc3399;
  margin-bottom: 10px;
  text-align: center;
}
nav ul {
  list-style: none;
  margin-bottom: 20px;
}
nav ul li {
  margin: 6px 0;
}
nav ul li a {
  text-decoration: none;
  color: #993366;
  background: #fff;
  padding: 3px 6px;
  border: 1px solid #cc99cc;
  display: block;
}
/* ------------------------------
   Media, Blinkies, Dividers
------------------------------ */
.blinkies img {
  display: block;
  margin: 5px auto;
  max-width: 100%;
  height: auto;
}
.uc-banner {
  width: 100px;
  margin: 10px auto;
  display: block;
}
.star-divider {
  margin: 20px auto;
  border: none;
  height: 20px;
  background: url("assets/dividers/rainbowhearts2.gif") center no-repeat;
}
.updates {
  text-align: left;
  margin-top: 10px;
  padding-left: 20px;
}
audio {
  width: 100%;
  margin-top: 10px;
}
/* ------------------------------
   Header + Button Wall
------------------------------ */
.site-header {
  display: block;
  margin: 10px auto;
  max-width: 100%;
}
.buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 15px 0;
}
.buttons img {
  width: 88px;
  height: 31px;
  image-rendering: pixelated;
}
/* ------------------------------
   Side Image Decorations
------------------------------ */
.side-img {
  position: fixed;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}
.side-img.left {
  left: 0;
}
.side-img.right {
  right: 0;
}
.side-img.left,
.side-img.right {
  width: 250px;
}

.computer-frame {
  position: relative;
  width: 1500px;
  height: 1300px;
  margin: 20px 0;
}

.frame-img {
  position: absolute;
  top: 0;
  left: 40px; /* Adjust this value to shift right */
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}



.content-inside {
  position: relative;
  z-index: 2;
  width: 820px;
  height: 580px;
  margin: 50px auto 0 auto; /* adjust top margin to match screen placement */
  padding: 10px;
  overflow: hidden;
}

.frame-wrapper {
  width: 100%;
  overflow-x: auto;
  display: flex;
  justify-content: center;
}
