:root{
  /* Notify browser of dark mode */
  color-scheme: dark;
}

html body {
  background-color: black;
}

.jumbotron.jumbotron-fluid.index-jumbo{
    background: url("../img/loop_dark.png") no-repeat center center;
    background-size: 100%;
    min-height: 50px;
}

.jumbotron.jumbotron-fluid.article-jumbo{
    background: url("../img/loop_dark.png") no-repeat center center;
    background-size: 20em;
    background-position: right;
    padding: 0;
    }

.sphere-background {
  background: url("../img/loop_dark.png") no-repeat center center;
  background-size: 100%;
}

.navbar {
  background-color: rgb(0, 0, 0);
}

/* 
███████╗░█████╗░███╗░░██╗████████╗  ░█████╗░░█████╗░██╗░░░░░░█████╗░██╗░░░██╗██████╗░░██████╗
██╔════╝██╔══██╗████╗░██║╚══██╔══╝  ██╔══██╗██╔══██╗██║░░░░░██╔══██╗██║░░░██║██╔══██╗██╔════╝
█████╗░░██║░░██║██╔██╗██║░░░██║░░░  ██║░░╚═╝██║░░██║██║░░░░░██║░░██║██║░░░██║██████╔╝╚█████╗░
██╔══╝░░██║░░██║██║╚████║░░░██║░░░  ██║░░██╗██║░░██║██║░░░░░██║░░██║██║░░░██║██╔══██╗░╚═══██╗
██║░░░░░╚█████╔╝██║░╚███║░░░██║░░░  ╚█████╔╝╚█████╔╝███████╗╚█████╔╝╚██████╔╝██║░░██║██████╔╝
╚═╝░░░░░░╚════╝░╚═╝░░╚══╝░░░╚═╝░░░  ░╚════╝░░╚════╝░╚══════╝░╚════╝░░╚═════╝░╚═╝░░╚═╝╚═════╝░ */
.yellow-text {
  color: yellow;
}
.blue-text {
  color: rgb(0, 234, 255);
}





.logo {
  position: relative;
  padding-right: 10px;
  transition: transform .7s;
}
.logo:hover{
  animation: logoRotate 1s infinite;
  animation-timing-function: linear;
}
@keyframes logoRotate {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-20deg);
  }
  75% {
    transform: rotate(20deg);
  }
}





.jumbotron.jumbotron-fluid h2{
    color: yellow;
}
.jumbotron.jumbotron-fluid p{
    color: white;
}

.custom_jumbotron_header {
  color: yellow;
}

.custom_jumbotron_text {
  color: white;
}



.projects_page {
  background: url("../img/loop.jpg") repeat center center;
}

#projects_background_overlay {
  position:relative;
  height: 100vh;
  background-color: rgba(0,0,0,0.85);
  
}
.loading_fade {
  animation: background_fade 3s infinite;
  animation-timing-function:ease-in-out;
}

@keyframes background_fade {
  0%, 100% {opacity: 0;}
  50% {opacity: 1;}
};

.p {
   color: aqua;
}

/* unsure if needed */
.grid-item { width: 70%; }
.grid-item--width2 { width: 40%; }

/*  Masonry.js Grid Hover animations    */
.slideup {
  transition: all .2s ease-in-out;
}

.slideup:hover {
  transform: translateY(-0.2em)
}

  .grid-sizer,
  .grid-item {
    width: 100%;
  };

@media only screen and (min-width: 480px) and (max-width: 767px) {

  .grid-sizer,
  .grid-item {
    width: calc(100% / 2);
  }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {

  .grid-sizer,
  .grid-item {
    width: calc(100% / 3);
  }
}

@media only screen and (min-width: 1024px) and (max-width: 1439px) {

  .grid-sizer,
  .grid-item {
    width: calc(100% / 4);
  }
}

@media only screen and (min-width: 1440px) {

  .grid-sizer,
  .grid-item {
    width: calc(100% / 4);
  }
  .grid-item--width2 {
    width: calc(100% / 2);
  }
}

.slideup {
  margin: 5px;
  text-decoration: none;
}

.grid-item a {
  text-decoration: none;
}

.projects_page #grid a {
  display: block;
  padding: 0 !important;
  margin: 0;
}

