/* Custom fonts are included in the .zip file, download fonts to your own host and update file paths. */

@font-face {
	font-family: "w95f";
	src: url("fonts/w95f.woff") format("woff"),
       url("fonts/w95f.woff2") format("woff2");
}



/* The Basics */
  
* {
	box-sizing: border-box;
}
  
:root {
	--taskbar-height: 30px;
	--compact-window-left: 132px;
	--compact-window-margin: 12px;
}


body {
	margin: 0;
	background: #e6e6e6 url("https://itinerae.neocities.org/premium/demo/itiOS/greynoise.webp");
	padding: 20px 20px calc(var(--taskbar-height) + 20px);
	font-family: "w95f",  Arial, "Courier new", monospace;
	letter-spacing: 1px;
	font-size: 15px;
	color: #636363;
	text-shadow: 0 0 1px #bbb;
	position: relative;
	line-height: 1.2;
	overflow: auto;
}
  
button,
input,
select,
textarea {
  font: inherit;
}
  

a:link,
a:visited,
a:active {
	color: #555;
	text-decoration: none;
}

a:hover {
	color: #999;
}

:focus {
	outline: none;
}

.app-window:focus {
	outline: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 1px dotted #000;
	outline-offset: 2px;
}

button:focus-visible,
.taskbar-btn:focus-visible,
#start-btn:focus-visible,
.cd-btn:focus-visible {
	outline-offset: -4px;
}

.window-buttons button:focus-visible {
	outline: 1px dotted #000;
	outline-offset: -3px;
}

.desktop-icon:focus-visible {
	color: #333;
	outline: 1px dotted #555;
	outline-offset: 4px;
}

.content-box a:focus-visible,
.profile-links a:focus-visible,
#start-menu .sm-link:focus-visible {
	background: linear-gradient(#808080,#404040);
	color: #fff;
	text-shadow: none;
}
  
  

/* SITE NAME / note on the right */

.desktop-note {
	position: fixed;
	right: 50px;
	top: 50px;
	width: 150px;
	padding: 8px;
	background: rgba(255,255,255,0.85);
	border: 3px double #b8b8b8;
	color: #888;
	font-size: 12px;
	line-height: 1.4;
	text-align: center;
	box-shadow: inset 1px 1px #fff,
    inset -1px -1px #c9c9c9;
}

.desktop-note-welcome {
	display: block;
	margin-bottom: 2px;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #888;
}

.desktop-note-title {
	display: block;
	font-size: 18px;
	line-height: 0.9;
	letter-spacing: 2px;
	color: #777;
	text-shadow: 1px 1px #fff,
    -1px 0 #d6d6d6;
}

.desktop-note-refresh {
	display: inline-block;
	margin-top: 8px;
	padding: 2px 5px 1px 5px;
	background: #d9d9d9;
	border: 1px solid #aaa;
	box-shadow: inset 1px 1px #fff,
    inset -1px -1px #bbb;
	color: #777;
	font-size: 11px;
	letter-spacing: 1px;
}

.desktop-note-line {
	display: block;
	height: 0px;
	border-bottom: 1px solid #ddd;
	margin: 8px 0px 6px 0px;
}

.desktop-note-text {
	display: block;
	padding: 0 4px;
	font-size: 12px;
	line-height: 1.5;
	color: #888;
}


  
  
/* DESKTOP ICONS */
.desktop-icons {
	position: fixed;
	top: 40px;
	left: 20px;
	display: flex;
	flex-direction: column;
	gap: 25px;
}

.desktop-icon {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 78px;
	text-decoration: none;
	color: #888;
	font-size: 13px;
	text-shadow: 0 0 1px #bbb;
	cursor: pointer;
}

.desktop-icon img {
	width: 30px;
	height: 30px;
	object-fit: contain;
	margin-bottom: 8px;
	filter: grayscale(100%);
	opacity: 0.4;
	image-rendering: pixelated;
}

.desktop-icon:hover img {
	opacity: 0.60;
	transform: translateY(-1px);
}

.desktop-icon:hover {
	color: #555;
}
    
  
  
  
/* DESKTOP WINDOWS */
.app-window {
	position: absolute;
	padding: 3px;
	background: #eaeaea;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	box-shadow: inset -1px -1px #404040,
    inset 1px 1px #ffffff,
    inset -2px -2px #808080,
    inset 2px 2px #ffffff;
}

.app-window.active {
	box-shadow: inset -1px -1px #4f4f4f,
    inset 1px 1px #f5f5f5,
    inset -2px -2px #8f8f8f,
    inset 2px 2px #ffffff,
    2px 2px 5px rgba(0,0,0,0.25);
}


.app-window {
  transform-origin: center center;
}

.app-window.minimizing {
  pointer-events: none;
  opacity: 0;
  transform: translateY(45px) scale(0.85);
  transition:
    opacity 140ms ease,
    transform 140ms ease;
}

.app-window.restoring {
  opacity: 0;
  transform: translateY(25px) scale(0.96);
}

