body {
  margin: 0;
  font-family: 'Helvetica', sans-serif;
  background: url("images/fond.png") no-repeat center center fixed;
  background-size: cover;
  overflow: hidden;
}

#desktop {
  height: 100vh;
  position: relative;
}

.icon {
  width: 70px;
  margin: 20px 10px;
  text-align: center;
  color: white;
  cursor: pointer;
  user-select: none;
  position: absolute;
}

.icon:nth-child(1) { top: 20px; left: 20px; }
.icon:nth-child(2) { top: 110px; left: 20px; }
.icon:nth-child(3) { top: 200px; left: 20px; }
.icon:nth-child(4) { top: 290px; left: 20px; }

.icon img {
  width: 48px;
  height: 48px;
}

.icon span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
}

/* Windows XP windows */
.window {
  width: 300px;
  background: #e0e0e0;
  border: 2px solid #000080;
  position: absolute;
  top: 100px;
  left: 200px;
  display: none;
  z-index: 10;
  box-shadow: 4px 4px #000;
}

.title-bar {
  background: #000080;
  color: white;
  padding: 5px;
  cursor: move;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.title-bar button {
  background: none;
  border: none;
  color: white;
  font-size: 14px;
  cursor: pointer;
}

.window-content {
  padding: 10px;
  background: white;
  color: black;
}

/* Taskbar */
#taskbar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 30px;
  width: 100%;
  background: #c0c0c0;
  border-top: 2px solid #808080;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  font-size: 14px;
}

#taskbar-left {
  font-weight: bold;
}

#clock {
  font-family: monospace;
}

/* Aero Window */
.aero-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.1);
  z-index: 20;
  display: none;
}

.aero-window {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) perspective(1000px) rotateX(5deg) rotateY(-6deg);
  width: 880px;
  height: 520px;
  display: none;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  z-index: 30;
  overflow: hidden;
  flex-direction: column;
  animation: pop 0.3s ease;
}

.aero-titlebar {
  height: 45px;
  width: 100%;
  background: rgba(0, 0, 0, 0.45);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  font-weight: bold;
  font-size: 17px;
  user-select: none;
}

.aero-titlebar button {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
}

.aero-body {
  display: flex;
  height: 100%;
  flex: 1;
}

/* Sidebar */
.aero-sidebar {
  width: 210px;
  background: rgba(255, 255, 255, 0.15);
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  box-sizing: border-box;
}

.aero-sidebar button {
  background: rgba(255, 255, 255, 0.3);
  border: none;
  padding: 12px;
  font-size: 15px;
  color: black;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s ease;
  text-align: left;
  font-weight: 500;
}

.aero-sidebar button:hover {
  background: rgba(255, 255, 255, 0.55);
}

/* Content */
.aero-content {
  flex-grow: 1;
  padding: 18px;
  overflow-y: auto;
  color: black;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-content: flex-start;
  background: rgba(255, 255, 255, 0.18);
}

.aero-content img {
  width: 220px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.aero-content img:hover {
  transform: scale(1.05);
}