.masonry-grid .card > a {
  display: block;
  padding: 0 !important;
  margin: 0;
}

/* Projects page Masonry: make each card full width on mobile */
@media (max-width: 767.98px) {
  .masonry-grid { margin: 0 auto; }
  .masonry-sizer,
  .masonry-item { width: 100% !important; } /* override the 280px inline style */
}



/*Article style*/
article {
  display: grid;
  grid-template-columns: 
    [full-start] minmax(0em, 1fr) 
    [main-start] minmax(0, 36em) [main-end]
    minmax(1em, 1fr) [full-end];
  grid-gap: 1em;
}

section {
  grid-column: main;
    padding: 0 !important
}
section-jumbo {
  grid-column: main;
    padding: 0 !important;
    margin: 0;
}



body p {
    color: white;
}

.card {
    background-color: rgba(0, 0, 0,0.8);
    padding: 1px;
    box-shadow: 0px 0px 3px 3px rgba(0, 183, 255, 0.281);
    border: 1px solid deepskyblue;
    
}

.projects_page #grid .card {
    padding: 0;
}

.card p {
    color: white;
}

.card h5 {
    color: yellow;
}

.card img {
    padding: 1px !important;
}

.projects_page #grid .card-img-top {
    padding: 0 !important;
}



article figure {
  grid-column: full;
  text-align: center;
    padding: 0em;
    /* padding-left: inherit; */
    padding-left: 0;
    margin: 0px;
}







 .mobileHide { display: inline;}
   /* Smartphone Portrait and Landscape */
   @media only screen
   and (min-device-width : 320px)
   and (max-device-width : 480px){  .mobileHide { display: none;}}


   .index-section-1{
    background-color: blue;
    
   }


















.index-video {
  width: 100%;
  height: 150%;
}

h1 {
  color: white;
}
h2 {
  color: white;
}
.loader {
  width: 100%;
  height: 4.8px;
  display: inline-block;
  position: absolute;
  overflow: hidden;
  top: 0;
}
.loader::after {
  content: '';  
  width: 96px;
  height: 4.8px;
  background: #FFF;
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  animation: hitZak .8s ease-in-out infinite alternate;
}

@keyframes hitZak {
  0% {
    left: 0;
    transform: translateX(-1%);
  }
  100% {
    left: 100%;
    transform: translateX(-99%);
  }
}

























/* ===== App Store list look ===== */
.appstore .app-list { margin: 0; padding: 0; }
.appstore .app-row {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,.075);
}
@media (max-width: 575.98px){
  .appstore .app-row { grid-template-columns: 72px 1fr; grid-auto-flow: row; }
  .appstore .app-cta { grid-column: 2 / 3; justify-self: start; margin-top: 8px; }
}

.appstore .icon-wrap { display: inline-block; }
.appstore .app-icon {
  width: 92px; height: 92px; object-fit: cover; border-radius: 22%;
  background: rgb(36, 36, 36);
}
@media (max-width: 575.98px){ .appstore .app-icon { width: 72px; height: 72px; } }

