@import url("https://fonts.googleapis.com/css?family=Raleway|Open+Sans|Arapey|Roboto+Slab|Josefin+Sans|Montserrat");
/*@import url('https://fonts.googleapis.com/css?family=Zilla+Slab|Reem+Kufi|Lato|Quattrocento+Sans|Jura|Chakra+Petch|VT323|Aldrich|Lekton|Inconsolata|Share+Tech+Mono');*/
@import url("https://fonts.googleapis.com/css?family=Space+Mono");
@import url("https://fonts.googleapis.com/css?family=Kode+Mono|EB+Garamond");
html,
body {
  background-color: #f9fff9;
  background-color: #214600;
  background-image: url("./img/windows.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0;
  height: 100vh;
  font-family: "Lato";
  transition: 0.4s all;
  overflow-x: hidden;
  padding: 0;
}

.window {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-shadow: 3px 3px 10px #111;
  z-index: 2;
}

#window-welcome {
  position: absolute;
  top: 28vh;
  left: 12vw;
  width: 36vw;
  max-width: calc(100vw - 24px);
  box-sizing: border-box;
  animation-delay: 0s;
}

#window-photo {
  position: absolute;
  top: 70vh;
  left: 13vw;
  width: 300px;
  animation-delay: 1.5s;
}
#window-photo .photo-image {
  width: 100%;
  margin: 0;
  padding: 0;
  height: 200px;
  overflow: hidden;
}
#window-photo .photo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#window-mood {
  position: absolute;
  top: 50vh;
  left: 44vw;
  width: 40vw;
  box-sizing: border-box;
  animation-delay: 0.5s;
}
#window-mood .mood-div {
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  font-family: "Space Mono";
  background-color: #fff;
  padding: 15px 0 15px 15px;
  z-index: 1;
}
@media (min-width: 700px) {
  #window-mood .mood-div {
    height: auto;
  }
}
#window-mood .mood-div p {
  color: #202020;
}
#window-mood .mood-div a {
  color: #555;
}

#window-message {
  position: absolute;
  top: 16vh;
  left: 65%;
  width: 400px;
  animation-delay: 1s;
}
#window-message .toolbar {
  z-index: 0;
}

#window-projects {
  justify-content: flex-start;
  background-color: #454;
  background-color: white;
  text-align: left;
  z-index: 3;
  width: 85vw;
  position: absolute;
  top: 5vh;
  left: 7vw;
}

#window-blog {
  justify-content: flex-start;
  background-color: #454;
  background-color: white;
  text-align: left;
  z-index: 3;
  width: 94vw;
  position: absolute;
  top: 8vh;
  left: 3vw;
  height: 90vh;
}

.blog-wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow-x: scroll;
}

#blog-post {
  width: 100%;
  height: 100%;
  display: flex;
  flex-grow: 1;
  border: none;
  box-sizing: border-box;
}
@media (max-width: 1000px) {
  #blog-post {
    padding: 18px;
    box-sizing: border-box;
  }
}

.blog-front {
  padding: 30px;
}

.article {
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.article .article-text {
  width: 66%;
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  padding-bottom: 50px;
}
.article .article-header {
  width: 66%;
  height: 500px;
  margin: 0 auto;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (max-width: 700px) {
  .article .article-header {
    width: 100%;
    height: 250px;
  }
}
.article .article-details {
  font-size: 13px;
  color: #ccc;
}
.article h1 {
  margin-top: 10px;
}

.article-container {
  display: flex;
  width: 100%;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  padding-bottom: 60px;
  box-sizing: border-box;
}
.article-container a {
  width: 31%;
  margin-right: 20px;
}

.article-preview-link {
  text-decoration: none;
  color: black;
  margin-bottom: 20px;
  position: relative;
  border-radius: 2px;
  background-color: white;
}
.article-preview-link img {
  width: 100%;
  height: 250px;
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.article-preview-link:hover {
  opacity: 0.7;
}

.article-preview {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  border-radius: 2px;
  flex-direction: column;
  margin-bottom: 20px;
}
.article-preview .details {
  font-size: 11px;
  color: #999;
  margin-top: 275px;
}
.article-preview h3 {
  margin: 0;
  font-weight: 400;
  font-family: "Space Mono";
}
.article-preview p {
  font-size: 12px;
  margin: 0;
  font-family: "Space Mono";
}

.browser-bar {
  height: 48px;
  background-color: #565656;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding: 5px;
  box-sizing: border-box;
  border-bottom: 1px solid #333;
}
.browser-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
}
.browser-bar img {
  width: 20px;
  height: 20px;
  fill: #aaa;
  filter: invert(93%) sepia(100%) saturate(0%) hue-rotate(172deg) brightness(107%) contrast(107%);
  filter: invert(83%) sepia(2%) saturate(9%) hue-rotate(353deg) brightness(82%) contrast(93%);
}
.browser-bar #browser-bar-address {
  background-color: #868686;
  color: #ccc;
  border: 1px solid #aaa;
  width: 80%;
  margin-left: 20px;
  font-family: "Open Sans";
  padding: 3px 6px;
  font-size: 12px;
  border-radius: 2px;
}

/* ── Settings window ─────────────────────────────────────── */
#window-settings {
  position: absolute;
  top: 7vh;
  left: 3vw;
  width: 360px;
}

