/* Reset & base */
html {
  background: #000;
  overflow-x: hidden;
  scroll-behavior: smooth;
  cursor: url("images/cursor-arrowhead-rounded-outline.svg")12 12, auto;

}

::selection {
  background-color: #029BA5;
  /* The color of the highlight when selected */
  color: white;
  /* The color of the text when selected */
}

span {
  cursor: url("images/cursor-arrowhead-rounded-outline.svg")12 12, auto;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
table,
b,
footer {
  cursor: url("images/cursor-text.svg")12 12, text;
}

button {
  cursor: url("images/cursor-hand-pointer.svg")12 12, pointer;
}

h1 {
  text-transform: uppercase;
  font-size: clamp(4.5rem, 8vw, 10rem);
  color: black;
}

.hero {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100vw;
  background-color: white;
  display: flex;
  align-items: center;

}

.hero p {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: clamp(1.3rem, 1.5vw, 1.8em);
  color: black;
}

.hero .container {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-around;
  min-height: 80vh;
  min-height: 80dvh;
  width: 100vw;
}

.hero h1 {
  text-align: center;
}

#inner nav {
  background-color: #fff;
}

#inner .navbar a,
#inner .navbar i {
  color: black;
  cursor: url("images/cursor-hand-pointer.svg")12 12, pointer;

}

#inner p {
  font-size: clamp(1.5rem, 1vw, 4em);
}

.navbar-toggler {
  cursor: url("images/cursor-hand-pointer.svg")12 12, pointer;
}

#inner .navbar a:hover {
  color: darkgrey;
}

* {

  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('fonts/JetBrainsMono-VariableFont_wght') format('truetype'),
    url('fonts/JetBrainsMono-VariableFont_wght.ttf') format('truetype');
}

#introduction {
  min-height: 100vh;
  min-height: 100dvh;
  text-align: center;
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;

}

#introduction .container {

  display: flex;
  /*
  align-content: center;
  justify-content: center;
  align-items: center;*/

}

#cursor {
  margin: 0;
  display: inline-block;
}

#introduction h1 {
  text-transform: uppercase;
  font-size: clamp(4.5rem, 8vw, 10rem);
  color: white;
}

#introduction b {
  font-size: clamp(1.5rem, 1.5vw, 4em);
}

#introduction p {
  font-size: clamp(1.5rem, 1.2vw, 4em);
  font-family: 'JetBrains Mono', Arial, sans-serif;
  z-index: 1;
  padding: 5px;
}

body {
  font-family: 'JetBrains Mono', Arial, sans-serif;
  color: #fff;
  background-color: #000;
  line-height: 1.6;
  overflow-x: hidden;
}


a {
  text-decoration: none;
  cursor: url("images/cursor-hand-pointer.svg")12 12, pointer;
}

p {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: clamp(1rem, 1.2vw, 2em);
}

#home p {
  font-family: 'JetBrains Mono', Arial, sans-serif;
  font-size: clamp(1.5rem, 1vw, 4em);
}

h2 {
  font-size: clamp(3rem, 3.5vw, 8rem);
  padding-bottom: 1rem;
  text-align: center;
  text-transform: uppercase;
}

/* Navigation */
.nav {
  cursor: url("images/cursor-hand-pointer.svg")12 12, pointer;
}

.navbar {
  display: flex;
  /*margin-left: 15%;
  margin-right: 15%;*/
  justify-content: space-between;

  background-color: #000;
  color: #fff;
  text-transform: uppercase;
}

.navbar a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
}

.navbar-brand {
  text-align: left;
}

/* Projects */
.projects {
  padding: 3rem 2rem;
  text-align: center;
}

.projects .grid {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.project-card {
  width: 320px;
  border: 1px solid #eee;
}

.project-card img {
  width: 100%;
  display: block;
}

.project-card h3 {
  margin: 0.5rem;
  font-size: 1.3rem;
}

/* About */
.about {
  padding: 2rem;
  text-align: center;
}

.about-me-callouts-w {
  background: black;
  color: white;
  padding: 8px;
  font-size: 1.1rem;
  text-transform: capitalize;
  width: fit-content;
}

.about-me-img {
  width: 100%;
  height: 100%;
  padding-bottom: 16px;
}


/* Contact */
.contact {
  padding: 2rem;
  text-align: center;
}

.contact input,
.contact textarea {
  width: 80%;
  padding: 0.8rem;
  margin: 0.5rem 0;
}

button {
  padding: 0.8rem 1.2rem;
  background: #000;
  color: #fff;
  cursor: pointer;
  cursor: url("images/cursor-hand-pointer.svg")16 16, pointer;
}

button:hover {
  opacity: 0.8;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background: #000;
  color: #fff;
}

#home {
  background: #000;
  color: #fff;
  background-image: url("images/grid.svg");
}

