﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Quicksand", sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
    background: linear-gradient(100deg, #000f15, #03589d, #031f37ee, #023f5ef2, #01234dee, #02597ef2,#034184e5);
}

.titulo {
    text-align: center;
    font-size: 30px;
    margin-top: 20px;
    color: white;
    text-shadow: -1px -1px 0 #000, 2px -1px 0 #000, -1px 2px 0 #000, 2px 2px 0 #000;
}

.titulo2 {
    text-align: center;
    font-size: 13px;
    color: white;
    text-shadow: -1px -1px 0 #000, 2px -1px 0 #000, -1px 2px 0 #000, 2px 2px 0 #000;
}

.titulo3 {
    font-size: 30px;
    color: white;
    right: 17px;
    position: relative;
    margin: 10px auto;
    text-shadow: -1px -1px 0 #000, 2px -1px 0 #000, -1px 2px 0 #000, 2px 2px 0 #000;
}

.line {
    position: absolute;
    width: 100%;
    height: 3px;
    background: linear-gradient(100deg, #01faf2,#84d4ea,#01faf2, #f90808d2, #00e1ff, #edf908,#84d4ea,#01faf2, #0860f9,#84d4ea, #04c745,#01faf2);
    animation: moveLine 3s infinite linear;
    z-index: -2;
}

    .line:nth-child(odd) {
        animation-duration: 5s;
        animation-delay: -2s;
    }

    .line:nth-child(even) {
        animation-duration: 7s;
        animation-delay: -3s;
    }

/*Animación de líneas*/
@keyframes moveLine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.line1 {
    top: 10%;
    animation-duration: 6s;
}

.line2 {
    top: 40%;
    animation-duration: 4s;
}

.line3 {
    top: 60%;
    animation-duration: 7s;
}

.line4 {
    top: 90%;
    animation-duration: 5s;
}

.login {
    position: absolute;
    width: 70%;
    max-width: 350px;
    padding: 2px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    border-radius: 50px;
    border: 3px solid #8ec3f5;
    background: linear-gradient(100deg, #000f15a7, #03589dea, #031f3789, #023f5ef2, #01234dee, #02597ef2,#034184d2);
    box-shadow: 0 0 10px #17adf26d, 0 0 20px #17adf26d, 0 0 30px #17adf26d;
}

.input-text {
    width: 280px;
    padding: 3px;
    margin: 8px 0;
    border: 2px solid;
    border-image: linear-gradient(90deg, #fd0404, #f5f908, #03ac25) 1;
    color: #fff;
    font-size: 17px;
    outline: none;
    background: linear-gradient(100deg, #000f1582, #03589d87, #031f376c, #023f5ef2, #01234dee, #02597ef2,#03418472);
    box-shadow: 0 0 10px #17adf26d, 0 0 20px #18adf26d;
}

.login .input-text::placeholder {
    font-size: 15px;
    color: rgb(255, 255, 255);
}

.iniciar {
    background-color: #036db8;
    border: 2px solid #feffffa0;
    margin-top: 35px;
    border-radius: 15px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 300px;
    text-align: center;
    font-size: 14px;
    text-transform: uppercase;
    text-shadow: -1px -1px 0 #000, 2px -1px 0 #000, -1px 2px 0 #000, 2px 2px 0 #000;
    transition: 0.4s ease-in-out;
    cursor: pointer;
    box-shadow: 0 0 10px #17adf26d, 0 0 20px #17adf26d, 0 0 30px #17adf26d, 0 0 40px #17adf26d;
}

.link {
    display: block;
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-size: 15px;
    padding: 25px;
    text-align: center;
    text-shadow: -1px -1px 0 #000, 2px -1px 0 #000, -1px 2px 0 #000, 2px 2px 0 #000;
}

    .link:hover {
        text-decoration: underline;
    }

.grupo.input {
    position: relative;
}

    .grupo.input .input-text {
        width: 280px;
        padding-right: 40px;
    }

.grupo.input {
    position: relative;
}

    .grupo.input .input-text {
        width: 280px;
        padding-right: 40px;
    }
    /*Estilo del ícono del ojo*/
    .grupo.input .icono {
        position: absolute;
        top: 48%;
        right: 14px;
        transform: translateY(-50%);
        cursor: pointer;
        color: white;
        background: transparent;
        font-size: 18px;
        transition: color 0.3s ease, transform 0.3s ease;
        border: none;
    }
/*Responsivo*/
@media (max-width: 768px) {
    .titulo2 {
        font-size: 14px;
    }

    .login {
        width: 90%;
        max-width: 350px;
    }

        .login h2 {
            font-size: 1.5em;
        }

        .login .inputBx input {
            font-size: 1em;
        }

            .login .inputBx input[type="submit"] {
                padding: 10px;
            }
}