/* style.css */

html, body {
  overflow-x: hidden;
}


body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(ellipse at bottom, #0f2027 0%, #203a43 50%, #2c5364 100%);
  color: #ffffff;
  line-height: 1.6;
}

header, footer {
  text-align: center;
  padding: 2em;
  background-color: rgba(0, 0, 0, 0.3);
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  border-radius: 12px;
  margin: 1em;
}

h1 {
  font-size: 2.5rem;
  color: #00ffff;
}

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

section {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1em;
  margin: 1em 0;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

a {
  color: #00d4ff;
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  color: #00ffee;
  text-shadow: 0 0 5px #00ffee;
  transition: all 0.3s ease;
}

footer {
  font-size: 0.9em;
  color: #ccc;
}
/*--------*/
#tsparticles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

  left: 0;
}
/*------------*/
.floating-icons {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
}

.floating-icons span {
  position: absolute;
  font-size: 2rem;
  animation: float 20s linear infinite;
  opacity: 0.4;
}

/* Random starting positions and speeds */
.floating-icons span:nth-child(1) {
  top: 10%;
  left: 20%;
  animation-duration: 25s;
}
.floating-icons span:nth-child(2) {
  top: 30%;
  left: 70%;
  animation-duration: 18s;
}
.floating-icons span:nth-child(3) {
  top: 50%;
  left: 40%;
  animation-duration: 22s;
}
.floating-icons span:nth-child(4) {
  top: 70%;
  left: 10%;
  animation-duration: 20s;
}
.floating-icons span:nth-child(5) {
  top: 80%;
  left: 80%;
  animation-duration: 26s;
}

/* Animation keyframes */
@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.4;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}
/*Animation Rocket*/
@keyframes floatRocket {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.4;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-110vh) rotate(360deg);
    opacity: 0;
  }
}
/* Link in rocket*/
.floating-rocket {
  position: absolute;
  bottom: 20%;
  left: 10%;
  animation: floatRocket 18s linear infinite;
  animation-fill-mode: none; 
  font-size: 2rem;
  opacity: 0.4;
  z-index: 10;
  pointer-events: auto; /* enable clicking */
  will-change: transform, opacity;
}


.floating-rocket:hover {
  opacity: 1;
  transform: scale(1.2);
  transition: 0.3s ease;
}

