/* SCSS HEX */
@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@900&display=swap");
* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}


/* ─── Lock page scroll except CV crawl ─── */
html, body {
  height: 100%;
  overflow: hidden;       /* disable all page scrolling */
  margin: 0;
  padding: 0;
}

#canvas {
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  display: block;
  z-index: -1;
}

.loading-screen {
  overflow: hidden;
  width: 100vw;
  height: 100vh;
  position: absolute;
  background-color: #000000;
}

.grid-wrapper {
  position: absolute;
  width: 100%;
  height: 40vh;
  left: 0;
  bottom: 0px;
  -webkit-transition: all 3s ease-in-out;
  transition: all 3s ease-in-out;
  -webkit-perspective: 100px;
          perspective: 100px;
}

.grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  margin-top: -50px;
  -webkit-transform: rotateX(45deg);
          transform: rotateX(45deg);
}

.line {
  position: absolute;
  background: blue;
  height: 200vh;
}

.vertical .line {
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
}

.vertical .line:nth-child(1) {
  left: 10%;
}

.vertical .line:nth-child(2) {
  left: 20%;
}

.vertical .line:nth-child(3) {
  left: 30%;
}

.vertical .line:nth-child(4) {
  left: 40%;
}

.vertical .line:nth-child(5) {
  left: 50%;
}

.vertical .line:nth-child(6) {
  left: 60%;
}

.vertical .line:nth-child(7) {
  left: 70%;
}

.vertical .line:nth-child(8) {
  left: 80%;
}

.vertical .line:nth-child(9) {
  left: 90%;
}

.vertical .line:nth-child(10) {
  left: 100%;
  margin-left: -1px;
}

.horizontal .line {
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 2;
}

.horizontal .line:nth-child(1) {
  top: 10%;
  opacity: 0.2;
}

.horizontal .line:nth-child(2) {
  top: 20%;
  opacity: 0.3;
}

.horizontal .line:nth-child(3) {
  top: 30%;
  opacity: 0.4;
}

.horizontal .line:nth-child(4) {
  top: 40%;
  opacity: 0.5;
}

.horizontal .line:nth-child(5) {
  top: 50%;
  opacity: 0.6;
}

.horizontal .line:nth-child(6) {
  top: 60%;
  opacity: 0.7;
}

.horizontal .line:nth-child(7) {
  top: 70%;
  opacity: 0.8;
}

.horizontal .line:nth-child(8) {
  top: 80%;
  opacity: 0.9;
}

.horizontal .line:nth-child(9) {
  top: 90%;
  opacity: 0.95;
}

.horizontal .line:nth-child(10) {
  top: 100%;
  margin-top: -1px;
  opacity: 1;
}

.horizontal .line:nth-child(11) {
  opacity: 0.05;
}

svg#splash {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

svg#splash path {
  stroke: #e900ffff;
  stroke-width: 7px;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  -webkit-animation: dash 15s linear forwards;
          animation: dash 15s linear forwards;
}

@-webkit-keyframes dash {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes dash {
  to {
    stroke-dashoffset: 0;
  }
}

#navbar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  min-height: 60px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

#navbar .logo h1 {
  text-shadow: 0 0 2px #ffffff, 0 0 10px #ffffff, 0 0 15px #00f5f5ff, 0 0 20px #00f5f5ff, 0 0 25px #00f5f5ff, 0 0 30px #00f5f5ff;
  color: #323941ff;
  font-family: 'Orbitron', sans-serif;
  font-weight: 100;
  letter-spacing: 2px;
  margin-left: 3rem;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  font-size: 2em;
}

#navbar .logo h1:hover {
  color: #00f5f5ff;
  text-shadow: 0 0 2px #ffffff, 0 0 10px #ffffff, 0 0 20px #ffffff, 0 0 40px #00f5f5ff, 0 0 70px #00f5f5ff, 0 0 80px #00f5f5ff;
}

#navbar .logo h1 span {
  color: #000000;
  text-shadow: -1px -1px 0 #e900ffff, 1px -1px 0 #e900ffff, -1px 1px 0 #e900ffff, 1px 1px 0 #e900ffff;
}

