@charset "UTF-8";
/* ********** INIT ********** */
@font-face {
  font-family: "V323";
  src: url("../fonts/VT323-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/JetBrainsMono-Thin.ttf") format("truetype");
}
@font-face {
  font-family: "Microsoft Yi Baiti";
  src: url("../fonts/msyi.ttf") format("truetype");
}
@keyframes TransitioningBackground {
  0% {
    background-position: 1%;
  }
  50% {
    background-position: 99% 100%;
  }
  100% {
    background-position: 1%;
  }
}
/* ********** INIT END ********** */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0.6;
  }
}
/* Global reset for box-sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  font-size: 3.5vh;
  font-family: Microsoft Yi Baiti, sans-serif;
  text-decoration: none;
  color: light-dark(white, black);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: black;
  color-scheme: dark;
}

button {
  background-color: rgba(0, 0, 0, 0);
  border: none;
}

p {
  font-family: Microsoft Yi Baiti, sans-serif;
  font-size: 2.5vh;
  padding-bottom: 0.9vh;
  opacity: 100%;
  word-break: break-word;
  word-wrap: normal;
  text-align: center;
  justify-content: center;
  color: light-dark(black, white);
}

br {
  display: block;
  margin: 5.7px 0;
  content: " ";
}

.mainText {
  background-color: green;
}

.indexText {
  position: absolute;
  font-size: 45px;
  font-family: Microsoft Yi Baiti, sans-serif;
  color: light-dark(black, white);
  left: 10px;
  top: 90px;
}

.indexSubText {
  font-size: 24px;
  font-family: Microsoft Yi Baiti, sans-serif;
  position: absolute;
  left: 40px;
  top: 140px;
  color: light-dark(black, white);
}

.responsiveSocial {
  width: 5vh;
  max-width: 12em;
  height: auto;
}

.responsiveSystem {
  width: 100%;
  max-width: 23em;
  height: auto;
}

.homeWrapper {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.frontPageWrapper {
  margin-bottom: 0;
}

.downloadsWrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 16vh;
  position: relative;
  text-align: center;
  animation: fadeIn 0.5s;
  gap: 10vh;
  margin: auto;
}

.lastUpdated p {
  font-family: Microsoft Yi Baiti, sans-serif;
  font-size: clamp(0.61rem, 1vh + 0.3rem, 1.5rem);
  color: light-dark(black, white);
}

.lastUpdated,
.downloads {
  margin: 0;
}

.downloads {
  padding-top: 0vh;
  display: grid;
  gap: 7vh;
}

.downloadLink {
  color: light-dark(black, white);
  font-family: Microsoft Yi Baiti, sans-serif;
  font-size: clamp(0.57rem, 0.2vw + 0.46rem, 0.52rem);
  padding: 1vh;
  text-align: center;
  text-decoration: underline currentColor 1px;
  text-underline-offset: 7px;
}

/* ********** ABOUT ********** */
.aboutWrapper {
  display: grid;
  place-content: center;
  padding-top: 50px;
  margin: auto;
  /* Allow vertical growth/scroll while preventing accidental horizontal scroll */
  overflow: hidden;
  min-height: 100dvh;
  background: no-repeat center/100% url("../img/bgNew.jpg");
  background-size: cover;
}

.aboutBox {
  display: grid;
  /* Center the about content box vertically and horizontally */
  place-content: center;
  /* Cleaner centering */
  width: min(1280px, 100%);
  margin-inline: auto;
  /* Symmetrical padding for better vertical centering visual */
  padding-block: clamp(20px, 0vh, 60px);
  padding-inline: clamp(35px, 4vw, 20px);
  padding-block-end: calc(clamp(20px, 5vh, 60px) + env(safe-area-inset-bottom, 0px));
  z-index: 10;
  box-sizing: border-box;
  /* Optional: slightly reduce perceived “wide” text on large screens */
  /* max-width: 72ch; */
}
@media (max-width: 755px) {
  .aboutBox {
    /* Keep centering on mobile to satisfy "everything centered" */
    place-content: center;
    padding-block-end: calc(80px + env(safe-area-inset-bottom, 0px));
  }
}

