@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Orbitron', sans-serif;
  color: #ffe81f;
  background: black;
  overflow-x: hidden;
}

/* Starfield background */
.stars, .twinkling {
  position: fixed;
  top:0; left:0;
  right:0; bottom:0;
  display:block;
  z-index:-1;
}
.stars {
  background: black url('https://www.transparenttextures.com/patterns/stardust.png') repeat;
}
.twinkling {
  background: transparent url('https://www.transparenttextures.com/patterns/tiny-crosses.png') repeat;
  animation: move 200s linear infinite;
}
@keyframes move {
  from { background-position:0 0; }
  to { background-position: -10000px 5000px; }
}

/* Intro crawl */
.intro {
  position: relative;
  top: 30%;
  text-align: center;
  font-size: 1.5em;
  color: #4bd5ee;
  animation: fadeout 5s 10s forwards;
}
@keyframes fadeout {
  to { opacity:0; visibility:hidden; }
}

.crawl {
  position: absolute;
  bottom: -100px;
  width: 100%;
  height: 100%;
  overflow: hidden;
  perspective: 400px;
  color: #ffe81f;
  font-size: 2em;
  line-height: 1.5;
  text-align: center;
  animation: crawl 60s linear infinite;
}
.crawl .title h1 { font-size: 2em; margin:1em 0; }

@keyframes crawl {
  0% { bottom:-100px; transform: rotateX(20deg) translateZ(0); }
  100% { bottom:100%; transform: rotateX(25deg) translateZ(-2000px); }
}

/* Main site */
header {
  text-align: center;
  padding: 2rem;
  background: rgba(0,0,0,0.7);
  position: sticky;
  top: 0;
  z-index: 1000;
}
header h1 {
  color: #ffe81f;
  margin-bottom: 1rem;
}
nav a {
  margin: 0 1rem;
  text-decoration: none;
  color: #4bd5ee;
  font-weight: bold;
}
nav a:hover {
  color: #ffe81f;
}

main {
  padding: 2rem;
}
section {
  margin: 3rem 0;
}
h2 {
  color: #4bd5ee;
  margin-bottom: 1rem;
}
p, li {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  border-top: 1px solid #4bd5ee;
  color: #999;
  background: rgba(0,0,0,0.8);
}