/* Tab strip */
#window-settings .xp-settings-tabs {
  background: #ece9d8;
  border-bottom: 1px solid #aca899;
  padding: 6px 8px 0;
  display: flex;
  gap: 2px;
}
.xp-tab {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  padding: 3px 12px 4px;
  border: 1px solid #aca899;
  border-bottom: none;
  background: #d4d0c8;
  cursor: default;
  border-radius: 3px 3px 0 0;
  color: #444;
  position: relative;
  top: 1px;
}
.xp-tab.xp-tab-active {
  background: #ece9d8;
  color: #000;
  font-weight: bold;
  border-color: #aca899;
  z-index: 1;
}

/* Settings body */
.xp-settings-body {
  background: #ece9d8;
  padding: 10px 10px 8px;
  font-family: "Space Mono", monospace;
  font-size: 11px;
}

/* XP group box */
.xp-group {
  border: 1px solid;
  border-color: #808080 #dfdfdf #dfdfdf #808080;
  padding: 12px 8px 8px;
  margin-bottom: 10px;
  position: relative;
  background: #ece9d8;
}
.xp-group-label {
  position: absolute;
  top: -8px;
  left: 8px;
  background: #ece9d8;
  padding: 0 4px;
  font-family: "Space Mono", monospace;
  font-size: 11px;
  color: #000;
}

/* Color swatches */
#window-settings #settings .settings-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 4px;
}
#window-settings #settings .color-t {
  width: 28px;
  height: 28px;
  border-radius: 0;
  margin: 0;
  cursor: pointer;
  border: 2px solid;
  border-color: #808080 #dfdfdf #dfdfdf #808080;
  box-sizing: border-box;
  position: relative;
}
#window-settings #settings .color-t:hover {
  border-color: #0d73fc;
  outline: 1px solid #0d73fc;
  outline-offset: 1px;
}
#window-settings #settings .color-t.selected::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 0 3px rgba(0,0,0,0.7);
  display: grid;
  place-items: center;
}

/* Swatch colors — keep background-color & color so JS can read them */
#window-settings #settings #blue   { background-color: #0d73fc; color: hsl(214, 85%, 60%); }
#window-settings #settings #white  { background-color: #A1BBF1; color: #5b9fc8; }
#window-settings #settings #pink   { background-color: #ee5881; color: #a02050; }
#window-settings #settings #green  { background-color: #6A981E; color: #3a5a08; }
#window-settings #settings #black  { background-color: black;   color: #444;    }
#window-settings #settings #gray   { background-color: #333;    color: #666;    }