.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 3vh;
  background-color: rgba(0.5, 0.5, 0.5, 0.8);
  max-height: 65vh;
  overflow-y: auto;
  /* Scrollbar styling */
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0) transparent;
  transition: scrollbar-color 0.3s ease-in-out;
  /* Webkit-based browsers */
}
@media (max-width: 755px) {
  .about {
    max-height: 100vh;
  }
}
.about:hover {
  scrollbar-color: rgba(255, 255, 255, 0.8) transparent;
}
.about::-webkit-scrollbar {
  width: 6px;
}
.about::-webkit-scrollbar-track {
  background: transparent;
}
.about::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0);
  border-radius: 10px;
  transition: background-color 0.3s ease-in-out;
}
.about:hover::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.5);
}

.bioContent {
  display: contents;
}

.bioText {
  order: 1;
  width: 100%;
  padding-top: 5px;
  padding-left: 15px;
  padding-right: 15px;
}

.maintainedText {
  order: 3;
  width: 100%;
}

.about p {
  font-family: Microsoft Yi Baiti, sans-serif;
  font-size: clamp(0.61rem, 1vh + 0.3rem, 1.5rem);
  line-height: 1.7;
  text-align: center;
}

.clients {
  position: relative;
  display: inline-block;
  width: 100%;
  order: 2;
  padding-top: 1h;
}

.clients-caret {
  position: absolute;
  top: 0;
  left: -18px;
  font-family: V323, sans-serif;
  font-size: calc(clamp(0.4rem, 1vh + 0.1rem, 1.5rem) * 1.7);
  color: light-dark(black, white);
  pointer-events: none;
  z-index: 20;
  opacity: 0;
  line-height: 1;
  animation: clients-caret-left-right 3s ease-in-out infinite;
}

.clients-caret.visible {
  opacity: 1;
}

.clients p {
  line-height: 0.1px;
  font-family: JetBrains Mono, sans-serif;
  font-size: clamp(0.4rem, 1vh + 0.1rem, 1.5rem);
  text-align: center;
}

