@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Quicksand',sans-serif;
}

body{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:linear-gradient(135deg,#EAF5FF,#FDF6FF,#F7F1FF);
    padding:30px;
}

.contenedor{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
}

.card{
    width:450px;
    background:#fff;
    border-radius:25px;
    padding:40px;
    box-shadow:0 15px 35px rgba(0,0,0,.15);
}

/* LOGO */

.foto{
    width:55px;
    height:55px;
    border-radius:50%;
    object-fit:cover;
    border:2px solid #B89DFF;
    display:block;
    margin:0 auto 15px;
}

/* TÍTULO */

h2{
    text-align:center;
    color:#333;
    font-size:36px;
    margin-bottom:30px;
}

/* CAMPOS */

.campo{
    display:flex;
    align-items:center;
    background:#F7F4FF;
    border-radius:15px;
    padding:15px;
    margin-bottom:18px;
}

.campo i{
    color:#8D77FF;
    margin-right:12px;
    font-size:18px;
}

.campo input,
.campo select{
    width:100%;
    border:none;
    outline:none;
    background:transparent;
    font-size:16px;
    color:#555;
}

/* BOTÓN */

button{
    width:100%;
    padding:15px;
    border:none;
    border-radius:50px;
    background:linear-gradient(135deg,#8D77FF,#C89BFF);
    color:white;
    font-size:17px;
    font-weight:bold;
    cursor:pointer;
    transition:.3s;
    margin-top:15px;
}

button:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 20px rgba(141,119,255,.35);
}

/* VOLVER */

.volver{
    display:block;
    text-align:center;
    margin-top:25px;
    text-decoration:none;
    color:#7C5FFF;
    font-weight:bold;
    transition:.3s;
}

.volver:hover{
    color:#B06DFF;
}

/* RESPONSIVE */

@media(max-width:600px){

    .card{
        width:95%;
        padding:30px;
    }

    h2{
        font-size:30px;
    }

    .foto{
        width:45px;
        height:45px;
    }

}