/* OK button row */
.xp-settings-btnrow {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}
.xp-dlg-btn {
  font-family: "Space Mono", monospace;
  font-size: 10px;
  padding: 3px 0;
  min-width: 72px;
  background: #ece9d8;
  border: 1px solid;
  border-color: #dfdfdf #808080 #808080 #dfdfdf;
  cursor: pointer;
  color: #000;
}
.xp-dlg-btn:hover { background: #d4d0c8; }
.xp-dlg-btn:active { border-color: #808080 #dfdfdf #dfdfdf #808080; }

/* Wallpaper thumbnails */
.settings-wallpapers {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.wallpaper-t {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: none;
  border: 2px solid transparent;
  padding: 2px;
  cursor: pointer;
}
.wallpaper-t:hover { border-color: #0a246a; }
.wallpaper-t.selected {
  border-color: #0a246a;
  outline: 1px solid #0a246a;
  outline-offset: 1px;
}
.wallpaper-thumb {
  width: 80px;
  height: 52px;
  background-size: cover;
  background-position: center;
  border: 1px solid #808080;
  box-shadow: inset 1px 1px 0 #fff;
}

/* Font selector */
.settings-fonts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.font-t {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ece9d8;
  border: 2px solid transparent;
  padding: 6px 10px;
  cursor: pointer;
  min-width: 52px;
  box-shadow: 1px 1px 0 #fff inset, -1px -1px 0 #808080 inset;
}
.font-t:hover { border-color: #0a246a; }
.font-t.selected {
  border-color: #0a246a;
  outline: 1px solid #0a246a;
  outline-offset: 1px;
}
.font-t .font-preview {
  font-size: 20px;
  line-height: 1;
  color: #000;
}

/* Size picker */
.settings-sizes {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}
.size-t {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ece9d8;
  border: 2px solid transparent;
  padding: 4px 12px;
  cursor: pointer;
  min-width: 40px;
  min-height: 38px;
  box-shadow: 1px 1px 0 #fff inset, -1px -1px 0 #808080 inset;
  color: #000;
  line-height: 1;
}
.size-t:hover { border-color: #0a246a; }
.size-t.selected {
  border-color: #0a246a;
  outline: 1px solid #0a246a;
  outline-offset: 1px;
}

.toolbar {
  background: #0d73fc;
  box-sizing: border-box;
  height: 26px;
  width: 100%;
  z-index: 20;
  border-radius: 2px;
  transition: 0.4s all;
  padding-left: 5px;
  display: flex;
  flex-direction: row;
  align-items: center;
  cursor: move;
  justify-content: flex-start;
}
.toolbar .toolbar-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 100%;
  background: white;
  cursor: pointer;
  margin: 5px;
  border: none;
}
.toolbar .toolbar-button i {
  display: inline-block;
  font-size: 9px;
  margin: -2em;
  padding: 2em;
}
.toolbar .toolbar-button:focus {
  outline: none !important;
}
.toolbar .toolbar-button::-moz-focus-inner {
  border: 0;
}
.toolbar .toolbar-title {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  box-sizing: border-box;
  transition: 0.4s all;
  background-color: hsl(214, 85%, 60%);
  cursor: pointer;
  color: white;
  padding: 0 10px;
  margin-left: 15px;
  border-top: 2px solid #eeaa77;
  font-size: 14px;
  font-family: "Courier";
}
.toolbar .red {
  background-color: #cc7777;
}
.toolbar .yellow {
  background-color: #ccbb77;
}
.toolbar .green {
  background-color: #77cc77;
}

#welcome-section {
  height: 95vh;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: left;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}
#welcome-section #profile-image {
  width: 100%;
  filter: grayscale(70%);
  -o-object-fit: cover;
     object-fit: cover;
}
#welcome-section .welcome-div {
  width: 100%;
  height: 100%;
  padding: 0;
  font-family: "Space Mono";
  background: #ece9d8;
  box-sizing: border-box;
  border-radius: 2px;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

/* IE toolbar */
#welcome-section .ie-toolbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: #d4d0c8;
  border-bottom: 1px solid #808080;
  padding: 3px 5px;
  gap: 4px;
  flex-shrink: 0;
}
#welcome-section .ie-nav-btn {
  font-size: 9px;
  color: #333;
  background: #d4d0c8;
  border: 1px solid;
  border-color: #fff #808080 #808080 #fff;
  padding: 2px 6px;
  cursor: pointer;
  font-family: "Space Mono";
  line-height: 1;
}
#welcome-section .ie-nav-btn:active {
  border-color: #808080 #fff #fff #808080;
}
#welcome-section .ie-address-row {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 4px;
}
#welcome-section .ie-address-label {
  font-family: "Space Mono";
  font-size: 10px;
  color: #333;
  white-space: nowrap;
  padding: 0 3px;
}
#welcome-section .ie-address-input {
  flex: 1;
  min-width: 0;
  font-family: "Space Mono";
  font-size: 10px;
  color: #000;
  background: #fff;
  border: 1px solid;
  border-color: #808080 #dfdfdf #dfdfdf #808080;
  padding: 2px 5px;
  outline: none;
  cursor: default;
  overflow: hidden;
  text-overflow: ellipsis;
}
#welcome-section .ie-go-btn {
  font-family: "Space Mono";
  font-size: 10px;
  color: #333;
  background: #d4d0c8;
  border: 1px solid;
  border-color: #fff #808080 #808080 #fff;
  padding: 2px 8px;
  cursor: pointer;
  white-space: nowrap;
}
#welcome-section .ie-go-btn:active {
  border-color: #808080 #fff #fff #808080;
}
#welcome-section .ie-nav-btn--disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}
#welcome-section .welcome-mission-frame {
  width: 100%;
  flex: 1 1 auto;
  border: none;
  min-height: 320px;
}
#welcome-section .welcome-div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  /* background-image: url("img/gamithra-bg.png"); */
  background-size: cover;
  filter: grayscale(70%);
  box-sizing: border-box;
}
#welcome-section .welcome-bg-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  z-index: -1;
  overflow: hidden;
  display: none;
}
#welcome-section .welcome-bg-wrapper img {
  filter: grayscale(70%);
  width: 100%;
}
#welcome-section h1 {
  margin: 20px 0 10px 0;
  z-index: 1;
  font-family: "Aldrich";
  font-family: "Space Mono";
  font-weight: 200;
  font-size: 28px;
  color: white;
}
#welcome-section h4 {
  margin: 10px 0 10px 0;
  z-index: 1;
  font-size: 18px;
  font-weight: 200;
  width: 50vw;
  text-align: center;
  color: #222;
}
#welcome-section a {
  text-decoration: none;
  z-index: 1;
  color: #0d73fc;
}
#welcome-section p {
  margin: 0;
  padding: 0;
  font-size: 12px;
  z-index: 1;
  color: #222;
}

/* grid container */
#welcome-section #welcome-bullet {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "present"
    "past";
  gap: 10px;
  padding: 12px;
  width: 100%;
  box-sizing: border-box;
  font-size: 12px;
  font-weight: 200;
  text-align: left;
  flex: 1 1 auto;
}
#welcome-section #welcome-bullet div {
  display: flex;
  flex-direction: column;
}

/* XP group box */
#welcome-section #welcome-bullet .welcome-present {
  grid-area: present;
  background: #fff;
  border: 1px solid;
  border-color: #dfdfdf #808080 #808080 #dfdfdf;
  overflow: hidden;
}

/* section header bars */
#welcome-section #welcome-bullet .welcome-heading {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 10px;
  margin: 0 0 6px 0;
  border: none;
  border-radius: 0;
  color: #fff;
  background: #0d73fc;
}
#welcome-section #welcome-bullet .welcome-present .welcome-heading {
  background: linear-gradient(90deg, #e8457a, #ff6b9d);
}
#welcome-section #welcome-bullet .welcome-present .welcome-heading {
  display: flex;
  align-items: center;
}
#welcome-section #welcome-bullet .welcome-present .welcome-heading::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #66ff88;
  margin-right: 7px;
  animation: blink-dot 1.8s step-start infinite;
}
@keyframes blink-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* present / future items */
#welcome-section #welcome-bullet div p.present,
#welcome-section #welcome-bullet div p.future {
  padding: 3px 10px 3px 14px;
  margin: 2px 0;
  font-size: 12px;
  color: #222;
  line-height: 1.5;
  border-left: 3px solid transparent;
  word-break: break-word;
  overflow-wrap: break-word;
}
#welcome-section #welcome-bullet div p.present {
  border-left-color: #ff85a1;
}
#welcome-section #welcome-bullet div p.present .link-overlay::after {
  background-color: #ffb3c6;
}