/* Window titlebar */
.window-header {
	padding: 2px 2px 2px 3px;
	height: 18px;
	border-bottom: 1px solid #fff;
	display: flex;
	justify-content: space-between;
	align-items: stretch;
	cursor: move;
	box-sizing: border-box;
	flex: 0 0 auto;
}

/* Inactive titlebar */
.app-window .window-header {
	background: linear-gradient(90deg, #bfbfbf, #e5e5e5);
}

/* Active titlebar */
.app-window.active .window-header {
	background: linear-gradient(90deg, #808080, #c0c0c0);
}
  
  
/* Title text inside the titlebar */
.window-title {
	font-weight: bold;
	color: #fff;
	font-size: 13px;
	line-height: 14px;
	padding-top: 1px;
	margin-left: 4px;
	user-select: none;
}

  
  

/* Min / Max / Close buttons */
.window-buttons {
	display: flex;
	align-items: stretch;
}

.window-buttons button {
	border: none;
	border-radius: 0;
	box-sizing: border-box;
	min-width: 16px;
	min-height: 14px;
	width: 16px;
	height: 14px;
	padding: 0;
	margin: 0;
	background-color: #c0c0c0;
	box-shadow: inset -1px -1px #0a0a0a,
    inset 1px 1px #ffffff,
    inset -2px -2px grey,
    inset 2px 2px #dfdfdf;
	cursor: pointer;
}

.window-buttons button:active {
	box-shadow: inset -1px -1px #ffffff,
    inset 1px 1px #0a0a0a,
    inset -2px -2px #dfdfdf,
    inset 2px 2px grey;
}

.window-buttons button + button {
	margin-left: 1px;
}

.btn-min {
	background-image: url("https://itinerae.neocities.org/premium/demo/itiOS/minimizebutton.svg");
	background-repeat: no-repeat;
	background-position: bottom 3px left 3px;
}

.btn-max {
	background-image: url("https://itinerae.neocities.org/premium/demo/itiOS/maximizebutton.svg");
	background-repeat: no-repeat;
	background-position: top 2px left 3px;
}

.btn-close {
	background-image: url("https://itinerae.neocities.org/premium/demo/itiOS/closebutton.svg");
	background-repeat: no-repeat;
	background-position: top 3px left 4px;
}
  
  
  

/* Window content section */
.window-content {
	margin: 8px;
	flex: 1;
	min-height: 0;
}

.content-box {
	background: #fff;
	border: 1px solid #999;
	box-shadow: inset 1px 1px #ffffff, inset -1px -1px #ffffff;
	padding: 10px;
	overflow-y: auto;
	box-sizing: border-box;
	height: 100% !important;
}

.content-box ul li {
	margin-bottom: 14px;
}

.hello-content {
	display: flex;
	align-items: center;
	gap: 8px;
	overflow: hidden;
}

.hello-handshake {
	flex: 0 0 clamp(58px, 21%, 70px);
	width: clamp(58px, 21%, 70px);
	min-width: 58px;
	height: 70px;
	margin: 0;
	object-fit: contain;
	object-position: center center;
	filter: grayscale(100%);
	opacity: 0.7;
}

.hello-copy {
	flex: 1 1 auto;
	min-width: 0;
}

.franklin-window .content-box {
	padding: 0;
	overflow: hidden;
	background: #eaeaea;
}

.franklin-viewer {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: #eaeaea;
}

.franklin-image {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}
  

  
  
/* Hidden dynamic window sources */
.window-source {
	display: none;
}
 
  
  

  
/* ABOUT ME - profile section */
.profile-top {
	margin-bottom: 8px;
	padding-bottom: 8px;
	border-bottom: 1px dotted #aaa;
}

.profile-name {
	display: block;
	margin-bottom: 3px;
	font-size: 16px;
	font-weight: bold;
	line-height: 1;
	letter-spacing: 2px;
	color: #777;
	text-shadow: 1px 1px #fff;
	text-align: center;
}

.profile-text {
	margin: 0;
}

.profile-status {
	clear: both;
	margin-top: 8px;
	padding: 6px;
	background: #f3f3f3;
	border: 1px solid #b7b7b7;
	box-shadow: inset 1px 1px #fff,
    inset -1px -1px #d0d0d0;
}

.profile-row {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	padding: 3px 0;
	border-bottom: 1px dotted #c8c8c8;
}

.profile-row:last-child {
	border-bottom: 0;
}

.profile-row b {
	color: #777;
}

.profile-links {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-top: 8px;
}

.profile-links a {
	display: inline-block;
	padding: 3px 6px;
	background: #d9d9d9;
	border: 1px solid #aaa;
	box-shadow: inset 1px 1px #fff,
    inset -1px -1px #bbb;
	color: #666;
	font-size: 15px;
}

.profile-links a:hover {
	background: #cfcfcf;
	color: #333;
}
  

/* WORK / PORTFOLIO ACCESS */
.work-panel {
	color: #000;
	line-height: 1.35;
}

.work-panel p {
	margin: 8px 0 14px;
}

.work-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.work-link-button,
.portfolio-access-form button.default {
	display: inline-block;
	min-width: 84px;
	min-height: 23px;
	padding: 4px 12px 3px;
	border: none;
	border-radius: 0;
	background: #c0c0c0;
	box-shadow: inset -1px -1px #0a0a0a,
    inset 1px 1px #ffffff,
    inset -2px -2px grey,
    inset 2px 2px #dfdfdf;
	color: #000 !important;
	font: inherit;
	letter-spacing: inherit;
	text-align: center;
	text-decoration: none;
	text-shadow: none;
	cursor: pointer;
}

.work-link-button:active,
.portfolio-access-form button.default:active {
	box-shadow: inset -1px -1px #ffffff,
    inset 1px 1px #0a0a0a,
    inset -2px -2px #dfdfdf,
    inset 2px 2px grey;
}

.portfolio-access-form {
	display: flex;
	flex-direction: column;
	gap: 6px;
	height: 100%;
	color: #000;
}

.content-box:has(.portfolio-access-form) {
	overflow: visible;
}

.portfolio-access-help {
	margin: 0;
	line-height: 1.3;
}

.portfolio-access-form input {
	width: 100%;
	min-width: 0;
	border: 1px solid #808080;
	border-right-color: #ffffff;
	border-bottom-color: #ffffff;
	border-radius: 0;
	background: #ffffff;
	box-shadow: inset 1px 1px #404040,
    inset -1px -1px #dfdfdf;
	color: #000;
	padding: 3px 4px;
	letter-spacing: 1px;
}

.portfolio-access-status {
	box-sizing: border-box;
	min-height: 2.4em;
	margin: 0;
	color: #000;
	line-height: 1.2;
}

.portfolio-access-status:not(:empty) {
	background: transparent;
	border: 0;
	box-shadow: none;
}

.portfolio-access-actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 0;
}

.portfolio-access-form button.default:disabled {
	color: #808080 !important;
	text-shadow: 1px 1px #ffffff;
	cursor: default;
}

/* PROJECTS TABS */
.content-box:has(.projects-tabs) {
	background: #eaeaea;
	border: none;
	box-shadow: none;
	padding: 8px;
	overflow: hidden;
}

.projects-tabs {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 0;
	color: #000;
}

.projects-tab-list {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 0;
	margin: 0 0 -1px;
	padding: 0 0 0 4px;
	list-style: none;
	flex: 0 0 auto;
	overflow-x: auto;
	overflow-y: hidden;
}

.projects-tab-list li {
	margin: 0;
	padding: 0;
	flex: 0 0 auto;
}

.projects-tab {
	position: relative;
	display: block;
	min-height: 24px;
	margin: 0 -1px 0 0;
	padding: 4px 10px 3px;
	border: 1px solid #808080;
	border-bottom-color: #404040;
	border-radius: 2px 2px 0 0;
	background: #c0c0c0;
	box-shadow: inset 1px 1px #ffffff,
    inset -1px 0 #dfdfdf;
	color: #000;
	font: inherit;
	font-size: 13px;
	letter-spacing: 1px;
	cursor: pointer;
	white-space: nowrap;
}

.projects-tab:hover {
	background: #d4d0c8;
}

.projects-tab[aria-selected="true"] {
	z-index: 1;
	min-height: 27px;
	padding-top: 5px;
	border-bottom-color: #eaeaea;
	background: #eaeaea;
	box-shadow: inset 1px 1px #ffffff,
    inset -1px 0 #808080;
	font-weight: bold;
}

.projects-tab-panel-shell {
	flex: 1 1 auto;
	min-height: var(--projects-panel-min-height, 0);
	padding: 12px;
	border: 1px solid #808080;
	background: #ffffff;
	box-shadow: inset 1px 1px #ffffff,
    inset -1px -1px #404040;
	overflow-y: auto;
}

.projects-tab-panel {
	max-width: 58ch;
	margin: 0;
	color: #000;
	line-height: 1.35;
}

.projects-tab-panel[hidden] {
	display: none;
}

.projects-tab-panel p {
	margin: 0 0 11px;
}

.approach-tabs .projects-tab-panel-shell {
	background: #fdfdfd;
}

.approach-window {
	height: auto !important;
}

.approach-window .window-content {
	flex: 0 0 auto;
}

.approach-window .content-box {
	height: auto !important;
	overflow: visible;
}

.approach-tabs {
	height: auto;
}

.approach-tabs .projects-tab-list {
	flex-wrap: nowrap;
}

.approach-tabs .projects-tab-panel-shell {
	flex: 0 0 auto;
	min-height: var(--projects-panel-min-height, 0);
	overflow: visible;
	padding-bottom: 12px;
}

.approach-tab-panel {
	max-width: 64ch;
	line-height: 1.42;
}

.approach-tab-panel h3 {
	margin: 0 0 12px;
	color: #000;
	font: inherit;
	font-weight: bold;
	font-size: 14px;
	line-height: 1.3;
	letter-spacing: inherit;
}

.approach-tab-panel p {
	margin-bottom: 12px;
}

.projects-tab-panel p:last-child,
.projects-tab-panel ul:last-child {
	margin-bottom: 0;
}

.projects-overview-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin-top: 14px;
}

