/* General Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #000;
    color: #fff;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

canvas {
    position: fixed; /* Make sure it stays in the background */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Place it behind other content */
}

/* Container for centering */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

/* Logo styles */
.logo-icon{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    z-index: 3;
    position: relative;
    top: -75px;
}
/* Form container */
.form-container {
    position: relative;
    width: 100%;
    max-width: 30rem;
    height: auto;
}

/* Divider */
.divider {
    position: relative;
    height: 1px;
    background: linear-gradient(to right, transparent, #38bdf8, transparent);
    margin-bottom: 1rem;
}

/* Card styles */
.card {
    background: #1f1f1f;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    box-shadow: 0 0 0 20px rgba(100, 100, 100, 0.1);
    padding: 1.5rem;
}

.card-content {
    padding-bottom: 1.5rem;
}

.title {
    font-size: 1.25rem;
    font-weight: 600;
}

.subtitle {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Form group styles */
.form-group {
    margin-bottom: 1rem;
}
.text{
    width: 50%;
    color: white;
    background: #ffffff2b;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    box-shadow: 0 0 0 20px rgba(100, 100, 100, 0.1);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    letter-spacing: 1.2px;
}
/* Register link styles */
.register-link {
    font-size: 0.875rem;
    color: #ffff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    background: #1f1f1f;
    transition: background-color 0.3s, color 0.3s, border 0.1s ease, transform 0.2s ease-in-out;
}

.register-link:hover {
    background-color: #000;
    color: #fff;
    transform: scale(1.01);
    border: .7px solid white;
}

/* Login button with hover and focus effects */
.login-button {
    font-weight: 600;
    color: #000;
    background: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border 0.1s ease, transform 0.2s ease-in-out;
    margin-top: 10px;
}

.login-button:hover {
    background: #000;
    color: #fff;
    transform: scale(1.05);
    border: .7px solid white;
}

.login-button:focus {
    outline: 2px dashed #38bdf8;
}


.text-cellphone{
    display: none;
}
/* Mobile optimization */
@media (max-width: 768px) {
    .form-container {
        padding: 0 1rem;
    }

    .text{
        width: 80%;
    }

    .text-computer{
        display: none;
    }

    .text-cellphone p{
        margin-bottom: 35px;
        margin-top: -5px;
    }

    .text-cellphone{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .logo-cellphone{
        width: 250px;
        height: 200px;
    }

}