.appstore .app-title { color: #ffffff; font-weight: 500; line-height: 1.2; display: inline-block; }
.appstore .app-subtitle { color: #9e9e9e; }
.appstore .app-badges { display: flex; flex-wrap: wrap; gap: .25rem; margin-top: .25rem; }

.appstore .app-cta { display: flex; flex-direction: column; align-items: end; gap: .25rem; }
.appstore .btn-get {
  border-radius: 999px; padding: .4rem 1rem; font-weight: 600;
  background: #e9ecef; color: #111; border: 0;
}
.appstore .btn-get:hover { background: #dfe3e6; }

.appstore .cta-note { font-size: .8rem; color: #6c757d; }

.appstore .app-meta-line { margin-top: .25rem; color: #6c757d; display: flex; align-items: center; gap: .35rem; }
.appstore .stars { letter-spacing: .05em; }
.appstore .star { color: #cfd4d9; }
.appstore .star.on { color: #111; }
.appstore .ratings-count, .appstore .price { font-size: .9rem; }













/* Responsive iframe for youtube embed */
.iframe-container{
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; 
  height: 0;
}
.iframe-container iframe{
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 10px;
}

/* Hero video: match image hero width + stable 16:9 ratio */
.md-article_header .iframe-container.hero {
  /* match your image hero width; tweak as you like */
  max-width: 580px;
  width: 100%;
  margin: 0 auto 1rem;

  /* stable ratio without padding hacks */
  aspect-ratio: 16 / 9;
  height: auto;

  /* override the generic .iframe-container rules */
  padding-bottom: 0;
  position: relative;
}

.md-article_header .iframe-container.hero iframe {
  /* override the absolute fill + extra padding from the generic rule */
  position: static;
  width: 100%;
  height: 100%;
  padding: 0;
  display: block;
}





/* Markdown Articles */
.md-article_title {
  color: yellow;
}
.hero{
  max-width: 440px;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto 1rem;
}

article > * {
grid-column: main;
  background-color: '#fffffff';
}
/* Row wrapper for any button(s) */
.btn-row {
  display: flex;
  justify-content: left;   /* center the button */
  margin: 1rem 0;
}















/* 3D pushable button — works for <a> or <button> */
.pushable {
  position: relative;
  display: inline-block;     /* shrink to fit text */
  text-decoration: none;     /* kill underline on links */
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;

  /* brightening transition */
  transition: filter 600ms;

  /* remove grey box and text-selection on android/iOS */
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.pushable .shadow {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 12px;
  background: hsl(0deg 0% 0% / 0.25);
  transform: translateY(2px);
  filter: blur(4px);
}

.pushable .edge {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 12px;
  background: linear-gradient(
    to left,
    hsl(340deg 100% 16%) 0%,
    hsl(340deg 100% 32%) 8%,
    hsl(340deg 100% 32%) 92%,
    hsl(340deg 100% 16%) 100%
  );
}

.pushable .front {
  display: block;
  position: relative;
  padding: 12px 42px;
  border-radius: 12px;
  font-size: 1.25rem;
  color: white;
  background: hsl(345deg 100% 47%);
  transform: translateY(-4px);
  text-decoration: none;     /* belt & braces */
  transition: transform 600ms cubic-bezier(.3, .7, .4, 1);
}

.pushable:hover {
  filter: brightness(110%);
  transition: filter 250ms;
}
.pushable:hover .front {
  transform: translateY(-6px);
  transition: transform 250ms cubic-bezier(.3, .7, .4, 1.5);
}
.pushable:hover .shadow {
  transform: translateY(4px);
}

.pushable:active .front {
  transform: translateY(-2px);
  transition: transform 34ms;
}
.pushable:active .shadow {
  transform: translateY(1px);
}

.pushable:focus:not(:focus-visible) {
  outline: none;
}



















/* Instagram-style grid */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
.ig-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 14px;
  background: #111;
}
.ig-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s ease;
}
.ig-item:hover img { transform: scale(1.03); }

/* kill default figure margin (only need this one) */
.ig-grid .ig-item { margin: 0; }

/* Tile button (single source of cursor truth) */
.ig-open {
  display: block;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

/* Focus ring — keep ONE approach. Using inset for maximum support: */
.ig-open:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 3px #00d1ff;
  border-radius: 14px; /* match tile */
}

















/* Active slide (during motion) */
.software-article .screenshots .splide.is-moving .splide__slide.is-active {
  transform: scale(1);
  opacity: 1;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

/* Gallery wrapper */
.software-article .screenshots {
  position: relative;
  margin: 1rem auto 2rem;
  max-width: 1200px;
}

/* Slides: narrower horizontally */
.software-article .screenshots .splide__slide {
  cursor: pointer;
  flex: 0 0 auto;
  width: clamp(220px, 38vw, 480px); /* was 50vw/560px */
  transition: transform .25s, box-shadow .25s, opacity .25s;
  transform: scale(.94);
  opacity: .9;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
}

@media (min-width: 992px) {
  .software-article .screenshots .splide__slide {
    width: clamp(360px, 45vw, 560px); /* was 60vw/640px */
  }
}

/* Focused slide (nearest to center) */
.software-article .screenshots .splide__slide.focused {
  cursor: zoom-in;
  transform: scale(1);
  opacity: 1;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

/* Make slide content fill its box */
.software-article .screenshots .splide__slide .lb {
  display: block;
  width: 100%;
  height: 100%;
}

.software-article .screenshots .splide__slide img {
  display: block;   /* remove inline-gap */
  width: 100%;      /* no right gutter */
  height: auto;     /* keep aspect */
}


/* High-contrast lists on dark background */
.prose ul,
.prose ol,
#who-am-i ul,
#who-am-i ol {
  color: #f2f2f2;           /* light text for list items */
  margin-left: 1.25rem;     /* readable indent */
}

.prose li,
#who-am-i li {
  margin: 0.25rem 0;        /* comfy spacing between items */
  line-height: 1.6;
}

/* Bright, on-brand bullet/number colour */
.prose li::marker,
#who-am-i li::marker {
  color: #ffd200;           /* your yellow accent */
}

.prose-left{
        margin-left: 0 !important;
        margin-right: auto !important;
        text-align: left;
        max-width: 72ch;       /* optional: keep readable line-length */
        width: 100%;
      }
      @media (max-width: 576px){
        .prose-left{ max-width: 100%; }
      }






.card-ink {
  /* background: linear-gradient(135deg, #1f1f1f 0%, #1b263b 100%); */
  background: #000000;
  color: #eaeef5;
  /* border: 1px solid rgba(0,191,255)!important; */
  /* -webkit-box-shadow: 0px 0px 15px 3px #000000;  */
  border: 1px solid deepskyblue!important;

  box-shadow: 0px 0px 3px 3px rgba(0, 183, 255, 0.479);
}
.card-ink .text-muted { color: rgba(21, 58, 121, 0.7) !important; }

.card-ink .text-muted { color: rgba(234,238,245,.7) !important; }
.card-ink:hover { transform: translateY(-2px); transition: transform .15s; }
.card-img-top {
  display: block;
  width: 100%;
  height: auto;   /* keep the intrinsic aspect ratio */
}
















.pimg {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: #0e0e0e; /* fallback behind skeleton/image (dark theme friendly) */
}

/* Keep the image filling the box */
.pimg__full {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;             /* or 'contain' if you prefer */
  opacity: 0;
  transition: opacity .35s ease;
  transform: translateZ(0);
}

.pimg__full.is-loaded { opacity: 1; }













/* Simple shimmer skeleton */
.pimg__skeleton {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(0, 225, 255, 0.06) 0%,
      rgba(0, 217, 255, 0.12) 40%,
      rgba(0, 247, 255, 0.06) 80%);
  background-size: 200% 100%;
  animation: pimg-shimmer 1.2s infinite;
  /* Subtle base tint to help contrast in dark UI */
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
  border-radius: inherit;
}

@keyframes pimg-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .pimg__full { transition: none; }
  .pimg__skeleton { animation: none; }
}








.pimg__skeleton {
  position: absolute;
  inset: 0;
  background: #030a06;              /* deep black-green */
  border-radius: inherit;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0,255,136,0.06);
}

/* the canvas covers the box */
.pimg__matrix {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  /* soft vignette / edge fade so binary “floats” in */
  -webkit-mask-image: radial-gradient(80% 80% at 50% 45%, #000 65%, rgba(255, 0, 0, 0) 100%);
  mask-image: radial-gradient(80% 80% at 50% 45%, #000 65%, rgba(0,0,0,0) 100%);
}

/* your existing fades */
.pimg__full { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transition:opacity .35s ease; }
.pimg__full.is-loaded { opacity:1; }

@media (prefers-reduced-motion: reduce) {
  .pimg__full { transition: none; }
}
