body {
  margin: 0;
  height: 100vh;
  background-image: url('https://c4.wallpaperflare.com/wallpaper/694/865/147/space-art-fantasy-art-sky-clouds-wallpaper-preview.jpg');
  background-size: cover;
  background-position: center;
  font-family: sans-serif;
  color: white;
  overflow: hidden;
}


.topbar {
  position: absolute;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(10px);
  background-color: rgba(0, 0, 0, 0.3);
  padding: 8px 16px;
  box-sizing: border-box;
  z-index: 1000;
}

.open-btn {
  margin: 0;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
}

.open-btn:hover {
  color: #4da6ff;
}


#desktopApps {
  padding-top: 60px;
  padding-left: 20px;
  display: flex;
  gap: 20px;
}

.app-icon {
  text-align: center;
  padding: 10px;
  width: 80px;
  cursor: pointer;
  border-radius: 12px;
  user-select: none;
  transition: background-color 0.2s ease;
}

.app-icon img {
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.4));
}

.app-icon p {
  margin: 4px 0 0 0;
  font-size: 13px;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.app-icon.selected {
  background-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(5px);
}


.window {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  background-color: rgba(20, 20, 30, 0.65);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  min-width: 320px;
  overflow: hidden;
}

.windowheader {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 8px 12px;
  box-sizing: border-box;
  cursor: grab;
  user-select: none;
}

.headertext {
  font-size: 14px;
  font-weight: 600;
}

.closebutton {
  width: 14px;
  height: 14px;
  cursor: pointer;
  background-color: #ec6b5e;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.25);
}

.closebutton:hover {
  background-color: #ff4d3d;
}

.window-content {
  padding: 24px 32px;
  text-align: center;
}


.app-body {
  display: flex;
  width: 580px;
  height: 360px;
  background-color: rgba(255, 255, 255, 0.95);
  color: #222;
}

.sidebar {
  width: 180px;
  background-color: #f0f2f5;
  border-right: 1px solid #ddd;
  overflow-y: auto;
  padding: 10px;
  box-sizing: border-box;
}

.sidebar-item {
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 6px;
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.sidebar-item h4 {
  margin: 0;
  font-size: 14px;
  color: #1e293b;
}

.sidebar-item p {
  margin: 4px 0 0 0;
  font-size: 11px;
  color: #64748b;
}

.note-content {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  line-height: 1.6;
}


.projects-container {
  width: 520px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.95);
  color: #111;
}

.projects-container h2 {
  margin-top: 0;
  color: #1e293b;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.project-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
}

.project-card h3 {
  margin: 0 0 8px 0;
  font-size: 16px;
  color: #0f172a;
}

.project-card p {
  margin: 0 0 12px 0;
  font-size: 13px;
  color: #475569;
}

.badge {
  background-color: #e0f2fe;
  color: #0369a1;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.project-link {
  color: #2563eb;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
}