/* Fondo general */
body {
    background: radial-gradient(circle, #000000, #101070);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Caja principal del formulario */
.back {
    background-color: #F5F2F2; 
    width: 25vw;
    height: auto;
    padding: 3vh 3vh;
    border-radius: 5%; 
    box-shadow: 12px 12px 2px 1px rgb(150 147 147 / 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: bounce 1.5s;
}

/* Contenedor del formulario */
.input-content {
    width: 100%;
}

/* Espaciado entre campos */
.input-content2 {
    margin-top: 3vh;
}

/* Campos de entrada */
.input {
    border-radius: 10px;
    width: 100%;
    height: 8vh;
    border: 2px solid #00204d;
    font-size: 2.2vh;
    font-family: Roboto, sans-serif;
    box-sizing: border-box;
}

/* Etiquetas de los campos */
.textos {
    font-family: Roboto, sans-serif;
    font-weight: 700;
    font-size: 2.5vh;
}

/* Botón de envío */
.boton_ingreso {
    border: 2px solid white;
    background-color: #001B42;
    color: #ffffff;
    font-family: Roboto, sans-serif;
    width: 100%;
    height: 8vh;
    font-size: 2.2vh;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s;
}

.boton_ingreso:hover {
    background-color: #002b6d;
}

/* Título principal */
.parrafo1 {
    font-size: 4.2vh;
    font-family: Roboto, sans-serif;
    font-weight: 700;
    color: #00204d;
    margin-top: 2vh;
    text-align: center;
}

/* Texto informativo */
.parrafo2 {
    font-family: Roboto, sans-serif;
    text-align: center;
    font-weight: 700;
    font-size: 2.2vh;
}

/* Enlace de ingreso */
.parrafo3 a {
    color: #001B42;
    text-decoration: none;
    font-size: 2.5vh;
}

.parrafo3 a:hover {
    text-decoration: underline;
}

/* Animación de rebote */
@keyframes bounce {
    0%   { transform: translateY(100%); }
    30%  { transform: translateY(-20%); }
    60%  { transform: translateY(10%); }
    100% { transform: translateY(0%); }
}

/* ======== Responsividad ======== */
@media (max-width: 768px) {
    .back {
        width: 80%;
        padding: 5% 4%;
        border-radius: 6%;
        margin-top: -10%;
    }

    .parrafo1 {
        font-size: 1.6rem;
    }
}