 :root {
   --yellow: #f5e800;
   --black: #0a0a0a;
   --dark: #111;
   --gray: #1a1a1a;
   --text-yellow: #f5e800;
   --font-mono: 'Share Tech Mono', monospace;
   --font-pixel: 'VT323', monospace;
   --font-display: 'Black Ops One', cursive;

   --page-padding: 20px;
 }

 /* @font-face {
  font-family: 'valorax';
  src: url('valorax.woff2') format('woff2'),
       url('valorax.woff') format('woff');
  font-weight: normal;
  font-style: normal;
} */



 html,
 body {

   margin: 0;
   overflow: hidden;
 }

 a,
 a:visited,
 a:hover,
 a:focus,
 a:active {
     text-decoration: none;
 }


 /* body {
      padding: var(--page-padding) var(--page-padding) 0 var(--page-padding); 
      box-sizing: border-box;
      background-color: rgb(0, 0, 0);

    } */

 .main-div {
   padding: var(--page-padding) var(--page-padding) 0 var(--page-padding);
   box-sizing: border-box;
  /* Stripe gradient */
  /* background: repeating-linear-gradient(
    45deg,
    #000000,
    #000000 20px,
    #ffeb3b 20px,
    #ffeb3b 40px
  ); */

  background-color: #000;
   height: 100vh;
   /* or any fixed height */
   overflow-y: auto;
   /* enables scrolling */

 }





 .main-text {
   height: inherit;
   font-family: 'valorax';
   display: list-item;
   align-content: center;
   align-items: center;
   justify-content: center;
   font-size: 150px;
   letter-spacing: 1px;
   color: yellow;


   z-index: 1;


 }

 .main-box {
   width: 100%;
   height: 100%;
   border: 2px solid yellow;
   /* background-color: yellow; */
   color: white;

   box-sizing: border-box;

   border-radius: 20px 20px 0 0;

 }

 .latlong-gimmick {

   position: absolute;
   right: 0.1em;
    margin:0px;
   height: 1.1%;
   background: rgb(0, 0, 0);
   margin-top: 0.1em;

   width: 94%;

   clip-path: polygon(1% 1%, 100% 0, 100% 100%, 5% 100%);

   display: flex;
   align-content: center;
   align-items: center;
   justify-content: end;

   padding: 1em 1em 1em 1em;
   border-radius: 0 18px 0 0;

   font-family: 'Silkscreen', monospace;
   font-size: 16px;
   letter-spacing: 1px;
   top: -0.2%;
 }

 .folder-tag {
   display: flex;
   opacity: 0;
   position: absolute;

   height: 6px;
   left: 0;
   top: 0;

   align-content: center;
   align-items: center;
   justify-content: start;

   padding: 0.3em 1em 1em 1em;
   border-radius: 0 18px 0 0;

   font-family: 'valorax';
   font-size: 20px;
   letter-spacing: 1px;
 }

 .folder-outer-shell {

   height: 100%;
   position: relative;
   background: yellow;
   box-sizing: border-box;
   width: inherit;
   /* Folder shape */
   clip-path: polygon(0% 0%,
       /* bottom-left to top left xy(0,0)*/

       30% 0%,
       /*top-left to 20% xy(20,0)*/
       35% 5%,
       /* draw down to xy(30,10)*/
       100% 5%,
       /*then xtend it to xy(100,10) top-right */
       100% 100%,
       /* top right to bottom right */
       0% 100%
       /* bottom right to bottom left */
     );

   border-radius: 18px 18px 0 0;
   padding-top: 0.05em;
 }



 .folder {
   position: relative;
   height: 100%;
   /* margin-top: 2em; */

   border-bottom-width: 0px;
   background: black;
   color: white;
   padding: 0em 1em 0em 1em;
   border-radius: 18px 18px 0 0;


   background-image: url("../assets/pexel.jpg");

   background-repeat: no-repeat;
   background-attachment: fixed;
   background-position: center;
   background-size: cover;

   /* Folder shape */
   clip-path: polygon(0% 0%,
       /* bottom-left to top left xy(0,0)*/

       30% 0%,
       /*top-left to 20% xy(20,0)*/
       35% 5%,
       /* draw down to xy(30,10)*/
       100% 5%,
       /*then xtend it to xy(100,10) top-right */
       100% 100%,
       /* top right to bottom right */
       0% 100%
       /* bottom right to bottom left */
     );

 }


 .folder::before {

   /* overlay */
   content: "";
   position: absolute;
   inset: 0;
   padding: 0em 1em 0em 1em;
   border-radius: 18px 18px 0 0;
   background: rgba(0, 0, 0, 0.8);
   /* opacity control */
   z-index: 0;
   /*  */

 }

 /* keep text above overlay */
 .name {
   position: relative;
   z-index: 1;
   /* display: inline-block; */
 }

 .sub-text {
   position: relative;
   z-index: 1;
   width: 67%;
 }


 /* Parallax background */
 .parallax {
   background-image: url('img_parallax.jpg');
   /* height: 100vh; */
   background-attachment: fixed;
   background-position: center;
   background-repeat: no-repeat;
   background-size: cover;
 }

 /* Full-page sections */
 .section {
   height: 90vh;
   /* full viewport height */
   display: flex;
   align-items: center;
   justify-content: center;
   color: white;
   font-weight: bold;
   font-size: 2em;
   position: relative;
   border: 2px solid black;

   transition: filter 0.5s ease;
 }

 /* Sticky wrapper */
 .sticky-wrapper {
   position: sticky;
   top: 20px;
   height: 98vh;
   transition: opacity 1s ease;


 }

 #aboutDiv {
   font-family: 'Bebas Neue', sans-serif;
   color: black;
   background-color: yellow;
   /* border-top: 1px solid black; */
   top: 40.5px;
   padding-left: 2em;
   padding-right: 7em;
   display: flex;
   flex-wrap: wrap;
   gap: 40px;
 }

 #experienceDiv {
   background-color: yellow;
   color: black;
   /* border-top: 1px solid black; */
   top: 40px;

   display: flex;
   flex-wrap: wrap;
   gap: 40px;

   padding: 1em;
   padding-right: 3em;
 }

 .v-line {
   width: 5px;
   height: inherit;
   background-color: black;
 }

 .experience {
   font-family: 'Bebas Neue', sans-serif;
   height: inherit;
   flex: 1.5;
 }

 .skillset {
   height: inherit;
   font-size: 0.6em;
   word-spacing: 10px;
   flex: 0.5;
   font-family: 'Bebas Neue', sans-serif;
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   grid-auto-rows: 60px;
 }

 .skillset span {

   padding: 4px 10px;
   border-radius: 6px;
   font-size: 1.2em;

   display: flex;
   justify-content: center;
   align-items: center;
 }

 #projectDiv {
   background-color: yellow;
   color: black;
   /* border-top: 1px solid black; */
   top: 40px;

   display: flex;
   flex-wrap: wrap;
   gap: 40px;

   padding: 1em;
   padding-right: 3em;
 }

 #contactDiv {
   font-family: 'valorax';
   color: black;
   background-color: yellow;
   /* border-top: 1px solid black; */
   top: 40.5px;
   padding-left: 2em;
   padding-right: 2em;
   flex-flow: column;
   font-size: 4em;
 }

 #contactDiv .info {
   font-family: 'Press Start 2P', cursive;

 }

 #contactDiv .info div {
   font-family: 'Press Start 2P', cursive;
   display: flex;
   flex-flow: inheritx;
   justify-content: center;
   align-items: center;
   gap: 8px;
   margin: 0.5em;
 }


 #contactDiv .info div a {
   font-family: 'Press Start 2P', cursive;
   display: flex;
   flex-flow: inheritx;

   align-items: center;
   gap: 8px;
   margin: 0.5em;
 }




 #contactDiv .info div span i {

   margin-bottom: 0.1em;
 }

 #finalMessageDiv {
   font-family: 'valorax';
   color: rgb(255, 255, 255);
   background-color: rgb(0, 0, 0);
   /* border-top: 1px solid black; */
   position: relative;
   top: -10px;
   left: -10px;
   right: 0px;
   width: calc(100% + 20px);
   ;
   height: 100vh;
   margin: 0;
   padding: 0;
   background: black;
   color: white;
   scroll-behavior: auto;
   overflow-x: hidden;


 }