/* past strip */
#welcome-section #welcome-bullet .welcome-past {
  grid-area: past;
  background: #d4d0c8;
  border: 1px solid;
  border-color: #808080 #dfdfdf #dfdfdf #808080;
  padding: 6px 10px;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}
#welcome-section #welcome-bullet .welcome-past .welcome-heading {
  background: #c46e00;
  color: #fff;
  font-size: 9px;
  padding: 2px 7px;
  margin: 0 8px 0 0;
  letter-spacing: 0.12em;
  display: inline-block;
  width: auto;
  border-radius: 2px;
}
#welcome-section #welcome-bullet .welcome-past p.past {
  display: inline;
  font-size: 10px;
  color: #555;
  margin: 0;
  padding: 0;
  white-space: normal;
  word-break: break-word;
}
#welcome-section #welcome-bullet .welcome-past p.past::after {
  content: " · ";
  color: #999;
}
#welcome-section #welcome-bullet .welcome-past p.past:last-child::after {
  content: "";
}
#welcome-section #welcome-bullet .welcome-past a {
  color: #444;
}
#welcome-section #welcome-bullet hr {
  display: none;
}

#contact {
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}
#contact h6,
#contact a {
  margin: 0px 0;
  padding: 0;
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  font-weight: 200;
  font-family: "Space Mono";
}

#resume a {
  text-decoration: none;
  color: #588;
  font-size: 11px;
  padding-top: 0px;
}

hr {
  color: black;
  width: 20vw;
}

/* ── XP Start button ─────────────────────────────────────── */
#start-btn {
  flex-shrink: 0;
  align-self: stretch;
  padding: 0 16px;
  margin-right: 8px;
  background: #3a9820;
  border: none;
  border-radius: 0;
  color: #fff;
  font-family: "Space Mono", monospace;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  text-shadow: 0 1px 1px rgba(0,0,0,0.4);
  letter-spacing: 0.04em;
  position: relative;
  z-index: 10001;
}
#start-btn:hover { background: #46b226; }
#start-btn:active,
#start-btn.active { background: #2d7a18; }

/* ── XP Start menu (early 2000s Luna) ───────────────────── */
#start-menu {
  position: fixed;
  top: 40px;
  left: 0;
  width: 370px;
  z-index: 10000;
  border: 2px solid #003180;
  border-top: none;
  box-shadow: 4px 4px 8px rgba(0,0,0,0.5);
  border-radius: 0;
  overflow: hidden;
  font-family: "Space Mono", monospace;
}

.start-header {
  background: #1252b4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-bottom: 2px solid #083080;
}
.start-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  object-fit: cover;
  flex-shrink: 0;
}
.start-username {
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  text-shadow: 1px 1px 0 #00205a;
  letter-spacing: 0.02em;
}

/* Body: two columns */
.start-body {
  display: flex;
  min-height: 230px;
}

/* Left: programs (white) */
.start-programs {
  flex: 1;
  background: #fff;
  padding: 4px 0 4px;
  border-right: 1px solid #7598c9;
  display: flex;
  flex-direction: column;
}

.start-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  cursor: default;
  font-size: 11px;
  color: #000;
  white-space: nowrap;
  user-select: none;
  text-shadow: 0 1px 0 rgba(255,255,255,0.8);
}
.start-item:hover {
  background: #2050a0;
  color: #fff;
}
.start-item:hover .start-icon { color: #fff; }
.start-icon {
  font-size: 15px;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
  color: #2060b0;
  filter: drop-shadow(1px 1px 0 rgba(0,0,0,0.18));
}

/* Right: places (XP sidebar blue) */
.start-places {
  width: 138px;
  background: #4080c0;
  padding: 6px 0;
  display: flex;
  flex-direction: column;
}

.start-place {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  cursor: default;
  font-size: 11px;
  color: #fff;
  white-space: nowrap;
  user-select: none;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.4);
}
.start-place:hover {
  background: #1c5bae;
}
.start-place i {
  font-size: 15px;
  width: 17px;
  text-align: center;
  flex-shrink: 0;
  color: #d0e8ff;
}

.start-divider {
  height: 1px;
  background: #d0d0d0;
  margin: 4px 8px;
}
.start-places-divider {
  background: #2a6aae;
  margin: 4px 6px;
}

.start-footer {
  background: #0e3d8a;
  padding: 5px;
  display: flex;
  justify-content: flex-end;
  border-top: 2px solid #083080;
}
.start-shutdown-btn {
  background: #2a5ca4;
  border: 1px solid #6a9cd4;
  color: #fff;
  font-family: "Space Mono", monospace;
  font-size: 10px;
  padding: 3px 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 2px;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.4);
}
.start-shutdown-btn:hover { background: #3a6cb4; }
.start-shutdown-btn:active { filter: brightness(0.88); }

@media (max-width: 700px) {
  #start-btn {
    font-size: 11px;
    padding: 0 10px;
    margin-right: 4px;
    letter-spacing: 0;
  }
  #start-menu {
    top: 40px;
    width: 100vw;
    max-width: 370px;
  }
}

