/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Set body font, background, and layout */
body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)), url('https://raw.githubusercontent.com/sumitarora2904/WebShortener/refs/heads/main/public/background.jpeg') no-repeat center center fixed;
    background-size: cover;
    color: white;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

/* Container for content with glassmorphism effect */
.container {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent white */
    backdrop-filter: blur(10px); /* Blur effect */
    border-radius: 12px;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    text-align: center;
}

/* Header styling */
header {
    margin-bottom: 2rem;
}

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

p {
    font-size: 1.1rem;
    color: #bdc3c7;
}

/* Form styling */
form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

input[type="text"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    border-radius: 6px;
    border: 1px solid #34495e;
    font-size: 1.1rem;
    outline: none;
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent background */
    color: #ecf0f1;
}

input[type="text"]:focus {
    border-color: #3498db;
    background: rgba(255, 255, 255, 0.2); /* Lighter background on focus */
}

button {
    background-color: #3498db;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #2980b9;
}

/* Popup styling */
.popup {
    display: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    z-index: 999;
}

.popup-content {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent card */
    padding: 2rem;
    border-radius: 12px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    backdrop-filter: blur(5px); /* Optional subtle blur */
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.8rem;
    cursor: pointer;
    color: #3498db;
}

/* Footer styling */
footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 1rem;
    color: #bdc3c7;
}

footer a {
    color: #3498db;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 600px) {
    .container {
        padding: 1.5rem;
        margin: 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
    }

    button {
        padding: 10px;
    }
}
/* Make the particles div fill the whole screen */
#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Ensures particles are behind content */
}
