body {
    font-family: 'Arial', sans-serif;
    background-color: #000; /* Dark background for visibility of particles */
    margin: 0;
    padding: 0;
    overflow: hidden; /* Keeps everything within the viewport */
    position: relative;
}

/* Particles container setup */
#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Below interactive content but above background */
}

/* Main container adjustments */
.container {
    position: relative;
    max-width: 600px;
    margin: 100px auto;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(255, 255, 255, 0.1);

    z-index: 10; /* Above the particles layer */
}

/* Styling for form and interactive elements */
.form-group {
    position: relative;
    z-index: 20; /* Ensures that form elements are clickable and on top */
    margin-bottom: 20px;
}

input[type="text"], button {
    width: 100%; /* Full width within form group */
    padding: 10px;
    margin-bottom: 20px; /* Ensure no extra space around elements */
    border-radius: 5px;
    box-sizing: border-box; /* Padding and border included in width/height */
    color: #fff; /* White text for visibility */
    background: rgba(255, 255, 255, 0.1); /* Slightly lighter background for the input */
}

input[type="text"] {
    border: 1px solid #555; /* Consistent border styling */
}

button {
    background-color: #007bff;
    border: 1px solid #007bff; /* Explicit border to match the input field's border */
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0056b3;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #FFF; /* White color for visibility */
}

/* Ensure background elements are set correctly */
.starry-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('stars.jpeg') repeat center center fixed;
    background-size: cover;
    z-index: 1; /* Below main content but above base background */
    opacity: 0.5; /* Not too overpowering */
}

/* Extra styles for animations if needed */
@keyframes floatParticles {
    0%, 100% {
        background-position: 0 0;
    }
    50% {
        background-position: 100% 100%;
    }
}

@keyframes moveStars {
    from {
        transform: translateX(0px);
    }
    to {
        transform: translateX(-2000px);
    }
}