.projects-overview-grid > div {
	padding: 8px;
	border: 1px solid #808080;
	background: #eaeaea;
	box-shadow: inset 1px 1px #ffffff,
    inset -1px -1px #404040;
}

.projects-overview-grid b {
	display: block;
	margin-bottom: 6px;
}

.projects-overview-grid ul,
.projects-side-quests {
	margin: 0;
	padding: 0;
	list-style: none;
}

.projects-overview-grid li,
.projects-side-quests li {
	margin: 0 0 5px;
}

.projects-overview-link {
	display: inline-block;
	margin: 0;
	padding: 1px 3px;
	border: 1px solid transparent;
	border-radius: 0;
	background: transparent;
	color: #000;
	font: inherit;
	letter-spacing: inherit;
	text-align: left;
	text-decoration: underline dotted #808080;
	text-underline-offset: 2px;
	cursor: pointer;
}

.projects-overview-link:hover,
.projects-overview-link:focus-visible {
	background: #d4d0c8;
	border-color: #808080;
	box-shadow: inset 1px 1px #ffffff,
    inset -1px -1px #808080;
	outline: none;
}

.projects-overview-link:active {
	box-shadow: inset -1px -1px #ffffff,
    inset 1px 1px #808080;
}

.projects-side-quests span {
	display: inline-block;
	width: 14px;
	color: #666;
}

