body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    position: relative;
}

.image-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.test {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Asegura que la lluvia de letras quede detrás */
}

#rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Mantiene el fondo de la lluvia de letras detrás */
}

.raindrop {
    position: absolute;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.7);
    user-select: none;
    animation: fall 3s linear infinite;
    opacity: 0.8;
}

@keyframes fall {
    0% {
        transform: translateY(-100px);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* Estilos para el formulario */
.row {
    position: relative;
    height: 100%;
}


.img {
    width: 400px;
    transition: transform 0.3s ease;
}

.img:hover {
    transform: scale(1.1) rotate(-10deg);
    margin-bottom: 15px;
}

.btn_entrar {
    background: linear-gradient(to right, rgb(148, 148, 148) 0%, rgb(148, 148, 148) 50%, rgb(255, 0, 0) 50%, rgb(255, 0, 0) 100%);
    background-size: 200% 100%;
    color: white;
    border: none;
    width: 100%;
    height: 40px;
    border-radius: 5px;
    font-weight: bold;
    padding: 2px;
    transition: background-position 1s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.btn_entrar:hover {
    background-position: -100% 0;
    cursor: pointer;
    color: white;
    transform: translateY(-2px);
}

a {
    color: rgb(255, 0, 0);
    text-decoration: none;
    transition-property: all;
    transition-duration: 1s;
}

a:hover {
    color: rgb(255, 136, 0);
}

.form-floating input {
    background-color: rgba(255, 255, 255, 0.9);
}

.form-floating label {
    color: #6c757d;
}

.form-floating input:focus,
.form-floating label:focus {
    color: #000;
}

/* Estilos de error */
.error{
    color: red;
    margin-bottom: 10px;
    font-size: 0.8rem;
    display: none;
}

.error.show{
    display: block;
}


.g-recaptcha{
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}
