/*
    WIN95.CSS - Windows 95/98 Theme
    https://github.com/AlexBSoft/win95.css
    Modified for mooofin's retro portfolio
    License: MIT
*/

html {
  position: relative;
  min-height: 100%;
}

/* Body styles */
body {
  font-family: "MS Sans Serif", Tahoma, Verdana, Segoe, sans-serif;
  background: teal;
  color: white;
  padding-bottom: 40px;
  margin: 0;
}

/* Link color */
a {
  color: #2d49eb;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Scrollbar (Webkit) */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: #c0c0c0;
  border-left: 1px solid #808080;
}

::-webkit-scrollbar-thumb {
  border: 1px outset #fff;
  border-shadow: 1px 1px #000;
  background: silver;
}

::-webkit-scrollbar-button {
  width: 12px;
  height: 12px;
  background: silver;
  border: 1px outset #fff;
}

/* Button styles */
.btn,
button,
input[type="submit"] {
  border-width: 2px;
  border-style: outset;
  border-color: buttonface;
  border-right-color: #424242;
  border-bottom-color: #424242;
  background: silver;
  color: black;
  padding: 4px 8px;
  border-radius: 0;
  font-family: "MS Sans Serif", Tahoma, Verdana, sans-serif;
  font-size: 12px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.btn:hover,
button:hover {
  border: 2px inset #fff;
  background: silver;
  color: #424242;
  box-shadow: -1px -1px #000;
}

.btn:active,
button:active {
  border: 2px inset #fff !important;
  color: #424242;
  box-shadow: -1px -1px #000 !important;
  outline: 0 !important;
}

.btn-primary {
  background: silver;
  color: black;
}

.btn.disabled,
.btn:disabled {
  cursor: default;
  background-color: silver;
  border-style: outset;
  border-color: buttonface;
  border-right-color: #424242;
  border-bottom-color: #424242;
  color: grey;
  text-shadow: 1px 1px #fff;
}

/* CARDS / Windows */
.card,
.window {
  border: solid;
  border-width: 2px;
  border-bottom-color: #424242;
  border-right-color: #424242;
  border-left-color: #fff;
  border-top-color: #fff;
  background: silver;
  color: #212529;
  margin-bottom: 16px;
}

.card.square,
.window.square {
  border-radius: 0px;
}

.card-header,
.window-title {
  background: linear-gradient(90deg, #08216b, #a5cef7);
  color: #fff;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 3px 6px;
  font-weight: bold;
  font-size: 12px;
}

.card-header.icon {
  padding-left: 4px;
}

.header-inactive {
  background: gray !important;
}

/* Window body */
.card-body,
.window-body {
  padding: 12px;
  background: silver;
}

/* LIST GROUPS */
.list-group {
  border: solid;
  border-width: 2px;
  border-bottom-color: #424242;
  border-right-color: #424242;
  border-left-color: #fff;
  border-top-color: #fff;
  background: silver;
  color: #212529;
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-group-item {
  position: relative;
  display: block;
  background: transparent;
  color: #212529;
  padding: 4px 8px;
  border-bottom: 1px dotted #808080;
}

.list-group-item:last-child {
  border-bottom: none;
}

.list-group-item:hover {
  background: #08216b;
  color: white;
}

.list-group-item a {
  color: inherit;
  text-decoration: none;
  display: block;
}

/* NAVBAR */
.navbar-95 {
  background: silver;
  margin: 0 0 16px 0;
  border: 1px outset #fff;
  min-height: 40px;
  padding: 4px 6px;
  color: #212529;
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-brand {
  color: #212529;
  padding: 0 6px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  text-decoration: none;
  display: inline-block;
  padding: 4px 12px;
  color: #212529;
}

.nav-link:hover {
  background: #08216b;
  color: white;
}

/* TASKBAR / Footer */
.taskbar {
  cursor: default;
  background-color: silver;
  padding: 4px 8px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  border-top: 2px outset #fff;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.taskbar .start-button {
  cursor: default;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 2px outset #fff;
  padding: 2px 6px;
  box-shadow: 1px 1px #000;
  font-size: 12px;
  font-weight: bold;
  background: silver;
  color: black;
  text-decoration: none;
}

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

.taskbar .time {
  color: #212529;
  font-size: 12px;
  border: 1px inset #fff;
  padding: 2px 8px;
  background: #c0c0c0;
}

/* ICONS */
.icon-16 {
  margin-bottom: 2px;
  max-height: 16px;
  image-rendering: pixelated;
}

.icon-32 {
  max-height: 32px;
  image-rendering: pixelated;
}

/* FORMS */
.form-95 {
  width: 100%;
  border: 2px inset #d5d5d5;
  color: #424242;
  background: #fff;
  box-shadow: -1px -1px 0 0 #828282;
  margin-top: 4px;
  padding: 4px;
  font-family: "MS Sans Serif", Tahoma, Verdana, sans-serif;
  font-size: 12px;
}

input:focus,
textarea:focus {
  outline: 1px dotted #000;
}

/* Progress bar */
.progress {
  height: 20px;
  overflow: hidden;
  font-size: 12px;
  background-color: silver;
  border: 2px inset #d5d5d5;
  color: #424242;
  margin: 8px 0;
}

.progress-bar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  text-align: center;
  background-color: #1a0094;
  height: 100%;
}

.progress-bar-blocks {
  background-image: linear-gradient(90deg, transparent 75%, #d5d5d5 25%);
  background-size: 16px 16px;
}

/* TABLES */
.table-95 {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border: 2px inset #d5d5d5;
  font-size: 12px;
}

.table-95 th {
  background: #08216b;
  color: white;
  padding: 6px;
  text-align: left;
  font-weight: bold;
}

.table-95 td {
  padding: 6px;
  border-bottom: 1px solid #c0c0c0;
}

.table-95 tr:nth-child(even) {
  background: #f0f0f0;
}

.table-95 tr:hover {
  background: #a5cef7;
}

/* Marquee banner */
.marquee-banner {
  background: silver;
  border: 2px inset #d5d5d5;
  padding: 4px;
  color: black;
  font-size: 12px;
}

/* Container */
.container-95 {
  max-width: 900px;
  margin: 0 auto;
  padding: 16px;
}

/* Desktop area */
.desktop {
  min-height: calc(100vh - 100px);
  padding: 16px;
}

/* Sidebar */
.sidebar-95 {
  width: 200px;
  min-width: 200px;
}

/* Content area */
.content-95 {
  flex: 1;
}

/* Fieldset / Group box */
.fieldset-95 {
  border: 2px groove #c0c0c0;
  padding: 12px;
  margin: 8px 0;
}

.fieldset-95 legend {
  color: #08216b;
  font-weight: bold;
  padding: 0 8px;
}

/* Tree view */
.tree-view {
  font-size: 12px;
}

.tree-item {
  padding: 2px 4px;
  cursor: pointer;
}

.tree-item:hover {
  background: #08216b;
  color: white;
}

/* Status bar */
.status-bar {
  border: 1px inset #d5d5d5;
  padding: 2px 6px;
  font-size: 11px;
  background: silver;
  color: black;
  margin-top: 8px;
}

/* Separator */
hr.separator {
  border: none;
  border-top: 2px groove #c0c0c0;
  margin: 8px 0;
}

/* Utility */
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.gap-4 {
  gap: 4px;
}
.gap-8 {
  gap: 8px;
}
.gap-16 {
  gap: 16px;
}
.mb-8 {
  margin-bottom: 8px;
}
.mb-16 {
  margin-bottom: 16px;
}
.mt-16 {
  margin-top: 16px;
}
.p-0 {
  padding: 0;
}
.p-8 {
  padding: 8px;
}
.p-12 {
  padding: 12px;
}
.w-full {
  width: 100%;
}
.h-full {
  height: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .desktop {
    flex-direction: column !important;
  }

  .sidebar-95 {
    width: 100%;
  }

  .navbar-95 {
    flex-wrap: wrap;
  }

  .taskbar {
    position: relative;
    margin-top: 16px;
  }

  body {
    padding-bottom: 0;
  }
}
