/*
Theme Name: Portfolio Theme
Theme URI: https://youwantmydesigns.com
Author: Your Name
Description: youwantmydesigns portfolio theme
Version: 1.0
*/

body {
  margin: 0;
  font-family: "MS Sans Serif", Tahoma, Verdana, sans-serif;
  font-size: 11px;
  line-height: 1.3;
  background: teal;
  height: 100%;
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: unset;
}

*, *::before, *::after {
  font-family: inherit;
  box-sizing: border-box;
}

button 
{ color: #000; -webkit-text-fill-color: #000; }

/* Desktop */
#desktop {
  margin: 20px 10px;
  display: grid;
  grid-template-columns: repeat(2, auto);
  width: fit-content;
}

.icon {
  padding: 10px 30px;
  display: grid;
  width: 102px;
  color: white;
  cursor: pointer;
  align-content: end;
  justify-content: space-evenly;
  align-items: end;
}

.icon img {
  padding: 5px;
  width: 60px;
  height: 60px;
  object-fit: contain;
}

#icon-my-computer img,
#icon-company img {
  width: 50px;
  height: 50px;
}

#icon-my-computer span {
  white-space: nowrap;
}

.icon span {
  text-align: center;
}

/* Windows */
.window {
  display: none;
  position: absolute;
  top: 100px;
  left: 100px;
  width: 620px;
  background: #c0c0c0;
  border: 2px solid;
  border-color: #fff #808080 #808080 #fff;
  box-shadow: 1px 1px 0 #000;
  z-index: 100;
  min-width: 200px;
}

.title-bar {
  background: #929292;
  color: white;
  padding: 3px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 11px;
  user-select: none;
  cursor: default;
}

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

.title-bar button {
  background: #c0c0c0;
  color: #000;
  border: 2px solid;
  border-color: #fff #808080 #808080 #fff;
  width: 18px;
  height: 16px;
  font-size: 11px;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.title-bar-btn-maximize {
  font-size: 14px !important;
}

.title-bar button:active {
  border-color: #808080 #fff #fff #808080;
}

.window-body {
  padding: 10px;
  font-size: 11px;
}

.about-menu-bar {
  display: flex;
  gap: 0;
  background: #c0c0c0;
  border-bottom: 1px solid #808080;
  padding: 2px 4px;
}

.about-menu-btn {
  background: none;
  border: none;
  padding: 2px 8px;
  font-size: 11px;
  cursor: pointer;
}

.about-menu-btn:hover {
  background: #000080;
  color: #fff;
}

.about-content {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: flex-start;
}

.about-image {
  flex-shrink: 0;
}


/* ── MS Paint Window ── */
.paint-window {
  max-width: 1080px;
  width: 90vw;
  background: #c0c0c0;
}

.paint-menubar {
  display: flex;
  background: #c0c0c0;
  border-bottom: 1px solid #808080;
  padding: 1px 2px;
}

.paint-menu-btn {
  background: none;
  border: none;
  padding: 2px 8px;
  font-size: 11px;
  cursor: default;
}

.paint-menu-btn:hover {
  background: #000080;
  color: #fff;
}

.paint-body {
  display: flex;
  background: #c0c0c0;
}

/* Toolbar */
.paint-toolbar {
  width: 52px;
  min-width: 52px;
  background: #c0c0c0;
  border-right: 1px solid #808080;
  padding: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.paint-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.paint-tool {
  width: 22px;
  height: 22px;
  background: #c0c0c0;
  border: 2px solid;
  border-color: #fff #808080 #808080 #fff;
  font-size: 11px;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.paint-tool:first-child {
  border-color: #808080 #fff #fff #808080;
}

.paint-tool-sizes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 4px 0;
  border-top: 1px solid #808080;
  width: 100%;
}

.pt-dot {
  background: #000;
  border-radius: 50%;
}
.pt-dot-xs { width: 2px;  height: 2px; }
.pt-dot-sm { width: 4px;  height: 4px; }
.pt-dot-md { width: 6px;  height: 6px; }
.pt-dot-lg { width: 8px;  height: 8px; }

/* Canvas */
.paint-canvas-wrap {
  flex: 1;
  overflow: auto;
  max-height: 65vh;
  background: #808080;
  padding: 6px;
}

.paint-canvas {
  background: #fff;
  min-height: 100%;
}

.paint-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.paint-grid img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* Color Palette */
.paint-palette {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #c0c0c0;
  border-top: 2px solid;
  border-color: #808080 #fff #fff #808080;
  padding: 3px 4px;
  flex-wrap: wrap;
}

.paint-active-colors {
  position: relative;
  width: 30px;
  height: 26px;
  flex-shrink: 0;
  margin-right: 4px;
}

.paint-color-fg,
.paint-color-bg {
  width: 18px;
  height: 18px;
  border: 1px solid #000;
  position: absolute;
}

.paint-color-fg {
  top: 0;
  left: 0;
  z-index: 2;
}

.paint-color-bg {
  bottom: 0;
  right: 0;
  z-index: 1;
}

.paint-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  max-width: calc(100% - 40px);
}

.ps {
  width: 14px;
  height: 14px;
  border: 1px solid #808080;
  cursor: default;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .paint-window {
    width: 95vw !important;
    left: 2.5vw !important;
    top: 10px !important;
  }

  .paint-toolbar {
    display: none;
  }

  .paint-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .paint-canvas-wrap {
    max-height: 60vh;
  }
}

/* Logos grid */
.logos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.logos-grid img {
  width: 100%;
  display: block;
  object-fit: contain;
}

/* Certificates grid */
.cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
}