p a span{
    color: yellow; 
    background-color: black; 
    padding: 5px;
}


 /* ── FOOTER / SCROLL HINT ── */
 .footer-bar {
   position: fixed;
   bottom: 0;
   left: var(--page-padding);
   right: var(--page-padding);
   z-index: 100;
   display: flex;
   align-items: center;
   justify-content: space-around;
   gap: 10px;
   background: yellow;
   color: black;
   padding: 12px 20px;
   cursor: pointer;
   font-family: var(--font-pixel);
   font-size: 1.3rem;
   letter-spacing: .25em;


   user-select: none;

   transition: filter 0.5s ease;
 }

 .footer-bar .handwritten {
   font-family: 'Vibur', cursive;
 }

 /* give the main content bottom padding so footer doesn't overlap */
 .wrapper {
   padding-bottom: 52px;
 }

 .footer-bar .arrow {
   display: inline-block;
   animation: bounce 1.4s ease-in-out infinite;
 }

 @keyframes bounce {

   0%,
   100% {
     transform: translateY(0);
   }

   50% {
     transform: translateY(-5px);
   }
 }


 /* 
    --sub text style
    */



 body {
   margin: 0;
   font-family: Arial, sans-serif;
 }

 /* Main container */
 .row {
   display: flex;
   justify-content: space-between;
   /* left + right alignment */
   align-items: center;
   background: yellow;
   padding: 12px 16px;
   border-bottom: 1px solid #000;
 }

 /* Left text */
 .row .text {
   color: black;
   font-size: 16px;
 }

 /* Right icons container */
 .row .icons {
   display: flex;
   gap: 10px;

 }

 /* Icon style */
 .row .icons span {
   font-size: 18px;
   cursor: pointer;
 }

 h6 {
   margin: 10px;
 }

 .info div {
   font-size: 26px;
 }

 /* Fixed container on the right */
 .vertical-menu {
   position: fixed;
   right: 5%;
   top: 43%;
   transform: translateY(-50%);
   list-style: none;
   margin: 0;
   padding: 0;
   transition: filter 0.5s ease;
 }

 /* Each item */
 .vertical-menu li {
   margin: 40px 0;
   position: relative;
   width: 40px;
   /* space for rotated text */
   height: 120px;
 }

 /* Rotated text */
 .vertical-menu li span {
   position: absolute;
   right: 0;
   top: 0;
   font-family: 'valorax';
   color: yellow;
   transform: rotate(-90deg);
   transform-origin: right top;
   white-space: nowrap;
   cursor: pointer;
   padding: 10px;
 }

 /* 
    
    */



 /* need to fix */

 .container {
   color: var(--color);
   font-size: 0.5rem;
   display: flex;
   flex-direction: column;
 }

 .right {
   text-align: center;
   width: 100%;
 }

 .stack {
   display: grid;
   grid-template-columns: 1fr;
 }

 .stack span {
   font-weight: bold;
   grid-row-start: 1;
   grid-column-start: 1;
   font-size: 2rem;
   --stack-height: calc(100% / var(--stacks) - 1px);
   --inverse-index: calc(calc(var(--stacks) - 1) - var(--index));
   --clip-top: calc(var(--stack-height) * var(--index));
   --clip-bottom: calc(var(--stack-height) * var(--inverse-index));
   clip-path: inset(var(--clip-top) 0 var(--clip-bottom) 0);
   animation: stack 340ms cubic-bezier(.46, .29, 0, 1.24) 1 backwards calc(var(--index) * 120ms), glitch .5s ease infinite .5s alternate-reverse;
 }

 .stack span:nth-child(odd) {
   --glitch-translate: 8px;
 }

 .stack span:nth-child(even) {
   --glitch-translate: -8px;
 }

 @keyframes stack {
   0% {
     opacity: 0;
     transform: translateX(-50%);
     text-shadow: -2px 3px 0 red, 2px -3px 0 blue;
   }

   ;

   60% {
     opacity: 0.5;
     transform: translateX(50%);
   }

   80% {
     transform: none;
     opacity: 1;
     text-shadow: 2px -3px 0 red, -2px 3px 0 blue;
   }

   100% {
     text-shadow: none;
   }
 }

 @keyframes glitch {
   0% {
     text-shadow: -2px 3px 0 red, 2px -3px 0 blue;
     transform: translate(var(--glitch-translate));
   }

   2% {
     text-shadow: 2px -3px 0 red, -2px 3px 0 blue;
   }

   4%,
   100% {
     text-shadow: none;
     transform: none;
   }
 }







 /* Mobile compatible styles */

 @media (max-width: 900px) {

   .main-div {
     overflow-x: hidden;
   }

   .folder-outer-shell {
     clip-path: none;
   }

   .folder {
     clip-path: none;
   }

   /* Hero text smaller */
   .main-text {
     font-size: 3em;
     text-align: left;
     display: block;
   }

   .sub-text {
     width: 80%;
   }

   .folder-tag {
     padding-left: 0.1em;
   }

   .row .text {
     color: black;
     font-size: 9px;
   }


   #aboutDiv {
     align-items: initial;
     padding-top: 1em;
     padding-left: 0.5em;
     padding-right: 2em;
   }

   #aboutDiv p {
     height: 85%;
     display: flex;
     align-items: center;
   }

   .v-line {
     display: none;
   }

   .skillset {
     display: none;
   }

   #experienceDiv {
     padding-right: 1.6em;
     display: flex;
     align-items: center;
     height: 85%;
   }

   #experienceDiv section {
     font-size: 0.7em;
   }

   #experienceDiv section h6 {
     margin-left: -30px;
   }

   #projectDiv {
     padding-right: 1.6em;
     display: flex;
     align-items: center;
     height: 85%;
   }

   #projectDiv section {
     font-size: 0.7em;
   }

   #projectDiv section h6 {
     margin-left: -30px;
   }

   #contactDiv {
     padding-left: 0em;
     font-size: 2em;
     height: 85%;
   }

   #contactDiv .info div {
     font-size: 0.5em;
     display: flex;
     justify-content: flex-start;
     /* horizontal (left) */
     align-items: flex-start;
   }

   .vertical-menu {
    top: 50%;
     right: 4em;
   }

   .vertical-menu li {
     margin: 24px 0;
     height: 96px;
   }

   .vertical-menu li span {
     font-size: 0.6rem;
     padding: 8px;
   }

   .footer-bar {
     font-size: 0.8rem;
     letter-spacing: 0.14em;
     padding: 10px 12px;
   }
 }