/* style.css */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #0f0f0f;
  color: #f0f0f0;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 0.3s;
}

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

header {
  background: #1f1f1f;
  padding: 1em;
  text-align: center;
}

header img {
  height: 50px;
  vertical-align: middle;
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    filter: drop-shadow(0 0 5px #00ffff);
  }
  to {
    filter: drop-shadow(0 0 15px #00ffff);
  }
}

nav {
  margin-top: 10px;
}

nav a {
  margin: 0 15px;
  color: #00ffff;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

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

nav a:hover {
  color: #00ffff;
}

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

main {
  padding: 2em;
  max-width: 800px;
  margin: auto;
}

footer {
  text-align: center;
  padding: 1em;
  font-size: 0.8em;
  color: #888;
}

@media (max-width: 768px) {
  header {
    padding: 1em 0.5em;
  }

  header img {
    height: 40px;
  }

  nav {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  nav a {
    margin: 8px 0;
    font-size: 1.1em;
  }

  main {
    padding: 1em;
  }

  h1 {
    font-size: 1.5em;
  }

  h2 {
    font-size: 1.3em;
  }

  p {
    font-size: 1em;
  }

  footer {
    font-size: 0.7em;
    padding: 0.5em;
  }
}
