/* Custom MS Sans Serif font */

@font-face {
  font-family: "MS Sans Serif";
  src: url("./fonts/MS-Sans-Serif.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "MS Sans Serif", sans-serif;
}

body {
  background-color: #008080;
  overflow: hidden;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

input {
  font-family: "MS Sans Serif", Arial, sans-serif;
  font-size: 13px;
  padding: 2px 4px;
  border: 1px solid #000000;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  border-left: 2px solid #000000;
  border-top: 2px solid #000000;
  background-color: #ffffff;
  width: 200px; /* Adjust width as needed */
  box-sizing: border-box;
  outline: none;
}

/* Taskbar */
.taskbar {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 40px;
  background: #c0c0c0;
  border-top: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px;
  z-index: 9999;
}

/* ... (existing CSS remains the same) */

.start-button {
  display: flex;
  align-items: center;
  background: #c0c0c0;
  border: 2px solid;
  border-color: #fff #000 #000 #fff;
  padding: 2px 6px;
  height: 30px;
  font-weight: bold;
  cursor: pointer;
}

.start-button-active {
  background-image: url("assets/images/dot.png");
  image-rendering: pixelated;
  background-repeat: repeat;
  border-color: #000 #fff #fff #000;
  font-weight: bold;
}

.start-menu {
  width: 150px;
  background-color: #c0c0c0;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  box-shadow: 2px 2px #00000070;
  display: flex;
  flex-direction: row;
  font-size: 14px;
  position: absolute;
  bottom: 40px;
  left: 0;
  display: none; /* Initially hidden */
}

/* Sidebar */
.start-menu-sidebar {
  width: 200;
  display: flex;
  height: 100%; /* Ensures the sidebar takes up full height of start menu */
  padding: 1px 0; /* Adds padding for visual spacing */
  box-sizing: border-box;
  float: left;
}

.start-menu-sidebar-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* Ensures the image scales within the sidebar */
}

.start-menu-items {
  flex-grow: 1;
  padding: 5px;
}

.start-menu-item {
  display: flex;
  align-items: center;
  padding: 5px;
  margin: 0;
  cursor: pointer;
  font-size: 14px;
  color: black;
  text-decoration: none;
}

.start-menu-item:hover {
  background-color: #000080;
  color: white;
}

.start-menu-item-icon {
  width: 30px;
  height: 30px;
  margin-right: 10px;
  border-radius: 20%;
}

.start-menu-divider {
  width: 100%;
  height: 1px;
  background-color: #7b7d7b;
  border-bottom: 1px solid #fff;
  margin: 5px 0;
}

/* Windows */
.window {
  position: absolute;
  min-width: 200px;
  resize: both;
  min-height: 150px;
  background: #c0c0c0;
  border: 1px solid;
  border-color: #fff #000 #000 #fff;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);

  overflow: hidden;
  z-index: 100;
}

.window-resizeable-none {
  resize: none;
}

.window-header {
  background: linear-gradient(to right, #000080, #3366cc);
  color: white;
  padding: 3px 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: move;
  height: 20px;
}

.window-header.inactive {
  background: #9e9e9e;
}

.title-bar {
  display: flex;
  align-items: center;
  gap: 0px;
}

.title-bar span {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 12px;
  font-weight: bold;
}

.window-icon {
  width: 16px;
  height: 16px;
  margin-right: 5px;
}

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

.control-button {
  width: 16px;
  height: 16px;
  background: url("/icons/window-control-button.png") no-repeat;
  cursor: pointer;
  background-color: #c0c0c0;
  border-color: #000 #fff #fff #000;
  border-image: url("/icons/border-image.svg") 64/2px;
  margin-right: -1px;
  padding: 2px;
}

.control-button:active {
  border: #868a8e inset;
  border-color: #000 #fff #fff #000;
}

.minimize {
  background-position: 0px 1px; /* Adjust as per your sprite */
}

.maximize {
  background-position: -14px 1px; /* Adjust as per your sprite */
}

.close {
  background-position: -40px 1px; /* Adjust as per your sprite */
}

.window-content {
  padding: 10px;
  background: #fff;
  height: 100%;
  margin: 3px;
  overflow: auto;
}

.window-biography-content {
  padding: 0px;
  background: #fff;
  margin: 0px;
  height: calc(100% - 30px);
  overflow: hidden;
}

/* Desktop Icons */
.desktop-icon {
  position: absolute;
  width: 75px;
  text-align: center;
  color: white;
  cursor: pointer;
  padding: 5px;
}

.desktop-icon img {
  width: 32px;
  height: 32px;
  display: block; /* Ensures text appears below the icon */
  margin: 0 auto 3px; /* Center icon and add spacing below */
}

.desktop-icon div {
  font-size: 12px; /* Slightly increased font size */
  display: inline-block;
  padding: 2px 4px;
}

/* Selected icon styling with 50% opacity for blue tint */
.desktop-icon.selected img {
  filter: brightness(0.9) saturate(100%) invert(0%) sepia(99%) saturate(1000%)
    hue-rotate(210deg) brightness(90%) contrast(100%) opacity(0.5);
}

/* Highlight only the text */
.desktop-icon.selected div {
  background-color: #000080;
  color: white;
  padding: 1px 2px;
  border: 1px dotted #fff;
  display: inline-block;
}

/* Taskbar right section */
.taskbar-right {
  display: flex;
  align-items: center;
  padding: 2px;
  margin-right: 2px;
  border: 2px solid;
  border-color: #868a8e #ffffff #ffffff #868a8e;
}

.taskbar-right-icons {
  width: 18px;
  height: 18px;
  margin-right: 1px;
  margin-left: 5px;
  display: inline-block;
}

.taskbar-right-icons:hover {
  cursor: pointer;
}
/* Time display */
.taskbar-time {
  background: #c0c0c0;
  padding: 2px 6px;
  font-size: 12px;
  display: flex;
}

.taskbar-icons {
  display: flex;
  gap: 5px;
  margin-left: 5px;
}

.taskbar-item {
  background: #c0c0c0;
  border: 2px solid;
  border-color: #fff #000 #000 #fff;
  padding: 2px 8px;
  font-size: 12px;
  cursor: pointer;
  height: 30px;
  display: flex;
  align-items: center;
  min-width: 150px;
}

.taskbar-item.active {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: bold;
  background-image: url("assets/images/dot.png");
  image-rendering: pixelated;
  background-repeat: repeat;
  border-color: #000 #fff #fff #000;
}

.window-resume-content {
  background: linear-gradient(135deg, #d3d3d3 0%, #c0c0c0 50%, #b0b0b0 100%);
  margin: 0;
  height: calc(100% - 30px);
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  justify-content: left;
  align-items: left;
  text-align: left;
  gap: 15px;
  padding: 20px;
}

/* Custom scrollbar styling for Windows 98 vibe */
.window-resume-content::-webkit-scrollbar {
  width: 15px; /* Narrow scrollbar like in the image */
}

.window-resume-content::-webkit-scrollbar-thumb {
  background: #c0c0c0; /* Grey thumb */
  border-left: 2px solid #ffffff;
  border-right: 2px solid #808080; /* Subtle borders */
}

.window-resume-content::-webkit-scrollbar-track {
  background-image: url("assets/images/dot.png");
  image-rendering: pixelated;
  background-repeat: repeat;
  border-left: 1px solid #ffffff;
  border-right: 1px solid #808080; /* Subtle borders */
}

#resume-header {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 0px;
}

#resume-subtitle {
  margin: 5px;
  font-weight: lighter;
  font-size: 10px;
}

#resume-content {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: lighter;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

#resume-content a {
  color: blue;
  text-decoration: none;
}

#resume-content a:hover {
  text-decoration: underline;
}

.resume-alert-buttons {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
  margin-left: 5px;
}

.resume-alert-button {
  flex: 1;
  background: #c0c0c0;
  border: 2px solid #000;
  border-right: 2px solid #000000;
  border-bottom: 2px solid #000000;
  border-left: 2px solid #fff;
  border-top: 2px solid #fff;
  padding: 2px 10px;
  font-family: "MS Sans Serif", Arial, sans-serif;
  font-size: 13px;
  cursor: default;
  width: 100px;

  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.alert-icons {
  width: 16px;
  height: 16px;
}

.resume-alert-button:active {
  border: #868a8e inset;
  border-color: #000 #fff #fff #000;
}

/* Responsive layout adjustments */
@media (max-width: 768px) {
  .desktop-icon {
    width: 60px;
    padding: 3px;
  }
  .desktop-icon img {
    width: 24px;
    height: 24px;
  }
  .taskbar-item {
    min-width: 100px;
  }
  .window {
    width: 80%;
    height: 50%;
  }
}
