/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* Fullscreen Background Gradient */
body {
    background: linear-gradient(to right, #4e81d1, #6a98c3, #85b1cf, #a3c8db);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Glass Navbar */
.glass-navbar {
    position: absolute;
    top: 20px;
    width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.logo {
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

.nav-links .btn {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    transition: 0.3s ease-in-out;
}

.nav-links .btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Hero Section and Login Form Styling */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.login-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 100%;
    max-width: 600px;
}

.login-title {
    color: white;
    font-size: 2rem;
    margin-bottom: 30px;
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}

button[type="submit"] {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    background-color: #4e81d1;
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

button[type="submit"]:hover {
    background-color: #3d6fa1;
}

/* Sign Up Link */
.signup-link {
    margin-top: 15px;
    color: white;
    font-size: 1rem;
}

.signup-link a {
    color: #4e81d1;
    text-decoration: none;
    font-weight: bold;
}

.signup-link a:hover {
    text-decoration: underline;
}

/* Scattered Hashtags */
.scattered-text {
    position: absolute;
    font-size: calc(1rem + 1vw);
    font-weight: bold;
    color: rgba(255, 255, 255, 0.6); /* Increased visibility */
    user-select: none;
    animation: jumpAndMove 5s infinite ease-in-out;
}

.scattered-text:nth-child(1) { font-family: 'Raleway', sans-serif; transform: rotate(-20deg); }
.scattered-text:nth-child(2) { font-family: 'Pacifico', cursive; transform: rotate(15deg); }
.scattered-text:nth-child(3) { font-family: 'Oswald', sans-serif; transform: rotate(-10deg); }
.scattered-text:nth-child(4) { font-family: 'Lobster', cursive; transform: rotate(5deg); }
.scattered-text:nth-child(5) { font-family: 'Courier Prime', monospace; transform: rotate(-25deg); }
.scattered-text:nth-child(6) { font-family: 'Roboto', sans-serif; transform: rotate(30deg); }
.scattered-text:nth-child(7) { font-family: 'Playfair Display', serif; transform: rotate(-15deg); }
.scattered-text:nth-child(8) { font-family: 'Anton', sans-serif; transform: rotate(10deg); }
.scattered-text:nth-child(9) { font-family: 'Raleway', sans-serif; transform: rotate(-30deg); }

/* Animation for Jumping and Moving Effect */
@keyframes jumpAndMove {
    0% { 
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.8;
    }
    25% { 
        transform: translate(-50px, -50px) rotate(-20deg);
        opacity: 1;
    }
    50% { 
        transform: translate(100px, 30px) rotate(15deg);
        opacity: 1;
    }
    75% { 
        transform: translate(-80px, 80px) rotate(-30deg);
        opacity: 1;
    }
    100% { 
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.8;
    }
}