/* ── end Start menu ──────────────────────────────────────── */
#navbar {
  background-color: #0d73fc;
  top: 0;
  height: 40px;
  font-family: "Space Mono";
  display: flex;
  flex-direction: row;
  align-items: stretch;
  font-size: 14px;
  font-weight: 400;
  position: fixed;
  width: 100%;
  transition: 0.4s all;
}
#navbar .navbar-links {
  display: flex;
  list-style: none;
  justify-content: flex-start;
  align-items: center;
  box-sizing: border-box;
  height: 100%;
  padding: 0;
  flex: 1;
}
#navbar .navbar-links #nav-welcome-section {
  border-bottom: 2px solid #cfc;
}
#navbar .navbar-links #nav-photo {
  border-bottom: 2px solid #cfc;
}
#navbar .navbar-links #nav-mood {
  border-bottom: 2px solid #cfc;
}
#navbar .navbar-links #nav-message {
  border-bottom: none;
  display: none;
}
#navbar .navbar-links #nav-substack {
  border-bottom: 2px solid #cfc;
}
#navbar .navbar-links a {
  display: flex;
  align-items: center;
  text-align: left;
  text-decoration: none;
  transition: 0.4s all;
  color: #fff;
  width: auto;
  min-width: 100px;
  padding: 0 12px;
  margin: 2px 3px 2px 3px;
  height: 80%;
  font-size: 12px;
  background-color: hsl(214, 85%, 60%);
  box-sizing: border-box;
}
#navbar .navbar-info {
  display: flex;
  align-items: center;
  background-color: black;
  opacity: 0.5;
  height: 100%;
  font-size: 12px;
  box-sizing: border-box;
  color: white;
  padding: 10px;
  width: auto;
}
#navbar .navbar-info #navbar-settings {
  font-size: 16px;
}
#navbar .navbar-info div {
  padding: 0 6px;
}
#navbar-clock {
  white-space: nowrap;
  text-align: right;
}

.project-wrapper {
  overflow-y: auto;
  max-height: 80vh;
}

.project-section {
  display: flex;
  flex-direction: column;
}
.project-section .section-title {
  padding: 10px;
  margin: 0;
  width: 100%;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  background: black;
  font-family: "Open Sans";
  top: 0;
  box-sizing: border-box;
  margin-bottom: 20px;
}
.project-section .section-title h1 {
  font-weight: 200;
  color: white;
  max-width: 50%;
  font-size: 28px;
  margin: 0;
}
.project-section .section-title h2 {
  padding: 0;
  margin: 0;
  font-weight: 300;
  color: #8b8;
  max-width: 50%;
  font-size: 20px;
}

#profile-links img {
  height: 20px;
  margin: 15px 5px 5px 5px;
}

.profile-link {
  fill: white;
  filter: invert(87%) sepia(7%) saturate(727%) hue-rotate(314deg) brightness(100%) contrast(104%);
  filter: invert(8%) sepia(47%) saturate(11890%) hue-rotate(210deg) brightness(100%) contrast(28%);
}

#content {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.title-fade {
  opacity: 1;
  transition: opacity 0.1s ease-in-out;
}

.title-fade:hover {
  opacity: 0.4;
}

.projects-color {
  background-color: #333;
}

