:root {
  --background-color: #101010ca;
  --header: #ecfeff;
  --cards: #00000077;
  --name: #000000c5;
  --cards-above: #343434;
  --cards-above-tools: #3d3d3d;
  --outline: rgba(186, 186, 186, 0.3);
  --text: #ffffff;
  --on-surface: rgba(255, 255, 255, 0.7);
  --grid: rgba(39, 39, 39, 0.1);
  --top-nav-dim: #45454578;
  --highlight: #ff6600;
  --highlight-dim: rgba(255, 102, 0, 0.416);
  --image-container-hover: rgba(105, 105, 105, 0.347);
  --shadow: #9c9c9c;
  --achievement: #434343;
  --project-card: rgba(82, 82, 82, 0.811);
  --sidebar: #090d178e;
  --sidebar-width: 180px;
  --content-max: 1200px;
  --content-half: calc(var(--content-max) / 2);
  --work-content: rgba(219, 219, 219, 0.464);
  --cert: rgb(255, 123, 0);
  --below: rgb(12, 12, 12);
  --achieve: rgb(8, 8, 8);
  --gradient: hsl(0, 0%, 3%);
  --used: hsl(23, 100%, 46%);
  --HOVERED: hsl(23, 100%, 61%);
  --accent: hsl(123, 100%, 45%);
  --cards-above-dark: hsla(0, 0%, 0%, 0.751);
  --list-hover: hsla(0, 0%, 6%, 0.751);
  --stanford: #8c1515;
  --page-pattern: rgba(209, 209, 209, 0.207);
  --page-pattern-empty: rgba(23, 23, 23, 0);
  --page-gradient: linear-gradient(
    to right top,
    rgb(255, 102, 0),
    rgb(228, 91, 0),
    rgb(119, 48, 0),
    rgb(31, 12, 0),
    rgb(20, 10, 0),
    rgb(16, 6, 0),
    rgb(4, 4, 4),
    rgb(8, 3, 0),
    rgb(2, 2, 2)
  );
  --count: hsl(43, 100%, 90%);
  --box-code-shadow: rgba(225, 225, 225, 0.3) 0px 4px 8px;
  --code-background: hsl(0, 0%, 8%);
}

html[data-theme="light"] {
  --background-color: #fbf1dd;
  --header: #202329;
  --cards: rgba(247, 240, 224, 0.847);
  --name: rgba(63, 63, 63, 0.9);
  --cards-above: #beb9ae;
  --cards-above-tools: #d9d1c5;
  --outline: rgba(31, 35, 41, 0.2);
  --text: #202329;
  --on-surface: rgba(32, 35, 41, 0.7);
  --grid: rgba(31, 35, 41, 0.08);
  --top-nav-dim: rgba(255, 247, 225, 0.82);
  --highlight: #d95700;
  --highlight-dim: rgba(217, 87, 0, 0.25);
  --shadow: #a9a095;
  --achievement: #44423d;
  --project-card: rgba(255, 255, 255, 0.9);
  --sidebar: rgba(213, 213, 213, 0.78);
  --work-content: rgba(32, 35, 41, 0.58);
  --below: #e9e3d9;
  --achieve: #eeebdd;
  --gradient: #fffdf8;
  --used: hsl(23, 100%, 40%);
  --HOVERED: hsl(23, 100%, 48%);
  --accent: hsl(102, 100%, 29%);
  --cards-above-dark: rgba(224, 217, 207, 0.9);
  --list-hover: rgba(217, 209, 197, 0.9);
  --page-pattern: rgba(70, 61, 51, 0.12);
  --page-pattern-empty: rgba(244, 240, 232, 0);
  --page-gradient: linear-gradient(120deg, #f4f0e8, #fffdf8 55%, #f7d7bd);
  --count: hsl(0, 0%, 22%);
  --box-code-shadow: rgba(225, 225, 225, 0.3) 0px 4px 8px;
  --code-background: hsl(32, 16%, 84%);
}
@import url("https://fonts.googleapis.com/css2?family=Boldonse&display=swap");
*::before,
*::after {
  box-sizing: border-box;
}
@font-face {
  font-family: "BaseNeue-Black";
  src: url("https://static.wfonts.com/data/2024/01/08/base-neue/BaseNeue-Black.ttf")
    format("ttf");
  font-display: swap;
}
#preview-render {
  font-family:
    "BaseNeue-Black",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 32px;
  color: #373c44;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  cursor: crosshair;
  background-color: black;
}
body {
  background-image:
    radial-gradient(var(--page-pattern) 1px, var(--page-pattern-empty) 1px),
    var(--page-gradient);
  background-size:
    20px 20px,
    cover;
  background-repeat: repeat, no-repeat;
  min-height: 100vh;
  animation: backgroundAnimation 40s linear infinite;
  background-color: var(--background-color);
  color: var(--text);
  font-family: "Jetbrains Mono", Monospace;
  font-weight: 480;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  display: block;
}
@keyframes backgroundAnimation {
  0% {
    background-position:
      0 0,
      0 0;
  }
  50% {
    background-position:
      100% 100%,
      0 0;
  }
  100% {
    background-position:
      200% 200%,
      0 0;
  }
}
@keyframes colorshifter {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}
.html {
  scroll-behavior: smooth;
}

