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

body {
  margin: 0;
  overflow: hidden;
  background-image: url('/images/desktop.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  min-width: 100vw;
  touch-action: none;
}

#image-container {
  position: absolute;
}

#text-container {
  position: absolute;
  font-size: 24px;
  color: white;
  text-align: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

img.explosion {
  position: absolute;
  width: 100px;
  height: 100px;
  z-index: 1000;
}

img {
  position: absolute;
  transition: transform 0.2s;
}

.hidden-cursor {
  pointer-events: none;
  cursor: none !important;
}

.window {
  transition: opacity 0.5s;
  z-index: 1000;
  background: white;
  position: absolute;
  display: inline-block;
  user-select: none;
  touch-action: none;
}

.window-body {
  margin: 0;
  padding: 8px;
  overflow: hidden;
  box-sizing: border-box;
}

.window-body img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  margin: 0;
  position: relative;
  left: 0;
  top: 0;
}

.title-bar {
  cursor: move;
  position: relative;
  z-index: 1001;
}

.title-bar-controls {
  position: relative;
  z-index: 1002;
}

.title-bar-controls button {
  cursor: pointer;
}

/* Taskbar styles */
.taskbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: linear-gradient(to bottom, #245edb, #3477eb);
  border-top: 1px solid #426fda;
  z-index: 9999;
  touch-action: none;
}

.start-button {
  height: 100%;
  padding: 0 10px;
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, #3cb44a, #2b9038);
  border: none;
  border-radius: 3px;
  margin: 2px;
  cursor: pointer;
}

.start-button:hover {
  background: linear-gradient(to bottom, #4cc95a, #3ba048);
}

.start-button img {
  width: 20px;
  height: 20px;
  margin-right: 5px;
  position: static;
}

.start-button span {
  color: white;
  font-weight: bold;
  font-family: 'Tahoma', sans-serif;
}

/* Start Menu styles */
.start-menu {
  position: fixed;
  bottom: 30px;
  left: 0;
  width: 320px;
  background: #fff;
  border: 1px solid #0054e3;
  border-bottom: none;
  box-shadow: 2px -2px 5px rgba(0,0,0,0.2);
  z-index: 10000;
  touch-action: none;
}

.user-info {
  background: linear-gradient(to right, #245edb, #3477eb);
  padding: 10px;
  display: flex;
  align-items: center;
}

.user-info img {
  width: 48px;
  height: 48px;
  margin-right: 10px;
  position: static;
}

.user-info span {
  color: white;
  font-size: 14px;
  font-weight: bold;
  font-family: 'Tahoma', sans-serif;
}

.menu-items {
  padding: 5px;
}

.menu-item {
  padding: 8px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.menu-item:hover {
  background-color: #316ac5;
  color: white;
}

.menu-item img {
  width: 32px;
  height: 32px;
  margin-right: 10px;
  position: static;
}

.separator {
  height: 1px;
  background-color: #ccc;
  margin: 5px 0;
}