html{
    font-size: 62.5%; /** Reset para REMS - 62.5% = 10px de 16px **/
    box-sizing: border-box;
}

*, *::before, *:after{
    box-sizing: inherit;
}

body{
    font-family: 'Lato', sans-serif;
    font-size: 1.6rem;
    line-height: 2;
}

/** Globales **/
img{
    max-width: 100%;
}
.contenedor {
    max-width: 120rem; /** 1200 px **/
    margin: 0 auto;
}
/** Titulos y textos **/
h1{
    font-size: 3.8rem;
}

h2{
    font-size: 3.4rem;
}
h3{
    font-size: 3rem;
}
h4{
    font-size: 2.6rem;
}

/** Utilidades **/
.seccion{
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.fw300{
    font-weight: 300;
}

.centrar-texto{
    text-align: center;
}

.dblock{
    display: block !important; 
}

.contenido-centrado{
    max-width: 800px;
}
/**Botones**/
.boton{
    color: white;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.8rem;
    padding: 1rem 3rem;
    margin-top: 3rem;
    display: inline-block;
    text-align: center;
    border: none;
}

.boton:hover{
    cursor: pointer; /*Poner el cursor de diferentes formas en el hover */
}

.boton-amarillo{
    background-color: #E08709;
}
.boton-verde{
    background-color: #71B100;
}

/* Header */
.site-header{
    background-color: #333333;
    padding: 1rem 0 3rem 0; /*Como las manecillas del reloj*/
}

.site-header.inicio{
    background-image: url(../img/header.jpg);
    background-position: center center;
    height: 100vh;
    background-size: cover;
    min-height: 60rem;
}
.contenido-header{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.contenido-header h1{
    color: white;
    padding-bottom: 2rem;
    max-width: 60rem;
    line-height: 2;
}
.barra{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 3rem;
}

/** Navegación **/
.navegacion a{
    color: #ffffff;
    text-decoration: none;
    font-size: 1.8rem;
    margin-right: 2rem;
}
.navegacion a:hover{
    color: #71B100;
}
.navegacion a:last-of-type{
    margin-right: 0;
}

/** Iconos nosotros **/
.iconos-nosotros{
    display: flex;
    justify-content: space-between;
}

.icono{
    flex-basis: calc(33.3% - 1rem);
    text-align: center;
}

.icono h3{
    text-transform: uppercase;
}

/** Anuncios **/
.contenedor-anuncios{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.anuncio{
    flex: 0 0 calc(33.3% - 1rem);
    /*flex-grow: 1; Contenido crezca si es posible
    flex-shrink: 0; Contenido más pequeño de ser posbile
    flex-basis: calc(33.3% - 1rem); La base del contenido*/
    border: 1px solid #b5b5b5;
    background-color: #f5f5f5;   
    margin-bottom: 2rem;
}

.contenido-anuncio{
    padding: 2rem;
}

.contenido-anuncio h3, .contenido-anuncio p {
    margin: 0;
}

.precio{
    color: #71B100;
    font-weight: 700;
}
.iconos-caracteristicas{
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-evenly;
    max-width: 500px;
}

.iconos-caracteristicas p{
    line-height: 7rem;
}

.iconos-caracteristicas li{
    flex: 1;
    display: flex;
}
.iconos-caracteristicas li img{
    margin: 2rem;
}

.ver-todas{
    display: flex;
    justify-content: flex-end;
}

/**Contacto Home**/
.imagen-contacto{
    background-image: url(../img/encuentra.jpg);
    background-position: center center;
    background-size: cover;
    height: 40rem; 
    display: flex;
    align-items: center; 
}

.contenido-contacto{
    flex: 1;
    color: white;
}

.contenido-contacto p{
    font-size: 1.8rem;

}

/** Sección inferior **/

.seccion-inferior{
    display: flex;
    justify-content: space-between;
}
.seccion-inferior .blog{
    flex-basis: 60%;
}

.seccion-inferior .testimoniales{
    flex-basis: calc(40% - 2rem);
}

.entrada-blog{
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}
.entrada-blog .imagen{
    flex-basis: 40%;
}
.entrada-blog:last-of-type{
    margin-bottom: 0;
}
.entrada-blog .texto-entrada{
    flex-basis: calc(60% - 3rem);
}

.texto-entrada h4{
    margin: 0;
    line-height: 1.4;
}

.texto-entrada a{
    color: black;
    text-decoration: none;
}

.texto-entrada h4::after{
    content: '';
    display: block;
    width: 15rem;
    height: .5rem;
    background-color: #71B100;
    margin-top: 1rem;
}

.texto-entrada span{
    color: #E08709;
}

/** Testimoniales **/

.testimonial{
    background-color: #71B100;
    font-size: 2.4rem;
    padding: 2rem;
    color: white;
    border-radius: 2rem;
}

.testimonial p {
    text-align:right ;
}

.testimonial blockquote::before{
    content: '';
    background-image: url(../img/comilla.svg);
    width: 4rem;
    height: 4rem;  
    position: absolute;
    left: -2rem;
}

.testimonial blockquote{
    position: relative;
    padding-left: 5rem;
    font-weight: 300;
}

/** Footer **/

.site-footer{
    background-color: #333333;
    margin: 0;
}
.contenedor-footer{
    padding: 3rem 0;
    display: flex;
    justify-content: space-between;
}

.copyright{
    margin: 0;
    color: white;
}

/** INTERNAS **/

/** Nosotros **/
.contenido-nosotros{
    display: grid;
    grid-template-columns: repeat(2, 50%); /* Los grids sirven para posicionar elementos e indicarles cuanto porcentaje del contenedor les vas a dejar*/   
    grid-column-gap: 2rem;
}

.texto-nosotros blockquote {
    font-weight: 900;
    font-size: 2rem;
    margin: 0;
    padding: 1 0 3rem 0;
}

/** Anuncio **/
.resumen-propiedad{
    display: flex;
    justify-content: space-between; /*Alinea horizontal*/
    align-items: center; /*Alinea vertical*/  
}

/**Contacto**/
form p{
    font-size: 1.4rem;
    color: #333333;
}

legend{
    font-size: 2rem;
    color: #333333;
    margin: 2rem 0 0 0;
}

label{
    font-weight: 700;

    text-transform: uppercase;
    display: block;
}

input[type="radio"]{
    width: auto;
    margin: 0;
}

input:not([type="submit"]),textarea, select{
    padding: 1rem;
    display: block;
    width: 100%;
    background-color: #e1e1e1;
    margin-bottom: 2rem;
    border: none;
    border-radius: 1rem;
}

select{
    -webkit-appearance: none;
    appearance: none;
}

textarea{
    height: 20rem;
}

.forma-contacto{
    max-width: 30rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}