.top-nav {
  position: fixed;
  background-color: var(--top-nav-dim);
  width: fit-content;
  height: fit-content;
  max-width: 500px;
  display: flex;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 30px;
  padding-top: 5px;
  border: 2px solid transparent;
  border-radius: 50px;
  z-index: 100000;
  flex-shrink: 1;
  flex-wrap: 1;
  font-size: 15px;
  box-shadow: rgba(137, 137, 137, 0.6) 0px 4px 8px;
  display: none;
}
.top-option {
  border: 2px solid transparent;
  border-radius: 50px;
  padding: 0px 4px;
}
.top-option:hover {
  background-color:var(--achievement);
  box-shadow: var(--cards-above) 0px 0px 4px 2px;
  color: #ff3300;
  border-radius: 17px;
}
.theme-toggle {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  padding: 0;
  border: 1px solid var(--outline);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.theme-toggle:hover,
.theme-toggle:focus-visible {
  color: var(--highlight);
  border-color: var(--highlight);
  outline: none;
}
.theme-toggle .theme-icon {
  display: none;
}
html[data-theme="dark"] .theme-toggle .theme-icon-sun,
html:not([data-theme]) .theme-toggle .theme-icon-sun,
html[data-theme="light"] .theme-toggle .theme-icon-moon {
  display: block;
}
.space-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
@media (max-width: 768px) {
  .space-between {
    gap: 5px;
  }
  .work-card {
    border-radius: 15px;
  }
  .achieve-card {
    border-radius: 15px;
  }
}
.contain {
  width: 100%;
  max-width: 1200px; /* keep content centered and constrained */
  height: auto;
  padding: 10px clamp(16px, 3vw, 40px);
  margin: 0 auto; /* center with equal left/right margins */
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  right: 0;
}

@media (max-width: 768px) {
  .contain {
    width: 100%; /* stretch full width for symmetric padding */
    max-width: 100%; /* no max constraint on mobile */
    height: auto;
    flex-direction: column;
    flex-wrap: wrap;
    overflow-wrap: break-word;
    margin-right: 0;
    margin-left: 0;
    padding: 10px clamp(16px, 3vw, 40px); /* apply symmetric padding */
  }
}
.column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.double-column {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.double-rows {
  display: grid;
  grid-auto-flow: row;
  grid-auto-rows: repeat(minmax(200px, 1fr));
  gap: 20px;
}
.rows {
  display: grid;
  grid-auto-flow: row;
  grid-auto-rows: repeat(minmax(200px, 1fr));
}
.one-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  top: 5px;
}
@media (max-width: 768px) {
  .one-line {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }
}
.triple-column {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: repeat(minmax(500px, 1fr));
  gap: 20px;
  margin-bottom: 15px;
}
.triple-column-count {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: repeat(minmax(200px, 1fr));
  gap: 5px;
  margin: auto;
  place-content: center;
}
.triple-column-result {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: repeat(minmax(200px, 1fr));
  gap: 18px;
  margin: auto;
}
.triple-column-flex {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 768px) {
  .triple-rows {
    row-gap: -5px;
  }
}
@media (max-width: 370px) {
  .triple-column-count {
    gap: 2px;
    display: flex;
    flex-direction: column;
  }
}
.triple-rows {
  display: grid;
  grid-auto-flow: row;
  grid-auto-rows: repeat(200px, 1fr);
  gap: -10px;
}
.double-column-auto {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: repeat(auto-fill, minmax(150px, 1fr));
  margin-bottom: 20px;
  margin-left: 0;
  margin-right: 0;
  column-gap: 12px;
}
@media (max-width: 768px) {
  .double-column-auto {
    grid-auto-flow: row;
    margin-left: 0;
    margin-right: 0;
  }
}
@media (max-width: 1100px) {
  .triple-column {
    display: flex;
    flex-wrap: wrap;
    flex-grow: 3;
  }
}
.five-column {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-content: center;
}
.five-column-image {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  justify-content: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 5px;
}
.six-column-image {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
h1.main-head,
h1 {
  display: block;
  grid-auto-columns: 1fr 1fr;
  width: 100%;
  grid-column: 1 / -1;
  margin-right: 0;
  display: flex;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .double-column {
    grid-template-columns: 1fr;
  }
  .six-column-image {
    gap: 15px;
  }
  .five-column-image {
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    padding: 5px;
  }
  .contain {
    padding: 0 20px;
  }
}
@media (max-width: 1400px) {
  h1.main-head {
    display: flex;
    flex-wrap: wrap;
  }
  .main-head {
    display: flex;
    flex-wrap: wrap;
  }
  .subheading {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
  }
}
.results {
  display: flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
  padding: 10px 20px;
  border-color: transparent;
  border-width: 2px;
  border-style: solid;
  background-color: hsla(0, 0%, 8%, 0.796);
  margin-bottom: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
  margin-left: auto !important;
  margin-right: auto !important;
  animation: glow 2s infinite;
  flex-shrink: 2;
  margin-left: 10px;
  margin-right: 10px;
}
.results-tag {
  color: hsl(39, 61%, 66%);
  font-size: 30px;
  font-family: "Jetbrains Mono", monospace;
  font-weight: 900;
  display: flex;
  justify-content: center;
  align-items: center !important;
  gap: 10px;
  flex-wrap: wrap;
  text-align: center !important;
}
@media (max-width: 768px) {
  .results-tag {
    font-size: 20px;
  }
  .results {
    width: 100%;
    padding: 10px 10px;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
@media (max-width: 450px) {
  .results-tag {
    font-size: 15px;
  }
  .results {
    display: flex;
    flex-direction: column;
  }
}
.Long-bottom {
  border-bottom: 2px solid var(--achievement);
  width: 100%;
  right: 0;
  left: 0;
  height: auto;
  margin-top: 10px;
}
.card {
  background-color: var(--cards);
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin-top: 10px;
  border-left: 4px solid var(--highlight);
  background-size: contain;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-right: 10px;
}
.tools-card {
  background-color: var(--cards);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin-top: 30px;
  border: 3px solid var(--cards-above-tools);
  max-height: 400px;
  overflow-y: auto;
  overflow-x: auto;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-evenly;
}
.highest-card {
  background-color: var(--cards);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin-top: 30px;
  border: 3px solid var(--cards-above-tools);
  height: auto;
  overflow-y: auto;
  overflow-x: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.Project-card-n {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 1);
  margin-top: 20px;
  width: 100%;
  max-width: 100%;
  height: auto;
  overflow-y: hidden;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--achievement);
  max-height: 500px;
  position: relative;
  background-color: var(--gradient);
}
.Project-card {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 1);
  margin-top: 15px;
  width: 100%;
  max-width: 100%;
  height: auto;
  overflow-y: hidden;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--achievement);
  max-height: 500px;
  position: relative;
  background-color: var(--gradient);
}
.Project-card:hover,
.Project-card-n:hover {
  box-shadow: var(--used) 0px 2px 4px 2px;
}
@media (max-width: 768px) {
  .Project-card {
    max-height: 450px;
    margin-right: 0;
  }
  .right {
    font-size: 12px;
  }
  .left {
    font-size: 13px;
  }
  .Project-card-n {
    max-height: 450px;
    margin-right: 0;
  }
}
.Uni-logo {
  width: 100%;
  height: 100%;
  max-width: 30px;
  max-height: 30px;
  display: flex;
  flex-shrink: 1;
}
.Uni-card {
  width: 100%;
  max-width: 100%;
  height: 100%;
  margin-left: 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin-top: 15px;
  overflow-y: hidden;
  overflow-x: hidden;
  display: flex;
  min-width: 0; /* allow shrinking inside flex containers */
  flex: 1 1 auto;
  box-sizing: border-box;
  position: relative;
  padding: 10px 20px;
  background-color: var(--cards);
  border: hsl(0, 0%, 40%) 3px solid;
}
.between-spaced {
  display: flex;
  width: 100%;
  justify-content: space-between;
}
.corner-top {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  z-index: 9999;
  position: absolute;
  top: 10px;
  right: 10px;
  width: auto;
  height: auto;
}
.redirect {
  background-color: var(--used);
  border: 2px solid var(--highlight);
  border-radius: 2px;
  width: fit-content;
  height: fit-content;
  padding: 5px 10px;
  font-size: 11px;
  font-family: "Jetbrains Mono", monospace;
  color: var(--text);
}
.redirect-media {
  background-color: var(--cards-above);
  border: 2px solid var(--background-color);
  border-radius: 2px;
  width: 100%;
  height: fit-content;
  padding: 20px 10px;
  font-size: 12px;
  font-family: "Jetbrains Mono", monospace;
  color: var(--text);
  margin-left: 5px;
}
.redirect-p {
  background-color: var(--used);
  border: 2px solid var(--highlight);
  border-radius: 2px;
  width: fit-content;
  height: fit-content;
  padding: 5px 20px;
  font-size: 13px;
  font-family: "Jetbrains Mono", monospace;
  color: var(--text);
}
.redirect:active,
.redirect:hover,
.redirect-p:active,
.redirect-p:hover,
.redirect-media:hover,
.redirect-media:active {
  background-color: var(--accent);
  border-color: hsl(115, 100%, 35%);
  color: #000000;
}
.project-img {
  object-fit: cover;
  width: 100%;
  height: 80%;
  max-height: 290px;
  mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
  opacity: 1;
  animation: brightness 3s ease-in-out infinite alternate;
}
@keyframes brightness {
  0% {
    filter: brightness(1);
  }
  25% {
    filter: brightness(0.8);
  }
  50% {
    filter: brightness(0.6);
  }
  75% {
    filter: brightness(0.8);
  }
  100% {
    filter: brightness(1);
  }
}
.section-engineer {
  width: 100%;
  border: 2px solid var(--cards-above);
  padding: 5px 20px;
  margin-right: 0; /* remove right margin for symmetric spacing */
}
h2.Engine {
  font-family: "Jetbrains Mono", monospace;
  font-size: 30px;
  font-weight: 900;
  margin: 40px 0px;
}
.specs-card {
  background-color: var(--cards-above-dark);
  padding: 10px 10px;
  box-sizing: border-box;
  width: 100%;
  height: fit-content;
  border: 1px solid var(--cards-above);
  border-right-width: 5px;
  border-left-width: 5px;
  border-right-color: var(--used);
  margin-right: 0; /* remove right margin for symmetric spacing */
}
.work-card {
  width: 100%;
  max-width: 100%;
  height: 100%;
  margin-left: 0;
  border: 3px solid var(--cards-above);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin-top: 15px;
  overflow-y: hidden;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  border-bottom: 8px solid var(--cards-above-tools);
  min-width: 0; /* allow shrinking inside flex containers */
  flex: 1 1 auto;
  box-sizing: border-box;
  position: relative;
  padding: 20px 20px;
  background-color: var(--cards);
}
@media (max-width: 768px) {
  .work-card .achieve-card {
    flex-shrink: 0;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    margin-right: 0;
    max-width: 100%;
    max-height: none;
    padding: 12px;
    font-size: 70%;
  }
}
.work-card:hover {
  box-shadow: var(--color-change) 0px 4px 6px;
  animation: glow 2s infinite;
}
.cert {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  font-size: 25px;
  font-family: "Jetbrains Mono", monospace;
  color: var(--cert);
  margin-right: 20px;
}
.tag {
  color: var(--achievement);
  font-size: 15px;
  font-family: "Jetbrains Mono", monospace;
  width: auto;
  max-width: 300px;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.tagt,
.tag-e {
  color: var(--used);
  font-size: 15px;
  font-family: "Jetbrains Mono", monospace;
  width: 100%;
  max-width: 600px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .tag {
    font-size: 12px;
  }
  .tagt {
    font-size: 9px;
  }
  .tag-e {
    font-size: 15px;
  }
  .cert {
    font-size: 20px;
  }
  h2.job {
    font-size: 18px;
  }
  h3 {
    font-size: 20px;
  }
  .work-content {
    font-size: 11px;
  }
  .cert-tag-n {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}
.cert-tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
  left: 0;
}
.cert-tag-n {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
  left: 0;
}
.cert-tag-BOTTOM {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 20px;
  vertical-align: bottom;
  margin-top: auto;
}
.work-content {
  color: var(--work-content);
  font-size: 15px;
  font-family: "Jetbrains Mono", Monospace;
}
@media (max-width: 768px) {
  .specs-card {
    width: 100%;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }
}
.count {
  font-size: 45px;
  letter-spacing: 2px;
  font-weight: 900;
  color: var(--count);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.bottom-card {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.Project-desc {
  background: linear-gradient(to top, #040404 50%, #ffffff00);
  height: auto;
  max-height: auto;
  width: 100%;
  padding: 0 15px;
  padding-bottom: 10px;
  padding-top: 5px;
  overflow-x: hidden;
  overflow-y: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
  font-size: 15px;
  gap: 10px;
  flex-grow: 1;
  vertical-align: bottom;
  z-index: 40;
}
@media (max-width: 768px) {
  .Project-desc {
    flex-direction: row !important;
  }
}
.project {
  width: 100%;
  height: 80%;
}
.group {
  background-color: transparent;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border: 3px solid transparent;
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  margin: 20px 0;
  width: 100%;
  max-width: 100%;
}
@media (max-width: 768px) {
  .group {
    display: flex;
    flex-grow: 1;
  }
}
.tools-card::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
.tools-card::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}
.tools-card::-webkit-scrollbar-thumb {
  background: var(--highlight);
  border-radius: 10px;
}
.tools-card::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 166, 0, 0.8);
}
.profile-above {
  background-color: var(--highlight);
  border-bottom: 2px solid transparent;
  border-radius: 20px;
  width: 100%;
  height: fit-content;
  padding: 10px 20px;
}
.card-above {
  background-color: var(--cards-above);
  width: 100%;
  height: 50px;
  border-radius: 20px 20px 0 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow-x: hidden;
  overflow-y: hidden;
  padding-right: 10px;
}
.LIVE-BAR {
  width: var(--sidebar-width);
  height: 100vh;
  background-color: var(--sidebar);
  border-right: 2px solid transparent;
  border-radius: 5px;
  position: fixed;
  top: 0;
  right: 0;
  left: auto; /* don't stretch full width */
  border-radius: 0 8px 8px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  backdrop-filter: blur(10px);
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0));
  letter-spacing: 0.06rem;
  overflow-x: hidden;
  overflow-y: auto;
  padding-top: 0;
  font-size: 20px;
  backdrop-filter: blur(10px);
}
.pulser {
  background-color: var(--highlight);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  animation: pulse 2s infinite;
  border: 2px solid transparent;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 var(--highlight);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(236, 65, 17, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(236, 65, 17, 0);
  }
}
@keyframes pulsed {
  0% {
    box-shadow: 0 0 0 0 var(--accent);
  }
  70% {
    box-shadow: 0 0 0 5px rgba(236, 65, 17, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(236, 65, 17, 0);
  }
}
#side.LIVE {
  color: var(--highlight);
  padding-left: 20px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 30px;
  top: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  top: 0;
}
#bottom.LIVE {
  font-size: 20px;
  color: var(--highlight);
  padding-left: 20px;
  font-family: "Bebas Neue", sans-serif;
  top: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  top: 0;
  bottom: 30px;
}
.live {
  padding-left: 20px;
  gap: 10px;
  font-size: 13px;
  font-weight: bolder;
  margin-bottom: 20px;
  display: block;
}
.skills {
  padding-left: 20px;
  gap: 10px;
  font-size: 13px;
  font-weight: bolder;
  margin-bottom: 20px;
  display: block;
  color: var(--highlight);
  display: flex;
  flex-direction: column;
  padding-top: 30px;
}
@media (max-width: 1300px) {
  .LIVE-BAR {
    display: none;
  }
}
.end {
  display: flex;
  justify-content: flex-end;
  margin-right: 20px;
}
.tools-above {
  background-color: var(--cards);
  border: 2px solid var(--cards);
  border-radius: 10px;
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  flex-grow: 1;
  padding: 10px 0;
}
.tools-column-image {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.traffic-lights {
  display: flex;
  gap: 10px;
  margin-left: auto;
  padding-right: 0; /* remove right padding for symmetric spacing */
}
.red {
  background-color: #d80000;
  width: 15px;
  height: 15px;
  border-radius: 50%;
}
.yellow {
  background-color: #ffcc00;
  width: 15px;
  height: 15px;
  border-radius: 50%;
}
.green {
  background-color: #00cc66;
  width: 15px;
  height: 15px;
  border-radius: 50%;
}
.content {
  padding-left: 20px;
  padding-right: 0; /* remove right padding for symmetric spacing */
  padding-top: 10px;
}
.status-card {
  background-color: var(--highlight-dim);
  border-radius: 5px;
  width: fit-content;
  height: fit-content;
  padding: 5px 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin-top: 5px;
  font-size: 12px;
  margin-bottom: 5px;
  border: 2px solid var(--highlight);
  font-weight: 400;
  box-sizing: border-box;
  align-items: center;
  display: flex;
  flex-direction: row;
}
.used-card {
  background-color: var(--used);
  border-radius: 30px;
  width: fit-content;
  height: fit-content;
  padding: 2px 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  font-size: 12px;
  margin-bottom: 2px;
  border: 2px solid var(--highlight);
  font-weight: bolder;
  color: var(--text);
}
.used-card:hover {
  background-color: var(--HOVERED);
  transition: glow 5s ease;
}
.used {
  background-color: var(--);
  border-radius: 20px;
  width: 100%;
  height: fit-content;
  padding: 5px 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  font-size: 12px;
  margin-bottom: 2px;
  border: 2px solid var(--highlight);
  font-weight: bolder;
  overflow-x: hidden;
  overflow-y: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  letter-spacing: 2px;
  flex-grow: 1;
}
.used:hover {
  background-color: var(--used);
  border-color: rgb(255, 85, 0);
}
@media (max-width: 768px) {
  .used {
    width: 400px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
  }
  h1.tech {
    font-size: 30px;
  }
}
h2 {
  color: var(--header);
  font-family: "outfit", sans-serif;
}
h1 {
  color: var(--header);
  font-size: 70px;
  overflow-wrap: break-word;
  word-wrap: break-word;
  font-weight: 900;
  font-family: "BaseNeue-Black", sans-serif;
  letter-spacing: -4px;
  word-spacing: 5px;
}

@media (max-width: 1200px) {
  h1 {
    font-size: 65px;
  }
}
@media (max-width: 992px) {
  h1 {
    font-size: 60px;
  }
}
h2 {
  letter-spacing: 5px;
  font-size: 20px;
}
h2.code {
  letter-spacing: 5px;
  font-size: 20px;
  background-color: var(--code-background);
  padding: 30px 60px;
  border-radius: 10px;
  box-shadow: var(--box-code-shadow);
  margin-top: 30px;
  margin-bottom: 30px;
}
@media (max-width: 768px) {
  h2.code {
    margin-top: 70px;
    padding: 10px 30px;
    font-size: 25px;
  }
}
h3.STARCORP {
  font-style: italic;
  letter-spacing: 6px;
}
h3.Exp {
  letter-spacing: 10px;
  text-align: center;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  h3.Exp {
    font-size: 15px;
  }
}
h3 {
  font-size: 20px;
  color: var(--header);
  font-family: "Jetbrains mono", monospace;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}
.subheading {
  color: var(--on-surface);
  font-size: 15px;
}
.text {
  color: var(--text);
  font-size: 14px;
  margin-top: 10px;
  font-family: "Jetbrains Mono", monospace;
  font-weight: 600;
}
.Text {
  color: var(--text);
  font-size: 13px;
  margin-top: 10px;
  font-family: "Metrophobia", sans-serif;
  font-weight: 300;
}
.text-center {
  color: var(--text);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.occupation {
  color: var(--highlight);
  font-size: 20px;
  font-weight: bold;
  margin-top: 10px;
}
.under-text {
  background-color: var(--highlight);
  height: 2px;
  width: 100%;
  margin-top: 5px;
  margin-right: 0; /* remove right margin for symmetric spacing */
  border-radius: 5px;
  overflow-x: auto;
}
.stack {
  margin-bottom: 20px;
}
.center {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  opacity: 0.7;
}
.Center {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 0px auto;
  opacity: 0.7;
}
.image-container {
  width: 100px;
  height: 100%;
  max-height: 100px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  padding: 13px;
  transition: background-color 0.3s ease;
  box-shadow: rgba(255, 255, 255, 0.167) 0px 6px 8px;
  margin-left: 5px;
}
#html.image-container {
  background-color: rgb(255, 89, 0);
}
#css.image-container {
  background-color: rgb(0, 58, 193);
}
#js.image-container {
  background-color: rgb(255, 196, 0);
}
#py.image-container {
  background-color: rgb(30, 27, 98);
  padding: 10px;
}
#php.image-container {
  background-color: rgb(132, 126, 174);
}
#sql.image-container {
  background-color: rgb(120, 161, 255);
}
#wind.image-container {
  background-color: rgb(70, 100, 169);
}
#VS.image-container {
  background-color: rgb(19, 46, 109);
}
#git.image-container {
  background-color: rgb(125, 125, 125);
}
#Fig.image-container {
  background-color: rgb(228, 224, 217);
}
#Pycharm.image-container {
  background-color: rgb(10, 135, 77);
}
#Canva.image-container {
  background-color: rgb(28, 82, 89);
}
#On.image-container {
  background-color: rgb(36, 36, 36);
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#Pro.image-container {
  background-color: rgb(0, 0, 0);
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#X.image-container {
  background-color: rgb(255, 119, 0);
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
}
.procreate {
  width: 150px;
  height: 100px;
  rotate: 350deg;
}
@media (max-width: 768px) {
  .image-container {
    width: 75px;
    height: auto;
    max-height: 75px;
  }
  #On.image-container {
    background-color: rgb(36, 36, 36);
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    display: 0;
  }
  #Pro.image-container {
    background-color: rgb(0, 0, 0);
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    display: 0;
  }
  #X.image-container {
    background-color: rgb(255, 119, 0);
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
    display: 0;
  }
}
.image-container:hover {
  animation: glow 2s infinite;
}
.image-container-text {
  color: var(--text);
  font-size: 14px;
  margin-top: 10px;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.3s ease;
  height: 0;
  overflow: hidden;
}
.image-text {
  color: var(--text);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}