.projects-actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 16px !important;
}

.projects-button {
	display: inline-block;
	min-width: 96px;
	min-height: 23px;
	padding: 4px 12px 3px;
	border: none;
	border-radius: 0;
	background: #c0c0c0;
	box-shadow: inset -1px -1px #0a0a0a,
    inset 1px 1px #ffffff,
    inset -2px -2px grey,
    inset 2px 2px #dfdfdf;
	color: #000 !important;
	text-align: center;
	text-decoration: none;
	text-shadow: none;
	cursor: pointer;
}

.projects-button:active {
	box-shadow: inset -1px -1px #ffffff,
    inset 1px 1px #0a0a0a,
    inset -2px -2px #dfdfdf,
    inset 2px 2px grey;
}

.projects-button:disabled {
	color: #808080 !important;
	text-shadow: 1px 1px #ffffff;
	cursor: default;
}



 /* IMAGE example  */
.window-img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	filter: grayscale(70%);
	opacity: 0.5;
}



/* CONTACT FORM */
.content-box:has(.contact-form) {
	background: #eaeaea;
	border: none;
	box-shadow: none;
	padding: 12px;
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 9px;
	width: 100%;
	color: #000;
}

.field-row-stacked {
	display: flex;
	flex-direction: column;
	gap: 4px;
	width: 100%;
}

.field-row-stacked label {
	color: #000;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	min-width: 0;
	border: 1px solid #808080;
	border-right-color: #ffffff;
	border-bottom-color: #ffffff;
	border-radius: 0;
	background: #ffffff;
	box-shadow: inset 1px 1px #404040,
    inset -1px -1px #dfdfdf;
	color: #000;
	padding: 3px 4px;
	letter-spacing: 1px;
}

.contact-form textarea {
	resize: vertical;
	min-height: 124px;
}

.contact-actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 6px;
}

.contact-form button.default {
	min-width: 75px;
	min-height: 23px;
	border: none;
	border-radius: 0;
	background: #c0c0c0;
	box-shadow: inset -1px -1px #0a0a0a,
    inset 1px 1px #ffffff,
    inset -2px -2px grey,
    inset 2px 2px #dfdfdf;
	color: #000;
	padding: 2px 12px;
	cursor: pointer;
}

.contact-form button.default:active {
	box-shadow: inset -1px -1px #ffffff,
    inset 1px 1px #0a0a0a,
    inset -2px -2px #dfdfdf,
    inset 2px 2px grey;
}

.contact-form button.default:disabled {
	color: #808080;
	text-shadow: 1px 1px #ffffff;
	cursor: default;
}

.contact-status {
	margin: 0;
	color: #000;
}

.contact-status:not(:empty) {
	min-height: 1.2em;
	padding: 4px 6px;
	background: #eaeaea;
	border: 1px solid #808080;
	box-shadow: inset 1px 1px #ffffff,
    inset -1px -1px #404040;
}

.contact-status.contact-status-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	box-shadow: none;
}

.contact-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.content-box:has(.contact-success) {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	background: #eaeaea;
	border: none;
	box-shadow: none;
	padding: 54px 16px 16px;
}

.contact-success {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	max-width: 260px;
	color: #000;
	text-align: center;
}

.contact-success-icon {
	width: 48px;
	height: 48px;
	flex: 0 0 auto;
	filter: grayscale(100%);
	opacity: 0.72;
	image-rendering: pixelated;
	margin-bottom: 10px;
}

.contact-success-copy {
	min-width: 0;
}

.contact-success p {
	margin: 0 0 4px;
}

.contact-success-title {
	color: #000;
	margin-bottom: 12px !important;
}