.cert-grid img {
  width: 100%;
  display: block;
  object-fit: contain;
}

@media (max-width: 600px) {
  .cert-grid {
    grid-template-columns: 1fr;
  }
}

/* Content Windows */
.content-window {
  width: 90vw;
  max-width: 1110px;
}

.content-body {
  padding: 0;
  overflow-y: auto;
  max-height: 70vh;
}

.content-body img {
  width: 100%;
  display: block;
}

@media (max-width: 600px) {
  .content-window {
    width: 95vw !important;
    left: 2.5vw !important;
    top: 10px !important;
  }

  .content-body {
    max-height: 75vh;
  }
}

/* Instagram Window */
#instagram {
  width: 375px;
  max-width: 95vw;
}

.instagram-body {
  padding: 0;
  overflow: hidden;
  min-height: 600px;
}

.ig-retro-wrap {
  --ig-retro-bg:          #bfbfbf;
  --ig-retro-bg-light:    #d4d4d4;
  --ig-retro-bg-dark:     #808080;
  --ig-retro-border-hi:   #ffffff;
  --ig-retro-border-lo:   #5a5a5a;
  --ig-retro-border-lolo: #404040;
  --ig-retro-text:        #000000;
  --ig-retro-link:        #00348a;
  --ig-retro-accent:      #3170d6;
  --ig-retro-divider:     #3170d6;
  --ig-scrollbar-w:       18px;
  width: 100%;
  max-width: 375px;
  margin: 0 auto;
  background: var(--ig-retro-bg);
  color: var(--ig-retro-text);
  font-family: 'Chicago', 'Geneva', 'Charcoal', 'Lucida Grande',
               'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.35;
  overflow: hidden;
  position: relative;
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: unset;
  user-select: none;
  min-height: 600px;
}

.bevel-out {
  border: 2px solid;
  border-color: var(--ig-retro-border-hi) var(--ig-retro-border-lo)
                var(--ig-retro-border-lo) var(--ig-retro-border-hi);
  box-shadow: inset 1px 1px 0 var(--ig-retro-border-hi),
              inset -1px -1px 0 var(--ig-retro-border-lolo);
}
.bevel-in {
  border: 2px solid;
  border-color: var(--ig-retro-border-lo) var(--ig-retro-border-hi)
                var(--ig-retro-border-hi) var(--ig-retro-border-lo);
  box-shadow: inset 1px 1px 0 var(--ig-retro-border-lolo),
              inset -1px -1px 0 var(--ig-retro-border-hi);
}

.ig-retro-header {
  padding: 16px 16px 12px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.ig-retro-avatar {
  display: block;
  width: 86px;
  height: 86px;
  min-width: 86px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--ig-retro-bg-dark);
  text-decoration: none;
}
.ig-retro-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ig-retro-stats {
  flex: 1;
}

.ig-retro-counts {
  display: flex;
  justify-content: space-around;
  text-align: center;
  margin-bottom: 10px;
}
.ig-retro-counts .count-num {
  font-size: 16px;
  font-weight: 700;
  display: block;
}
.ig-retro-counts .count-label {
  font-size: 12px;
  color: var(--ig-retro-text);
}

.ig-retro-follow-row {
  display: flex;
  gap: 4px;
}
.ig-retro-btn {
  flex: 1;
  text-align: center;
  padding: 5px 0;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: var(--ig-retro-bg);
  font-family: inherit;
  color: var(--ig-retro-text);
}
.ig-retro-btn:active {
  border-color: var(--ig-retro-border-lo) var(--ig-retro-border-hi)
                var(--ig-retro-border-hi) var(--ig-retro-border-lo);
}
.ig-retro-btn-dd {
  width: 32px;
  min-width: 32px;
  flex: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: pointer;
  background: var(--ig-retro-bg);
}