.tools-container {
  width: 50px;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: transparent;
  border-radius: 10px;
  padding: 20px;
  transition: background-color 0.3s ease;
}
@keyframes glow {
  0% {
    box-shadow: 0 8px 5px var(--shadow);
  }
  50% {
    box-shadow: 0 8px 20px var(--shadow);
  }
  100% {
    box-shadow: 0 8px 5px var(--shadow);
  }
}
ul.listing {
  list-style-type: none;
  padding: 0;
  letter-spacing: 3px;
}
li {
  margin-top: 8px;
  margin-bottom: 8px;
}
li.achieve {
  display: flex;
  overflow-x: hidden;
  overflow-y: hidden;
}
.gold {
  color: rgb(255, 162, 0);
  font-size: 45px;
  font-weight: bold;
}
.silver {
  color: rgb(175, 175, 175);
  font-size: 45px;
  font-weight: bold;
}
.bronze {
  color: rgb(139, 74, 0);
  font-size: 45px;
  font-weight: bold;
}
.down-line {
  background-color: var(--highlight);
  width: 2px;
  height: 100%;
  border-radius: 10px;
}
.gold-text {
  color: rgb(255, 162, 0);
  font-size: 15px;
  font-weight: bold;
}
.silver-text {
  color: rgb(175, 175, 175);
  font-size: 15px;
  font-weight: bold;
}
.bronze-text {
  color: rgb(139, 74, 0);
  font-size: 15px;
  font-weight: bold;
}
.right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-weight: bolder;
  color: var(--used);
  font-size: 15px;
}
.left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 17px;
  flex-direction: row;
}
@media (max-width: 768px) {
  .specs {
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: flex-start;
    text-align: left;
    justify-content: flex-start;
    gap: 10px;
    padding-left: 0;
  }
}
.achieve {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  border-bottom: 2px solid rgba(116, 116, 116, 0.225);
  border-width: auto;
}
.project-name {
  font-weight: bold;
  margin-bottom: 5px;
  font-size: 20px;
  margin-top: 5px;
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  flex-direction: column;
}
.project-data {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-evenly;
  gap: 5px;
  padding: 0px 5px;
  opacity: 1;
  padding-top: 5px;
}
.project-detail {
  font-size: 12px;
  font-family: "Jetbrains Mono", monospace;
  color: hsl(0, 0%, 40%);
  padding-right: 5px;
  padding-bottom: 5px;
  overflow-wrap: break-word;
  box-sizing: border-box;
  margin-right: 20px;
}
.xampp {
  width: 150px;
  height: 150px;
}
a {
  font-style: none;
  color: var(--text);
  text-decoration: none;
}
.Bottom-nav {
  width: 100%;
  height: 50px;
  background-color: var(--below);
  overflow-x: auto;
  bottom: 0;
  padding-bottom: 1000000000000000000000000000000000px;
  left: 0;
  padding: 5px 10px;
  overflow-y: hidden;
  margin-top: 70px;
  vertical-align: bottom;
}
.differ {
  display: none;
  overflow: hidden;
  align-items: center;
  justify-content: space-between;
  vertical-align: top;
  padding-bottom: 20px;
}
.right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.year {
  color: #ffddd6;
  font-size: 14px;
  font-weight: bold;
  opacity: 1;
  overflow: hidden;
  letter-spacing: 1px;
}
.specs {
  font-size: 17px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid rgba(255, 255, 255, 0.127);
  margin-top: 10px;
  margin-bottom: 10px;
}
.specs-data {
  font-size: 17px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid rgba(255, 255, 255, 0.127);
  margin-top: 10px;
  margin-bottom: 10px;
}
.new-tools {
  width: 10px;
  height: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: contain;
  flex-shrink: 1;
}
@keyframes filling {
  0% {
    border: 5px solid transparent;
    box-shadow: none;
  }
  10% {
    border-top: 5px solid rgba(255, 166, 0, 0.262);
    box-shadow: rgb(255, 162, 0) 0px 4px 8px;
  }
  20% {
    border-top: 5px solid rgba(255, 166, 0, 0.316);
    border-right: 5px solid rgba(255, 166, 0, 0.262);
    box-shadow: rgb(255, 162, 0) 0px 4px 8px;
  }
  30% {
    border-top: 5px solid rgba(255, 166, 0, 0.489);
    border-right: 5px solid rgba(255, 166, 0, 0.329);
    border-bottom: 5px solid rgba(255, 166, 0, 0.262);
    box-shadow: rgb(255, 162, 0) 0px 4px 8px;
  }
  40% {
    border-top: 5px solid rgba(255, 166, 0, 0.6);
    border-right: 5px solid rgba(255, 166, 0, 0.5);
    border-bottom: 5px solid rgba(255, 166, 0, 0.4);
    border-left: 5px solid rgba(255, 166, 0, 0.3);
    box-shadow: rgb(255, 162, 0) 0px 4px 8px;
  }
  50% {
    border-top: 5px solid rgba(255, 166, 0, 0.7);
    border-right: 5px solid rgba(255, 166, 0, 0.6);
    border-bottom: 5px solid rgba(255, 166, 0, 0.5);
    border-left: 5px solid rgba(255, 166, 0, 0.4);
    box-shadow: rgb(255, 162, 0) 0px 4px 8px;
  }
  60% {
    border-top: 5px solid rgba(255, 166, 0, 0.8);
    border-right: 5px solid rgba(255, 166, 0, 0.7);
    border-bottom: 5px solid rgba(255, 166, 0, 0.6);
    border-left: 5px solid rgba(255, 166, 0, 0.5);
    box-shadow: rgb(255, 162, 0) 0px 4px 8px;
  }
  70% {
    border-top: 5px solid rgba(255, 166, 0, 0.9);
    border-right: 5px solid rgba(255, 166, 0, 0.8);
    border-bottom: 5px solid rgba(255, 166, 0, 0.7);
    border-left: 5px solid rgba(255, 166, 0, 0.6);
    box-shadow: rgb(255, 162, 0) 0px 4px 8px;
  }
  80% {
    border-top: 5px solid rgba(255, 166, 0, 1);
    border-right: 5px solid rgba(255, 166, 0, 0.9);
    border-bottom: 5px solid rgba(255, 166, 0, 0.8);
    border-left: 5px solid rgba(255, 166, 0, 0.7);
    box-shadow: rgb(255, 162, 0) 0px 4px 8px;
  }
  90% {
    border-top: 5px solid rgba(255, 166, 0, 1);
    border-right: 5px solid rgba(255, 166, 0, 1);
    border-bottom: 5px solid rgba(255, 166, 0, 0.9);
    border-left: 5px solid rgba(255, 166, 0, 0.8);
    box-shadow: rgb(255, 162, 0) 0px 4px 8px;
  }
  95% {
    border-top: 5px solid rgba(255, 166, 0, 1);
    border-right: 5px solid rgba(255, 166, 0, 1);
    border-bottom: 5px solid rgba(255, 166, 0, 1);
    border-left: 5px solid rgba(255, 166, 0, 0.9);
    box-shadow: rgb(255, 162, 0) 0px 4px 8px;
  }
  100% {
    border-top: 5px solid rgba(255, 166, 0, 1);
    border-right: 5px solid rgba(255, 166, 0, 1);
    border-bottom: 5px solid rgba(255, 166, 0, 1);
    border-left: 5px solid rgba(255, 166, 0, 1);
    box-shadow: rgb(255, 162, 0) 0px 4px 8px;
  }
  95% {
    border-top: 5px solid rgba(255, 166, 0, 1);
    border-right: 5px solid rgba(255, 166, 0, 1);
    border-bottom: 5px solid rgba(255, 166, 0, 1);
    border-left: 5px solid rgba(255, 166, 0, 0.9);
    box-shadow: rgb(255, 162, 0) 0px 4px 8px;
  }
  90% {
    border-top: 5px solid rgba(255, 166, 0, 1);
    border-right: 5px solid rgba(255, 166, 0, 1);
    border-bottom: 5px solid rgba(255, 166, 0, 0.9);
    border-left: 5px solid rgba(255, 166, 0, 0.8);
    box-shadow: rgb(255, 162, 0) 0px 4px 8px;
  }
  80% {
    border-top: 5px solid rgba(255, 166, 0, 1);
    border-right: 5px solid rgba(255, 166, 0, 0.9);
    border-bottom: 5px solid rgba(255, 166, 0, 0.8);
    border-left: 5px solid rgba(255, 166, 0, 0.7);
    box-shadow: rgb(255, 162, 0) 0px 4px 8px;
  }
  70% {
    border-top: 5px solid rgba(255, 166, 0, 0.9);
    border-right: 5px solid rgba(255, 166, 0, 0.8);
    border-bottom: 5px solid rgba(255, 166, 0, 0.7);
    border-left: 5px solid rgba(255, 166, 0, 0.6);
    box-shadow: rgb(255, 162, 0) 0px 4px 8px;
  }
  60% {
    border-top: 5px solid rgba(255, 166, 0, 0.8);
    border-right: 5px solid rgba(255, 166, 0, 0.7);
    border-bottom: 5px solid rgba(255, 166, 0, 0.6);
    border-left: 5px solid rgba(255, 166, 0, 0.5);
    box-shadow: rgb(255, 162, 0) 0px 4px 8px;
  }
  50% {
    border-top: 5px solid rgba(255, 166, 0, 0.7);
    border-right: 5px solid rgba(255, 166, 0, 0.6);
    border-bottom: 5px solid rgba(255, 166, 0, 0.5);
    border-left: 5px solid rgba(255, 166, 0, 0.4);
    box-shadow: rgb(255, 162, 0) 0px 4px 8px;
  }
  40% {
    border-top: 5px solid rgba(255, 166, 0, 0.6);
    border-right: 5px solid rgba(255, 166, 0, 0.5);
    border-bottom: 5px solid rgba(255, 166, 0, 0.4);
    border-left: 5px solid rgba(255, 166, 0, 0.3);
    box-shadow: rgb(255, 162, 0) 0px 4px 8px;
  }
  30% {
    border-top: 5px solid rgba(255, 166, 0, 0.489);
    border-right: 5px solid rgba(255, 166, 0, 0.329);
    border-bottom: 5px solid rgba(255, 166, 0, 0.262);
    box-shadow: rgb(255, 162, 0) 0px 4px 8px;
  }
  20% {
    border-top: 5px solid rgba(255, 166, 0, 0.316);
    border-right: 5px solid rgba(255, 166, 0, 0.262);
    box-shadow: rgb(255, 162, 0) 0px 4px 8px;
  }
  10% {
    border-top: 5px solid rgba(255, 166, 0, 0.262);
    box-shadow: rgb(255, 162, 0) 0px 4px 8px;
  }
  0% {
    border-color: none;
    box-shadow: none;
  }
}
.ccenter {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}
.achievement-link {
  background-color: var(--achievement);
  width: fit-content;
  height: auto;
  padding: 10px 20px;
  border: 5px solid transparent;
  margin-top: 30px;
  border-radius: 10px;
  margin-bottom: 5px;
  color: var(--text);
}
.achievement-link:hover {
  animation: filling 2s infinite;
}
.achievement-card {
  background-color: var(--cards);
  border: 3px solid var(--cards-above-tools);
  padding: 10px 20px;
  height: auto;
  width: auto;
  border-radius: 10px;
  margin-top: 40px;
}
h2.ach {
  margin-top: 20px;
  font-size: 40px;
  letter-spacing: 15px;
}
.achievement-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.achievement-link .box {
  width: 100%;
}
.achievement-link:hover .box {
  background-color: var(--hovered);
  border-color: var(--primary-color);
  box-shadow: 0 0 10px var(--border);
}
.olympiad-row + .olympiad-row {
  margin-top: 4px;
}
.olympiad-row.BOXED-row {
  margin-bottom: 4px;
}
.olympiad-row.BOXED-row {
  margin-bottom: 4px;
}
.olympiad-row.BOXED-row .box {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  border-radius: 5px;
  border: 2px solid transparent;
  padding: 8px 10px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.olympiad-row.BOXED-row .box:hover {
  border-color: var(--border);
  box-shadow: 0 0 10px rgba(212, 74, 0, 0.2);
}
.olympiad-row.BOXED-row .oran {
  color: var(--text-color);
  font-size: 16px;
}
.olympiad-row.BOXED-row .oran:hover {
  color: var(--accent-color);
  font-size: 16px;
}
.olympiad-row.BOXED-row .olympiad-title {
  flex: 1;
  text-align: left;
}
.olympiad-row.BOXED-row .olympiad-rank {
  text-align: right;
}
.olympiad-title {
  font-size: 16px;
  font-weight: 700;
  color: currentColor;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.olympiad-rank {
  font-size: 15px;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
  color: var(--accent2-color);
}
@media (max-width: 760px) {
  .olympiad-row {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .olympiad-title,
  .olympiad-rank {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    text-align: left;

    white-space: normal;
  }
  .olympiad-rank {
    margin-top: 2px;
  }
  .olympiad-row.BOXED-row .box {
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .olympiad-row.BOXED-row .box .olympiad-rank {
    text-align: left;
    margin-top: 4px;
  }
  .olympiad-row.BOXED-row .box .olympiad-title {
    width: 100%;
  }
}
.olympiad-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--under-text);
  margin: 0 4px;
}
.sidebar {
  width: var(--sidebar-width);
  height: 100vh;
  background-color: var(--sidebar);
  border-right: 2px solid transparent;
  border-radius: 5px;
  position: fixed;
  top: 0;
  left: 0;
  right: auto; /* don't stretch full width */
  border-radius: 0 8px 8px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  backdrop-filter: blur(10px);
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0));
  letter-spacing: 0.06rem;
  overflow-x: hidden;
  padding-left: 5px;
  font-family: "JetBrains Mono", monospace;
}
.background-img {
  background-image: url("Imager (1).jpg");
  width: 100%;
  max-width: 1600px;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  object-fit: cover;
  pointer-events: none;
  background-repeat: no-repeat;
}
li {
  text-decoration: none;
  list-style: none;
}
.list {
  margin-bottom: 5px;
  padding: 20px 15px;
  font-size: 15px;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  width: 100%;
  height: auto;
  border-left: 5px solid transparent;
}
/* Responsive card/grid adjustments (top-level) */
@media (max-width: 1200px) {
  .project-img {
    max-height: 260px;
  }
}
.project-img:hover {
  filter: brightness(1) !important;
}
@media (max-width: 992px) {
  .contain {
    width: 100%;
    padding: 10px;
  }
  .double-column,
  .triple-column,
  .double-column-auto {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .triple-column-flex {
    flex-direction: column;
  }
  .project-img {
    width: 100%;
    height: auto;
    max-height: 240px;
  }
  h1 {
    font-size: 55px;
  }
}

@media (max-width: 768px) {
  .contain {
    padding: 0 12px;
  }
  .project-img {
    max-height: 240px;
  }
  .double-column-auto {
    grid-auto-flow: row;
    grid-auto-columns: 1fr;
    column-gap: 12px;
  }
  h1 {
    font-size: 50px;
  }
}

.list:hover {
  background-color: var(--list-hover);
  width: 100%;
  height: auto;
  border-left: 5px solid var(--header);
  color: var(--used);
}
.list:active {
  background-color: var(--achievement);
}
h4#side.side {
  padding-left: 20px;
  font-size: 35px;
  color: var(--used);
  font-family: "Bebas Neue", sans-serif;
}
h6#side.side {
  font-size: 15px;
  padding-left: 20px;
}
.undertaker {
  color: var(--achievement);
  margin-top: 2px;
}
@media (max-width: 1100px) {
  .sidebar {
    display: none;
    opacity: 0;
    transform: translateX(-100px);
  }
  .LIVE-BAR {
    display: none;
  }
}

