*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  font-family: system-ui, sans-serif;
  background: #000000;
  color: #000000;
}

#desktop {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-image: url("red-textile-fabric-texture-background.jpg");
  background-size: cover;
}

#app-launcher {
  position: absolute;
  top: 60px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 15;
}

.app-btn {
  width: 70px;
  height: 70px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.4);
  font-size: 28px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.app-btn:hover {
  background: rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
}

#taskbar {
  position: aboslute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 32px;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  padding: 0 8px;
  color: #fff;
  font-size: 14px;
  z-index: 10;
}

#clock {
  margin-left: auto;
}

.window {
  position: absolute;
  background: #fff;
  border: 2px solid #777;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  user-select: none;
  z-index: 5;
}

.window-titlebar {
  background: #4a90e2;
  color: #fff;
  padding: 4px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: move;
}

.window-content {
  padding: 8px;
  overflow: auto;
  height: calc(100% - 24px);
}

.window-controls button {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  margin-left: 8px;
}

.window-controls button:hover {
  opacity: 0.8;
}
