@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    width: 100%;
    min-height: 100vh;
    background-image: url(https://sfo3.digitaloceanspaces.com/e-fuente/e-fuentedevida.net/login_efuente/elrecurso/back_new.webp);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;
}

.mitad1 {
    width: 100%;
    min-height: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}


.elemento {
    width: 720px;
    animation: floatUpDown 4s ease-in-out infinite;
}


.form {
    max-width: 550px;
    width: 100%;
    min-height: 300px;
    margin: 10px 60px;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}


.f-head {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.f-body {
    padding: 15px 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.grupo {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 15px 0;
}

.txtin {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    color: rgb(165, 230, 255);
}

.in {
    width: 68%;
    border-radius: 15px;
    border: none;
    outline: none;
    padding: 10px;
    text-align: center;
    font-size: 17px;
    color: #000000a4;
    font-weight: 600;
    transition: all 0.3s ease;
}

.in:hover {
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

.in:focus {
    width: 80%;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
    color: #151B57;
}



/* -----f-foot------ */

.f-foot {
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}



.titulo {
    font-size: 30px;
    text-align: center;
    color: #fff;
    padding: 20px 0;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.linea {
    width: 80%;
    height: 2px;
    background: #ffffff56;
    border-radius: 50px;
}


/* ------- particles ------- */

#particles-js {
    background-color: transparent;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    z-index: -1;

}


/* ------- BOTON ------ */

.shadow__btn {
    padding: 10px 20px;
    width: 100%;
    margin: 20px 0;
    border: none;
    font-size: 17px;
    color: #fff;
    border-radius: 7px;
    letter-spacing: 4px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.5s;
    transition-property: box-shadow;
}

.shadow__btn {
    background: rgb(0, 140, 255);
    box-shadow: 0 0 25px rgb(0, 140, 255);
}

.shadow__btn:hover {
    box-shadow: 0 0 5px rgb(0, 140, 255),
        0 0 25px rgb(0, 140, 255),
        0 0 50px rgb(0, 140, 255),
        0 0 100px rgb(0, 140, 255);
}


/* Animación */
@keyframes floatUpDown {
    0% {
        transform: translateY(0);
        /* Posición inicial */
    }

    50% {
        transform: translateY(-13px);
        /* Mover hacia arriba */
    }

    100% {
        transform: translateY(0);
        /* Regresar a la posición inicial */
    }
}


/* ------------- responsive y media querys --------------- */


@media screen and (max-width: 1450px) {
    .elemento {
        width: 500px;
    }
}


@media screen and (max-width: 1140px) {
    .elemento {
        width: 400px;
    }

    .in {
        width: 80%;
    }

    .in:focus {
        width: 90%;
    }
}


@media screen and (max-width: 900px) {
    .elemento {
        width: 300px;
    }

    .mitad1 {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column-reverse;
    }
}