@media (max-width: 1400px) {
  /* keep sidebar near the left edge if viewport is narrower than centered content area */
  .sidebar {
    display: none;
  }
  .LIVE-BAR {
    display: none;
  }
  .top-nav {
    display: flex;
  }
}
.STATS {
  margin-top: 30px;
  padding-left: 30px;
  font-size: 15px;
}
.achieve-card {
  width: 100%;
  max-width: 100%;
  height: 100%;
  margin-left: 0;
  border: 3px solid var(--cards-above);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin-top: 15px;
  overflow-y: hidden;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  border-bottom: 8px solid var(--cards-above-tools);
  min-width: 0; /* allow shrinking inside flex containers */
  flex: 1 1 auto;
  box-sizing: border-box;
  position: relative;
  background-color: #000000;
}

.ra,
.rar {
  padding: 20px 20px;
  background-color: var(--achieve);
  z-index: 5;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.ra:hover:not(:has(.redirect:hover)) {
  transform: translateY(-100%);
  transition: transform 1.5s ease;
  background-size: cover;
}
.rar:hover:not(:has(.redirect:hover)) {
  transform: translateY(-50%);
  transition: transform 1.5s ease;
  background-size: cover;
}
.ra:not(:hover) {
  transform: translateY(0);
  transition: transform 0.5s cubic-bezier(0.06, 0.67, 0.97, 0.21);
}
.ra:active {
  transform: translateY(-100%);
  transition: transform 1.5s ease;
  background-size: cover;
}
.cage {
  background-color: transparent;
  width: 100%;
  max-width: 190px;
  height: 10px;
  border: 2px solid var(--cards-above);
  border-radius: 10px;
  margin: 0px 15px;
  margin-top: 10px;
  background-size: contain;
  overflow: hidden;
  z-index: 3;
}
.certif {
  background-size: cover;
  width: 100%;
  position: absolute;
  opacity: 70%;
  height: auto;
  width: 100%;
  transform: translateX(0%);
  z-index: 1;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}
.certif-exp {
  background-size: cover;
  width: 100%;
  position: absolute;
  opacity: 70%;
  height: auto;
  width: 100%;
  transform: translateX(0%);
  z-index: 1;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}
@media (min-width: 1100px) {
  .certif {
    margin-bottom: 60px;
  }
}
@media (max-wdith: 768px) {
  .certif {
    margin-bottom: 30px;
  }
}
.box {
  width: 100%;
  max-width: 300px;
  height: 100%;
  max-height: 80px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px 30px;
  border: 2px solid transparent;
  border-radius: 10px;
  background-color: var(--achievement);
  color: var(--text);
  margin-top: 20px;
}
.certs {
  overflow-y: auto;
  height: auto;
  vertical-align: middle;
}
.low {
  opacity: 0.7;
}
.statistics {
  background-color: var(--highlight);
  width: 70%;
  max-width: 140px;
  height: 10px;
  border: 2px solid transparent;
  border-radius: 10px;
}
.cage:hover,
.statistics:hover {
  background-color: var(--highlight);
  width: 100%;
  height: 10px;
  border: 2px solid transparent;
  border-radius: 10px;
  animation: forwards 5s infinite;
}
.feedback-con {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  background-color: var(--cards);
  padding: 20px;
  border-radius: 0px;
  border: 2px solid var(--cards-above);
  max-width: 1130px;
  overflow: hidden;
}
.inputs {
  width: 100%;
  height: 100%;
  padding: 10px;
  border: 2px solid var(--cards-above);
  border-radius: 0px;
  background-color: transparent !important;
  color: var(--text);
  margin-bottom: 10px;
  font-family: "Jetbrains Mono", monospace;
  max-width: 1100px;
  box-sizing: border-box !important;
}
inputs:-webkit-autofill,
inputs:-webkit-autofill:hover,
inputs:-webkit-autofill:focus,
inputs:-webkit-autofill-active {
  -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
  -webkit-text-fill-color: #000000 !important;
  transition: background-color 5000s ease 0s;
}
.submit {
  width: 100%;
  height: 100%;
  padding: 10px;
  border: 2px solid var(--cards-above);
  border-radius: 0px;
  background-color: var(--achievement);
  color: var(--text);
  font-family: "Jetbrains Mono", monospace;
  font-weight: bold;
  cursor: pointer;
  letter-spacing: 5px;
}
.achieve-others {
  backdrop-filter: blur(10px);
  width: 100%;
  height: 100%;
  padding: 10px 20px;
  color: var(--text);
  font-family: "Jetbrains Mono", monospace;
  margin-top: 20px;
  border: 2px solid transparent;
  cursor: crosshair;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.achieve-others:hover,
.achieve-others:active {
  background-color: var(--highlight);
}
.contact {
  padding: 5px 20px;
  fill: var(--used);
}
.contact-icon:hover {
  fill: var(--accent);
  width: 40px;
  height: 40px;
}
.hidden {
  display: none;
  z-index: 3;
  position: relative;
  top: 20px;
}
.hidden:hover {
  display: block;
}
@view-transition {
  navigation: auto;
}
::view-transition-group(contain) {
  animation-timing-function: ease;
  animation-duration: 0.5s;
}
::view-transition-old(contain) {
  animation-name: slideOutDown;
}
@-webkit-keyframes slideOutDown {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  to {
    visibility: hidden;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
}
@keyframes slideOutDown {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  to {
    visibility: hidden;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
}
.animate__slideOutDown {
  -webkit-animation-name: slideOutDown;
  animation-name: slideOutDown;
  animation-duration: 0.5s;
  -webkit-animation-duration: 0.5s;
  animation-iteration-count: infinite;
  -webkit-animation-iteration-count: infinite;
}
@-webkit-keyframes slideInUp {
  from {
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
@keyframes slideInUp {
  from {
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
    visibility: visible;
  }
}
to {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}
.animate__slideInUp {
  -webkit-animation-name: slideInUp;
  animation-name: slideInUp;
  animation-duration: 0.5s;
  -webkit-animation-duration: 0.5s;
  animation-iteration-count: infinite;
  -webkit-animation-iteration-count: infinite;
  /* Sliding exits */
}
::view-transition-new(contain) {
  animation-duration: 0.5s;
  animation-name: slideInUp;
}
main {
  view-transition-name: contain;
}
@keyframes slideout {
  to {
    translate: -100vw;
  }
}
@keyframes slidein {
  from {
    translate: 100vw;
  }
}
.line {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  border: 1px solid var(--cards-above);
  opacity: 0.5;
  margin: 10px 0px;
}
.lined {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}
.liner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  top: 0;
  bottom: 0;
}
.boxed {
  width: 100%;
  aspect-ratio: 1.05/1;
  height: 100%;
  padding: 20px 20px;
  border: 3px solid var(--cards-above);
  display: grid;
  place-content: center;
  box-sizing: border-box;
  background-color: var(--cards-above-dark);
  font-family: "Jetbrains Mono", monospace;
}
@media (max-width: 768px) {
  .boxed {
    padding: 10px 10px;
  }
}
.online-stats {
  background-color: var(--code-background);
  box-shadow: var(--code-background);
  color: var(--accent);
  font-family: "Jetbrains Mono", monospace;
  font-size: 13px;
  display: flex;
  align-items: center;
  padding: 5px 10px;
  margin-right: 5px;
  gap: 3px;
  display: flex;
}
.online-circle {
  border: 1px solid transparent;
  background-color: var(--accent);
  border-radius: 50%;
  width: 8px;
  height: 8px;
  animation: pulsed 1s infinite;
}
.abs-center {
  display: inline-block;
  align-items: center;
  justify-content: flex-end;
  z-index: 9999;
  position: absolute;
  top: 10px;
  right: 10px;
  width: auto;
  height: auto;
}