/*
.about-me::before {
  padding: 8%;
  content: "Hello 👋, I'm a Canadian Product Designer with 5+ years of experience leading digital projects from 0 to 1. \A\A⟟ Toronto, Ontario";
  white-space: pre-wrap;
  position: absolute;
  top: 50%;
  left: 0%;
  text-align: left;
  transform: translate(-50%, 20%);
  font-size: clamp(16px, 2.2rem, 2.2rem);
  color: lightgray;
  z-index: -1000;
  width: 60%;
  font-family: 'Poppins', Arial, sans-serif;


}


.about-me {
  padding-bottom: 10%;
}
*/

/* Default state (grey) */
.scroll-text {
  color: #999;
  transition: color 0.5s ease;
}

/* Active state (black) */
.scroll-text.active {
  color: #fff;
}

.skills div div h3 {

  font-size: clamp(18px, 2rem, 2rem)
}




/*buttons START-------------------------------------------------------------------------------------*/
.btn {
  color: #fff;
  cursor: pointer;
  display: block;
  font-size: 16px;
  font-weight: 400;
  line-height: 35px;
  /*margin: 0 0 2em;*/
  max-width: 200px;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  width: 100%;
}


.btn-1 {
  font-weight: 100;

  svg {
    height: 45px;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
  }

  rect {
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-dasharray: 422, 0;
    transition: all 0.35s linear;
  }
}

.btn-1:hover {
  font-weight: 900;
  letter-spacing: 1px;
  color: white;
  cursor: url("images/cursor-hand-pointer.svg")16 16, pointer;

  rect {
    stroke-width: 5;
    stroke-dasharray: 15, 310;
    stroke-dashoffset: 48;
    transition: all 1.35s cubic-bezier(0.19, 1, 0.22, 1);
  }
}

.buttons {
  text-align: center;
  width: 200px;
  /*max-width: 200px;*/
}

.btn-2 {
  font-weight: 100;

  svg {
    height: 45px;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
  }

  rect {
    fill: none;
    stroke: black;
    stroke-width: 2;
    stroke-dasharray: 422, 0;
    transition: all 0.35s linear;
  }
}

.btn-2:hover {
  font-weight: 900;
  letter-spacing: 1px;
  color: black;
  cursor: url("images/cursor-hand-pointer.svg")16 16, pointer;

  rect {
    stroke-width: 5;
    stroke-dasharray: 15, 310;
    stroke-dashoffset: 48;
    transition: all 1.35s cubic-bezier(0.19, 1, 0.22, 1);
  }
}

/*buttons END-------------------------------------------------------------------------------------*/


.card-img-top {
  width: 100%;
  height: 100%;
  max-height: 300px;
  object-fit: cover;
}

.card-img-top-tall {
  width: 100%;
  height: 100%;
  max-height: 500px;
  object-fit: cover;
  padding-bottom: 0;
}

/* 🟢 PROJECTS / WORKS -----START---------------------------------------*/

.highlight {
  background: #fff;
  color: #000;
  padding: 3px;
}

/*project categories--START---------------------------------*/


.project-cat {

  color: #fff;
  font-weight: 100;
  border: 1px solid #595959;
  background: #2a2a2a50;
  font-family: 'JetBrains Mono', Arial, sans-serif;
  font-size: 1rem;
  padding: 6px;
  text-transform: uppercase;
}


/* 🟢 PROJECTS / WORKS -----END---------------------------------------*/

/* Default state (grey) */
.scroll-color {
  opacity: 20%;
  transition: opacity 0.5s ease;
}

/* Active state (black) */
.scroll-color.active {
  opacity: 100%;
  transition: opacity 0.5s ease;
}

/*
#horizontal {
  overflow-x: hidden;
  display: flex;
  margin-left: 0%;
  margin-right: 0%;
}

#horizontal .content {
  height: 100vh;
  width: 100vw;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.content:nth-child(3) {
  background-color: #e0bad7;
}

.content:nth-child(4) {
  background-color: #e0bad7;
}
*/
.box {
  width: 100px;
  height: 100px;
  background: #e0bad7;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

@media (max-width: 992px) {
  #horizontal .content {
    width: auto;
  }

  .content {
    background-color: black;
    color: white;
  }
}


/*Border Box START --------------------------------------------------------------------- */
.box-black {
  width: 100%;
  border: 2px solid black;
  /*position: relative;*/
  transform: translateX(-2000px);
}

.box-white {
  width: 100%;
  border: 2px solid white;
  position: relative;
  max-height: fit-content;
  padding: 2.5%;
  padding-bottom: 0;
}

.box-normal {
  width: 100%;
  border: 2px solid black;
  position: relative;
  max-height: fit-content;
  padding: 2.5%;
  padding-bottom: 0;
}

#figma-cursor {
  transform: translateX(-2050px);
}


/* Common handle style */
.handle {
  width: 12px;
  height: 12px;
  background: white;
  border: 2px solid black;
  position: absolute;
}

.handle-white {
  width: 12px;
  height: 12px;
  background: white;
  border: 2px solid white;
  position: absolute;
}

/* Corner Positions */
.top-left {
  top: -6px;
  left: -6px;
  cursor: nwse-resize;
}

