* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #333333; /* Dark grey background shown initially */
  background-image: url('bg.webp');
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
  color: #e0e0e0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

header {
  text-align: center;
  padding: 20px 0;
  animation: fadeIn 2s ease-out;
}


header h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5em;
  color: #00c6ff;
  animation: textGlow 3s infinite alternate;
}

header p {
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-size: 1.5em;
  margin-top: 10px;
}

section {
  background: rgba(51, 51, 51, 0.8); /* Semi-transparent dark overlay */
  width: 90%;
  max-width: 800px;
  margin: 20px 0;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
}

section h2 {
  color: #00c6ff;
  font-size: 1.8em;
  margin-bottom: 10px;
}

ul {
  list-style: none;
  padding-left: 20px;
  color: #e0e0e0;
}

#contact form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#contact input, #contact textarea {
  padding: 10px;
  background: #444;
  color: #e0e0e0;
  border: 1px solid #00c6ff;
  border-radius: 5px;
}

#contact button {
  padding: 10px;
  background: #00c6ff;
  color: #333;
  font-size: 1em;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

#contact button:hover {
  background: #0086b3;
}

/*
 * 2nd level nested list items should be more sepearted, and animate in slowly
 */
ul ul {
  margin: 10px;
  padding-left: 20px;
}

ul ul li {
  margin-top: 5px;
  opacity: 0;
  animation: fadeSlideIn 1.5s ease-out forwards;
  animation-delay: 0.2s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes textGlow {
  from {
    text-shadow: 0 0 10px #00c6ff, 0 0 20px #00c6ff, 0 0 30px #00c6ff;
  }
  to {
      text-shadow: 0 0 2px #00c6ff, 0 0 0px #00c6ff, 0 0 20px #00c6ff
  }
}

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

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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



@keyframes textGlow {
  0% { text-shadow: 0 0 10px #00c6ff, 0 0 20px #00c6ff, 0 0 30px #00c6ff; }
  100% { text-shadow: 0 0 5px #00c6ff, 0 0 7px #00c6ff, 0 0 10px #00c6ff; }
}