.projects-unpublished {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.project-tiles {
  display: flex;
  text-align: center;
  flex-direction: row;
  flex-wrap: wrap;
  flex: 6;
  justify-content: center;
}

.project-tile {
  border: 0px solid #fff;
  height: auto;
  /*box-shadow: 5px 5px 15px 10px #222;*/
  margin: 0px 20px 30px 20px;
  max-width: 18vw;
  background-color: white;
  font-family: "Open Sans";
  font-weight: 100;
  font-size: 14px;
}
.project-tile p {
  padding: 0 10px;
}
.project-tile img,
.project-tile svg {
  width: 100%;
}

.project-title {
  font-size: 18px;
  margin-top: 10px;
  font-weight: 400;
  margin-bottom: 3px;
  font-family: "Montserrat";
}

.project-hackathon {
  font-style: italic;
  font-size: 13px;
  margin: 2px;
  font-weight: 200;
}

.project-link {
  font-size: 12px;
  margin: 0 5px;
  color: #8d8;
  opacity: 1;
}

.project-link:hover {
  opacity: 0.5;
  transition: opacity 0.1s ease-in-out;
}

footer {
  width: 100%;
  text-align: left;
  color: black;
  position: absolute;
  top: 0;
  display: flex;
  position: fixed;
  font-family: "Roboto";
  font-size: 14px;
  padding: 20px 15px 0 0;
  align-items: center;
  justify-content: flex-end;
  height: 30px;
  z-index: 30;
}
footer span {
  color: #ccc;
  position: absolute;
  top: 0;
  padding-bottom: 50px;
}
footer a {
  color: #8ad;
  opacity: 1;
}
footer a:hover {
  opacity: 0.7;
  transition: opacity 0.1s ease-in-out;
}

.message-wrapper {
  width: 100%;
  background-color: #0d73fc;
  height: auto;
  padding: 10px;
  padding-top: 30px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.message-wrapper .form__success {
  margin-top: 15px;
  font-size: 12px;
  font-family: "Space Mono";
  color: white;
}

.form__field,
.form__field--textarea {
  width: 100%;
  max-width: 100%;
  background-color: hsl(214, 85%, 60%);
  box-sizing: border-box;
  border: none;
  border-radius: 4px;
  padding: 12px 16px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 200;
  color: #eee;
  font-family: "Space Mono";
}
.form__field:focus,
.form__field--textarea:focus {
  border: 1px solid hsl(214, 85%, 60%);
}

.form__field {
  height: 48px;
  position: relative;
}

.form__field--textarea {
  height: 120px;
  resize: none;
}

.form-submit {
  font-family: "Space Mono";
  font-size: 11px;
  background-color: #d4d0c8;
  color: #000;
  padding: 4px 20px;
  border: 1px solid;
  border-color: #fff #808080 #808080 #fff;
  border-radius: 0;
  cursor: pointer;
  align-self: flex-end;
}
.form-submit:hover {
  background-color: #e0ddd5;
}
.form-submit:active {
  border-color: #808080 #fff #fff #808080;
  padding: 5px 19px 3px 21px;
}

.project-tags {
  color: #ccc;
  font-size: 10px;
}

@media (max-width: 700px) {
  body {
    height: 1600px;
  }
  .project-tiles {
    flex-direction: column;
    padding: 0 10px;
  }
  .project-tile {
    max-width: 80vw;
  }
  #nav-message {
    border-bottom: none;
  }
  #nav-mood {
    border-bottom: none;
  }
  #welcome-section h4 {
    width: 85%;
  }
  #navbar {
    height: 40px;
    padding-left: 0;
    box-sizing: border-box;
    position: static;
    align-items: stretch;
  }
  #navbar .navbar-links a {
    height: 100%;
    padding: 0 5px;
    font-size: 11px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    width: auto;
  }
  #navbar .navbar-links #nav-photo {
    border-bottom: 0px;
  }
  #navbar .navbar-info {
    padding: 4px;
  }
  #content {
    max-width: 100vw;
  }
  #navbar ul {
    margin-top: 15px;
    flex-direction: row;
  }
  #profile-image {
    width: 20%;
  }
  #welcome-section {
    padding: 0 10px;
    height: 450px;
  }
  .projects {
    padding: 0;
    margin: 0;
    width: 100vw;
  }
  .project-section {
    flex-direction: column;
  }
  .project-section .section-title {
    width: 100%;
    padding-top: 0;
    height: 100%;
  }
  .project-section .section-title h1 {
    margin-top: 20px;
  }
  .project-section .section-title h2 {
    margin-top: 20px;
  }
  #window-welcome {
    width: 95vw;
    top: 9vh;
    left: 2.5vw;
  }
  #window-welcome .welcome-div {
    padding: 0;
  }
  #window-welcome #welcome-bullet {
    grid-template-columns: 1fr;
    grid-template-areas:
      "present"
      "past";
    gap: 8px;
    padding: 10px;
  }
  #window-photo {
    position: absolute;
    top: 420px;
    left: 42vw;
    width: 220px;
    z-index: 55;
  }
  #window-mood {
    top: 420px;
    left: 2.5vw;
    width: 95vw;
    height: auto;
    display: none;
    box-sizing: border-box;
  }
  .mood-div {
    height: auto;
  }
  #window-message {
    display: none;
    position: absolute;
    left: 5vw;
    width: 90vw;
    max-width: 100%;
  }
  .article-container {
    flex-direction: column;
    display: grid;
  }
  .article-container a {
    width: 100%;
  }
}
.link-overlay {
  display: inline-block;
  position: relative;
  text-decoration: none;
  color: white;
}

.link-overlay:visited {
  text-decoration: none;
}

.link-overlay:after {
  content: "";
  background-color: #eeaa77;
  opacity: 0.2;
  height: 11px;
  width: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
}

#mood-graph {
  width: 100%;
  height: auto;
  border: none;
  margin-left: -30px;
}
@media (max-width: 900px) {
  #mood-graph {
    display: none;
  }
}

.mood-graph-grid {
  box-sizing: border-box;
  width: 100%;
  height: 420px;
  display: block;
}

.mood-title {
  display: flex;
  position: relative;
  flex-direction: row;
  width: 100%;
  box-sizing: border-box;
  justify-content: space-between;
}
@media (max-width: 900px) {
  .mood-title {
    display: none;
  }
}

.mood-mobile {
  display: none;
  width: 100%;
  box-sizing: border-box;
  background-color: #fff;
  margin-bottom: 16px;
}
@media (max-width: 900px) {
  .mood-mobile {
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  #navbar-clock {
    display: none;
  }
  #navbar .navbar-info {
    width: auto;
    padding: 0 10px;
  }
}
@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.88);
  }
  55% {
    opacity: 1;
    transform: scale(1.03);
  }
  75% {
    transform: scale(0.98);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.fadeInLeft,
.fadeInRight,
.fadeInUp,
.fadeInDown {
  animation-name: popIn;
  animation-duration: 0.31s;
  animation-timing-function: ease-out;
  animation-fill-mode: both;
}/* ===== Substack window ===== */
#window-substack {
  position: absolute;
  top: 16vh;
  left: 65%;
  width: 480px;
  animation-delay: 0.7s;
}