.ig-retro-tabs {
  display: flex;
  border-bottom: 3px solid var(--ig-retro-divider);
}
.ig-retro-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  cursor: pointer;
  background: var(--ig-retro-bg);
}
.ig-retro-tab.active {
  border-bottom: none;
}
.ig-retro-tab svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--ig-retro-text);
  stroke-width: 2;
}

.ig-retro-grid-viewport {
  position: relative;
  max-height: 430px;
  overflow-y: auto;
  overflow-x: hidden;
}

.ig-retro-grid-viewport::-webkit-scrollbar {
  width: var(--ig-scrollbar-w);
  background: repeating-conic-gradient(
      var(--ig-retro-bg) 0% 25%, var(--ig-retro-bg-light) 0% 50%
  ) 50% / 4px 4px;
}
.ig-retro-grid-viewport::-webkit-scrollbar-thumb {
  background: var(--ig-retro-bg);
  border: 2px solid;
  border-color: var(--ig-retro-border-hi) var(--ig-retro-border-lo)
                var(--ig-retro-border-lo) var(--ig-retro-border-hi);
}
.ig-retro-grid-viewport::-webkit-scrollbar-button:single-button {
  display: block;
  height: var(--ig-scrollbar-w);
  background: var(--ig-retro-bg);
  border: 2px solid;
  border-color: var(--ig-retro-border-hi) var(--ig-retro-border-lo)
                var(--ig-retro-border-lo) var(--ig-retro-border-hi);
}
.ig-retro-grid-viewport::-webkit-scrollbar-button:single-button:vertical:decrement::after,
.ig-retro-grid-viewport::-webkit-scrollbar-button:single-button:vertical:increment::after {
  content: "";
  display: block;
}

.ig-retro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.ig-retro-grid-link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.ig-retro-cell {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--ig-retro-bg-dark);
}
.ig-retro-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ig-retro-cell .cell-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 18px;
  height: 18px;
  opacity: .85;
}
.ig-retro-cell .cell-badge svg {
  width: 100%;
  height: 100%;
  fill: #fff;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.45));
}

.ig-retro-bottomnav {
  display: flex;
  border-top: 1px solid var(--ig-retro-border-lo);
  background: var(--ig-retro-bg);
  padding: 6px 0 10px;
}
.ig-retro-nav-item {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  padding: 4px 0;
}
.ig-retro-nav-item svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--ig-retro-text);
  stroke-width: 1.8;
}

@media (max-width: 390px) {
  .ig-retro-header { padding: 12px; gap: 14px; }
  .ig-retro-avatar { width: 76px; height: 76px; min-width: 76px; }
  .ig-retro-counts .count-num { font-size: 14px; }
}

@media (max-width: 600px) {
  #instagram {
    width: 95vw !important;
    left: 2.5vw !important;
    top: 10px !important;
  }
}

@media (max-width: 600px) {
  .window {
    width: 95vw !important;
    left: 2.5vw !important;
    top: 20px !important;
    box-sizing: border-box;
  }

  .about-content {
    flex-direction: column;
  }

  .about-image {
    width: 100%;
    order: 1;
  }

  .about-image img {
    width: 100%;
    height: auto;
  }

  .about-text {
    order: 2;
    font-size: 11px;
    line-height: 1.4;
    padding: 12px 12px 50px 12px;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .about-text p {
    margin: 0 0 6px 0;
  }

  .about-text img[style*="position:absolute"] {
    width: 40px !important;
    height: 40px !important;
    bottom: 8px !important;
    right: 8px !important;
  }

  .window-body {
    padding: 8px;
  }
}

.about-image img {
  width: 240px;
  height: 240px;
  object-fit: cover;
  border: 2px inset #808080;
  display: block;
}

.about-text {
  flex: 1;
  font-size: 11px;
  line-height: 1.4;
  background-color: #929292;
  padding: 30px 30px;
}

/* Taskbar */
#taskbar {
  width: 100%;
  position: fixed;
  left: 0;
  bottom: 0;
  overflow: hidden;
  height: 38px;
  background: #c0c0c1;
  display: flex;
  align-items: center;
}

#task-items {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 2px;
  flex: 1;
}

.task-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  min-width: 140px;
  max-width: 220px;
  padding: 0 6px;
  background: #c0c0c0;
  border: 2px solid;
  border-color: #fff #808080 #808080 #fff;
  font-family: "MS Sans Serif", Tahoma, sans-serif;
  font-size: 11px;
  font-weight: bold;
  cursor: default;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.task-btn.active {
  border-color: #808080 #fff #fff #808080;
  background: #b0b0b0;
  font-size: 14px;
}

