/* Reset and background */
body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #000;
}

.desktop {
  width: 100%;
  height: 100vh;
  background-image: url('xp-wallpaper.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  padding: 40px;
  box-sizing: border-box;
}

/* Icons */
.icon {
  display: inline-block;
  width: 80px;
  text-align: center;
  margin: 20px;
  cursor: pointer;
}

.icon img {
  width: 64px;
  height: 64px;
}

.icon span {
  display: none; /* hide labels on all icons */
}

/* Blog icon scaled 2x */
.blog-icon {
  width: 160px;
  margin: 40px;
}

.blog-icon img {
  width: 128px;
  height: 128px;
}

/* Windows XP style window */
.window {
  position: absolute;
  top: 100px;
  left: 100px;
  width: 600px;
  height: 400px;
  background: #c0c0c0; /* typical light gray XP background */
  border: 2px solid #000080; /* dark blue border */
  box-shadow:
    1px 1px 0 #ffffff,  /* highlight */
    2px 2px 0 #000080;  /* shadow */
  z-index: 1000;
  display: flex;
  flex-direction: column;
  font-family: "Tahoma", Geneva, Verdana, sans-serif;
  user-select: none;
}

/* Title bar */
.window-header {
  background: linear-gradient(to bottom, #0a246a, #1a5dbf); /* XP blue gradient */
  color: white;
  padding: 6px 8px;
  cursor: move;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  text-shadow: 0 1px 0 #000080;
  border-bottom: 1px solid #000080;
}

/* Close button */
.window-header button {
  background: #c00000;
  border: 1px solid #800000;
  color: white;
  font-weight: bold;
  cursor: pointer;
  width: 20px;
  height: 20px;
  line-height: 18px;
  padding: 0;
  text-align: center;
  box-shadow: inset 0 1px 0 #ff7f7f;
  border-radius: 2px;
  user-select: none;
}

.window-header button:hover {
  background: #ff0000;
}

/* Content area */
.window-content {
  background: white;
  padding: 10px;
  overflow-y: auto;
  flex-grow: 1;
  border-top: 2px solid #808080;
  border-left: 2px solid #808080;
  box-sizing: border-box;
}