.substack-window-body {
  background: #ece9d8;
  padding: 4px 4px 0;
  overflow-y: auto;
  max-height: 72vh;
  display: flex;
  flex-direction: column;
}

/* Row layout on desktop */
.substack-feed-embed {
  display: flex;
  flex-direction: row;
  gap: 4px;
  width: 100%;
  background: #ece9d8;
  padding: 0;
  box-sizing: border-box;
}

.substack-card {
  display: flex;
  flex: 1 1 0;
  text-decoration: none;
  color: inherit;
  border: 1px solid;
  border-color: #dfdfdf #808080 #808080 #dfdfdf;
  background: #fff;
  transition: background 0.1s, border-color 0.1s;
}

.substack-card:last-child {
  border-right-color: #808080;
}

.substack-card:hover {
  background: #edf2fb;
  border-color: #808080 #c8d8f0 #c8d8f0 #808080;
}

.substack-card:hover .substack-title {
  color: #0a246a;
}

.substack-statusbar {
  height: 20px;
  background: #d4d0c8;
  border-top: 1px solid #808080;
  display: flex;
  align-items: center;
  padding: 0 8px;
  margin: 4px -4px 0;
  flex-shrink: 0;
}
.substack-statusbar span,
#window-substack .substack-statusbar-link {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  color: #444;
  text-decoration: none;
  cursor: pointer;
}
#window-substack .substack-statusbar-link:hover {
  color: #222;
  text-decoration: underline;
}

.substack-card:hover .substack-readbtn span {
  background: #d4d0c8;
  border-color: #808080 #f5f5f0 #f5f5f0 #808080;
}

.substack-post {
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  width: 100%;
  box-sizing: border-box;
}

#window-substack .substack-post h3,
#window-substack .substack-post p {
  margin: 0;
  padding: 0;
}

#window-substack .substack-thumbnail {
  width: calc(100% + 24px);
  height: 140px;
  object-fit: cover;
  display: block;
  margin: -10px -12px 8px;
}

#window-substack .substack-title {
  font-family: "Space Mono";
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px 0;
  padding: 0;
  color: #1a1a1a;
  line-height: 1.4;
}

#window-substack .substack-post p.substack-date {
  font-family: "Space Mono";
  font-size: 12px;
  color: #bbb;
  margin: 10px 0 5px 0 !important;
  padding: 0 !important;
  letter-spacing: 0.02em;
}

#window-substack .substack-post p.substack-desc {
  font-family: "Space Mono";
  font-size: 12px;
  color: #777;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.6;
  min-height: 1.6em; /* keeps card height stable while typing */
}

.type-cursor {
  display: inline;
  color: #aaa;
  animation: typeBlink 0.6s step-end infinite;
}
@keyframes typeBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.substack-readbtn {
  display: inline-flex;
  margin-top: auto;
  padding-top: 10px;
  text-decoration: none;
}
.substack-readbtn span {
  display: inline-block;
  font-family: "Space Mono", monospace;
  font-size: 10px;
  padding: 2px 7px;
  background: #ece9d8;
  border: 1px solid;
  border-color: #f5f5f0 #808080 #808080 #f5f5f0;
  color: #000080;
  box-shadow: 1px 1px 0 #fff inset;
  white-space: nowrap;
}
.substack-readbtn:hover span {
  background: #d4d0c8;
  border-color: #808080 #f5f5f0 #f5f5f0 #808080;
}
.substack-readbtn:active span {
  border-color: #808080 #f5f5f0 #f5f5f0 #808080;
  box-shadow: none;
}

.substack-skeleton,
.substack-error,
.substack-empty {
  font-family: "Space Mono";
  font-size: 11px;
  color: #999;
  padding: 20px;
  text-align: center;
  margin: 0;
}

@media (max-width: 700px) {
  #window-substack {
    top: 530px;
    left: 2.5vw;
    width: 95vw;
  }

  #window-substack .substack-feed-embed {
    flex-direction: column;
  }

  #window-substack .substack-card {
    flex: none;
    border: 1px solid;
    border-color: #dfdfdf #808080 #808080 #dfdfdf;
    background: #fff;
  }

  #window-substack .substack-card:last-child {
    border-color: #dfdfdf #808080 #808080 #dfdfdf;
  }

  #window-substack .substack-post {
    padding: 10px 12px;
    flex-direction: column;
  }

  #window-substack .substack-thumbnail {
    width: calc(100% + 24px);
    margin: -10px -12px 8px;
    height: 120px;
  }

  /* On mobile the whole card tap is unreliable — disable it,
     the read button is the tap target instead */
  .substack-card {
    pointer-events: none;
    cursor: default;
  }
  .substack-card:hover {
    border-color: #dfdfdf #808080 #808080 #dfdfdf;
    opacity: 1;
    transform: none;
    box-shadow: none;
  }
  .substack-readbtn {
    pointer-events: auto;
  }
}

/* ── Are.na window ───────────────────────────────────────── */
#window-arena {
  position: absolute;
  top: 10vh;
  left: 42%;
  width: 500px;
  animation-delay: 0.5s;
}

