body {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  background-color: #1a0000;
  color: #f04030;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header {
  width: 100%;
  background-color: #2b0000cc;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
  position: fixed;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(4px);
}

header h1 {
  font-size: clamp(0.8rem, 6vw, 3rem); /* min, preferred, max */
  /*font-size: 4vw;*/
  /*font-size: 2.5rem;*/
  letter-spacing: 2px;
  color: #ff3b30;
  margin: 0;
  padding: 2vw;
  padding-bottom: 1rem;
  transition: transform 0.3s ease;
}

header h1:hover {
  transform: scale(1.05);
}



a {
    color: white; /* Changes all links to red */
  }




nav {
  display: flex;
  gap: 1rem;
}

nav a {
  color: #f04030;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  font-weight: bold;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ff6540;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: #ff6540;
  transform: translateY(-2px);
}

main {
  margin-top: 160px;
  width: 90%;
  max-width: 900px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.logo {
  width: 250px;
  margin: 2rem auto;
  border-radius: 50%;
  box-shadow: 0 0 30px #f04030aa;
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.logo:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 40px #ff6540cc;
}

section {
  display: none;
  animation: fadeIn 0.5s ease forwards;
}

section.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

footer {
  margin-top: auto;
  padding: 1rem;
  background-color: #2b0000cc;
  width: 100%;
  text-align: center;
  color: #903030;
  font-size: 0.9rem;
  position: relative;
  z-index: 2;
}

#bgCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: radial-gradient(circle at 30% 50%, #2b0000 0%, #0a0000 100%);
}
