html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

body {
  font-family: "Courier New", monospace;
  color: #00ff66;
  background: #000 url('windowsxpbgnd.jpg') no-repeat center center fixed;
  background-size: cover;
  position: relative;
}
#sticky-note {
  position: fixed;
  right: 50px;
  top: 180px; /* sit under terminal */
  z-index: 900; /* below terminal (1000), above background */
  pointer-events: none; /* non-interactive for now */
}

#sticky-note img {
  display: block;
  width: 240px;
  height: auto;
  opacity: 0.95;
  scale: 1.75;
}

#sticky-note .note-text {
  position: absolute;
  top: 30px;
  left: 40px;
  right: 34px;
  bottom: 40px;
  color: #2a2a2a;
  font-family: "Bradley Hand", "Bradley Hand ITC", "Segoe Print", "Comic Sans MS", cursive;
  font-size: 18px;
  line-height: 1.35;
  transform: rotate(-1deg);
  user-select: none;
}

.note-title { font-weight: 900; text-decoration: underline; }


#desktop {
  padding: 20px;
}

.icon {
  display: inline-block;
  text-align: center;
  width: 96px;
  margin: 12px;
  text-decoration: none;
  cursor: pointer;
}

.icon:hover span {
  background: rgba(0, 255, 102, 0.2);
}

.icon img {
  width: 48px;
  height: 48px;
  display: block;
  margin: 0 auto;
}

.icon span {
  display: block;
  margin-top: 6px;
  padding: 2px 4px;
  border-radius: 2px;
  color: #fff;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
}

#terminal {
  position: fixed;
  left: 50%;
  bottom: 200px; /* leave room for smaller taskbar */
  transform: translate(-50%, 0);
  width: 90%;
  max-width: 1000px;
  background: #000;
  border: 2px solid #808080;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  user-select: none;
}

.terminal-titlebar {
  cursor: move;
}

.terminal-titlebar {
  background: linear-gradient(to right, #000080, #1084d0);
  padding: 4px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-family: "Tahoma", sans-serif;
  font-size: 12px;
}

.terminal-title {
  display: flex;
  align-items: center;
  gap: 4px;
}

.terminal-controls {
  display: flex;
  gap: 4px;
}

.terminal-button {
  width: 16px;
  height: 16px;
  border: 1px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  cursor: default;
  background: #c0c0c0;
  color: #000;
}

.terminal-content {
  padding: 12px;
  background: #000;
  height: 400px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#term-out {
  flex: 1 1 auto;
  overflow-y: auto;
  /* Hide scrollbar but keep scrolling */
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
  white-space: pre-wrap;
  font-family: "Courier New", monospace;
  font-size: 16px;
  line-height: 1.5;
  color: #00ff66;
  margin: 0;
  padding: 16px;
  padding-bottom: 0;
}

/* Chrome, Safari and Opera */
#term-out::-webkit-scrollbar {
  display: none;
}

.terminal-input-area {
  display: flex;
  align-items: center;
  padding: 8px 16px 16px;
  background: #000;
}

.prompt {
  color: #00ff66;
  font-family: "Courier New", monospace;
  font-size: 16px;
  margin-right: 8px;
  white-space: pre;
}

#term-form {
  flex: 1;
  display: flex;
  background: #000;
}

#term-in {
  flex: 1;
  background: transparent;
  color: #00ff66;
  border: none;
  padding: 0;
  margin: 0;
  font-family: "Courier New", monospace;
  font-size: 14px;
  outline: none;
  caret-color: #00ff66;
}

#term-form {
  margin: 0;
  padding: 0;
}

a { color: #00ff66; }
a:visited { color: #00cc55; }

html, body { height: 100%; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Taskbar (Windows XP style, non-functional) */
#taskbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 32px; /* 25% of previous 127px */
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px 0 2px;
  background: linear-gradient(to right, #000080, #1084d0);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4) inset;
  font-family: "Tahoma", sans-serif;
  z-index: 2000;
}

.taskbar-start {
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  cursor: default;
}

.start-img { height: 100%; width: auto; display: block; }

.start-orb {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  text-align: center;
  line-height: 16px;
}

.start-text { font-weight: 700; letter-spacing: 0.2px; }

.taskbar-spacer { flex: 1; }

.taskbar-tray {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.tray-icon { filter: drop-shadow(0 1px 0 rgba(0,0,0,0.6)); }