/* Arena channel tab strip */
.arena-channel-tabs {
  display: flex;
  background: #d4d0c8;
  border-bottom: 1px solid #808080;
  padding: 3px 6px 0;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.arena-channel-tabs::-webkit-scrollbar { display: none; }

.arena-tab {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  padding: 3px 10px 4px;
  background: #ece9d8;
  border: 1px solid #aca899;
  border-bottom: none;
  border-radius: 3px 3px 0 0;
  cursor: pointer;
  color: #444;
  white-space: nowrap;
  position: relative;
  top: 1px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.arena-tab i { font-size: 10px; }
.arena-tab:hover { background: #f4f2ec; color: #000; }
.arena-tab.arena-tab-active {
  background: #fff;
  color: #000;
  font-weight: bold;
  border-color: #aca899;
  z-index: 1;
}

.arena-window-body {
  background: #ece9d8;
  padding: 8px 8px 0;
  display: flex;
  flex-direction: column;
}

.arena-cards-area {
  border: 1px solid;
  border-color: #808080 #dfdfdf #dfdfdf #808080;
  background: #fff;
  padding: 8px;
  overflow-y: auto;
  max-height: 370px;
}

/* Fullscreen: let body + cards fill the window */
#window-arena.is-fullscreen {
  display: flex;
  flex-direction: column;
}
#window-arena.is-fullscreen .arena-window-body {
  flex: 1;
  min-height: 0;
}
#window-arena.is-fullscreen .arena-cards-area {
  flex: 1;
  min-height: 0;
  max-height: none;
}

.arena-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 6px;
}

.arena-tile {
  position: relative;
  border: 1px solid;
  border-color: #dfdfdf #808080 #808080 #dfdfdf;
  overflow: hidden;
  background: #ece9d8;
  aspect-ratio: 1;
}

.arena-tile a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.arena-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.15s;
}

.arena-tile:hover {
  border-color: #7da2d8 #4872b4 #4872b4 #7da2d8;
}
.arena-tile:hover img { opacity: 0.85; }

/* Text tiles */
.arena-tile-text {
  background: #ece9d8;
}
.arena-text-inner {
  padding: 8px;
  font-family: "Space Mono", monospace;
  font-size: 11px;
  line-height: 1.55;
  color: #222;
  overflow: hidden;
  height: 100%;
  box-sizing: border-box;
}
.arena-text-inner p { margin: 0 0 4px; }
.arena-text-inner * { font-size: inherit; }

.arena-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 6px;
  text-align: center;
  color: #444;
}
.arena-fallback-icon {
  font-size: 22px;
  color: #7598c9;
}
.arena-fallback span {
  font-size: 10px;
  line-height: 1.4;
  word-break: break-word;
}

/* Link caption */
.arena-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-family: "Space Mono", monospace;
  font-size: 9px;
  padding: 3px 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Status bar */
.arena-statusbar {
  height: 20px;
  background: #d4d0c8;
  border-top: 1px solid #808080;
  display: flex;
  align-items: center;
  padding: 0 8px;
  margin: 6px -8px 0;
}
.arena-statusbar span {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  color: #444;
}

/* States */
.arena-skeleton,
.arena-empty,
.arena-error {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  color: #999;
  padding: 20px;
  text-align: center;
  margin: 0;
  grid-column: 1 / -1;
}
.arena-error { color: #c00; }

@media (max-width: 700px) {
  #window-arena {
    top: 700px;
    left: 2.5vw;
    width: 95vw;
  }
  .arena-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  }
}

/* ── Arena block viewer overlay ──────────────────────────── */
#arena-overlay {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
}

#arena-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.72);
}

#arena-overlay-box {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 4px 16px rgba(0,0,0,0.6);
  max-width: 90vw;
  max-height: 90vh;
  animation: popIn 0.18s ease-out both;
}

/* Image mode — box shrinks to image dimensions */
.arena-overlay-image #arena-overlay-box {
  width: fit-content;
  max-width: 90vw;
}
.arena-overlay-image #arena-overlay-body {
  line-height: 0; /* remove gap below inline img */
}
.arena-overlay-image #arena-overlay-body img {
  max-width: 90vw;
  max-height: calc(90vh - 28px);
  display: block;
  width: auto;
  height: auto;
}

/* Text mode */
.arena-overlay-text #arena-overlay-box {
  width: 520px;
}
.arena-overlay-text-body {
  background: #ece9d8;
  padding: 16px 18px;
  overflow-y: auto;
  max-height: calc(90vh - 28px);
  font-family: "Space Mono", monospace;
  font-size: 12px;
  line-height: 1.7;
  color: #1a1a1a;
}
.arena-overlay-text-body p  { margin: 0 0 0.8em; }
.arena-overlay-text-body *  { font-family: inherit; font-size: inherit; }
.arena-overlay-text-body a  { color: #0d73fc; }

#arena-overlay-title {
  display: block;
  line-height: 26px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: calc(90vw - 60px);
  cursor: default;
}

/* ── Fleeting Thought — Three.js window ─────────────────────── */
#window-3d {
  position: absolute;
  top: 20vh;
  left: 28%;
  width: 440px;
  background: transparent;
  box-shadow: 2px 2px 12px rgba(0,0,0,0.55);
}
#threejs-container {
  width: 100%;
  height: 340px;
  overflow: hidden;
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
}
#threejs-canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}
@media (max-width: 700px) {
  #window-3d { width: 95vw; left: 2vw; }
  #threejs-container { height: 260px; }
}

/*# sourceMappingURL=style.css.map */