.task-btn img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.task-btn.active img {
  width: 22px;
  height: 22px;
}

#left-div {
  float: left;
}

#right-div {
  float: right;
}

#notification-area {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  height: 100%;
  padding: 0 6px;
  border-left: 1px solid #808080;
  box-sizing: border-box;
}

#notification-area img {
  margin: 0 5px;
  width: 24px;
  height: 24px;
}

#taskbar-clock {
  font-family: "Courier New", Courier, monospace;
  font-size: 16px;
  line-height: 38px;
  letter-spacing: -0.04em;
  color: #000;
  white-space: nowrap;
  padding: 0 4px;
}



/* START MENU */
#start-menu {
  position: fixed;
  bottom: 38px;
  left: 0;
  width: auto;
  max-height: 428px;
  overflow: visible;
  background: #c0c0c0;
  border: 2px solid #000;
  box-shadow: inset -2px -2px #808080, inset 2px 2px #fff;
  display: none;
  z-index: 999;
}

/* START MENU SIDEBAR */
.start-menu-sidebar,
.start-menu-sidebar * {
  font-family: "Inter", sans-serif !important;
}

.start-menu-sidebar {
  padding: 10px;
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 100%;
  background-color: gray;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  writing-mode: sideways-lr;
  text-orientation: mixed;
  color: #a2a2a3;
  font-weight: bold;
  font-size: 20px;
  letter-spacing: -0.02em;
  padding-bottom: 30px;
}


/* ROOT LIST */
.menu-root {
  list-style: none;
  margin: 0;
  padding: 2px;
  padding-left: 30px;
}

/* ITEMS */
.menu-item {
  position: relative;
  padding: 2px 4px;
  cursor: default;
}

/* MENU ITEM ANCHOR */
.menu-item a {
  margin: 0px 10px;
  padding: 4px 6px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  gap: 6px;
}

/* MENU ITEM IMAGES */
.menu-item img {
  width: 32px;
  margin: 0px 10px 0px 5px;
  flex-shrink: 0;
}

.system-icon {
  width: 44px !important;
}

#star {
  border-top: 1px solid #808080;
}

.system-item {
  padding: 2px 0 !important;
  margin: 0 !important;
}

.system-item a {
  margin: 0 !important;
  padding: 2px 4px !important;
}

/* TEXT */
.menu-item span {
  display: block;
  padding: 2px 10px 2px 4px;
}

/* HOVER (Win98 blue highlight) */
.menu-item:hover,
.menu-item:hover > a {
  background: navy;
  color: white;
}

/* CLICK (pressed look) */
.menu-item:active,
.menu-item:active > a {
  background: #000080;
  box-shadow: inset 1px 1px #000;
}

/* SUBMENU ARROW */
.has-sub > a::after {
  content: "▶";
  margin-left: auto;
  padding-left: 10px;
  font-size: 10px;
}

/* SUBMENU */
.submenu {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  width: 200px;
  background: #c0c0c0;
  border: 2px solid #000;
  list-style: none;
  padding: 2px;
  box-shadow: inset -2px -2px #808080, inset 2px 2px #fff;
}

/* SHOW SUBMENU ON HOVER */
.has-sub:hover > .submenu {
  display: block;
}

.submenu img {
  width: 20px !important;
  height: 20px !important;
}

/* SUBMENU ITEMS */
.submenu li {
  padding: 1px 4px;
  color: #000;
}

.submenu li a {
  color: #000;
  gap: 2px;
  margin: 0;
  padding: 2px 4px;
}

.submenu li img {
  margin: 0 4px 0 0 !important;
}

/* DIVIDER */
.menu-divider {
  height: 1px;
  background: #808080;
  margin: 4px 0;
}

/* SHUTDOWN STYLE */
.shutdown:hover {
  background: darkred;
  color: white;
}




/* Start Button */
#start-btn {
  appearance: none;
  font-family: "WindowsBold", "Courier New", monospace;
  letter-spacing: normal;
  word-spacing: normal;
  line-height: 1;
  text-transform: none;
  text-indent: 0;
  text-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: default;
  box-sizing: border-box;
  margin: 2px;
  padding: 0 6px;
  height: 34px;
  font-weight: bold;
  font-size: 24px;
  border: 2px solid black;
  background: #c0c0c0;
  box-shadow: inset -2px -2px #808080, inset 2px 2px #fff;
}

#start-btn:active {
  box-shadow: inset 2px 2px #808080, inset -2px -2px #fff;
}

#start-btn img {
  margin: 0em 0em 0em 0em;
  height: 38px;
  width: 38px;
}

