﻿*{
    padding: 0;
    margin: 0;
}

.dimg{grid-area: dimg;margin: auto; }
.dusuario{grid-area: dusuario;}
.dclave{grid-area: dclave;}
.dbutton{grid-area: dbutton;}

.dimg img{
    width: 150px;    
}

.principal input{
    width: 97%;
    height: 25px;
    border: 0px;
    border-bottom: 1px solid #ccc;
    padding-left: 25px;
    box-sizing: border-box;
}

.principal input::placeholder{
 color: #ccc;   
}

.dusuario input{
    background-image: url(../../img/icon_user.png);
    background-repeat: no-repeat;
}

.dclave input{
    background-image: url(../../img/icon_pass.png);
    background-repeat: no-repeat;
}

.principal input:focus{
    outline: none !important; 
    border-bottom: 1px solid rgb(126, 194, 77);
}

.dbutton button{
    width: 100%;
    border: 0px;
    height: 30px;
    background: rgb(126, 194, 77);
    border-radius: 12px;
    color: white;
    font-weight: bold;
}

.dbutton button:hover{
    cursor: pointer;
    background: rgba(126, 194, 77,0.6);
}

.dbody{
    background: rgb(73, 81, 85);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    min-height: 200px;
}
.principal{
    
    background: white;
    display: grid;
    padding: 3em 2em 3em 2em;
    border-radius: 1px solid red;
    grid-template-areas: 'dimg dusuario'
            'dimg dclave'
            'dimg dbutton';
    
    border-radius: 20px;
    grid-gap: 1em;
    width: 400px;
    
}

.logo_foot{
    position: absolute;
    bottom: 0;
    height: 100px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo_foot img{
    
    height: 50%;
}
@media screen and (max-width:760px){
    .principal{
        width: 250px;
        grid-template-areas: 'dimg''dusuario''dclave'
        'dbutton';
    }
    
    .logo_foot img{
    height: 30%;
    }
}
