body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #0f0e17;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #0f0e17;
    color: #ffffff;
}


/* Footer Styles */
footer {
    background-color: #1f1e2e;
    color: #ffffff;
    text-align: center;
    padding: 0.5rem 1rem;
    width: 100%;
    box-shadow: 0 -4px 20px #9f7aea;
    margin-top: auto;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Profile Image */
.footer-photo {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffcc00;
}

/* Email Link */
.footer-a {
    color: #ffcc00;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-a:hover {
    color: #ffdb4d;
    text-shadow: 0 0 5px #ffdb4d;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 0.3rem;
        padding: 0.5rem 0.5rem;
    }

    .footer-photo {
        margin: 0.3rem 0;
        width: 30px;
        height: 30px;
    }

    .footer-content p {
        margin: 0.2rem 0;
        font-size: 0.9rem;
    }
}




.container {
    display: flex;
    gap: 2rem;
    padding: 2rem;
}

.hero {
    flex: 1;
    max-width: 500px;
}

.hero h1 {
    font-size: 3rem;
    margin: 0;
    color: #ffffff;
}

.hero h1 span {
    color: #9f7aea;
    text-shadow: 0 0 10px #9f7aea;
}

.hero p {
    font-size: 1.2rem;
    margin: 1rem 0;
    color: #dddddd;
}

.hero .buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.hero .buttons button {
    background-color: transparent;
    border: 1px solid #ffffff;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s;
}

.hero .buttons button:hover {
    background-color: #ffffff;
    color: #0f0e17;
}

.form-container {
    background-color: #1f1e2e;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 0 20px #9f7aea;
    width: 320px;
    transition: all 0.5s ease;
}

.form-container:hover {
    box-shadow: 0 0 30px #9f7aea, 0 0 60px #9f7aea, 0 0 90px #9f7aea;
}

.form-container.active {
    background-color: #292838;
    box-shadow: 0 0 40px #9f7aea, 0 0 80px #9f7aea;
}

.form-container h2 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.form-container p {
    color: #aaaaaa;
    margin-bottom: 1.5rem;
}

.form-container input {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 8px;
    background-color: #2b2b3b;
    color: #ffffff;
}

.form-container button.action {
    width: 100%;
    background-color: #9f7aea;
    color: #ffffff;
    padding: 0.8rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}
.action:hover{
    box-shadow: 0 0 15px #9f7aea, 0 0 15px #9f7aea;
    transform: scale(1.05);
}

.form-container .login-register {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.form-container .login-register button {
    background-color: transparent;
    border: 1px solid #ffffff;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s;
}

.form-container .login-register button:hover {
    background-color: #ffffff;
    color: #0f0e17;
}

.form-group {
    display: none;
}

.form-group.active {
    display: block;
}


/* ✅ Make the Login Page Responsive for Mobile */
@media screen and (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1rem;
    }

    .hero {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .form-container {
        width: 90%;
    }

    .hero .buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .form-container {
        width: 95%;
        padding: 1.5rem;
    }

    .form-container h2 {
        font-size: 1.5rem;
    }

    .form-container button.action {
        font-size: 0.9rem;
        padding: 0.7rem;
    }

    .hero .buttons button {
        padding: 0.6rem 1rem;
    }
    
}