#navbar ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  padding-right: 3em;
}

#navbar ul li {
  list-style: none;
}

#navbar ul a {
  color: #e900ffff;
  text-decoration: none;
  letter-spacing: 1px;
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}

#navbar ul a:hover {
  color: #00f5f5ff;
}

#navbar .burger {
  display: none;
  padding-right: 3em;
}

#navbar .burger div {
  width: 25px;
  height: 2px;
  margin: 5px;
  background: #00f5f5ff;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (max-width: 768px) {
  body {
    overflow: hidden;
  }
  #navbar > ul {
    position: absolute;
    right: 0;
    height: calc(100vh - 60px);
    top: 60px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    background: #000000;
    width: 100%;
    -webkit-transform: translateX(100%);
            transform: translateX(100%);
    -webkit-transition: -webkit-transform 0.5s ease-in;
    transition: -webkit-transform 0.5s ease-in;
    transition: transform 0.5s ease-in;
    transition: transform 0.5s ease-in, -webkit-transform 0.5s ease-in;
  }
  #navbar > ul li {
    opacity: 0;
    width: 100%;
  }
  #navbar > ul li a {
    margin-left: 3rem;
  }
  #navbar .nav-active {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  #navbar .burger {
    display: block;
    cursor: pointer;
  }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  #navbar > ul {
    width: 60%;
  }
}

/* Large devices (laptops/desktops, 1120px and up) */
@media only screen and (min-width: 1120px) {
  #navbar > ul {
    width: 50%;
  }
}

@-webkit-keyframes navLinkFade {
  from {
    opacity: 0;
    -webkit-transform: translateX(50px);
            transform: translateX(50px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateX(0px);
            transform: translateX(0px);
  }
}

@keyframes navLinkFade {
  from {
    opacity: 0;
    -webkit-transform: translateX(50px);
            transform: translateX(50px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateX(0px);
            transform: translateX(0px);
  }
}

.toggle .line1 {
  -webkit-transform: rotate(-45deg) translate(-5px, 5px);
          transform: rotate(-45deg) translate(-5px, 5px);
}

.toggle .line2 {
  opacity: 0;
}

.toggle .line3 {
  -webkit-transform: rotate(45deg) translate(-5px, -5px);
          transform: rotate(45deg) translate(-5px, -5px);
}

/* Extra small devices (phones, 600px and down) */
/* Small devices (portrait tablets and large phones, 600px and up) */
/* Medium devices (landscape tablets, 768px and up) */
/* Large devices (laptops/desktops, 992px and up) */
/* Extra large devices (large laptops and desktops, 1200px and up) */
/*# sourceMappingURL=style.css.map */

/* ────────────── Star Wars–style CV Crawl ────────────── */
/* 1. Import a close-match “crawl” font */
@import url('https://fonts.googleapis.com/css2?family=Pathway+Gothic+One&display=swap');

/* ─── Star Wars–style scroll-driven crawl ─── */
#cv-crawl {
  position: relative;
  width: 50%;
  height: 100vh;                   /* viewport height */
  margin: 0 auto;                  /* center horizontally */
  overflow-y: auto;                /* enable scroll */
  perspective: 600px;
  perspective-origin: 50% 0%;
  background: transparent;
  -ms-overflow-style: none;        /* IE/Edge hide scrollbar */
  scrollbar-width: none;           /* Firefox hide scrollbar */
}
#cv-crawl::-webkit-scrollbar {
  display: none;                   /* Chrome/Safari hide scrollbar */
}

#cv-crawl .crawl {
  position: relative;
  width: 100%;
  max-width: 600px;                /* optional max width */
  margin: 0 auto;
  padding: 0;
  transform-style: preserve-3d;
  transform-origin: 50% 100%;
  transform: rotateX(25deg) translateZ(-400px);
  /* start off below the fold */
  top: 100vh;
  /* text styling */
  font-family: 'Pathway Gothic One', sans-serif;
  font-size: 1.5rem;
  line-height: 2;
  color: #ffe81f;
  text-align: center;
}

/* spacing between paragraphs */
#cv-crawl .crawl p {
  margin-bottom: 2rem;
}