/* Make the clickable CLIENTS link match the surrounding CLIENTS text */
.clients p a {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  /* IMPORTANT: don't inherit the parent's 0.1px line-height */
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  /* smooth in/out */
  transition: background-color 0.3s ease-in-out;
  /* make the highlight look like a highlight */
  display: inline-block;
  padding: 0.08em 0.2em;
  border-radius: 2px;
  position: relative;
  /* if a line wraps, keep the highlight per-line (nice polish) */
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* the ">" caret (REMOVE original static carets) */
.clients p a::before {
  content: none;
}

@keyframes clients-caret-left-right {
  0% {
    margin-left: 0;
  }
  50% {
    margin-left: 10px;
  }
  100% {
    margin-left: 0;
  }
}
/* Desktop/laptop: real hover */
@media (hover: hover) and (pointer: fine) {
  .clients p a:hover {
    background-color: blue;
  }
}
/* Mobile/tablet: tap/focus feedback */
@media (hover: none) and (pointer: coarse) {
  .clients p a:active,
  .clients p a:focus {
    background-color: blue;
  }
}
/* Keyboard accessibility */
.clients p a:focus-visible {
  background-color: blue;
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* REMOVE this duplicate rule if it's still in your file:
.clients p a:hover {
  background-color: blue;
}
*/
.fadeWrapper {
  padding-bottom: 0;
  animation: fadeIn 1.5s;
  opacity: 1;
}

.terminal-cursor, .with-cursor::after {
  display: inline-block;
  width: 0.4em;
  height: 0.9em;
  margin-left: 0.3em;
  background: white;
  border-radius: 1px;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.85), 0 0 14px rgba(255, 255, 255, 0.35);
  vertical-align: -0.15em;
  animation: cursor-blink 1.05s steps(1, end) infinite;
}

@keyframes cursor-blink {
  0%, 45% {
    opacity: 1;
  }
  50%, 95% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .terminal-cursor, .with-cursor::after,
  .clients-caret {
    animation: none;
  }
}
.with-cursor::after {
  content: "";
}

.systemsWrapper {
  width: 100%;
  height: 100dvh;
  padding-top: 100px;
  animation: fadeIn 0.5s;
  overflow: hidden;
  display: flex;
  position: relative;
}
.systemsWrapper.grid-layout {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding-inline: 0px;
  gap: 10px;
}

.three-carousel {
  width: 50%;
  height: 100%;
  position: relative;
}

.info-panel {
  flex-grow: 1;
  width: auto;
  height: 90%;
  margin-right: 20px;
  color: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
  z-index: 100;
  margin-top: 20px;
  transition: opacity 0.3s ease, visibility 0.3s ease, backdrop-filter 0.3s ease;
  box-sizing: border-box;
  max-height: 100%;
}
.info-panel.is-transitioning {
  opacity: 0 !important;
}
.info-panel .info-panel-close {
  display: none;
  position: absolute;
  top: 25px;
  right: 25px;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-size: 40px;
  font-family: JetBrains Mono, sans-serif;
  line-height: 1;
  z-index: 30001;
}
.info-panel .info-header {
  border-bottom: 2px solid white;
  padding-bottom: 10px;
  margin-bottom: 20px;
}
.info-panel .info-header h2 {
  margin: 0;
  font-size: clamp(1.4rem, 1vw + 1rem, 5rem);
  letter-spacing: 5px;
  color: white;
  text-shadow: 0 0 3px white;
  font-family: Microsoft Yi Baiti, sans-serif;
  justify-content: center;
  text-align: center;
  word-wrap: break-word;
  padding-bottom: 1vh;
  padding-top: 5vh;
}
.info-panel .info-header .info-status {
  font-size: 0.8rem;
  color: #888;
  margin-top: 5px;
}
.info-panel .info-body {
  flex-grow: 1;
  overflow-y: auto;
  font-size: 0.9rem;
  line-height: 1.6;
  padding-right: 10px;
  /* Scrollbar */
}
.info-panel .info-body::-webkit-scrollbar {
  width: 4px;
}
.info-panel .info-body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}
.info-panel .info-body::-webkit-scrollbar-thumb {
  background: white;
}
.info-panel .info-body p {
  margin-bottom: 15px;
}
.info-panel .info-body .sPageTitle {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #00ffff;
  font-family: V323, sans-serif;
}
.info-panel .info-body .description {
  font-size: clamp(2vh, 1vh + 0.4rem, 2.2rem);
  margin-bottom: 15px;
  color: #ccc;
}
.info-panel .info-body .subdescription {
  font-size: clamp(0.5rem, 1vh + 0.3rem, 1.5rem);
  margin-bottom: 15px;
}
.info-panel .info-body .iframe-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  margin-bottom: 15px;
}
.info-panel .info-body .iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.info-panel .info-body .images img {
  width: 100%;
  height: auto;
  border: 1px solid #444;
  margin-bottom: 10px;
}
.info-panel .info-body .lightbox-link-container {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}
.info-panel .info-body .lightbox-open-link {
  color: #00ffff;
  text-decoration: underline;
  font-size: 0.8rem;
  font-family: JetBrains Mono, sans-serif;
  cursor: pointer;
}
.info-panel .info-body .lightbox-open-link:hover {
  color: white;
}
.info-panel .info-body .codeContainer {
  background: #000;
  padding: 10px;
  font-size: 0.7rem;
  overflow-x: auto;
  margin-bottom: 15px;
  border: 1px solid #333;
}
.info-panel .info-body .techdescription {
  font-size: clamp(0.61rem, 1vh + 0.3rem, 1.5rem);
  color: white;
  padding-top: 3vh;
  font-family: JetBrains Mono, sans-serif;
}
.info-panel .info-body .tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.info-panel .info-body .tech-list span {
  background: rgba(17, 17, 255, 0.3);
  padding: 2px 8px;
  border: 1px solid #1111ff;
  font-size: 0.7rem;
}
.info-panel .info-footer {
  padding-top: 15px;
  margin-top: 15px;
}
.info-panel .info-footer .controls-hint {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #00ffff;
  font-weight: bold;
}

