/*Hoja de estilos CSS*/

/* Fuentes */
@font-face {
    font-family: 'roboto_slabregular';
    src: url('../font/RobotoSlab-Regular-webfont.eot');
    src: url('../font/RobotoSlab-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../font/RobotoSlab-Regular-webfont.woff') format('woff'),
         url('../font/RobotoSlab-Regular-webfont.ttf') format('truetype'),
         url('../font/RobotoSlab-Regular-webfont.svg#roboto_slabregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'roboto_slabthin';
    src: url('../font/RobotoSlab-Thin-webfont.eot');
    src: url('../font/RobotoSlab-Thin-webfont.eot?#iefix') format('embedded-opentype'),
         url('../font/RobotoSlab-Thin-webfont.woff') format('woff'),
         url('../font/RobotoSlab-Thin-webfont.ttf') format('truetype'),
         url('../font/RobotoSlab-Thin-webfont.svg#roboto_slabthin') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'robotothin';
    src: url('../font/Roboto-Thin-webfont.eot');
    src: url('../font/Roboto-Thin-webfont.eot?#iefix') format('embedded-opentype'),
         url('../font/Roboto-Thin-webfont.woff') format('woff'),
         url('../font/Roboto-Thin-webfont.ttf') format('truetype'),
         url('../font/Roboto-Thin-webfont.svg#robotothin') format('svg');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'roboto_slablight';
    src: url('../font/RobotoSlab-Light-webfont.eot');
    src: url('../font/RobotoSlab-Light-webfont.eot?#iefix') format('embedded-opentype'),
         url('../font/RobotoSlab-Light-webfont.woff') format('woff'),
         url('../font/RobotoSlab-Light-webfont.ttf') format('truetype'),
         url('../font/RobotoSlab-Light-webfont.svg#roboto_slablight') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'robotobold';
    src: url('../font/Roboto-Bold-webfont.eot');
    src: url('../font/Roboto-Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../font/Roboto-Bold-webfont.woff') format('woff'),
         url('../font/Roboto-Bold-webfont.ttf') format('truetype'),
         url('../font/Roboto-Bold-webfont.svg#robotobold') format('svg');
    font-weight: normal;
    font-style: normal;

}

/*perfil usuario*/

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

body {
    font-size: 10px;
    margin: 0;
    padding: 0;
    background-color: #ededec;
    justify-content: space-between;
    
}

.contenedor{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0;
    width: 100vw;
    padding: 0;
}

h4{
    letter-spacing: 0.5em;
    font-family: 'robotothin';
    font-size: 1.2em;
    
}
img{
    max-width: 100%;
    height: auto;
    
}

main{
    flex: column;
    justify-content: space-between;
    
}

.caja{
    padding: 0.5em;
    display: flex;
    justify-content: space-around;
    border-bottom: 1px solid #56A03D;
    height: 6em;
    background-color: #B4E555;
    align-items: center;  
}

/* a partir de 320px */

@media screen and (min-width:20em) {
     
.caja2{
    padding: 1em;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #56A03D;
    height: 6em;
    background-color: #B4E555;
    align-items: center;

    margin: 1em 0 0 0;
  
}

.input-100 {
    width: 20em;
    height: 3em;
    padding-left: 1em;
    margin:auto 0.8em;
    border: 1px solid #fff;
    border-radius: 0.7em;
}



.registrate {
   display: flex;
  flex-direction: column;
    align-items:center;
    margin:auto;
    padding: 0.2em;
   
    
}
    
.boton-registrar {
    border-radius: 0.6em;
    box-shadow: 0px 2px 4px 0px;
    color: #a5a5a5;
    display: block;
    padding: 0;
    font-size: 1em;
    letter-spacing: 0.3em;
    text-align: center;
    width: 6em;; 
    height: 3em;
    
    
    
}

.boton-registrar:hover {
    background-color: #ff56aa;      
}
    
.boton-registrar:active{
    transform: scale(1.08);
}

    

.usuario{  
    border-radius: 50%;
    overflow: hidden;
    width:30%;
    box-shadow: 0 0.35em 0.5em 0 rgba(0, 0, 0, 0.2);
    margin: 0 1em 0 0;
    flex: 0 1 auto;
    padding: 0;
    
}

.caja .usuario>img{
    display: block;
        
    }
    
.chat{
    
    display: flex;
    font-family: 'roboto_slablight';
    color: #656565;
    font-size: 1em;
    padding: 0;
}

#flecha{
    width: 4em;
        
}



.nombre {
     display: flex;
    align-items: center;
    padding: 0;
    width: 40%;;
}
    .nombre p{
    font-family: 'roboto_slablight';
    color: #656565;
    font-size: 1.4em;
        padding: 0;
    }
.texto { 
    margin-top: 5em;
    align-content: center;
    padding-left: 2em;
    padding-right: 2em;
    font-family: 'robotothin';

}



 #izq {
    text-align: left;
    font-size: 1.5em;
    margin-top: 2em;
    background-color: azure;
    border-radius: 1em;
    padding-top: 1em;
    padding-left: 1em;
    
    }

    #der {
    text-align: right;
    margin-top: 2em;
    margin-left: 12em;
    font-size: 1.5em;
   background-color: #d6dbd8;
    border-radius: 1em;
    padding-top: 1em;
    padding-right: 1em;
    

}
    #icn{
        display: flex;
        justify-content: space-around;
        margin: auto;
    }
    .btn-iconos,  #flecha2{
        font-family: 'entyporegular';
        font-size: 6em;
        padding: 0;
        color: #56A03D;
        cursor: pointer;
        margin: 0;
    }
    
    .btn-iconos, #flecha2:active{
        transform: scale(1.08);
    }
}

/* a partir de 480px */

@media screen and (min-width:30em) {
   
    .contenedor{
        margin: 0;
        width: 100vw;
    }
    .contenido {
        width: 100%;
        display: flex;
        margin: auto;
        padding: 0;
        margin-top: 4.8em;
        

    }
    main{
        width: 80%;
        margin: auto;
    }
    
    .texto{
        width: 80%;
        margin: auto;
    }
    aside {
        margin-top: 4em;
        width: 20%;
        display: flex;
        flex-direction: column;
        flex: 0 0 30%; 
    }
    .usuario{
    max-width: 5em;
    height: 5em;
    }
    
 
    .nombre p{
    font-family: 'roboto_slablight';
    color: #656565;
    font-size: 1.8em;
        padding: 0;
    }
    .contactos {
        display: flex;
        flex-direction: column;
        margin: 0 2em;
    }
    aside .usuario{
        width: 6em;
    }
    
    .gr:hover{
        background-color: #656565;
    }
    
    .gr{
        display: flex; 
        padding: 0;
        align-items: center;
    }
   
}
