/* Orange color for light color scheme (Default) */
/* Can be forced with data-theme="light" */
[data-theme=light],
:root:not([data-theme=dark]),
:host:not([data-theme=dark]) {
  --spotlight-primary-fill: #333;
  --spotlight-secondary-fill: #000;
}

/* Orange color for dark color scheme (Auto) */
/* Automatically enabled if user has Dark mode enabled */
@media only screen and (prefers-color-scheme: dark) {
  :root:not([data-theme]),
  :host:not([data-theme]) {
    --spotlight-primary-fill: #f4f4f4;
    --spotlight-secondary-fill: #fff;
  }
}
/* Orange color for dark color scheme (Forced) */
/* Enabled if forced with data-theme="dark" */
[data-theme=dark] {
  --spotlight-primary-fill: #f4f4f4;
  --spotlight-secondary-fill: #fff;
}

* {
  scroll-behavior: smooth;
}

header {
  height: 70vh;
}

.text-centre {
  text-align: center;
}

.fa-github {
  color: var(--pico-contrast);
}

.desktop-nav {
  display: none;
  
  @media (min-width: 768px) {
    display: inline-block;
  }
}

.mobile-nav {
  @media (min-width: 768px) {
    display: none;
  }
}

.pather-section {
  display: flex;
  flex-flow: column;
  align-items: center;
  overflow: hidden;
}

.pather {
  container: pather / inline-size;
  width: 60vw;
  position: relative;
  svg.line {
    width: 100cqw;
    height: 100%;
    path {
      &.line-path {
        stroke: var(--spotlight-secondary-fill);
      }
      &.animate {
        stroke: var(--spotlight-secondary-fill);
        display: none;
      }
    }
    .trail-dash {
      opacity: 0;
      transition: 0.15s ease-in-out;
      stroke: var(--spotlight-secondary-fill);
      stroke-linecap: round;
      &.show {
        opacity: 1;
      }
    }
  }
  .gsap-item {
    position: absolute;
    height: auto;
    width: 60%;
    transition: 0.15s ease;
    display: flex;
    flex-flow: column;
    align-items: center;
    h3 {
      text-align: center;
      color: var(--pico-background-color);
    }
    p {
      opacity: 0;
      color: var(--pico-background-color);
    }
    &.show p {
      opacity: 1;
    }
  }
}