.contact-success p:last-child {
	margin-bottom: 0;
}
  
  
  

/* CD PLAYER  */
.cd-player-wrap {
	height: 100%;
	box-sizing: border-box;
	display: flex;
	gap: 8px;
	align-items: stretch;
	background: #d3d1d1;
	border: 1px solid #808080;
	box-shadow: inset 1px 1px #ffffff,
    inset -1px -1px #404040;
	padding: 6px;
}

.cd-cover {
	width: 110px;
	height: 110px;
	flex-shrink: 0;
	border: 1px solid #808080;
	box-shadow: inset 1px 1px #ffffff,
    inset -1px -1px #404040;
	background: #999;
}

.cd-cover img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	filter: grayscale(100%);
	opacity: 0.85;
}

.cd-panel {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.cd-select {
	width: 95%;
	height: 24px;
	font-size: 11px;
	padding-right: 18px;
	border: 1px solid #808080;
	background: #fff;
	box-shadow: inset 1px 1px #808080,
    inset -1px -1px #ffffff;
	letter-spacing: 0.5px;
}

.cd-time-row {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #000;
	font-size: 12px;
	margin: 8px 0 8px;
}

.cd-progress {
	flex: 1;
    width:95%;
	height: 4px;
	appearance: none;
	-webkit-appearance: none;
	background: #c0c0c0;
	border: 1px solid #808080;
	box-shadow: inset 1px 1px #404040,
    inset -1px -1px #ffffff;
}

.cd-progress::-webkit-slider-thumb {
	appearance: none;
	-webkit-appearance: none;
	width: 8px;
	height: 18px;
	background: #c0c0c0;
	border: 1px solid #000;
	box-shadow: inset 1px 1px #ffffff,
    inset -1px -1px #808080;
	cursor: pointer;
}

.cd-progress::-moz-range-thumb {
	width: 8px;
	height: 18px;
	background: #c0c0c0;
	border: 1px solid #000;
	box-shadow: inset 1px 1px #ffffff,
    inset -1px -1px #808080;
	cursor: pointer;
	border-radius: 0;
}

.cd-buttons {
	display: flex;
	gap: 10px;
	margin-top: auto;
}

.cd-btn {
	width: 48px;
	height: 28px;
	border: 1px solid #808080;
	background: #c0c0c0;
	box-shadow: inset 1px 1px #ffffff,
    inset -1px -1px #404040;
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
	color: #000;
}

.cd-btn:active {
	box-shadow: inset -1px -1px #ffffff,
    inset 1px 1px #404040;
}

.cd-btn.playing {
	font-size: 13px;
}
  
  
  
  


/* TASKBAR */
#taskbar {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	height: var(--taskbar-height);
	background: #c0c0c0;
	border-top: 1px solid #ffffff;
	box-shadow: inset 0 1px #808080;
	display: flex;
	align-items: center;
	padding: 0 5px;
	gap: 4px;
	z-index: 1000;
}
  
/* Clock */
#taskbar-clock {
	font-size: 12px;
	padding: 2px 6px;
	background: #c0c0c0;
	border: 1px solid #808080;
	box-shadow: inset 1px 1px #ffffff,
    inset -1px -1px #404040;
	color: #000;
}
  
  
/* Taskbar windows */
#taskbar-windows {
	flex: 1;
	display: flex;
	gap: 4px;
	margin-left: 6px;
	min-width: 0;
}


/* Taskbar buttons */
.taskbar-btn {
	font-size: 13px;
	letter-spacing: 1px;
	background: #c0c0c0;
	border: 1px solid #808080;
	box-shadow: inset 1px 1px #ffffff,
    inset -1px -1px #404040;
	color: #000;
	padding: 2px 6px;
	cursor: pointer;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 150px;
}

.taskbar-btn:hover {
	background: #d4d0c8;
}

.taskbar-btn:active {
	transform: translateY(1px);
}

.taskbar-btn.active {
	background: linear-gradient(90deg, #a0a0a0, #c8c8c8);
	color: black;
	box-shadow: inset 1px 1px #ffffff,
    inset -1px -1px #808080;
} 
  
  
  

  

/* START BUTTON */
#start-btn {
	background: #c0c0c0;
	border: 1px solid #808080;
	box-shadow: inset 1px 1px #ffffff,
    inset -1px -1px #404040;
	color: #000;
	padding: 2px 6px;
	cursor: pointer;
	font-size: 13px;
	font-weight: bold;
	letter-spacing: 2px;
}

#start-btn.active {
	box-shadow: inset -1px -1px #ffffff,
    inset 1px 1px #404040;
}






/* START MENU */
#start-menu {
	position: fixed;
	bottom: var(--taskbar-height);
	left: 0;
	width: 220px;
	background: #c0c0c0;
	border: 1px solid #808080;
	box-shadow: inset 1px 1px #ffffff,
    inset -1px -1px #404040,
    2px 2px 6px rgba(0,0,0,0.4);
	padding: 3px;
	padding-left: 30px;
	display: none;
	z-index: 1001;
	font-size: 13px;
}

