/* =========================
   RESET
========================= */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

/* =========================
   BODY
========================= */
body{

    min-height: 100vh;

    background: linear-gradient(-45deg,
    #667eea,
    #764ba2,
    #6a11cb,
    #2575fc);

    background-size: 400% 400%;

    animation: fondoAnimado 10s ease infinite;
}

/* ANIMACIÓN FONDO */
@keyframes fondoAnimado{

    0%{
        background-position: 0% 50%;
    }

    50%{
        background-position: 100% 50%;
    }

    100%{
        background-position: 0% 50%;
    }
}

/* =========================
   MENÚ
========================= */
.menu{

    width: 100%;

    padding: 18px;

    background: rgba(0,0,0,0.25);

    backdrop-filter: blur(10px);

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 25px;

    position: sticky;

    top: 0;

    z-index: 1000;

    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* LINKS MENÚ */
.menu a{

    color: white;

    text-decoration: none;

    font-size: 18px;

    padding: 10px 18px;

    border-radius: 12px;

    transition: 0.4s;
}

/* HOVER */
.menu a:hover{

    background: rgba(255,255,255,0.2);

    color: #ffe600;

    transform: translateY(-3px);

    box-shadow: 0 0 12px rgba(255,255,255,0.5);
}

/* =========================
   CONTENEDOR
========================= */
.container{

    width: 100%;

    display: flex;

    justify-content: center;

    align-items: center;

    margin-top: 60px;
}

/* =========================
   FORMULARIO
========================= */
.formulario{

    width: 400px;

    background: rgba(255,255,255,0.15);

    backdrop-filter: blur(12px);

    padding: 35px;

    border-radius: 20px;

    box-shadow: 0 10px 25px rgba(0,0,0,0.3);

    animation: flotar 4s ease-in-out infinite;
}

/* ANIMACIÓN */
@keyframes flotar{

    0%{
        transform: translateY(0px);
    }

    50%{
        transform: translateY(-8px);
    }

    100%{
        transform: translateY(0px);
    }
}

/* TITULO */
.formulario h2{

    text-align: center;

    color: white;

    margin-bottom: 25px;

    font-size: 35px;
}

/* INPUTS */
.input-group{

    margin-bottom: 20px;
}

/* LABELS */
.input-group label{

    color: white;

    display: block;

    margin-bottom: 8px;
}

/* CAMPOS */
.input-group input{

    width: 100%;

    padding: 12px;

    border: none;

    border-radius: 12px;

    background: rgba(255,255,255,0.2);

    color: white;

    outline: none;

    transition: 0.4s;
}

/* PLACEHOLDER */
.input-group input::placeholder{

    color: rgba(255,255,255,0.7);
}

/* FOCUS */
.input-group input:focus{

    background: rgba(255,255,255,0.3);

    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

/* BOTÓN */
button{

    width: 100%;

    padding: 14px;

    border: none;

    border-radius: 14px;

    background: linear-gradient(45deg,#ff6b6b,#ffb347);

    color: white;

    font-size: 18px;

    cursor: pointer;

    transition: 0.4s;
}

/* HOVER BOTÓN */
button:hover{

    transform: scale(1.05);

    box-shadow: 0 0 15px rgba(255,255,255,0.6);
}

/* =========================
   RESPONSIVE
========================= */
@media(max-width:768px){

    .menu{

        flex-direction: column;

        gap: 10px;
    }

    .formulario{

        width: 90%;
    }
}