/* style.css - Windows 95 Theme */

/* 1. CORE DESKTOP STYLES */
body {
  background-color: #008080; /* Classic Teal */
  font-family: "MS Sans Serif", Arial, sans-serif;
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden; /* No scrolling on the main desktop */
  position: relative;
}

/* 2. PROFILE PICTURE FIX */
.profile-pic {
  width: 120px;
  height: auto;
  border: 2px inset white;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* 3. WINDOW STYLES */
.window-container {
  position: absolute; /* Essential for dragging */
  width: 500px;
  max-width: 90vw;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
}

.window-body {
  max-height: 400px;
  overflow-y: auto; /* Scrollbar inside window if content is long */
}

/* 4. DESKTOP ICONS */
.desktop-icons {
  position: absolute;
  top: 30px;
  left: 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  z-index: 1;
}

.icon {
  width: 100px;
  text-align: center;
  color: white;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.icon img {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  image-rendering: pixelated; 
}

.icon span {
  background-color: #008080;
  padding: 4px;
  font-size: 16px;
  border: 1px dotted transparent;
}

.icon:hover span {
  border: 1px dotted white;
  background-color: #000080; /* Blue highlight on hover */
}

/* 5. TASKBAR (BOTTOM BAR) */
.taskbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: #c0c0c0;
  border-top: 2px solid white;
  display: flex;
  align-items: center;
  padding: 2px;
  z-index: 1000;
  box-shadow: inset 0 1px 0 white;
}

.start-button {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: bold;
  padding: 2px 10px;
  height: 30px;
  margin-left: 2px;
}

.taskbar-divider {
  flex-grow: 1;
  border-left: 2px solid #808080;
  border-right: 2px solid white;
  margin: 0 5px;
  height: 25px;
}

.clock {
  border: 2px inset white;
  padding: 5px 15px;
  margin-right: 5px;
  font-size: 14px;
  background: #c0c0c0;
}

/* 6. GALLERY GRID */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.gallery-item img {
  width: 100%;
  border: 2px solid #808080;
}

.gallery-item p {
  text-align: center;
  margin: 5px 0;
  font-size: 12px;
}