*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    font-family: 'Poppins', sans-serif;
    overflow: hidden; /*acortar hoja*/
}
.wave{
    position: fixed; /*se queda pegado en una posicion fija*/
    bottom: 0; /*parte inferior con la posicion fixed*/
    left: 0;
    height: 50%;
    z-index: -1; /*bajar una capa*/
}
.contenedor{
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-gap: 7rem;
    padding: 0 2rem;
}
.imagen{
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.imagen img{  /*imagen de doctor*/
    width: 500px;
    border-radius: 100px;
}
form{
    width: 360;
}
.contenido-login{
    display: flex;
    justify-self: start;
    align-items: center;
    text-align: center;
}
.contenido-login img{
    height: 100px;
}
h2{
    margin: 10px 0;
    color: #1c1a1a;
    text-transform: uppercase; /*mayusculas*/
    font-size: 2.9rem;
}
.input-div{
    position: relative; /*se puede manipular*/
    display: grid;
    grid-template-columns: 7% 93%;
    margin: 25px 0;
    padding: 5px 0; /*espacio interno a lados horizontales*/
    border-bottom: 2px solid lavender;
}
.input-div dni{
    margin-top: 0;
}
.icon{
    color: rgb(130, 165, 195);
    display: flex;
    justify-content: center;
    align-items: center;

}
.icon >i {
    transition: .3s;
}
.div{
    position: relative;
    height: 50px;
}
.div h5{
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: rgb(165, 156, 144);
    font-size: 18px;
    transition: .3s;
}
.input-div.focus h5{
    top: -5px;
    font-size: 15px;
}
.input-div::before, .input-div::after{
    content:'';
    position: absolute;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background-color: blueviolet;
    transition: .4s;
}
.input-div::before{ /*config del movimiento de los inputs mediante js*/
    right: 0%;
}
.input-div::after{
    left: 50%;
}
.input-div.focus:before, .input-div.focus.after{
    width: 100%;
}
.input-div.focus >.icon > i{
    color: rgb(46, 43, 226);
}
.input{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: none;
    outline: none; /*linea del marco*/
    background: none; /*quita el fondo de llenado de datos*/
    padding: 0.5rem 0.7rem;
    font-size: 1.2rem;
    color: dimgray;
    font-family: 'Poppins', sans-serif;
}
.input-div.pass{
    margin-bottom: 4px;
}
a{   /*el link de creacion*/
    
    display: block;
    text-align: right;
    text-decoration: none;
    color: #160b6b;
    font-size: 0.9rem;

}
a:hover{ /*cuando el cursor pasa*/
    color:slateblue ;
}


.btn{ /*boton de inicio*/
    display: block;
    width: 100%;
    height: 50px;  
    border-radius: 25px;
    outline: none;
    border: none;
    background-image: linear-gradient( #4160a9,#23409f,#000d5f);
    background-size: 200%;/*ocupar todo el ancho de boton*/
    font-size: 1rem;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    margin: 1rem 0; /*espacio en blanco al rededor*/
    cursor: pointer; /*cambiar el cursor a focus*/
    transition: .5s;
}
.btn:hover{
    background-position: right;
}
/*tablet*/
@media screen and (max-width: 1050px){
    .contenedor{
        grid-gap: 5rem;
    }
}
/*tablet chica*/
@media screen and (max-width: 1000px){
    form{
        width: 290px;
    }
    .contenido-login h2{
        font-size: 2.3rem;
        margin: 8px 0;
    }
    .imagen img{
        width: 400px;
    }
}
    
/*celular*/
@media screen and (max-width: 900px){
    .contenedor{
        grid-template-columns: 1fr;
    }
    .imagen{
        display: none;
    }
    .wave{
        display: none;
    }
    .contenido-login{
        justify-content: center;
    }
    
}
