body, html {
    margin: 0;
    padding: 0;
    background: url("e02/xpbackground.jpeg") no-repeat center center fixed;
    background-size: cover;
    font-family: Tahoma, sans-serif;
    height: 100%;
    overflow: hidden;
}

.desktop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: flex-start;
    padding: 10px;
    gap: 15px;
}

.desktop-icon {
    width: 80px;
    text-align: center;
    color: white;
    cursor: pointer;
    transition: transform 0.2s;
}

.desktop-icon:hover {
    transform: scale(1.05);
}

.desktop-icon img {
    width: 70px;
    height: 70px;
}

.taskbar {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to bottom, #4f94e2, #1c5a99, #3a72c4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    border-top: 1px solid rgba(255,255,255,0.6);
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.5);
}

.start-button {
  width: 115px;
  height: 50px;
  background: linear-gradient(to right, #2d8900, #3ca43c); /* Classic XP Start button gradient */
  display: flex;
  align-items: center;
  padding-left: 12px;
  border-radius: 0 12px 12px 0;
  cursor: pointer;
  border: 2px solid #185a18;
  box-shadow: inset 0 2px 3px rgba(255,255,255,0.5), 2px 2px 5px rgba(0,0,0,0.3);
  font: bold 20px Arial, sans-serif;
  color: white;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.start-button:hover {
  background: linear-gradient(to right, #3fae00, #4ec64e); /* Lighter hover color */
}

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

.start-username {
    font-size: 24px;
    font-weight: bold;
    vertical-align: middle;
}

.system-tray {
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, #78b6f0, #5a9fd6); /* Classic gradient */
  height: 100%;
  padding: 0 10px;
  border-left: 1px solid rgba(255,255,255,0.6);
}

.system-tray img {
  width: 20px;
  height: 20px;
  margin: 0 4px;
}

.clock {
    padding-left: 8px;
    font-size: 14px;
}

.start-menu {
    position: absolute;
    bottom: 40px;
    left: 10px;
    width: 300px;
    background: #f0f0f0;
    display: none;
    z-index: 999;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.start-header {
  background: linear-gradient(to bottom, #4A82E0, #2A56C6); /* Classic XP header gradient */
  color: white;
  padding: 5px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 10px 10px 0 0;
  box-shadow: inset 2px 2px 5px rgba(255,255,255,0.6);
  display: flex; /* Use flexbox to align the icon and text */
  align-items: center; /* Center the items vertically */
}

.start-content {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: white;
}

.left-panel, .right-panel {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px;
    cursor: pointer;
    transition: background 0.2s;
}

.menu-item:hover {
    background: #dcdcdc;
}

.menu-item img {
    width: 16px;
    height: 16px;
}

.start-footer {
    display: flex;
    justify-content: space-between;
    background: #e0e0e0;
    padding: 8px;
}

.footer-button {
    padding: 5px 10px;
    background: #ccc;
    border-radius: 3px;
    cursor: pointer;
}

/* Pop-up Window Base */
.popup-window {
    position: absolute;
    width: 700px;
    height: 300px;
    background: white;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    resize: both;
    overflow: hidden;
    z-index: 100; /* Added to ensure it's above #helpBox */
}

/* Header Bar */
.window-header {
    background: linear-gradient(to bottom, #4f94e2, #1c5a99, #3a72c4);
    color: white;
    padding: 5px 10px;
    display: flex;
    align-items: center;            /* Center vertically */
    justify-content: space-between;
    cursor: move;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.window-header span {
    font-size: 24px;
    font-weight: bold;
}

/* Inner Content */
.window-content {
    padding: 25px;
}

.window-content > div {
    padding-bottom: 30px; /* Extra padding if needed */
}

.window-content p {
    font-size: 48px;
    color: black;
}

/* Optional: Resize Handle if needed later */
.resize-handle {
    display: none;
}

/* Add this to the existing CSS */
.window-content h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.window-content p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.window-content strong {
    font-weight: bold;
}

#helpBox {
    position: fixed;
    bottom: 60px;
    right: 10px;
    width: 300px;
    min-width: 200px;
    max-width: 90%;
    background-color: #ffffe0;
    border: 1px solid #999;
    border-radius: 6px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    font-family: Tahoma, sans-serif;
    font-size: 13px;
    z-index: 10;
    overflow: auto;
    cursor: default;
}

.help-header {
    background-color: #f0e68c;
    padding: 6px 10px;
    border-bottom: 1px solid #ccc;
    font-weight: bold;
    cursor: move;
    user-select: none;
}

.help-body {
    padding: 10px;
}

.socials-content {
    text-align: center;
}

.socials-grid {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    gap: 20px;
}

.social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.social img {
    width: 64px;
    height: 64px;
}

.social a {
    color: #1a0dab;
    text-decoration: none;
    font-weight: bold;
}

.social a:hover {
    text-decoration: underline;
}

.social-icon {
  width: 48px;
  height: 48px;
}

/* Style for the XP-style buttons */
button {
    background-color: #e3e3e3;
    border: 1px solid #666666;
    color: #000000;
    font-family: 'Tahoma', sans-serif;
    font-size: 13px;
    padding: 6px 12px; /* Adjust padding for better text positioning */
    margin: 2px 0;
    text-align: center;
    cursor: pointer;
    border-radius: 3px;
    box-shadow: inset 1px 1px 3px #ffffff, inset -1px -1px 3px #b1b1b1;
    transition: all 0.1s ease;
}

/* Hover effect */
button:hover {
    background-color: #f4f4f4;
    border-color: #666666;
    box-shadow: inset 1px 1px 3px #ffffff, inset -1px -1px 3px #999999;
}

/* Active/Pressed state */
button:active {
    background-color: #d4d4d4;
    border-color: #999999;
    box-shadow: inset 1px 1px 3px #ffffff, inset -1px -1px 3px #666666;
    transform: translateY(1px);
}

/* Disabled state */
button:disabled {
    background-color: #c0c0c0;
    color: #808080;
    cursor: not-allowed;
    border-color: #a0a0a0;
    box-shadow: none;
}

.start-footer a {
  text-decoration: none;
  color: inherit; /* Make sure links inherit color from parent */
}

.popup-window {
    overflow: hidden; /* make sure no scroll on the whole window */
}

.window-header {
    height: 40px; /* fixed height for header */
}

.window-content {
    height: calc(100% - 40px - 30px); /* fill popup minus header */
    overflow-y: auto;          /* scroll if needed */
    padding: 15px 25px;        /* keep your padding */
}

@media (max-width: 768px) {
  #helpBox {
    display: none;
  }
}

