body {
  margin: 0;
  background: #415a6c;
  overflow-x: hidden;
  font-family: "Space Grotesk", system-ui, sans-serif;
}

h1, h2, p{
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "Space Grotesk", system-ui, sans-serif;
}

.hero {
  position: relative;
  min-height: 100svh;
  height: 100svh;
  overflow: hidden;
}

main {
  height: 140vh;
  background: #0b0f1a;
}

.parallax {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.parallax_layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  will-change: transform;
}

.parallax_layer:nth-child(1) {
  z-index: 1;
  background: url("../images/parallax/L1.png") center bottom /cover no-repeat;
}

.parallax_layer:nth-child(2) {
  z-index: 2;
  background: url("../images/parallax/L2.png") center bottom /cover no-repeat;
}

.parallax_layer:nth-child(3) {
  z-index: 3;
  background: url("../images/parallax/L3.png") center bottom /cover no-repeat;
}

.parallax_layer:nth-child(4) {
  z-index: 4;
  background: url("../images/parallax/L4.png") center bottom /cover no-repeat;
}

.parallax_layer:nth-child(5) {
  z-index: 5;
  background: url("../images/parallax/L5.png") center bottom /cover no-repeat;
}

.parallax_fade {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent 60%,
    #0b0f1a 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: grid;
  place-content: center;
  color: white;
  text-align: center;
}

.hero-content .accent {
  /* text-shadow:
    0 0 10px rgba(255, 196, 0, 0.6),
    0 0 20px rgba(255, 196, 0, 0.4),
    0 0 40px rgba(255, 196, 0, 0.2); */
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {

  0%, 100% {
    text-shadow: 0 0 8px rgba(255, 196, 0, 0.2);
  }
  50% {
    text-shadow: 0 0 30px rgba(255, 196, 0, 0.9);
  }
}

.hero-content h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-content p {
  font-size: 1.1rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.85;
}

.portfolio-window {
  height: 70vh;
  background: url("../images/other/window.png") center center / cover no-repeat;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(111, 211, 255, 0.15);
  border-bottom: 1px solid rgba(111, 211, 255, 0.15);
}

.portfolio-window::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 20, 0.6);
  transition: background 0.4s ease;
}

.portfolio-window a {
  display: block;
  height: 100%;
  position: relative;
  z-index: 2;
  text-decoration: none;
  color: white;
}

.window-overlay {
  height: 100%;
  display: grid;
  place-content: center;
  text-align: center;
}

.portfolio-window:hover::before {
  background: rgba(5, 8, 20, 0.3);
}

.portfolio-window:hover {
  transform: scale(1.02);
  box-shadow: 0 0 60px rgba(111, 211, 255, 0.25);
  transition: transform 0.6s ease;
}

.portfolio-window::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg,
      transparent,
      rgba(111, 211, 255, 0.2),
      transparent);
  transition: left 1.8s ease;
}

.portfolio-window:hover::after {
  left: 150%;
}

.window-overlay h2 {
  font-size: 2.5rem;
  letter-spacing: 0.1em;
  text-shadow: 0 0 20px rgba(111, 211, 255, 0.4);
}

footer {
  height: 40vh;
  background: #0b0f1a;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ccc;
  font-size: 0.9rem;
  text-align: center;
}

footer .copyright {
  opacity: 0.7;
  letter-spacing: 0.05em;
}

@media  (max-width: 900px) {
  .parallax_layer {
    background-position: center center;
  }
}
