body {
    margin: 0;
    /* display: flex; */
    overflow: hidden;
    background-color: #d5edf2; /* Neon theme background */
    height: 100%;
    background-image: url("/Designer.jpeg");
}

* navbar  */
/* ===== HEADER & NAVIGATION ===== */
h1{
    font-family: 'Press Start 2P',monospace;
    color: gradiant(white,black);
  }
  header {
    display: flex;
    justify-content: space-between;
    justify-content:start;
    background:rgba(227, 220, 118, 0.9); /* Transparent button background */
    position: absolute;
    width: 100%;
    height: 80px;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: opacity, transform var(--transition-speed);
    opacity: 0.4;
    color: rgba(0, 0, 0, 1); 
    font-size: medium;
    font-weight: bold;
    unicode-bidi: isolate;
  }
.logo {
    font-family: 'Press Start 2P',monospace;
    color: linear-gradient(#8d6a6a,#fff);
    font-size: 2rem;
    transition: transform 0.3s ease;
    padding-right: 0rem;
    padding-left: 0rem;
    padding-top: 0rem;
    margin-top: 1rem;
    margin-left: 20px;
    display: flex;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 0.5rem; /* Reduced gap to remove extra spacing */
    align-items: center;
}

.nav-links a {
    color: var(--earth-brown);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    justify-content: end;
    text-decoration: none;

    
}

.nav-links a:hover {
    background: rgba(129, 199, 132, 0.1);
    color: var(--primary-green);
}

.auth-container {
    display: flex;
    /* justify-content: end; */
    gap: 0.5rem; /* Reduced gap to remove extra spacing */
    margin-left: 0px;
    position: 0px;
    padding-left: 2rem;
    padding-right: 0%;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.auth-container::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 2px;
    background: rgba(109, 76, 65, 0.2);
}

.auth-container button {
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 500;
    margin-top: 10px;
    display: flex;
    padding-top: 0px;
}

.login-btn {
    background: white;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    display:flex;
}

.signup-btn {
    background: var(--primary-green);
    color: white;
    border: 2px solid transparent;
    display: flex;
}

.auth-container button:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 12px rgba(46, 125, 50, 0.3);
}

#root {
    position: relative; /* Fixed so it covers the whole screen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; 
    margin: 0%;/* Lower than .content-container */
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; 
   /* Ensure the canvas is behind other elements */
}

div {
    background: rgba(160, 93, 204, 0.2); /* More transparent background */
    backdrop-filter: blur(10px); /* Adds a blur effect */
    border: 1px solid rgba(255, 255, 255, 0.3); /* Lighter border */
    padding: 20px; /* Increased padding for better spacing */
    margin: 0 auto;
    margin-top: 300px;
    margin-bottom: 100px;
    margin-left: 550px;
    width: 500px;
    height: auto;
    
    text-align: center;
    border-radius: 15px; /* More rounded corners */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); /* Softer shadow */
    animation: fadeIn 1s ease-in-out; /* Fade-in effect */
}
h1 {
    font-size: 24px;
    margin-top: 20px;
    font-family: 'Press Start 2P', monospace;
    color: rgba(7, 4, 4, 0.555);
    overflow: hidden;
    border-right: .15em solid rgba(7, 4, 4, 0.555);
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: .15em;
    width: 0; /* Start hidden */
    animation: typing 2s steps(17, end) forwards, blink-caret .75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 17ch; } /* Now fully includes "Forgot Password" */
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: rgba(7, 4, 4, 0.555); }
}


input[type="text"], input[type="email"] {
    width: 85%;
    height: 40px;
    margin-top: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3); /* Lighter border */
    padding: 5px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.2); /* Transparent input background */
    color: white; /* White text color */
    box-shadow: 0 0 10px rgba(160, 93, 204, 0.3); /* Subtle glow */
    transition: all 0.3s ease-in-out;
}

input[type="text"]:focus, input[type="email"]:focus {
    box-shadow: 0 0 15px rgba(160, 93, 204, 0.8);
    border: 1px solid rgba(160, 93, 204, 0.8);
}

button {
    width: 85%;
    height: 40px;
    margin-top: 20px;
    border-radius: 10px;
    border: none;
    padding: 5px;
    font-size: 16px;
    background-color: rgba(76, 175, 80, 0.8); /* Transparent button background */
    color: white;
    cursor: pointer;
    position: relative;
    z-index: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out; /* Smooth transition */
    box-shadow: 0 0 10px #4CAF50; /* Subtle glow effect */
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%,5%,10%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-9px);
    }
    60% {
        transform: translateY(-5px);
    }
}

button:hover {
    background-color: rgba(69, 160, 73, 0.8);
    box-shadow: 0 0 5px #4CAF50, 0 0 20px #4CAF50, 0 0 30px #4CAF50, 0 0 50px #4CAF50; /* Enhanced neon glow on hover */
}

button span {
    position: relative;
    z-index: 1;
}

button span::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    z-index: -1;
    transform: translate(-50%, -50%);
    transition: all 0.5s;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 255, 255, 0.5), 0 0 30px rgba(255, 255, 255, 0.5);
}

button:hover span::before {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.8);
}
