@import url('https://fonts.googleapis.com/css2?family=Londrina+Shadow&display=swap');

body {
  margin: 0;
  font-family: 'Londrina Shadow', cursive;
  
  background-size: 40px 40px;
  background-color: #000;
  color: #fff;
}
#webgl-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Push behind all content */
  pointer-events: none; /* Let clicks pass through */
}
.retro-header {
  text-align: center;
  padding: 60px 20px;
  background-color: #3b0509; /* Forest Green */
  border-bottom: 4px solid #ff66ff;
  animation: pulseHeader 4s infinite alternate;
}

.glow {
  font-family: 'Londrina Shadow', cursive;
  font-size: 6em;
  color: #d6347d;
  text-shadow: 
    2px 2px 0 #cc00cc, 
    4px 4px 0 #ff66cf;
  animation: flicker 1s infinite alternate;
}

.glow-sub {
  font-family: 'Londrina Shadow', cursive;
  font-size: 1.7em;
  color: #df81a0;
  text-shadow: 1px 1px 0 #ae1765;
}

/* Flicker Animation */
@keyframes flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% {
    opacity: 1;
    text-shadow: 2px 2px 0 #ab1c53, 4px 4px 0 #ff66ff;
  }
  20%, 24%, 55% {
    opacity: 0.4;
    text-shadow: none;
  }
}


/* #webgl-canvas {
  display: block;
  width: 100vw;
  height: 300px;
  background-color: #000;
} */

/* Pulse Header Animation */
@keyframes pulseHeader {
  from { border-bottom-color: #ff33cc; }
  to   { border-bottom-color: #ff99ff; }
}

nav {
  display: flex;
  justify-content: center;
  background: #330033;
  padding: 0.5rem;
}

nav a {
  color: #be3d7e;
  margin: 0 1rem;
  text-decoration: none;
  font-weight: bold;
  font-family: 'Londrina Shadow', cursive;
}

nav a:hover {
  text-decoration: underline;
  color: #ffffff;
}

h2 {
  text-align: center;
  margin-top: 2rem;
  font-family: 'Londrina Shadow', cursive;
}

.gallery, .projects {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  padding: 2rem;
}

.gallery img, .projects img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.project {
  background: white;
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  color: #000;
}

.project h3 {
  margin: 1rem 0 0.5rem;
  font-family: 'Londrina Shadow', cursive;
}

.project a {
  display: inline-block;
  margin-top: 0.5rem;
  color: #0066cc;
  text-decoration: none;
}

footer {
  text-align: center;
  background: #222;
  color: white;
  padding: 1rem;
  font-family: 'Londrina Shadow', cursive;
}
