html{
    font-size: 62.5%; /*Reset para rem: 10px = 62.5% de 16px */
}
body{
    font-family: 'Roboto', sans-serif;
    font-size: 1.6rem;
    line-height: 2;
}
*, *::before, *::after{
    box-sizing: inherit;
}

/* Globales */
img{
    max-width: 100%;
}

.contenedor{
    width: 95%;
    max-width: 120rem; /* = 1200px */
    margin: 0 auto; /* igual a margin: 0 auto 0 auto*/
}

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;
}

.fw-300{
    font-weight: 300;
}

.centrar-texto{
    text-align: center;
}

.d-block{
    display: block!important;
}
.d-flex{
    display: flex!important;
}

.alinear-izquierda{
    display: flex;
    justify-content: flex-end;
}

.contenido-centrado{
    max-width: 80rem;
}

/* Botones */
.boton{
    color: rgb(255, 255, 255);
    font-weight: 700;
    text-decoration: none;
    margin-top: 3rem;;
    font-size: 1.8rem;
    padding: 1rem 0;
    text-align: center;
    border-style: hidden;
    display: block;
    flex: 0 0 100%;
}
@media (min-width: 768px){
    .boton{
        display: inline-block;
        flex: 0 0 auto;
        padding: 1rem 3rem;
    }
}
.boton-naranja{
    background-color: rgb(247, 158, 41);
}
.boton-verde{
    background-color: rgb(51, 170, 15);
}
.boton:hover{
    cursor: pointer;
}

/*Header*/
.site-header{
    background-color: #333333;
    padding: 1rem 0 3rem 0;
}
.site-header.inicio{
    background-image: url(../img/header.jpg);
    background-position: center center;
    background-size: cover;
    height: 100vh;
    min-height: 60rem;
}

.contenido-header{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}
@media (min-width: 768px) {
    .contenido-header{
        text-align: left;
    }
}
.contenido-header h1{
    color: rgba(255, 255, 255, 1);
    padding-bottom: 2rem;
    max-width: 60rem;
    line-height: 1.8;
}