#start-menu .sm-list,
#start-menu .sm-sub {
	list-style: none;
	margin: 0;
	padding: 2px;
}

#start-menu .sm-item {
	position: relative;
	margin: 0;
	padding: 0;
}

#start-menu .sm-link {
	display: grid;
	grid-template-columns: 26px 1fr 14px;
	align-items: center;
	column-gap: 6px;
	padding: 6px 6px;
	color: #000;
	text-decoration: none;
	white-space: nowrap;
	user-select: none;
}

#start-menu .sm-ico {
	height: 22px;
	width: 22px;
	filter: grayscale(100%);
	opacity: 0.7;
}

#start-menu .sm-text {
	line-height: 1;
}

#start-menu .sm-arrow {
	justify-self: end;
	font-size: 10px;
	line-height: 1;
	margin-top: 1px;
	opacity: 0.9;
}

#start-menu .sm-sep {
	height: 1px;
	margin: 4px 2px;
	background: #808080;
	box-shadow: 0 1px #ffffff;
}

#start-menu .sm-link:hover,
#start-menu .sm-item:hover > .sm-link {
	background: linear-gradient(#808080,#404040);
	color: #ffffff;
	filter: grayscale(100%);
}

#start-menu .sm-link:hover .sm-ico,
#start-menu .sm-item:hover > .sm-link .sm-ico {
	filter: none;
}

#start-menu .has-sub > .sm-sub {
	position: absolute;
	left: calc(100% - 3px);
	top: -3px;
	min-width: 220px;
	background: #c0c0c0;
	border: 1px solid #808080;
	box-shadow: inset 1px 1px #ffffff,
    inset -1px -1px #404040,
    2px 2px 6px rgba(0,0,0,0.35);
	display: none;
	z-index: 1002;
}

#start-menu .has-sub:hover > .sm-sub,
#start-menu .has-sub:focus-within > .sm-sub {
	display: block;
}

  
  
/* Vertical Title on the Start menu */
.start-sidebar {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 28px;
	background: linear-gradient(#808080,#404040);
	border-right: 1px solid #ffffff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	padding-bottom: 8px;
}


.start-sidebar span {
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	font-size: 13px;
	color: #ffffff;
	font-weight: bold;
	letter-spacing: 1px;
}

  
  
  
  
/* This will appear when pressing SHUT DOWN */
#shutdown-screen {
	position: fixed;
	inset: 0;
	background: #000;
	color: #fff;
	display: none;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	z-index: 9999;
}

.shutdown-text {
	text-align: center;
}


  
  

/* SCROLLBARS */
:where(body, .content-box, .projects-tab-list, .desktop-icons, #taskbar-windows, textarea, .scroll)::-webkit-scrollbar {
	width: 16px;
	height: 16px;
}

:where(body, .content-box, .projects-tab-list, .desktop-icons, #taskbar-windows, textarea, .scroll)::-webkit-scrollbar-track {
	background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAIAAAD91JpzAAAAFElEQVQIW2M4fPz0////GYAYyAIASnoKpV3w4kgAAAAASUVORK5CYII=");
	image-rendering: pixelated;
	filter: grayscale(100%);
}

:where(body, .content-box, .projects-tab-list, .desktop-icons, #taskbar-windows, textarea, .scroll)::-webkit-scrollbar-track:active {
	background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAIAAAD91JpzAAAAEElEQVQIW2No6+pjgAAgCwAWogM9VKrgGQAAAABJRU5ErkJggg==");
	filter: grayscale(100%);
}

:where(body, .content-box, .projects-tab-list, .desktop-icons, #taskbar-windows, textarea, .scroll)::-webkit-scrollbar-thumb {
	border-top: 1px solid #cccccc;
	border-left: 1px solid #cccccc;
	border-right: 1px solid black;
	border-bottom: 1px solid black;
	box-shadow: inset 1px 1px 0 0 white, inset -1px -1px 0 0 #868a8e;
	width: 16px;
	height: 16px;
	background-color: #cccccc;
	z-index: 1;
}

:where(body, .content-box, .projects-tab-list, .desktop-icons, #taskbar-windows, textarea, .scroll)::-webkit-scrollbar-corner {
	background-color: #cccccc;
}

:where(body, .content-box, .projects-tab-list, .desktop-icons, #taskbar-windows, textarea, .scroll)::-webkit-resizer {
	width: 16px;
	height: 16px;
	background-color: #cccccc;
	background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAN0lEQVR4Ae3MgQUAMBRDwU5fFF05lb/CARTBw2Ulof0DxPtcwp3hNuEYnjbcEW4TjuFpwx3h9gMWGgZ2Y/PT2gAAAABJRU5ErkJggg==");
	background-position: bottom right;
	background-repeat: no-repeat;
	image-rendering: pixelated;
}