@media (max-width: 1024px) {
  .systemsWrapper.grid-layout {
    flex-direction: column;
    padding-top: 75px;
    overflow: hidden;
    justify-content: flex-start;
    height: 100dvh;
  }
  .three-carousel {
    width: 100%;
    height: calc(100dvh - 75px);
    min-height: auto;
  }
  .info-panel {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    margin: 0;
    z-index: 30000;
    opacity: 0;
    visibility: hidden;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: opacity 0.37s ease, visibility 0.37s ease, backdrop-filter 0.37s ease, -webkit-backdrop-filter 0.37s ease;
    border: none;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .info-panel.is-active {
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .info-panel.is-active .info-panel-close {
    display: block;
  }
  .info-panel .info-header {
    width: 100%;
    max-width: 90%;
  }
  .info-panel .info-body {
    width: 100%;
    max-width: 100%;
    max-height: none;
    overflow-y: auto;
    padding: 1vh 3vh 3vh;
    flex: 1 1 auto;
    min-height: 0;
  }
  .info-panel .info-footer {
    display: none;
  }
}
/* ********** ABOUT END ********** */
/* ********** VISUAL ********** */
.visualWrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  padding-top: 97px;
  background-color: black;
}

.gallery-container {
  height: 100%;
  width: 100%;
}

.gallery-grid {
  --rows: 23;
  --gap: 8px;
  --avail: calc(100dvh - 75px - 24px);
  --u: calc((var(--avail) - (var(--rows) - 1) * var(--gap)) / var(--rows));
  display: grid;
  grid-auto-flow: column dense;
  grid-auto-columns: var(--u);
  grid-template-rows: repeat(var(--rows), var(--u));
  gap: var(--gap);
  height: var(--avail);
  width: max-content;
  margin-left: 10px;
  margin-right: 10px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: #111;
  border: 1px solid #2a2a2a;
  cursor: pointer;
  transition: transform 0.18s ease;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: inherit;
}
.gallery-item:hover {
  opacity: 0.75;
  z-index: 5;
}
.gallery-item:focus {
  outline: 2px solid white;
  outline-offset: 4px;
  z-index: 10;
  opacity: 1;
}
.gallery-item img, .gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
}
.gallery-item iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
  pointer-events: none;
}
.gallery-item .vimeo-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

.gallery-item.square {
  grid-column: span 6;
  grid-row: span 6;
  aspect-ratio: 1/1;
  border: 1px solid white;
}

.gallery-item.landscape {
  grid-column: span 14;
  grid-row: span 8;
  aspect-ratio: 16/9;
  border: 1px solid white;
}

.gallery-item.portrait {
  grid-column: span 8;
  grid-row: span 14;
  aspect-ratio: 9/16;
  border: 1px solid white;
}

