/* General Styles */
body {
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
  margin: 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: url('background.jpg') no-repeat center center/cover;
}

/* Particles Container */
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 47, 0.8);
  z-index: 0;
}

/* Content Container */
.container {
  text-align: center;
  z-index: 1;
  position: relative;
  padding: 20px;
  max-width: 90%; /* Ensure content doesn't overflow on small screens */
}

/* Logo */
.logo {
  width: 320px; /* Smaller logo for mobile */
  margin-bottom: 20px;
}

/* Responsive Typography */
h1 {
  font-size: 2.5rem; /* Smaller font size for mobile */
  margin-bottom: 10px;
  background: linear-gradient(90deg, #00b894, #00cec9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tagline {
  font-size: 1.2rem; /* Smaller font size for mobile */
  color: #00b894;
  margin-bottom: 20px;
}

p {
  font-size: 1rem; /* Smaller font size for mobile */
  margin-bottom: 20px;
}

/* Form Styles */
form {
  display: flex;
  flex-direction: column; /* Stack form elements vertically on small screens */
  align-items: center;
  gap: 10px;
}

input {
  padding: 10px;
  font-size: 1rem;
  border: 2px solid #00b894;
  border-radius: 5px;
  background-color: transparent;
  color: #ffffff;
  width: 100%; /* Full width on small screens */
  max-width: 300px; /* Limit width on larger screens */
  outline: none;
}

input::placeholder {
  color: #00b894;
}

button {
  padding: 10px 20px;
  font-size: 1rem;
  background-color: #00b894;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%; /* Full width on small screens */
  max-width: 300px; /* Limit width on larger screens */
}

button:hover {
  background-color: #00997b;
}

#message {
  margin-top: 20px;
  font-size: 0.9rem; /* Smaller font size for mobile */
  color: #00b894;
}

/* Media Queries for Larger Screens */
@media (min-width: 768px) {
  .logo {
    width: 450px; /* Larger logo for tablets and desktops */
  }

  h1 {
    font-size: 4rem; /* Larger font size for tablets and desktops */
  }

  .tagline {
    font-size: 1.5rem; /* Larger font size for tablets and desktops */
  }

  p {
    font-size: 1.2rem; /* Larger font size for tablets and desktops */
  }

  form {
    flex-direction: row; /* Align form elements horizontally on larger screens */
  }

  input {
    width: 250px; /* Fixed width for input on larger screens */
  }

  button {
    width: auto; /* Auto width for button on larger screens */
  }
}