* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  color: white;
  background-color: #000428; 
  margin: 0;
  padding: 0;
}

/* why does the logo keep changing size!?!?!*/
#logo { 
  width: 100%;               
  max-width: 500px;         
  height: auto;             
  display: block;
  margin: 0 auto;         
}

header {
  position: relative;
  background: linear-gradient(to bottom, #000428, #004e92);
  text-align: center;
  padding: 10vh 20px;         
  height: 100vh;             
  overflow: hidden;
  color: white;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); 
}

header h1 {
  font-size: 4vw;       
  z-index: 1;
  position: relative;
}

header p {
  font-size: 2vw;       
  z-index: 1;
}

.cta-button {
  background-color: #ff6347;
  color: white;
  padding: 15px 25px;
  text-decoration: none;
  border-radius: 5px;
  z-index: 1;
  position: relative;
  top: 30px;
  font-size: 1.2vw;      
}

.stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

@keyframes glow {
  0% {
      box-shadow: 0 0 2px 1px rgba(255, 255, 255, 0.5);
  }
  50% {
      box-shadow: 0 0 5px 2px rgba(255, 255, 255, 1);
  }
  100% {
      box-shadow: 0 0 2px 1px rgba(255, 255, 255, 0.5);
  }
}

/*ideally we wanna go from top left to bottom right but idk*/
@keyframes falling-stars {
  0% {
      transform: translateY(-10vh) translateX(-30vw); 
  }
  100% {
      transform: translateY(110vh) translateX(20vw);
  }
}

/*maybe a cool trail would be nice*/
@keyframes trail {
  0% {
      box-shadow: 0 0 10px 1px rgba(255, 255, 255, 0.6);
  }
  100% {
      box-shadow: 0 0 30px 3px rgba(255, 255, 255, 0);
  }
}

.stars div {
  position: absolute;
  width: 3px;
  height: 3px;
  background-color: white;
  border-radius: 50%;
  animation: falling-stars 5s linear infinite, trail 1s ease-out infinite;
  opacity: 0.8;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #222;
  color: white;
}

@media (max-width: 768px) {
  header {
    padding: 15vh 10px; 
  }

  header h1 {
    font-size: 6vw;   
  }

  header p {
    font-size: 3vw; 
  }

  .cta-button {
    padding: 12px 20px;  
    font-size: 3vw;     
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 8vw;     
  }

  header p {
    font-size: 4vw;     
  }

  .cta-button {
    padding: 10px 18px; 
    font-size: 4vw;    
  }

  #logo {
    max-width: 80%;    
  }
}