.top-right {
  top: -6px;
  right: -6px;
  cursor: nesw-resize;
}

.bottom-left {
  bottom: -6px;
  left: -6px;
  cursor: nesw-resize;
}

.bottom-right {
  bottom: -6px;
  right: -6px;
  cursor: nwse-resize;
}

/* Side Positions */
.top {
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  cursor: ns-resize;
}

.bottom {
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  cursor: ns-resize;
}

.left {
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  cursor: ew-resize;
}

.right {
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  cursor: ew-resize;
}

/*Border Box END ---------------------------------------------------------------------------- */


/*HOMEPAGE WORKS START --------------------------------------------------------------*/

.spacer,
.wrapper {
  width: 100%;
  min-height: 0vh;
}

.wrapper {
  /*padding-top: 100px*/
  padding-bottom: calc(25dvh);
  /*border-top: dashed 2px var(--color-surface50);
  border-bottom: dashed 2px var(--color-surface50);*/
}

.card-wrapper {
  width: 100%;
  height: 70vh;
  height: 70dvh;

  perspective: 500px;
  margin-bottom: 50px;
  padding: 0;
  padding-top: 2%;
}

.card-wrapper:last-child {
  margin-bottom: 0;
}

.cards {
  width: 100%;
  margin: 0 auto;
  /*padding: 0 20px;*/
}

.card {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;

  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  border: none;
  border-radius: 0%;
}

.card {
  background-image: url("images/home-work-ph.png");
}

.card.two {
  background-image: url("images/home-work-ph-2.png");
}

.card.three {
  background-image: url("images/home-work-ph-3.png");
}

.card.four {
  background-image: url("https://assets.codepen.io/16327/portrait-pattern-4.jpg");
}

#works p,
#works h3 {
  color: white;
  padding: 0 1%;
  text-align: center;
}

#works h3 {
  font-size: clamp(2rem, 2.5vw, 2.5em);
}


/*HOMEPAGE WORKS END --------------------------------------------------------------*/

#testimonials p {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: clamp(1rem, .75vw, 2em);
  text-align: center;
}

/*----------------------------Contact me START------------------------------------------*/
#contact-me .container {
  height: 90vh;
  height: 90dvh;

  display: flex;
}

#contact-me p {
  text-align: center;
  display: flex;
  justify-content: center;
}

/*----------------------------Contact me END------------------------------------------*/
@media (max-width: 767px) {
  .mobile-center {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .project-hero hr {
    color: black;
    display: block;
  }

}

/*--------------------------PROJECT----------------------------------------------------*/
.counter {
  font-size: clamp(3.3em, 4vw, 5em);
  font-family: 'JetBrains Mono', Arial, sans-serif;
  text-align: center;
  -webkit-text-stroke: 3px white;
  paint-order: stroke fill;
  line-height: 80%;
}

.project-hero h1 {
  text-align: center;
  font-weight: bold;
  -webkit-text-stroke: 5px white;
  paint-order: stroke fill;
  font-size: clamp(3rem, 6vw, 8rem);

}

.project-hero p {
  font-family: 'JetBrains Mono', Arial, sans-serif;
  font-size: clamp(1.3rem, 1.5vw, 1.8em);
  -webkit-text-stroke: 3px white;
  paint-order: stroke fill;
  text-align: center;

}

.project-hero h2 {
  font-size: clamp(2rem, 2vw, 3em);
  text-align: center;
  color: black;
  -webkit-text-stroke: 3px white;
  paint-order: stroke fill;
}

.project-hero hr {
  color: black;
  display: none;
}

/*-----------------ABOUT ME section ----------------------------*/
.global-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  transform-origin: top center;
 /* overflow-y: hidden;*/
  /* This ensures the scaling happens from the top-left corner */
}

.global-svg svg {
  width: 100%;
  height: 100%;
  transform: scale(1);
  /* Apply direct scaling (needed for GSAP's motion path) */
}

#scrollPath {
  opacity: 0; /* Ensure line is visible from the start */
  stroke: #fff; /* Ensure the color is defined */
  stroke-width: 5; /* Set stroke width */
  stroke-linecap: round; /* Set the stroke to be rounded */
  will-change: opacity, stroke-dashoffset;
}

#follower {
  position: fixed;
  /* Make the follower fixed position to follow the path */
  top: 0;
  left: 50%;
  z-index: 9999;
  pointer-events: none;
  width: 50px;
  /* Example image size */
  height: auto;

  /* Example image size */
}

/* Keep ALL your content above it*/
.bio .container,
.hero .container,
.hobbies .container,
p img,
footer {
  position: relative;
  z-index: 2;
}

.bio .row,
.hobbies .container {
  height: 100dvh;
}

.bio .container .row {
  display: flex;
  align-items: center;

}

h3 {
  font-size: clamp(2rem, 2.5vw, 2.5em);
}



/*----------------------------Contact me END------------------------------------------*/
@media (max-width: 767px) {
  .mobile-center {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

}

@media (max-width: 991px) {

  .project-hero hr {
    color: grey;
    display: block;
  }

}