.item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 55%);
  opacity: 0;
  transition: opacity 0.25s ease;
  display: flex;
  align-items: flex-end;
  padding: 14px;
}
.gallery-item:hover .item-overlay, .gallery-item:focus .item-overlay {
  opacity: 1;
}
.item-overlay .item-info {
  color: #fff;
}
.item-overlay .item-info .item-title {
  font-family: Microsoft Yi Baiti, sans-serif;
  font-size: 1.3vh;
  font-weight: 200;
  margin-bottom: 4px;
  letter-spacing: 0.2px;
  color: light-dark(black, white);
}
.item-overlay .item-info .item-type {
  font-family: JetBrains Mono, sans-serif;
  font-size: 1.14vh;
  opacity: 1;
  color: light-dark(black, white);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.37s ease, visibility 0.37s ease, backdrop-filter 0.37s ease, -webkit-backdrop-filter 0.37s ease;
  z-index: 30000;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
}
.lightbox.active {
  opacity: 1;
  visibility: visible;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lightbox .lightbox-close {
  position: absolute;
  top: 25px;
  right: 25px;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-size: 45px;
  font-family: JetBrains Mono, sans-serif;
  line-height: 1;
  z-index: 30001;
}
.lightbox .lightbox-content {
  max-width: 90%;
  max-height: 90vh;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox .lightbox-content .lightbox-media-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 100%;
}
.lightbox .lightbox-content .lightbox-info {
  margin-top: 15px;
  color: #fff;
  text-align: left;
  font-family: JetBrains Mono, sans-serif;
  line-height: 1.2;
  padding-left: 0.2vh;
}
.lightbox .lightbox-content .lightbox-software {
  font-size: clamp(14px, 2vh, 24px);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: light-dark(black, white);
}
.lightbox .lightbox-content .lightbox-year {
  font-size: clamp(11px, 1.4vh, 18px);
  opacity: 0.7;
  color: light-dark(black, white);
}
.lightbox .lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.lightbox .lightbox-content iframe {
  width: min(90vw, 1200px);
  height: auto;
  aspect-ratio: 16/9;
  max-height: 80vh;
  border: 0;
}
.lightbox .lightbox-content iframe.portrait-video {
  aspect-ratio: 9/16;
  width: auto;
  height: 80vh;
  max-width: 90vw;
}

.images {
  display: flex;
  justify-content: center;
  border: white 1px solid;
  transition: transform 0.2s, opacity 0.3s;
  width: auto;
  margin: 1vh;
}

.images:hover {
  cursor: pointer;
  opacity: 70%;
  transform: scale(1.025);
}

/* ********** VISUAL END ********** */
/* ********** NAVBAR ********** */
.sitebutton {
  font-size: 3.5vh;
  font-family: Microsoft Yi Baiti, sans-serif;
  width: 35vh;
  height: auto;
  display: inline-block;
  padding: 0.23em 1em;
  border: 2px solid #FFFFFF;
  margin: 0;
  border-radius: 0.1em;
  position: relative;
  overflow: hidden;
  background-size: 200% 400%;
  animation: TransitioningBackground 10s ease infinite;
  background-color: black;
  color: light-dark(black, white);
}
.sitebutton::before {
  content: "";
  display: block;
  position: absolute;
  background: rgba(255, 255, 255, 0.5);
  top: 0;
  filter: blur(30px);
  transform: translateX(-15vh) skewX(-15deg);
}
.sitebutton::after {
  content: "";
  display: block;
  position: absolute;
  background: rgba(255, 255, 255, 0.2);
  width: 20px;
  height: 100%;
  top: 0;
  filter: blur(5px);
  transform: translateX(-15vh) skewX(-15deg);
}
.sitebutton:hover {
  cursor: pointer;
  opacity: 100%;
}
.sitebutton:hover::before, .sitebutton:hover::after {
  transform: translateX(45vh) skewX(-15deg);
  transition: 0.6s;
}

.socialbox {
  justify-content: center;
  display: flex;
  gap: 4vh;
}

.socialbutton {
  width: 100%;
  justify-content: center;
  height: auto;
}

.blogText {
  font-family: V323, sans-serif;
  padding-top: 0.3rem;
}

.blogText .span {
  font-family: "V323", serif;
  margin-right: 1vh;
  margin-left: 1vh;
  display: flex;
  text-align: center;
  justify-content: center;
  color: light-dark(white, black);
  background-color: light-dark(black, white);
  font-size: clamp(2vh, 1vh + 0.4rem, 2.2rem);
}

.boxA {
  text-align: center;
  background-color: #000;
}

/* ********** NAVBAR (NAVIGATION) ********** */
#navbar {
  background-color: black;
  position: fixed;
  height: 75px;
  top: 0; /* Make it stick/fixed */
  width: 100%; /* Full width */
  z-index: 20000;
}

a:hover #navbar {
  background-color: #ddd;
  color: black;
}

.navigation img {
  background-color: black;
  right: 10px;
}

