/* Windows 95 Classic Desktop Style - Updated */
body {
  background-color: #008080;
  margin: 0;
  padding: 0;
  font-family: "MS Sans Serif", "Tahoma", sans-serif;
  height: 100vh;
  width: 100vw;
  
  /* Force all text to be black */
  color: #000000;
}

/* Force links to look like standard black text */
a, a:visited, a:hover, a:active {
  color: #000000;
  text-decoration: underline; /* Keeps the classic '95 link underline */
  cursor: pointer;
}

/* Optional: remove underline on hover for a cleaner look */
a:hover {
  text-decoration: none;
}

/* Copyright footer link */
#copyright-link {
  position: fixed;
  bottom: 10px;
  right: 12px;
  font-size: 0.75rem;
  opacity: 0.75;
}

#copyright-link a,
#copyright-link a:visited,
#copyright-link a:hover,
#copyright-link a:active {
  color: #000000;
  text-decoration: none;
}

#copyright-link a:hover {
  text-decoration: underline;
}

/* Default icon for all links (unknown file types) */
a::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url('/css/windows_icons.d/Windows%2034.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  vertical-align: middle;
  margin-right: 4px;
}

/* Directories */
a[href$="/"]::before {
  background-image: url('/css/windows_icons.d/Windows%2039.png');
}

/* ISO images */
a[href$=".iso"]::before {
  background-image: url('/css/cd-rom.png');
}

/* Disk images */
a[href$=".img"]::before,
a[href$=".vmdk"]::before,
a[href$=".vhd"]::before,
a[href$=".qcow2"]::before,
a[href$=".vdi"]::before {
  background-image: url('/css/windows_icons.d/Windows%20143.png');
}

/* Image files */
a[href$=".png"]::before,
a[href$=".jpg"]::before,
a[href$=".jpeg"]::before,
a[href$=".gif"]::before,
a[href$=".bmp"]::before,
a[href$=".webp"]::before,
a[href$=".svg"]::before,
a[href$=".ico"]::before {
  background-image: url('/css/windows_icons.d/Windows%2035.png');
}

/* Text documents */
a[href$=".txt"]::before,
a[href$=".md"]::before,
a[href$=".log"]::before,
a[href$=".nfo"]::before,
a[href$=".cfg"]::before,
a[href$=".conf"]::before,
a[href$=".ini"]::before {
  background-image: url('/css/windows_icons.d/Windows%20119.png');
}

/* Scripts */
a[href$=".sh"]::before,
a[href$=".bash"]::before,
a[href$=".zsh"]::before,
a[href$=".py"]::before,
a[href$=".bat"]::before,
a[href$=".ps1"]::before {
  background-image: url('/css/windows_icons.d/Windows%206.png');
}

/* Executables & installers */
a[href$=".exe"]::before,
a[href$=".msi"]::before,
a[href$=".deb"]::before,
a[href$=".rpm"]::before,
a[href$=".apk"]::before {
  background-image: url('/css/windows_icons.d/Windows%20152.png');
}

/* Audio */
a[href$=".mp3"]::before,
a[href$=".flac"]::before,
a[href$=".wav"]::before,
a[href$=".ogg"]::before,
a[href$=".aac"]::before,
a[href$=".m4a"]::before {
  background-image: url('/css/windows_icons.d/Windows%2016.png');
}

/* Video */
a[href$=".mp4"]::before,
a[href$=".mkv"]::before,
a[href$=".avi"]::before,
a[href$=".mov"]::before,
a[href$=".webm"]::before {
  background-image: url('/css/windows_icons.d/Windows%2064.png');
}

/* Data / config */
a[href$=".xml"]::before,
a[href$=".json"]::before,
a[href$=".yaml"]::before,
a[href$=".yml"]::before,
a[href$=".csv"]::before,
a[href$=".toml"]::before {
  background-image: url('/css/windows_icons.d/Windows%2047.png');
}

/* Compressed files */
a[href$=".gz"]::before,
a[href$=".bz2"]::before,
a[href$=".zip"]::before,
a[href$=".tgz"]::before,
a[href$=".tar"]::before,
a[href$=".xz"]::before,
a[href$=".7z"]::before,
a[href$=".rar"]::before {
  background-image: url('/css/windows_icons.d/Windows%2041.png');
}
