/*! HTML5 Boilerplate v7.2.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


   html{
    box-sizing: border-box;
}

*, *:before, *::after{
    box-sizing: inherit;
}

html{
    font-size: 62.5%; 
}

body{
    font-family: 'Lato', serif;
    font-size: 1.6rem;
    line-height: 1.8;
}
/** Globales **/

img{
    max-width: 100%;
}

.contenedor{
    width: 95%;
    max-width: 120rem;
    margin-left: auto;
    margin-right: auto;
    
}



h1{
    
    font-family: 'Lato', sans-serif;
    font-weight: bolder;
    font-style: normal;
    font-size: 3.4rem;
}

h2{
    font-family: 'Lato', sans-serif;
    font-weight: bolder;
    font-style: normal;
    border-bottom: 2px solid;
    font-size: 2.9rem;
}

h3{
    
    font-family: 'Lato', sans-serif;
    font-size: 2.8rem;

}

h4{


    font-size: 2.6rem;
}

.mapa
{
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 40vh;
}

.mapa2
{
    display: flex;
    align-content: center;
    justify-content: center;
    border: 20px darkgoldenrod double;
    padding: 1rem;
    align-items: center;
    width: 100%;
    height: 40vh;
}


.seccion{
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.boton{
    color: antiquewhite;
    text-decoration: none;

    font-weight: 400;
    font-size: 1.4rem;
    padding-left: 3rem;
    padding-right: 6rem;
    margin-top: 6rem;
    display: inline-block;
    text-align: center;
    display: block;
    flex: 0 0 100%;

}

@media (min-width: 768px) {
    .boton{
        display: inline-block;
        flex: 0 0 auto;
        font-weight: 400;
    font-size: 1.4rem;
    padding-left: 2rem;
    padding-right: 2rem;
    margin-top: 2rem;
    display: inline-block;
    text-align: center;
    flex: 0 0 30%;
    }

    .contactoboton{
        width: 70%;
    }
}

.boton:hover{
    text-decoration: underline;
}

.boton-amarillo{
    background-color: #E08709;
    display: block;
}

.boton-verde{
    background-image: linear-gradient(to top, #37ecba 0%, #72afd3 100%);
    border-radius: 3rem;
    padding: 1rem;
    -webkit-box-shadow: -9px 0px 47px 1px rgba(0,0,0,0.4);
-moz-box-shadow: -9px 0px 47px 1px rgba(0,0,0,0.4);
box-shadow: -9px 0px 47px 1px rgba(0,0,0,0.4);
}


.ver-todas{
    display: flex;
    justify-content: center;
}

.iconos-caracteristicas{
    list-style: none;
    display: flex;
    padding: 0;
    justify-content: space-between;
    max-width: 50rem;
    flex: 1;
}

.iconos-caracteristicas li{
    
    display: flex;
}

.iconos-caracteristicas li img{
    margin-right: 2rem;
}

.site-header{
    background: linear-gradient(to bottom, #323232 0%, #3F3F3F 40%, #1C1C1C 150%), linear-gradient(to top, rgba(255,255,255,0.40) 0%, rgba(0,0,0,0.25) 200%);
 background-blend-mode: multiply;
    padding: 1rem 0 3rem 0;
}
/*Header*/
.site-header.inicio{

    background-image: url(../img/galerua6.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{
    
    font-family: 'Lato', sans-serif;
    font-weight: bolder;
    font-style: normal;
    color: antiquewhite;
    max-width: 60rem;
    margin-bottom: 5rem;
    line-height: 1;
    
}


.barra{
    padding-top: 3rem;
}

@media (min-width: 768px) {
    .barra{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}


/**navegacion**/

.navegacion a{
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-style: normal;
    color: antiquewhite;
    text-decoration: none;
    font-size: 1.7rem;
    display: block;

}

@media(min-width:768px){
    .navegacion a{
        display: inline-block;
        margin-right: 2rem;
    }

    .navegacion a:last-of-type{
        margin: 0;
    }
}

.titulo h2{
    border-bottom: 2px solid;
}


.navegacion a:hover{
    text-decoration: underline;
}

.mobile-menu img{
    width: 4rem;
}

.navegacion{
    display: none;
}

.active{
    display:block;
}

@media (min-width: 768px){
    .mobile-menu{
        display:none;
    }
}

.navegacion:target{
    display:block;
}

@media (min-width:768px)
{
    .navegacion{
        display: block;
    }

}
@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;
}


.seccion h2{
    text-align: center;
    text-transform: uppercase;
    font-weight: 300;
    padding-bottom: 5rem;
}

@media(min-width: 768px){

    .contenedor-anuncios{
        display:flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .contenedor-galeria{
        display:flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .contenedor-redes{
        display:flex;
        text-align: center;
        align-items: center;
        align-content: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
}

.contenedor-redes{
    text-align: center;
    align-items: center;
    align-content: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.whats{
    font-size: 14rem;
    color:#00be4f;
}

.mail{
    
    font-size: 14rem;
    color: #1C1C1C;
}

.messenger{
    font-size: 14rem; 
    color: rgb(45, 94, 201);
}

.phone{
   
    font-size: 14rem;
    color: #E08709; 
}


.anuncio{
    flex-grow: 0;
    flex-shrink: 0;
    border-style: solid;
    border-color: #B5B5B5;
    border-width: .1rem;
    background-color:#f5f5f5;
    margin-bottom: 3rem;
}

.blanca{
    color: #f5f5f5;
}

.imagen1{
    flex-grow: 0;
    flex-shrink: 0;
    
    border-width: .1rem;
 background-blend-mode: multiply;
    margin-bottom: 3rem;
}

@media(min-width: 768px){
    .anuncio{
        
    flex-basis: calc(33.1% - 1rem);
    }
    .imagen1{
        
    flex-basis: calc(33.1% - 1rem);
    }
}

.contenido-anuncio{
    padding: 2rem;
}

.contenido-anuncio h3{
    margin: 0;
}


.contenido-anuncio p{
    margin: 0;
}

.precio{
    color: green;
    font-weight: 700;
}


.imagen-contacto{
    background-image: url(../img/portadaOficinas.png);
    background-position: center center;
    background-size: cover;
    height: 40rem;
    display: flex;
    align-items: center;

}

.imagen-contacto{
    background-image: url(../img/galerua6.JPG);
    background-position: center center;
    background-size: cover;
    height: 40rem;
    display: flex;
    align-items: center;

}

.oficinas{
    width: 80%;
    max-width: 120rem;
}

.contenido-contacto{
    flex:0 0 95%;
    color: antiquewhite;
}

.contenido-contacto p{
    font-size:1.8rem;
}

@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: 14rem;
    padding: 4rem;
    border: 5px double ;
}

@media (min-width: 768px){
    .entrada-blog{
        
    display: flex;
    justify-content: space-between;
    }
}

.entrada-blog .imagen{
    flex-basis: 40%;
}

.entrada-blog .texto-entrada{
    flex-basis: calc(60% - 2rem);
}

.texto-entrada h4{
    margin: 0;
    line-height: 1.6;
}

.texto-entrada h4::after{
    content: '';
    display: block;
    width: 15rem;
    height: .5rem;
    background-color: aqua;
}


.texto-entrada a{
    text-decoration: none;
    color: black;
}


.texto-entrada a:hover{
    text-decoration: underline;
}

.texto-entrada span{
    color: orange;
}

.testimonial{
    background: orange;
    font-size: 2.0rem;
    padding: 2rem;
    color: rgb(255, 255, 255);
    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;
    top: 3rem;

}

.testimonial blockquote{
    position: relative;
    padding-left: 5rem;
    font-weight: 300;
}

.site-footer{
    background: linear-gradient(to bottom, #323232 0%, #3F3F3F 40%, #1C1C1C 150%), linear-gradient(to top, rgba(255,255,255,0.40) 0%, rgba(0,0,0,0.25) 200%);
 background-blend-mode: multiply;
    margin: 0;
}

.site-footer nav{
    display: none;

}

@media (min-width: 768px){
    .site-footer nav{
        display: block;
    }
}

@media (min-width: 768 px){
    .contenedor-footer{
        
    display: flex;
    justify-content: space-between;
    }
}

.contenedor-footer{
    margin-top: 3rem;
    padding: 3rem 0;
    text-align: center;
}

.copyright{
    margin: 0;
    color: white;
}

.fw300{
    font-weight: 300;
}

.centrar-texto{
    text-align: center;
}

/*Internas*/
@media(min-width:768px){
    
.contenido-nosotros{
    display:grid;
    grid-template-columns: 50% 50%;
    grid-column-gap: 4rem;
}

}

.texto-nosotros blockquote{
    font-weight: 900;
    font-size: 2rem;
    margin: 0;
    padding:1rem 0 3rem ;

}

.resumen-propiedad{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.redes{
    align-content: center;
    align-items: center;
    text-align: center;
}

.contenido-centrado{
    max-width: 80rem;
}


form p{
    margin: 2rem 0 0 0;
    font-size: 1.4rem;
    color: #333333;
}

legend{
    font-size: 2.3rem;
    color: #333333;
}
label{
    display: block;
    font-weight: 700;
    text-transform: uppercase;
}


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{
    width: 20rem;
}

.forma-contacto{
    max-width: 30rem;
    display: flex;
    justify-content: space-between;
    align-content: center;
}

input[type="radio"]{
    width: auto;
    margin: 0;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
* Extends the .sr-only class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster */
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  /*
     * Printing Tables:
     * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
     */
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}