.navModal {
  position: fixed;
  z-index: 19000;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  clip-path: circle(1px 1px at 1% 50%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background-color: rgb(0, 0, 0);
  transition: opacity 0.3s ease-in-out, visibility 0s linear 0.3s, clip-path 0s linear 0.3s;
}
.navModal.active {
  clip-path: circle(50000px);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: clip-path 0.35s ease-in-out, opacity 0.3s ease-in-out, visibility 0s;
}

.navWrapper {
  position: fixed;
  display: grid;
  opacity: 100%;
  top: 0;
  bottom: 0;
  padding-top: 100px;
  height: auto;
  width: 100%;
  max-height: 80%;
  justify-content: center;
  text-align: center;
  margin: auto;
}

.menubar {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translate(-5%, -50%);
  cursor: pointer;
  background-color: black;
  border: none;
  padding: 0;
}
.menubar:focus {
  outline: 2px solid white;
  outline-offset: 4px;
}

.bar1,
.bar2,
.bar3 {
  width: 40px;
  height: 2px;
  background-color: #fff;
  margin: 10px;
  transition: 0.4s;
}

.change .bar1 {
  transform: rotate(-45deg) translate(-9px, 6px);
}

.change .bar2 {
  opacity: 0;
}

.change .bar3 {
  transform: rotate(45deg) translate(-8px, -8px);
}

.homelogo img {
  position: absolute;
  top: 0;
  right: 50%;
  transform: translate(50%, 8%);
  height: 68px;
  width: 68px;
  justify-content: center;
  background-color: black;
}

.indexHomeLogo img {
  position: absolute;
  top: 0;
  right: 50%;
  transform: translate(50%, 0);
  height: 75px;
  width: 75px;
  justify-content: center;
}

/* ********** NAVBAR (NAVIGATION) END ********** */
.description {
  font-size: 4vw;
  padding-bottom: 1vh;
  font-family: Microsoft Yi Baiti, sans-serif;
  color: light-dark(black, white);
}

.iframe-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  justify-content: center;
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.subdescription {
  text-align: center;
  font-size: clamp(0.5rem, 1vh + 0.3rem, 1.5rem);
  word-wrap: normal;
  font-family: Microsoft Yi Baiti, sans-serif;
  color: light-dark(black, white);
  padding: 2.5vh;
}

.subdescription a {
  color: blue;
  text-decoration: underline;
  font-size: clamp(0.5rem, 1vh + 0.3rem, 1.5rem);
}

/* Container for text and code */
/* Ensure <pre> blocks inside the container wrap content */
.codeContainer pre {
  white-space: pre-wrap; /* Allows the text to wrap */
  overflow-wrap: break-word; /* Breaks long words if needed */
  word-break: break-all; /* Forces breaks within words */
}

/* Shiki code block styling */
pre.shiki {
  margin: 0;
  width: 100%;
  height: auto;
  min-height: 0;
  overflow-x: auto;
  max-width: 100%;
  padding: 2em;
  background-color: rgba(255, 255, 255, 0.1);
}

html body .codeContainer pre.shiki,
html body .codeContainer pre.shiki * {
  font-size: 0.26rem !important;
  font-family: JetBrains Mono, sans-serif !important;
}

.shiki code,
.shiki code .line {
  text-align: left !important;
  display: inline-block;
}

.description {
  display: flex;
  justify-content: center;
}

.techdescription {
  font-size: 2.5vh;
  padding-top: 1vh;
  padding-bottom: 25px;
  font-family: Microsoft Yi Baiti, sans-serif;
  word-wrap: normal;
  text-align: center;
  color: light-dark(black, white);
}

/* ********** FOOTER ********** */
.footer {
  display: flex;
  justify-content: center;
  pointer-events: none;
  font-family: JetBrains Mono, sans-serif;
  opacity: 100%;
  font-size: 1.56vh;
  color: white;
  background-color: #000;
}

.footerWrapper {
  position: fixed;
  gap: 3vh;
  display: grid;
  justify-content: center;
  bottom: 0;
  margin: auto;
  z-index: 20001;
  width: 100%;
  text-align: center;
  background-color: #000;
}

/* ********** FOOTER END ********** */
/* ********** MOBILE ********** */
@media only screen and (max-width: 1700px) and (min-width: 770px) {
  .techdescription {
    font-size: 3.3vh;
  }
}
@media only screen and (max-width: 950px) and (max-height: 500px) {
  /* Landscape phones: let about section expand vertically */
  .aboutWrapper {
    display: grid;
    place-content: center;
    overflow: hidden;
    padding-top: 120px; /* Pushed down to center better between navbar and footer */
    min-height: calc(100dvh - 120px);
  }
  .about {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(15px, 4vw, 40px);
    max-height: 60vh;
    padding: clamp(10px, 3vh, 25px);
  }
  /* Systems Landscape Overrides - Make it like desktop (split view) */
  .systemsWrapper.grid-layout {
    flex-direction: row !important;
    padding-top: 75px !important;
    align-items: center;
    justify-content: center;
  }
  .three-carousel {
    width: 50% !important;
    height: 100% !important;
  }
  .info-panel {
    position: relative !important;
    inset: auto !important;
    width: 50% !important;
    height: 90% !important;
    margin: 10px 15px 0 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: transparent !important;
    backdrop-filter: blur(10px) !important;
    display: flex !important;
    pointer-events: auto !important;
    box-shadow: none !important;
  }
  .info-panel .info-panel-close {
    display: none !important;
  }
  .info-panel .info-header, .info-panel .info-body {
    max-width: 100% !important;
  }
  .info-panel .info-body {
    max-height: none !important;
  }
  /* Downloads Landscape Overrides */
  .downloadsWrapper {
    flex-direction: row !important;
    padding-top: 120px !important;
    gap: 8vw !important;
    align-items: center;
    justify-content: center;
    min-height: calc(100dvh - 120px);
  }
  .downloadsWrapper .lastUpdated {
    flex: 1;
    text-align: right;
    padding-right: 2vw;
  }
  .downloadsWrapper .lastUpdated p {
    font-size: 1.5vw;
  }
  .downloadsWrapper .downloads {
    flex: 1;
    text-align: left;
    padding-left: 2vw;
    padding-top: 0 !important;
    gap: 10vh !important;
  }
  .downloadsWrapper .downloads .downloadLink {
    font-size: 1.5vw;
    padding: 0.5vh;
  }
  .bioContent {
    display: block;
    flex: 1.3;
    text-align: center;
    order: 1;
  }
  .clients {
    flex: 0.7;
    order: 2;
  }
  .aboutBox {
    padding-block: 20px; /* More padding for better vertical centering */
  }
  .footer {
    font-size: 1.6vw;
  }
  .gallery-grid {
    --rows: 18;
  }
  .aboutBox p {
    /* Use width-based units in landscape phones so text remains readable */
    font-size: 1.5vw;
    padding-top: 0;
  }
  .lightbox .lightbox-close {
    top: 15px;
    right: 5px;
  }
  .clients p {
    font-size: 0.9vw;
  }
  .navWrapper {
    max-height: 90%;
    padding-top: 75px;
  }
  p {
    font-size: 1.6vw;
  }
  .techdescription {
    font-size: 2vw;
  }
}
@media only screen and (min-width: 951px) and (max-height: 500px) {
  .footer {
    font-size: 1.2vw;
  }
  .navWrapper {
    padding-top: 25px;
  }
  .techdescription {
    font-size: 2vw;
  }
  .aboutWrapper {
    padding-top: 30px;
  }
}
@media only screen and (max-width: 755px) {
  .description {
    display: flex;
    justify-content: center;
    font-size: 5vw;
    padding-bottom: 1vh;
    text-align: center;
  }
  .indexSubText {
    left: 40px;
    font-size: 23px;
  }
  p {
    font-size: 2.2vh;
  }
  .responsiveSystem {
    margin: 0;
  }
}
.footer {
  font-size: 1.7vh;
}

/* ********** MOBILE END ********** */
/* ********** TABLETS ********** */
@media screen and (min-width: 760px) and (max-width: 1120px) and (min-height: 1020px) and (max-height: 1400px) {
  p {
    font-size: 1.5vh;
  }
  .techdescription {
    font-size: 3.4vw;
  }
}
/* ********** TABLETS END ********** */

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