.barra{
    padding-top: 3rem;
}
@media (min-width: 768px) {
    .barra{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

/* Navegación */
.navegacion a{
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-size: 2.2rem;
    font-family: Verdana;
    display: block;
}
@media (min-width: 768px) {
    .navegacion a{
        display: inline-block;
        margin-right: 2rem;
        font-size: 1.8rem; /* 1.8rem = 18px */
    }
    .navegacion a :last-of-type{
        margin: 0;
    }
}
.navegacion a:hover{
    color: rgb(118, 158, 100);
}

/* Mobile Manu */
.mobile-menu img{
    width: 5rem;
}
@media (min-width: 768px) {
    .mobile-menu{
        display: none;
    }
}
.navegacion:target{
    display: block;
}
.navegacion{
    display: none;
}
@media (min-width: 768px) {
    .navegacion{
        display: block;
    }
}

/* Iconos nosotros */
@media (min-width: 768px) {
    .iconos-nosotros{
        display: flex;
        justify-content: space-between;
    }
}
.icono{
    text-align: center;
}
@media (min-width: 768px) {
    .icono{
        flex-basis: calc(33.3% - 1rem);
    }
}
.icono h3{
    text-transform: uppercase;
}

/* Anuncios */
@media (min-width: 768px) {
    .contenedor-anuncios{
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
}

.anuncio{  
    border: 1px #b5b5b5 solid; /* Width Color Style*/
    background-color: rgb(223, 231, 231);
    margin-bottom: 2rem;
}
@media (min-width: 768px) {
    .anuncio{
        flex: 0 0 calc(33.3% - 1rem); /* Growth Shrink Basis */
    }
}
.contenido-anuncio{
    padding: 2rem;
}
.contenido-anuncio h3, .contenido-anuncio p{
    margin: 0;
}
.precio{
    color: rgb(100, 170, 20);
    font-weight: 700;
}
.iconos-caracteristicas{
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-evenly;
    flex: 1;
    max-width: 50rem;
}
.iconos-caracteristicas li{
    display: flex;
}
.iconos-caracteristicas li img{
    margin-right: 2rem;
}

/* Contacto */
.imagen-contacto{
    background-image: url(../img/encuentra.jpg);
    background-size: 40rem;
    background-position: center center;
    display: flex;
    align-items: center;
}
.contenido-contacto{
    flex: 0 0 95%;
    color: rgb(255, 255, 255);
    padding-bottom: 2rem;
}
.contenido-contacto p{
    font-size: 1.8rem;
}

/* Sección Inferior */
@media (min-width: 768px) {
    .seccion-inferior{
    display: flex;
    justify-content: space-between;
    }
    .seccion-inferior .blog{
        flex-basis: 60%;
    }
    .seccion-inferior .testimoniales{
        flex-basis: calc(40% - 2rem);
    }
}

.entrada-blog{
    margin-bottom: 2rem;
}
@media (min-width: 768px) {
    .entrada-blog{
        display: flex;
        justify-content: space-between;
    }
}
.entrada-blog:last-of-type{
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .entrada-blog .img{
        flex-basis: 40%;
    }
    .entrada-blog .texto-entrada{
        flex-basis: calc(60% - 3rem);
    }
}
.texto-entrada a{
    color: rgb(0 0 0);
    text-decoration: none;
}
.texto-entrada h4{
    margin: 0;
    line-height: 1.3;
}
.texto-entrada h4::after{
    content: '';
    display: block;
    width: 15rem;
    height: .5rem;
    background-color: rgb(100, 170, 20);
    margin-top: 1rem;
}
.texto-entrada span{
    color: rgb(247, 158, 41);
}

/* Testimonial */
.testimonial{
    background-color: rgb(100, 170, 20);
    font-size: 2.4rem;
    color: rgba(255, 255, 255);
    padding: 2rem;
    border-radius: 2rem;
}
.testimonial p{
    text-align: right;
    margin-top: 0;
}
.testimonial blockquote::before{
    content: '';
    background-image: url(../img/comilla.svg);
    width: 4rem;
    height: 4rem;
    display: block;
    position: absolute;
    left: -1rem;
}
.testimonial blockquote{
    position: relative;
    padding: 5rem;
    margin: 0 0 0 2rem;
}

/* Footer */
.site-footer{
    background-color: #333333;
    margin: 0;
}
.contenedor-footer{
    padding: 3rem 0;
    text-align: center;
}
@media (min-width: 768px) {
    .contenedor-footer{
        display: flex;
        justify-content: space-between;
    }
}
.site-footer nav{
    display: none;
}
@media (min-width: 768px) {
    .site-footer nav{
        display: block;
    }
}
.copyright{
    margin: 0;
    color: rgba(255, 255, 255);
}

/* INTERNAS */
/* Nosotros */
@media (min-width: 768px) {
    .contenido-nosotros{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 2rem;
    }
}
.texto-nosotros blockquote{
    font-weight: 900;
    font-size: 2rem;
    margin: 0;
    padding-bottom: 2rem;
}

/* Anuncio */
.resumen-propiedad{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Contacto */
label{
    display: block;
    font-size: 1.8rem;
    text-transform: uppercase;
}
fieldset{
    border: 2px #979797 solid;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
legend{
    font-size: 2.4rem;
}
.campo{
    position: relative;
    background-color: #e2e2e2;
    margin-bottom: 2.5rem;
    border-style: hidden;
    border-radius: 1rem;
    padding: 1rem;
}
textarea.campo{
    height: 10rem;
}
/*input.boton{
    padding: 1rem 3rem;
}
@media (min-width: 768px) {
    input.boton{
        max-width: 13rem;
    }
}*/


.forma-contacto{
    max-width: 30rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.contacto p{
    margin: 2rem 0 0 0;
}