:where(body, .content-box, .projects-tab-list, .desktop-icons, #taskbar-windows, textarea, .scroll)::-webkit-scrollbar-button,
.scroll::-webkit-scrollbar-button {
	border-top: 1px solid #cccccc;
	border-left: 1px solid #cccccc;
	border-right: 1px solid black;
	border-bottom: 1px solid black;
	box-shadow: inset 1px 1px 0 0 white, inset -1px -1px 0 0 #868a8e;
	display: block;
	width: 16px;
	height: 16px;
	background-color: #cccccc;
	image-rendering: pixelated;
	background-repeat: no-repeat;
	background-position: center center;
}

:where(body, .content-box, .projects-tab-list, .desktop-icons, #taskbar-windows, textarea, .scroll)::-webkit-scrollbar-button:active,
.scroll::-webkit-scrollbar-button:active {
	background-position: 2px 2px;
}

:where(body, .content-box, .projects-tab-list, .desktop-icons, #taskbar-windows, textarea, .scroll)::-webkit-scrollbar-button:horizontal:decrement,
.scroll::-webkit-scrollbar-button:horizontal:decrement {
	background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAQAAAD8fJRsAAAAHklEQVQY02NgoBT8xyX8H5fwf1zCpOjAYwceV1EEAAO2D/HsQ4vsAAAAAElFTkSuQmCC");
}

:where(body, .content-box, .projects-tab-list, .desktop-icons, #taskbar-windows, textarea, .scroll)::-webkit-scrollbar-button:horizontal:increment,
.scroll::-webkit-scrollbar-button:horizontal:increment {
	background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAQAAAD8fJRsAAAAHUlEQVQY02NgIB/8xy3xH7fEf9wS/0nUQZqrKAYAK44P8ZRmzLQAAAAASUVORK5CYII=");
}

:where(body, .content-box, .projects-tab-list, .desktop-icons, #taskbar-windows, textarea, .scroll)::-webkit-scrollbar-button:vertical:decrement,
.scroll::-webkit-scrollbar-button:vertical:decrement {
	background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAGklEQVR4AWMYxuA/SYphmETFhDX9x4mHGQAAcL4P8dQiMq8AAAAASUVORK5CYII=");
}

:where(body, .content-box, .projects-tab-list, .desktop-icons, #taskbar-windows, textarea, .scroll)::-webkit-scrollbar-button:vertical:increment,
.scroll::-webkit-scrollbar-button:vertical:increment {
	background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAQAAAD8fJRsAAAAF0lEQVQY02NgoBf4jwJxSOHQhcNAOgMAWWAP8Rv2U3UAAAAASUVORK5CYII=");
}

:where(body, .content-box, .projects-tab-list, .desktop-icons, #taskbar-windows, textarea, .scroll)::-webkit-scrollbar-button:horizontal:increment:start,
.scroll::-webkit-scrollbar-button:horizontal:increment:start,
:where(body, .content-box, .projects-tab-list, .desktop-icons, #taskbar-windows, textarea, .scroll)::-webkit-scrollbar-button:horizontal:decrement:end,
.scroll::-webkit-scrollbar-button:horizontal:decrement:end,
:where(body, .content-box, .projects-tab-list, .desktop-icons, #taskbar-windows, textarea, .scroll)::-webkit-scrollbar-button:vertical:increment:start,
.scroll::-webkit-scrollbar-button:vertical:increment:start,
:where(body, .content-box, .projects-tab-list, .desktop-icons, #taskbar-windows, textarea, .scroll)::-webkit-scrollbar-button:vertical:decrement:end,
.scroll::-webkit-scrollbar-button:vertical:decrement:end {
	display: none;
}

:where(body, .content-box, .projects-tab-list, .desktop-icons, #taskbar-windows, textarea, .scroll)::-webkit-scrollbar-button:active,
.scroll::-webkit-scrollbar-button:active {
	border-top: 1px solid #868a8e;
	border-left: 1px solid #868a8e;
	border-bottom: 1px solid #868a8e;
	border-right: 1px solid #868a8e;
	box-shadow: none;
}


@media (max-width: 700px) {
	.desktop-note {
		display: none;
	}
}

@media (min-width: 821px) and (max-width: 1379px) {
	.desktop-note {
		display: none;
	}
}

@media (min-width: 821px) and (max-width: 1099px) {
	html,
	body {
		max-width: 100%;
		overflow-x: hidden;
	}

	body {
		min-height: 100vh;
		padding: 16px 16px calc(var(--taskbar-height) + 16px);
	}

	.desktop-note {
		display: none;
	}

	.app-window {
		max-width: calc(100vw - var(--compact-window-left) - var(--compact-window-margin));
		max-height: calc(100vh - var(--taskbar-height) - 24px);
	}

	.window-content {
		min-height: 0;
	}

	.content-box {
		max-height: 100%;
	}

	.app-window.franklin-window {
		max-width: calc(100vw - (var(--compact-window-margin) * 2));
		max-height: calc(100vh - var(--taskbar-height) - 24px);
	}

	#taskbar {
		height: var(--taskbar-height);
	}

	#taskbar-windows {
		overflow-x: auto;
		overflow-y: hidden;
	}

	#start-menu {
		bottom: var(--taskbar-height);
	}
}

@media (max-width: 820px) {
	:root {
		--mobile-taskbar-height: calc(38px + env(safe-area-inset-bottom));
		--mobile-scrollbar-clearance: 16px;
		--mobile-taskbar-reserved-height: calc(var(--mobile-taskbar-height) + var(--mobile-scrollbar-clearance));
	}

	html {
		height: 100%;
		overflow: hidden;
	}

	body {
		height: calc(100dvh - var(--mobile-taskbar-reserved-height));
		padding: 0 12px calc(12px + var(--mobile-scrollbar-clearance));
		overflow-x: hidden;
		overflow-y: auto;
		scrollbar-gutter: stable;
	}

	.desktop-note {
		display: none;
	}

	.desktop-icons {
		position: sticky;
		top: 0;
		left: auto;
		z-index: 900;
		display: flex;
		flex-direction: row;
		gap: 10px;
		margin: 0 -12px 14px;
		padding: max(8px, env(safe-area-inset-top)) 12px 8px;
		overflow-x: auto;
		background: #d8d8d8;
		border-bottom: 1px solid #aaa;
		box-shadow: inset 0 -1px #fff;
	}

	.desktop-icon {
		flex: 0 0 68px;
		font-size: 11px;
		line-height: 1.1;
		text-align: center;
	}

	.desktop-icon img {
		height: 26px;
		margin-bottom: 5px;
	}

	.app-window {
		position: static !important;
		left: auto !important;
		top: auto !important;
		z-index: auto !important;
		width: 100% !important;
		max-width: 640px;
		height: auto !important;
		min-height: 0;
		margin: 0 auto 14px;
		scroll-margin-top: calc(88px + env(safe-area-inset-top));
	}

	.window-header {
		cursor: default;
	}

	.window-content {
		flex: 0 1 auto;
		min-height: 0;
		margin: 8px;
	}

	.content-box {
		height: auto !important;
		max-height: none;
		overflow: visible;
	}

	.content-box:has(.portfolio-access-form) {
		overflow: visible;
	}

	.content-box:has(.projects-tabs) {
		overflow: visible;
	}

	.projects-tabs {
		height: auto;
	}

	.projects-tab-list {
		flex-wrap: nowrap;
		margin-right: -4px;
		padding-bottom: 2px;
	}

	.projects-tab-list::after {
		content: "";
		flex: 0 0 5px;
	}

	.projects-tab {
		min-height: 28px;
		padding: 5px 9px 4px;
		font-size: 12px;
	}

	.projects-tab[aria-selected="true"] {
		min-height: 31px;
	}

	.projects-tab-panel-shell {
		overflow: visible;
		padding: 10px;
	}

	.projects-overview-grid {
		grid-template-columns: 1fr;
	}

	.projects-overview-grid ul {
		display: flex;
		flex-wrap: wrap;
		gap: 5px 14px;
	}

	.projects-overview-grid li {
		margin-bottom: 0;
	}

	.window-img {
		height: auto;
		max-height: 55vh;
		object-fit: contain;
	}

	.paint-frame {
		display: block;
		width: 100%;
		max-width: 100%;
		height: 430px;
	}

	.app-window.franklin-window {
		max-width: 100%;
		height: clamp(320px, calc(100dvh - var(--mobile-taskbar-reserved-height) - 122px), 620px) !important;
	}

	.franklin-window .window-content {
		flex: 1 1 auto;
		min-height: 0;
	}

	.franklin-window .content-box {
		height: 100% !important;
		overflow: hidden;
	}

	.franklin-window .franklin-image {
		object-fit: cover;
		object-position: center center;
	}

	.cd-player-window .window-content {
		margin: 6px;
	}

	.cd-player-wrap {
		height: auto;
		align-items: flex-start;
	}

	#taskbar {
		height: var(--mobile-taskbar-reserved-height);
		padding: 4px 4px calc(4px + env(safe-area-inset-bottom));
		align-items: flex-start;
	}

	#taskbar-windows {
		height: calc(100% - 8px - env(safe-area-inset-bottom));
		align-items: flex-start;
		overflow-x: auto;
		overflow-y: hidden;
	}

	.taskbar-btn {
		flex: 0 0 auto;
		align-self: flex-start;
		max-width: 120px;
	}

	#start-btn,
	#taskbar-clock {
		align-self: flex-start;
	}

	#start-menu {
		bottom: var(--mobile-taskbar-reserved-height);
		max-width: calc(100vw - 12px);
	}

	.contact-success {
		max-width: 100%;
	}

	.contact-success-icon {
		width: 42px;
		height: 42px;
	}

	.contact-form input,
	.contact-form textarea {
		font-size: 16px;
		line-height: 1.2;
	}
}

@supports (-webkit-touch-callout: none) {
	@media (max-width: 820px) and (hover: none) and (pointer: coarse) {
		:root {
			--mobile-scrollbar-clearance: 0px;
		}
	}
}

@media (max-width: 430px) {
	.cd-player-wrap {
		flex-direction: column;
	}

	.cd-cover {
		width: 92px;
		height: 92px;
	}

	.cd-select,
	.cd-progress {
		width: 100%;
	}
}
