:root {
  --accent-color: #DD756C;
  --accent-light: #FFB8CE;
  --accent-text: #4E4641;

  --ui-background: #BFBFBF;
  --paper-background: #E9E0DF;

  --desktop-bg: #DD756C;
}

html,
body {
  margin: 0;
  height: 100%;
  font-family: Arial, sans-serif;
  background: var(--desktop-bg);
}

#app {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.desktop-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  width: 100%;
  min-height: 100vh;

  background-image: url("../images/backgrounds/background1.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.notepad-window .xp-window-body {
  background: var(--paper-background);
}

.desktop-icons {
  padding: 20px 14px 60px 14px;
  width: 90px;
}

.desktop-icon {
  display: block;
  width: 90px;
  margin-bottom: 20px;
  padding: 4px;
  box-sizing: border-box;
  text-align: center;
  color: white;
  font-size: 12px;
  text-shadow: 1px 1px 0 black;
  cursor: default;
  text-decoration: none;
}

.desktop-icon img {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 auto 6px auto;
  object-fit: contain;
}

.desktop-icon span {
  display: block;
  line-height: 1.2;
}

.desktop-icon:hover,
.desktop-icon:focus,
.desktop-icon.selected {
  background: rgba(0, 0, 128, 0.45);
  outline: 1px dotted white;
}

.message-icon-img {
  width: 48px;
  height: 64px;
  display: block;
}

/* Taskbar */

.taskbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 36px;
  background: var(--accent-color);
  border-top: 2px solid var(--accent-light);
  display: flex;
  align-items: center;
  padding: 0 6px;
  box-sizing: border-box;
  z-index: 100;
}

.taskbar .start-button {
  padding: 4px 10px;
  border: 2px outset #dcdcdc;
  background: var(--accent-color);
  font-weight: bold;
  font-size: 13px;
  margin-right: 8px;
  cursor: pointer;
  position: relative;
  z-index: 30;
  color: black;
}

.taskbar .start-button:active,
.taskbar .start-button.active {
  border: 2px inset #dcdcdc;
}

.taskbar .start-menu {
  position: absolute;
  left: 0;
  bottom: 36px;
  width: 180px;
  background: var(--ui-background);
  border: 2px outset #dcdcdc;
  box-shadow: 3px 3px 0 black;
  display: none;
  z-index: 1000;
}

.taskbar .start-menu.open {
  display: block;
}

.taskbar .start-menu-header {
  display: block;
  background: var(--accent-color);
  color: var(--accent-text);
  font-weight: bold;
  padding: 8px;
  font-size: 13px;
}

.taskbar .start-menu-item,
.taskbar .start-menu a.start-menu-item,
.taskbar .start-menu button.start-menu-item {
  display: block;
  width: 100%;
  padding: 8px 10px;
  box-sizing: border-box;
  color: black;
  text-decoration: none;
  font-size: 13px;
  background: var(--ui-background);
  border: 0;
  text-align: left;
  font-family: Arial, sans-serif;
  cursor: pointer;
}

.taskbar .start-menu-item:hover,
.taskbar .start-menu-item:focus,
.taskbar .start-menu a.start-menu-item:hover,
.taskbar .start-menu button.start-menu-item:hover {
  background: var(--accent-color);
  color: var(--accent-text);
  outline: none;
}

.taskbar-title {
  font-size: 13px;
  color: black;
}

.taskbar-clock {
  margin-left: auto;
  padding: 4px 8px;
  border: 2px inset #dcdcdc;
  font-size: 12px;
  background: var(--accent-color);
  color: black;
}

/* Windows */

.xp-window {
  position: absolute;
  background: var(--ui-background);
  border: 2px solid black;
  box-shadow: 4px 4px 0 black;
}

.xp-titlebar {
  background: linear-gradient(
    to right,
    var(--accent-color) 0%,
    var(--accent-light) 100%
  );
  color: white;
  padding: 4px 6px;
  font-weight: bold;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: move;
  user-select: none;
}

.xp-controls {
  display: flex;
  gap: 2px;
}

.xp-controls button {
  width: 22px;
  height: 20px;
  padding: 0;
  background: var(--ui-background);
  border: 2px outset #dcdcdc;
  color: black;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}

.xp-controls button:active {
  border: 2px inset #dcdcdc;
}

.xp-window-body {
  padding: 16px;
  background: var(--ui-background);
}

.large-window .xp-window-body {
  min-height: 350px;
  background: var(--paper-background);
}

.notepad-text {
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: 15px;
  line-height: 1.35;
  color: #000000;
}

.notepad-text p {
  margin: 0 0 26px;
}

.message-body,
.message-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.message-icon {
  flex: 0 0 auto;
  font-size: 34px;
  line-height: 1;
}

.message-copy {
  font-size: 15px;
  line-height: 1.35;
  color: #000000;
}

.button-row {
  margin-top: 18px;
  text-align: center;
}

.xp-button {
  min-width: 94px;
  padding: 6px 16px;
  background: var(--ui-background);
  border: 2px outset #dcdcdc;
  color: #000000;
  cursor: pointer;
}

.xp-button:active {
  border: 2px inset #dcdcdc;
}

.hidden {
  display: none;
}