/************ Font ****************/
/* devanagari */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(./fonts/pxiByp8kv8JHgFVrLDz8Z11lFd2JQEl8qw.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(./fonts/pxiByp8kv8JHgFVrLDz8Z1JlFd2JQEl8qw.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(./fonts/pxiByp8kv8JHgFVrLDz8Z1xlFd2JQEk.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* devanagari */
@font-face {
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/pxiGyp8kv8JHgFVrJJLucXtAOvWDSHFF.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/pxiGyp8kv8JHgFVrJJLufntAOvWDSHFF.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/pxiGyp8kv8JHgFVrJJLucHtAOvWDSA.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url(./fonts/pxiGyp8kv8JHgFVrLPTucXtAOvWDSHFF.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url(./fonts/pxiGyp8kv8JHgFVrLPTufntAOvWDSHFF.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url(./fonts/pxiGyp8kv8JHgFVrLPTucHtAOvWDSA.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/pxiEyp8kv8JHgFVrJJbecnFHGPezSQ.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/pxiEyp8kv8JHgFVrJJnecnFHGPezSQ.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/pxiEyp8kv8JHgFVrJJfecnFHGPc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(./fonts/pxiByp8kv8JHgFVrLEj6Z11lFd2JQEl8qw.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(./fonts/pxiByp8kv8JHgFVrLEj6Z1JlFd2JQEl8qw.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(./fonts/pxiByp8kv8JHgFVrLEj6Z1xlFd2JQEk.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/**********************************/

/************ Variables *************/
:root {
  /* used for text */
  --clr-primary-light: #FFF;
  --clr-primary-medium: #E5E5E5;
  --clr-primary-dark: #A50001;
  --clr-primary-black: #000;

  /* background colors*/
  --clr-background-buttons-light: #FFF;
  --clr-background-buttons-dark: #A50001;
  
  --clr-background-light: #fff;
  --clr-background-medium: #F4EEEE;
  --clr-background-dark: #A50001;
  --clr-background-black: #2B2B2B;
  
  /* fonts */
  --ff-primary: 'Poppins', sans-serif;
  --ff-secondary: "Roboto", sans-serif;
  --ff-size-default: 1rem; /* default for all text */
  --ff-size-h-default: 1rem; /* default for all headers */
  --ff-size-smallest: calc(var(--ff-size-default) * 0.75);
  --ff-size-small: calc(var(--ff-size-default) * 0.875);
  --ff-size-large: calc(var(--ff-size-default) * 1.25);
  --ff-size-h4: calc(var(--ff-size-h-default) * 1);
  --ff-size-h3: calc(var(--ff-size-h-default) * 1.25);
  --ff-size-h2: calc(var(--ff-size-h-default) * 1.75);
  --ff-size-h1: calc(var(--ff-size-h-default) * 2.5);

  /* Text Decoration */
  --spacing: 0.1rem;
  --text-shadow-primary: 4px 7px rgb(53, 53, 53);
  --text-shadow-secondary: 2px 7px #e8713096;

  /* Radius */
  --radius-btn: 10px;
  --radius-box: 23px;
  --radius-circle: 500px;

  /* Box Shadows */
  --box-shadow: 0px 6px 5px rgba(0, 0, 0, 0.25);
  --btn-shadow: 0px 6px 5px rgba(0, 0, 0, 0.25);

  /* Borders */
  --border-thin: 1px solid #A50001;
  --border-thick: 15px solid #A50001;

  /* Outlines */
  --outline-thin: 2px solid rgba(132, 41, 227, 0.1);
  --outline-medium: 8px solid rgba(132, 41, 227, 0.25);
  --outline-thick: 14px solid rgba(132, 41, 227, 0.5);
  --outline-very-thick: 20px solid rgba(132, 41, 227, 0.65);

  /* Paddings */
  --box-small-padding: 1rem;
  --box-paddings: 2rem;
  --buttons-long: 2rem;

  /* Grid Gaps */
  --grid-row-gap-default: 1rem;
  --grid-col-gap-default: 1rem;
  
  --grid-row-gap-thin: calc(var(--grid-row-gap-default) * 1);
  --grid-row-gap-normal: calc(var(--grid-row-gap-default) * 2);
  --grid-row-gap-thick: calc(var(--grid-row-gap-default) * 4);
  --grid-col-gap-thin: calc(var(--grid-col-gap-default) * 1);
  --grid-col-gap-normal: calc(var(--grid-col-gap-default) * 2);
  --grid-col-gap-thick: calc(var(--grid-col-gap-default) * 4);

  /* Transition */
  --transition: all 0.3s linear;
  --slow-transition: all 0.7s linear;

  /* Screen Dimensions */
  --width-phones: 600px; /* max width */
  --width-tablets: 768px; /* min width */
  --width-desktop: 992px; /* min width */
  --width-large: 1200px; /* min width */
  --height-nav: 5rem;
  --height-footer: 18rem;
}
@media screen and (min-width: 992px) {
  :root {
    --grid-col-gap-default: 1.5rem;
  }
}

@media screen and (min-width: 1200px) {
  :root {
    --ff-size-default: 1rem; /* default for all text */
    --ff-size-h-default: 1.4rem; /* default for all headers */

    --grid-col-gap-default: 2rem;
  }
}
/******************************************/

/*************** Global Styles ************/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--ff-primary);
  color: var(--clr-primary-black);
  line-height: 1.5;
  font-size: var(--ff-size-default);
  font-weight: 400;
}

ul {
  list-style-type: none;
}

ol {
  padding-bottom: 1rem;
}

a {
  text-decoration: none;
  color: blue;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

h1, h2, h3, h4 {
  color: var(--clr-primary-black);
  line-height: 1.25;
  font-family: var(--ff-secondary);
  text-align: center;
}

h1 {
  font-size: var(--ff-size-h1);
}

h2 {
  font-size: var(--ff-size-h2);
}

h3 {
  font-size: var(--ff-size-h3);
}

h4 {
  font-size: var(--ff-size-h4);
}

p {
  margin-bottom: 1.25rem;
  line-height: 1.5rem;
  font-weight: 300;
}

input, textarea {
  display: block;
  margin: 1rem 0;
  line-height: 1.5rem;
  width: 90%;
  padding: 0.5rem;
}
/*****************************************/

/************* layout globals *************/
.section {
  display: grid;
  justify-items: center;
  row-gap: 2rem;
  padding: 3rem 0;
}

/* makes the section center align */
.section-center {
  display: grid;
  justify-items: center;
  row-gap: 2rem;
  width: 90vw;
  margin: 0 auto;
  padding: 3rem 0;
}

@media screen and (min-width: 1200px) {
  .section-center {
    width: 80vw;
  }
}
/******************************************/

/************* General Globals ************/
.content-divider {
  height: 0.25rem;
  width: 90%;
  margin: 0 auto;
  background: linear-gradient(
    to left,
    var(--clr-primary-light),
    var(--clr-primary-medium),
    var(--clr-primary-light)
  );
}

.clearfix::after, .clearfix::before {
  content: "";
  clear: both;
  display: table;
}
/******************************************/

/************* action globals ************/
.btn {
  text-transform: capitalize;
  padding: 0.5rem 1rem;
  letter-spacing: var(--spacing);
  display: inline-block;
  font-family: var(--ff-secondary);
  font-weight: 700;
  font-size: var(--ff-size-small);
  transition: var(--transition);
  cursor: pointer;
  border-radius: var(--radius-btn);
  text-align: center;
}

.btn-long {
  padding-left: var(--buttons-long);
  padding-right: var(--buttons-long);
}

.btn-light {
  background: var(--clr-background-buttons-light);
  color: var(--clr-primary-dark);
  border: 1px solid var(--clr-primary-dark);
  box-shadow: var(--btn-shadow);
}

.btn-light:hover {
  background: var(--clr-background-buttons-dark);
  color: var(--clr-primary-light);
}

.btn-dark {
  background: var(--clr-background-buttons-dark);
  color: var(--clr-primary-light);
  box-shadow: var(--btn-shadow);
}

.btn-dark:hover {
  background: var(--clr-background-buttons-light);
  color: var(--clr-primary-dark);
  border: var(--border-thin);
}

/* Use it for fontawesome icons */
.icon-light {
  color: var(--clr-primary-light);
  background: transparent;
  border-color: transparent;
  font-size: var(--ff-size-h1);
  cursor: pointer;
}

.icon-dark {
  color: var(--clr-primary-dark);
  background: transparent;
  border-color: transparent;
  font-size: var(--ff-size-h1);
  cursor: pointer;
}

@media screen and (min-width: 768px) {
  .icon-light {
    font-size: 1.3rem;
  }

  .icon-dark {
    font-size: var(--ff-size-h2);
  }
}
/******************************************/

/************** boxes **************/
.box-borders {
  border: var(--border-thin);
  padding: var(--box-paddings);
}

.box-rounded-borders {
  border: var(--border-thin);
  padding: var(--box-small-padding);
  border-radius: var(--radius-box);
}

.box-no-borders {
  border: none;
  padding: var(--box-paddings);
}
/******************************************/

/************** Text **************/
.color-light {
  color: var(--clr-primary-light);
}

.color-medium {
  color: var(--clr-primary-medium);
}

.color-dark {
  color: var(--clr-primary-dark);
}

.color-black {
  color: var(--clr-primary-black);
}
/******************************************/

/************* Top Nav ********************/
#lang-selector {
  font-size: var(--ff-size-smallest);
  color: var(--clr-primary-light);
}

.active-lang {
  text-decoration: underline;
}

.top-nav {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  height: var(--height-nav);
  position: absolute;
  right: 0;
  width: 100%;
}

.top-nav.active {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.565);
  height: 4rem;
  
}

.nav-dark ul li a {
  color: #000;
}

.nav-dark a.btn-dark {
  color: var(--clr-primary-light);
}

.nav-logo-dark a {
  color: var(--clr-primary-black);
  letter-spacing: 0.1rem;
  padding: 1rem;
}

.top-nav.active .nav-logo-dark a {
  color: var(--clr-primary-light);
}

.nav-dark.active ul li a {
  color:var(--clr-primary-light) ;
}

.nav-logo {
  padding: 1rem;
}

.nav-logo a {
  color: var(--clr-primary-light);
  letter-spacing: 0.1rem;
  padding: 1rem;
}

.nav-logo img {
  width: auto;
  height: auto;
}

.nav-action-btn {
  justify-self: end;
  padding-right: 1rem;
}

.top-nav ul {
  display: none;
  text-align: center;
  padding-right: 5rem;
  align-items: center;
}

.top-nav ul a {
  font-family: var(--ff-primary);
  text-transform: capitalize;
  color: var(--clr-primary-light);
}

.top-nav ul a.active {
  border-bottom: 1.5px solid var(--clr-background-dark) ;
  padding: 0 1rem 0.5rem 1rem;
}

/* show top nav for tablets and desktop */
@media screen and (min-width: 900px) {
  .top-nav button {
    display: none;
  }

  .top-nav ul {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-self: center;
    -moz-column-gap: 2rem;
         column-gap: 2rem;
  }

  .top-nav ul a:hover {
    color: var(--clr-primary-dark);
    transition: var(--transition);
  }
}
/******************************************/

/************* Sidebar ********************/
.sidebar {
  position: fixed;
  display: grid;
  grid-template-rows: auto auto 1fr;
  row-gap: var(--grid-row-gap-normal);
  justify-items: center;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 4;
  background-color: var(--clr-background-light);
  transform: translateX(-100%);
  transition: var(--transition);
}

.show-sidebar {
  transform: translateX(0);
}

.sidebar .fa-times {
  color: var(--clr-primary-dark);
}

.sidebar button {
  align-self: start;
  padding-top: 2rem;
}

.sidebar-links {
  display: grid;
  place-items: center;
  row-gap: var(--grid-row-gap-thin);
}

.sidebar-links a {
  color: var(--clr-primary-black);
  font-size: var(--ff-size-large);
  text-transform: uppercase
}

.sidebar-links a:hover {
  color: var(--clr-primary-medium);
}

.social-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  -moz-column-gap: var(--grid-col-gap-thin);
       column-gap: var(--grid-col-gap-thin);
}
/******************************************/

/*******************Home hero***********************/

.home-hero {
  background-image: url(../images/home-hero-mobile.jpg);
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: relative;
  z-index: -2;
}

.home-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.376);
  z-index: -1;
}


.home-hero article {
  /* margin-top: 5rem; */
  text-align: center;
  color: var(--clr-primary-light);
  /* padding: 1rem; */
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.home-hero article h1 {
  font-size: 3rem;
  color: var(--clr-primary-light);
}

@media screen and (min-width: 500px) {
  .home-hero {
    background-image: url(../images/home-hero-tablet.jpg);
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
  } 

  .home-hero article {
    /* margin-top: 20rem; */
    padding: 8rem 0 8rem 0;
    letter-spacing: 0.5rem;
  }

  .home-hero article small {
    letter-spacing: normal;
  }
}

@media screen and (min-width: 820px) {
  .home-hero article {
    margin-top: 10rem;
    padding: 5rem 0 8rem 0;
  }

  .home-hero article h1 {
    font-size: 3rem;
    margin-bottom: 0.6rem;
  }

  .home-hero article small {
    font-size: 1.3rem;
    margin-top: 2rem;
    font-weight: 300;
  }
}


/* @media screen and (min-width: 500px) {
  .home-hero article {
    margin-top: 8rem;
    letter-spacing: 0.5rem;
  }
} */

@media screen and (min-width: 992px) {
  .home-hero {
    background-image: url(../images/home-hero.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
  } 

  .home-hero article {
    margin-top: 15rem;
  }
}

.home-find-property h2, .home-spanish-and-english-speaking h2 {
  color: var(--clr-primary-black);
  font-size: 1.2rem;
  line-height: 2rem;
  letter-spacing: 0.2rem;
  margin: 4rem 0 4rem 0;
}

.home-find-property h2 span, .home-spanish-and-english-speaking h2 span, .service-boxes article h2 span {
  color: var(--clr-primary-light);
  background-color: var(--clr-background-dark);
  padding: 0.4rem;
  border-radius: 5px;
}

.home-find-property article {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
}

.home-find-property article a {
  width: 10rem;
  height: 10rem;
  text-align: center;
  color: var(--clr-primary-light);
  background-position: cover;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.home-find-property article a:hover {
  box-shadow: var(--box-shadow);
  border-radius: var(--radius-box);
  font-size: 1.6rem;
}

.home-find-property article a p {
  margin-top: 7rem;
  font-weight: bold;
  font-size: 0.8rem;
  letter-spacing: 0.2rem;
}

.home-find-property article a p:hover {
  font-size: 1.1rem;
  transition: all 0.3s ease-in;
}

.home-find-property article .apartments {
  background-image: url(../images/apartments.jpg);
}

.home-find-property article .houses {
  background-image: url(../images/houses.jpg);
}

.home-find-property article .fincas {
  background-image: url(../images/fincas.jpg);
}

.home-find-property article .building {
  background-image: url(../images/buildings.png);
}

.home-find-property article .hotel {
  background-image: url(../images/hotels.png);
}

.home-find-property article .lote {
  background-image: url(../images/lote.png);
}

@media screen and (min-width: 768px) {
  .home-find-property h2{
    font-size: 2rem;
    line-height: 3.5rem;
  }
}

@media screen and (min-width: 1070px) {
  .home-find-property article {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 1fr;
    padding-bottom: 5rem;
  }
}

.home-spanish-and-english-speaking {
  background-color: var(--clr-background-medium);
  display: grid;
}

.home-spanish-and-english-speaking h2 {
  width: 80%;
  margin: 0;
}

.home-spanish-and-english-speaking article p {
  text-align: center;
  font-weight: 400;
}

.home-spanish-and-english-speaking img {
  width: 300px;
  border-radius: 30px;
}


@media screen and (min-width: 912px) {
  .home-spanish-and-english-speaking article {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 5rem;
  }

  .home-spanish-and-english-speaking article h2 {
    grid-column: 1 / -1;
  }
  .home-spanish-and-english-speaking article img {
  width: 90%;
}

.home-spanish-and-english-speaking article p {
  align-self: center;
}

.home-spanish-and-english-speaking article .btn {
  grid-column: 1 / -1;
}
}

.our-popular-residences {
  justify-content: center;
}

.our-popular-residences .icon-dark {
  font-size: 1.5rem;
}

.explore-all-and-popular {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  font-weight: 300;
}


/*************************************+ SERVICES BOXES ************************************+*/

.service-boxes {
  background-color: var(--clr-background-medium);
}

.service-boxes article  {
  display: grid;
}

.service-boxes article  h2 {
  grid-column: 1 / -1;
  margin-bottom: 3rem;
  font-size: 1.8rem;
  letter-spacing: 0.2rem;
}


.service-boxes article  div {
 background-color: #fff;
 border-radius: var(--radius-box);
 padding: 0.8rem;
 display: grid;
 grid-row: 1fr 2fr;
 text-align: center;
 width: 14rem;
}

.service-boxes article  div span {
  color: var(--clr-background-dark);
  font-weight: bold;
  font-size: 3rem;
  text-align: center;
}

@media screen and (min-width: 920px) {
.service-boxes article  {
  grid-template-columns: repeat(4, 1fr);
  -moz-column-gap: 2rem;
       column-gap: 2rem;
}

.service-boxes article  div {
  width: 11rem;
}

}

@media screen and (min-width: 1086px) {
  .service-boxes article  div {
    width: 14rem;
  }
}


/********************** POPULAR ******************+ */

.popular, .explore-all  {
  font-weight: 300;
  font-size: 0.7rem;
  font-family: var(--ff-primary);
  color: var(--clr-primary-black);
  padding: 1rem;
}

.explore-all {
  text-align: end;
}

.popular i{
  color: var(--clr-primary-dark);
  text-align: end;
  padding-right: 0.3rem;
}

.explore-all i {
  color: var(--clr-primary-dark);
  align-self: center;
  padding-left: 0.3rem;
}

.our-popular-residences h3 {
  grid-column: 1 / -1;
}

.our-popular-residences {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

/* by default hidden */

.popular-residences-boxes {
  display: none
}

/* Show the slide */
.active-residence {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  justify-items: center;
}

.properties article img {
  /* width: 350px; */
  height: auto;
}

.our-popular-residences .popular-residences-boxes h3, .properties .popular-apartment-info h3 {
  color: var(--clr-primary-dark);
  text-align: start;
  padding: 0.3rem;
}

.our-popular-residences .fa-arrow-right, .our-popular-residences .fa-arrow-left {
  align-self: center;
  cursor: pointer;
}

.popular-residences-boxes article {
  box-shadow: var(--box-shadow);
  margin: 1rem;
}

.our-popular-residences article .popular-apartment-info, .properties article .popular-apartment-info {
  margin: 0 auto;
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  font-weight: 300;
  font-size: 1rem;
}

.box-btn-and-price {
  display: grid;
  grid-template-columns: 1fr 1fr;
  -moz-column-gap: 2rem;
       column-gap: 2rem;
       padding: 1rem;
  align-items: center;     
}

.box-btn-and-price .btn-dark {
  width: 8rem;
  height: 2rem;
  align-self: center;
  font-size: 0.7rem;
  display: block;
}

.box-btn-and-price span {
  font-size: 0.7rem;
  align-items: center;
  font-weight: normal;
}

@media screen and (min-width: 768px) {
  .popular, .explore-all  {
    font-size: var(--ff-size-default);
    font-weight: 300;
    font-family: var(--ff-primary);
    color: var(--clr-primary-black);
  }

  .properties article img {
    /* width: 350px; */
    height: auto;
  }
}

@media screen and (min-width: 912px) {
  .our-popular-residences {
    row-gap: 5rem;
    padding-bottom: 5rem;
  }

  /* Show the slide */
  .active-residence {
    grid-template-columns: repeat(2, 1fr);
    -moz-column-gap: 5.5rem;
         column-gap: 5.5rem;
  }

  .our-popular-residences article {
    width: 21rem;
  }
}

.home-text-bottom {
  display: grid;
  align-items: center;
  justify-items: center;
  row-gap: 1rem;
  background: linear-gradient( #a5000053, #a5000060 ), url("../images/home-buildings.jpg");
  background-position: center top;
  background-size: cover; 
  background-repeat: no-repeat;
  height: 50vh;
}

.home-text-bottom p {
  color: var(--clr-primary-light);
  text-align: center;
  font-weight: bold;
  font-size: 1.5rem;
  align-self: end;
  line-height: 2rem;
}

.home-text-bottom a {
  width: 15rem;
  align-self: start;
}


/**************************************+ SECTION ABOUT US ****************************************************/

.about-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.559), rgba(0, 0, 0, 0.3)), url("../images/casa-real-estate-hero-mobile.jpg");
  background-position: center top;
  background-size: cover; 
  background-repeat: no-repeat;
  height: 60vh;
  padding-top: 7rem;
}

.about-hero article, .hero-listing article {
  display: grid;
  row-gap: 1rem;
  margin-top: 6rem;
  align-items: center;
}

.about-hero article h1, .hero-listing article h1 {
  color: var(--clr-primary-light);
} 

.about-hero article .btn, .hero-listing article .btn, .about-section .btn {
  width: 10rem;
  justify-self: center;
}

.about-section img, .our-mission img {
  width: 250px;
}

.about-section h2 span, .our-mission h3 span, .testimonial-cards h4 span, .property-slider h2 span, .faq h5 span, .our-team h2 span {
  background-color: var(--clr-primary-dark);
  padding: 0.5rem;
  color: var(--clr-primary-light);
  border-radius: var(--radius-btn);
}

.about-section {
  display: grid;
  row-gap: 2.5rem;
  align-items: center;
  justify-items: center;
  padding: 4rem 0 5rem 0;
}

@media screen and (min-width: 912px) {
.about-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.559), rgba(0, 0, 0, 0.3)), url("../images/casa-real-estate-hero.jpg");
  background-position: center top;
  background-size: cover; 
  background-repeat: no-repeat;
  height: 56vh;
  padding-top: 12rem;
}

.about-hero article .btn, .hero-listing .btn {
  justify-self: center;
  width: 8rem;
}

.about-section {
  width: 80%;
}

.about-section, .our-mission {
  grid-template-columns: repeat(2, 1fr);
  -moz-column-gap: 4rem;
        column-gap: 4rem;  
  row-gap: 1rem;     
  width: 80%;
  margin: 0 auto;
  padding: 4rem 0;
}

.about-section h2, .our-mission h3, .testimonial-cards h4 {
  grid-column: 1 / -1;
  font-size: 2rem;
}

.about-section img, .our-mission img {
  width: 400px;
}
}

@media screen and (min-width: 950px) {
  .about-hero {
    height: 100vh;
  }
}

.our-mission-section {
  background-color: var(--clr-background-medium);

}

.our-mission {
  display: grid;  
  align-items: center;
}

/* transportation info ABOUT US PAGE  */

.transportation-info article p {
  font-size: 1.5rem;
  text-align: center;
  padding: 2rem;
  line-height: 2.3rem;
}

@media screen and (min-width: 768px) {
  .transportation-info article p {
    padding: 4rem;
  }
}

.top-quote {
  display: grid;
  width: 20%;
  font-weight: 300;
}

.top-quote div, .explore-all-and-popular div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 5rem;
}

.top-quote div .line, .explore-all-and-popular div .line{
  width: 1.8rem;
  height: 0.05rem;
  margin-right: 0.4rem;
  align-self: center;
  justify-self: end;
  background-color: var(--clr-primary-dark);
}

.fa-minus {
color: var(--clr-primary-dark);
}

/**************************** OUR TEAM ****************************/
.our-team {
  display: grid;
  row-gap: 4rem;
}

.our-team h2 {
  margin-top: 3rem;
}
.our-team img {
  width: 210px;
  /* margin: 0 auto; */
}

.our-team article {
  display: grid;
  row-gap: 1rem;
  justify-items: center;
  margin-bottom: 3rem;
  grid-template-rows: -webkit-min-content -webkit-min-content 1fr -webkit-min-content -webkit-min-content;
  grid-template-rows: min-content min-content 1fr min-content min-content;
}

.our-team article p, .lawyers-and-accountant p {
  padding: 0 1rem;
  text-align: center;
  margin: 0;
}

.our-team article div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  -moz-column-gap: 2rem;
       column-gap: 2rem;
}

.our-team article h4 {
  color: var(--clr-primary-dark);
}

.our-team article div .icon-dark {
  font-size: 1.5rem;
}

.our-team article a {
  color: var(--clr-primary-black);
  font-weight: bold;
}

.our-team article a:hover {
  color: var(--clr-primary-dark);
}

@media screen and (min-width: 768px) {
  .our-team article p, .lawyers-and-accountant p {
    width: 28rem;
    margin: 0 auto;
  }

  .lawyers-and-accountant article img {
    width: 230px;
  }
}

@media screen and (min-width: 912px) {
  .our-team {
    grid-template-columns: repeat(2, 1fr);
  }

  .our-team h2 {
    grid-column: 1 / -1;
    margin-top: 2rem;
  }

  .our-team article h4 {
    font-size: 1.9rem;
  }

}

.lawyers-and-accountant article {
  display: grid;
  row-gap: 3rem;
}

.lawyers-and-accountant img {
  width: 300px;
  margin: 0 auto;
}

.lawyers-and-accountant p {
  padding: 0 1rem;
  text-align: center;
}


@media screen and (min-width: 912px) {
.lawyers-and-accountant article {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 8rem;
}
}


/* *********************************************************************************/

.testimonials {
  background-color: var(--clr-background-medium);
}

.testimonial-cards article {
  background-color: #FFF;
}

.testimonials .quote-left {
  color: #a5000084;
  font-size: 3rem;
  padding-left: 1rem;
}

.quote-right {
  color: #a5000084;
  font-size: 3rem;
  padding-right: 1rem;
  width: 100%;
  text-align: end;
}


.testimonial-card img {
  width: 100px;
  border-radius: 2rem;
  margin: 0 auto;
}

.testimonial-icon {
  margin-top: 1rem;
}

.testimonial-icon img, .vector-down img {
  width: 100px;
  margin-top: 3rem;
  margin-left: 1rem;
}

.testimonial-icon span {
  font-weight: 300;
  padding: 1rem;
  margin-top: 1rem;
}

.testimonial-icon i {
  color: var(--clr-primary-dark);
}

.testimonial-cards {
  display: grid;
  width: 80%;
  row-gap: 3rem;
  margin-top: 2rem;
}

.testimonial-cards h5 {
  margin-bottom: 0.6rem;
}

.testimonial-card {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  align-items: center;
  justify-content: center;
  box-shadow: var(--box-shadow);
  border-radius: var(--radius-box);
  padding: 1rem;
}

.testimonial-card span i {
  color: #fabc05;
}

.testimonials .section-center {
  padding: 0;
}

@media screen and (min-width: 912px) {

.top-quote {
  width: 3%;
}
.testimonials .quote-left {
  font-size: 8rem;
  margin-top: 1rem;
}

.quote-right {
  font-size: 8rem;
}

.testimonial-cards {
  grid-template-columns: repeat(2, 1fr);
       row-gap: 6rem;
}

.testimonial-cards .btn {
  grid-column: 1 / -1;
}

.testimonial-card {
  width: 25rem;
}
}

.contact-us-hero article {
  display: grid;
}

.bg-hero, .contact-information-img {
  display: none;
}

.bg-hero .info div h3{
  text-align: center;
  color: var(--clr-primary-dark);
}

.bg-hero .info div p {
  text-align: center;
  margin-top: 1rem;
}

/* .bg-hero .info, .contact-information .phone-and-email {
  display: grid;
  row-gap: 1rem;
  padding-top: 6rem;
  justify-items: center;
} */

.phone-and-email, .contact-information .phone-and-email {
  display: grid;
  -moz-column-gap: 0.5rem;
       column-gap: 0.5rem;
  grid-template-columns: 10% 1fr;
  height: 3rem;
  align-self: center;
  justify-self: center;
  font-weight: bold;
}

.bg-hero .info i, .social-information-and-address i, .contact-information-img .phone-and-email i {
  color: var(--clr-primary-dark);
}

.bg-hero .info a{
  color: var(--clr-primary-black);
  font-size: 0.6rem;
}


.contact-form {
  margin: 10rem auto 0 auto;
  width: 70%;
  align-self: center;
}

.contact-form h1 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.contact-form p {
  margin-bottom: 3.6rem;
}

.contact-form p, .contact-form span  {
  text-align: center;
  font-weight: 300;
}

.contact-form form input, .contact-form textarea {
  border: var(--border-thin);
}

.contact-form form input:focus, .contact-form form textarea:focus {
  outline: none;
}

.contact-form form input::-webkit-input-placeholder {
  font-weight: 300;
  font-family: var(--ff-primary);
  color: rgba(0, 0, 0, 0.449);
}

.contact-form form input::-moz-placeholder {
  font-weight: 300;
  font-family: var(--ff-primary);
  color: rgba(0, 0, 0, 0.449);
}

.contact-form form input:-ms-input-placeholder {
  font-weight: 300;
  font-family: var(--ff-primary);
  color: rgba(0, 0, 0, 0.449);
}

.contact-form form input::-ms-input-placeholder {
  font-weight: 300;
  font-family: var(--ff-primary);
  color: rgba(0, 0, 0, 0.449);
}

.contact-form form input::-webkit-input-placeholder, .contact-form form textarea::-webkit-input-placeholder {
  font-weight: 300;
  font-family: var(--ff-primary);
  color: rgba(0, 0, 0, 0.449);
}

.contact-form form input::-moz-placeholder, .contact-form form textarea::-moz-placeholder {
  font-weight: 300;
  font-family: var(--ff-primary);
  color: rgba(0, 0, 0, 0.449);
}

.contact-form form input:-ms-input-placeholder, .contact-form form textarea:-ms-input-placeholder {
  font-weight: 300;
  font-family: var(--ff-primary);
  color: rgba(0, 0, 0, 0.449);
}

.contact-form form input::-ms-input-placeholder, .contact-form form textarea::-ms-input-placeholder {
  font-weight: 300;
  font-family: var(--ff-primary);
  color: rgba(0, 0, 0, 0.449);
}

.contact-form form input::placeholder, .contact-form form textarea::placeholder {
  font-weight: 300;
  font-family: var(--ff-primary);
  color: rgba(0, 0, 0, 0.449);
}

.contact-form form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  -moz-column-gap: 1.5rem;
       column-gap: 1.5rem;
  justify-items: center;
}

.contact-form form .name, .contact-form form .last-name {
  width: 100%;
}

.contact-form form .email, .contact-form form .phone, .contact-form form textarea {
  grid-column: 1 / -1;
  width: 100%;
}

.contact-form form .btn {
  grid-column: 1 / -1;
  width: 60%;
  font-size: 0.5rem;
}

.contact-information {
  display: grid;
}

.contact-information-img img {
  width: 100px;
}

.contact-information iframe {
  width: 100%;
}

.social-information-and-address {
  display: grid;
  row-gap: 1rem;
  text-align: center;
}

.social-information-and-address a {
  color: var(--clr-primary-black);
}

.social-information-and-address {
  margin-top: 5rem;
}

.social-information-and-address div  {
  padding: 0 1rem 0 1rem;
  display: grid;
}

.social-information-and-address div i {
  font-size: 1.5rem;
  padding: 0.5rem;
}

.Employment-info h3 {
  color: var(--clr-primary-dark);
  margin-top: 2rem;
}


@media screen and (min-width: 912px) {

.contact-us-hero article {
  grid-template-columns: 1fr 2fr;
}

.bg-hero, .contact-information-img {
  background-color: var(--clr-background-medium);
  display: grid;
  row-gap: 4.5rem;
}

.bg-hero .info a, .contact-information-img .phone-and-email a {
  color: var(--clr-primary-black);
  font-size: 0.8rem;
  font-weight: 600;
  justify-self: left;
}

.bg-hero img {
  width: 400px;
}

.contact-form {
  width: 55%;
  margin: 6rem auto 0 auto;
}

.contact-form h1 {
  font-size: 3.6rem;
  margin-top: 5rem;
}

.contact-information-img img {
  width: 320px;
}

.contact-information-img img {
  align-self: end;
  width: 400px;
}

.contact-information {
  display: grid;
  grid-template-columns: 1fr 2fr;
}

.numbrer-and-email div {
  display: grid;
}

.social-information-and-address {
  grid-template-columns: repeat(2, 1fr);
}

.social-information-and-address span {
  grid-column: 1 / -1;
}

.Employment-info {
  display: none;
}
  
}

.hero-listing {
  background: linear-gradient(rgba(0, 0, 0, 0.559), rgba(0, 0, 0, 0.3)), url("../images/listing-hero-mobile.jpg");
  background-position: center top;
  background-size: cover; 
  background-repeat: no-repeat;
  height: 50vh;
  padding-top: 7rem;
}

.hero-listing article {
  display: grid;
  row-gap: 1rem;
  margin-top: 4rem;
  align-items: center;
}

.hero-listing h1 {
  color: var(--clr-primary-light);
}

.section-filter-by h2 {
  font-weight: normal;
  margin-bottom: 2rem;
  margin-top: 1.5rem;
}

.filter-by-btns {
  background-color: var(--clr-background-dark);
  width: 21rem;
  margin: 0 auto;
  padding: 0.5rem 0;
  border-radius: var(--radius-btn);
}

.filter-by-btns span {
  color: var(--clr-primary-light);
  padding: 0 0.5rem 0 0.5rem;
  text-align: center;
  font-size: 0.8rem;
  border-left: 1px solid rgba(255, 255, 255, 0.566) ;
  cursor: pointer;
}

.filter-by-btns span:hover {
  background-color: rgba(255, 255, 255, 0.251);
  padding: 0.3rem;
}


.filter-by-btns span:first-child {
  border-left: none;
}

.filter-by-btns span.btn-active {
  background-color: #700505;
  padding: 0.6rem;
  border-left: none;
  border-radius: 1.5rem;
}

.filter-by-number-of {
  display: grid;
  justify-items: center;
  align-items: center;
  margin-top: 1.8rem;
  width: 60%;
  margin: 4rem auto 0 auto;
  text-align: center;
}

/* personalizacion de el rango de precios */
.range-container {
  position: relative;
  margin-top: 1rem;
}

.filter-by-number-of div {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  -moz-column-gap: 0.5rem;
       column-gap: 0.5rem;
       text-align: center;
}

input {
  width: 3rem;
}

input[type="range"] {
  -webkit-appearance: none;
          -moz-appearance: none;
       appearance: none;
  width: 13rem;
}

.filter-by-number-of div label {
  width: 8rem;
}

input[type="range"]::-webkit-slider-runnable-track {
  background: var(--clr-background-dark);
  border-radius: 1rem;
}


input[type="range"] + label {
  position: absolute;
  top: -1rem;
  left: 6rem;
  padding: 0.3rem 0;
  background-color: var(--clr-background-medium);
  text-align: center;
  font-size: 0.7rem;
  border-radius: 0.5rem;
}

.properties {
  display: grid;
  margin-top: 2.5rem;
}

.properties article {
  box-shadow: var(--box-shadow);
}

.properties article .popular-apartment-info {
  font-weight: 300;
}

.properties article .btn {
  font-weight: 300;
}

.properties .popular-apartment-info h3 {
  grid-column: 1 / -1;
   
}

.properties .box-btn-and-price {
  align-items: center;
}

.properties .box-btn-and-price .btn {
  color: var(--clr-primary-dark);
  text-align: start;
  font-size: 0.6rem;
}

.properties .price {
  text-align: end;
}

.properties .location {
  padding-left: 1rem;
}

.properties .location span {
  color: var(--clr-primary-dark);
}

.properties .location .fa-location-dot {
  color:#700505;
}

.properties .btn {
  padding: 0;
}

@media screen and (min-width: 820px) {
  .hero-listing {
    background: linear-gradient(rgba(0, 0, 0, 0.559), rgba(0, 0, 0, 0.3)), url("../images/listing-hero-tablet.jpg");
    background-position: center top;
    background-size: cover; 
    background-repeat: no-repeat;
    height: 60vh;
    padding-top: 12rem;
  }
}

@media screen and (min-width: 912px) {

  .hero-listing {
    background: linear-gradient(rgba(0, 0, 0, 0.559), rgba(0, 0, 0, 0.3)), url("../images/listing-hero.jpg");
    background-position: center top;
    background-size: cover; 
    background-repeat: no-repeat;
    height: 100vh;
    padding-top: 12rem;
  }

  .filter-by-btns {
    background-color: var(--clr-background-dark);
    width: 30rem;
    margin: 0 auto;
    padding: 0.8rem;
    border-radius: var(--radius-btn);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    row-gap: 0.6rem;
    align-items: center;
  }

  #filter-hotel {
    border-left: none;
  }

  .filter-by-number-of {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  
  .filter-by-btns span {
    color: var(--clr-primary-light);
    padding: 0 1rem 0 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: center;
    font-size: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.566) ;
  }

  .filter-by-btns span.btn-active {
    background-color: #700505;
    padding: 0.6rem;
    border-left: none;
  }

  .properties {
    grid-template-columns: repeat(3, 1fr);
    -moz-column-gap: 3rem;
         column-gap: 3rem;
    row-gap: 4rem;     
  }
}

/*********************************** PROPERTIES INFO ***********************************/

.property-hero {
  background-image: url(../images/properties-hero.jpg);
  background-position: center;
  background-size: cover; 
  background-repeat: no-repeat;
  height: 50vh;
  padding-top: 12rem;
  position: relative;
  margin-bottom: 20px;
  z-index: -2;
}

.property-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.409);
  z-index: -1;
}

.property-hero h1 {
  color: var(--clr-primary-light);
  font-size: 1.5rem;
  text-align: start;
  padding-left: 1rem;
}

.property-slider h2 {
  margin-bottom: 5rem;
}

/* By default all slides are hidden */

.image-slider {
  display: none;
}

/* Show the slide */
.active-slide {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
}

.image-slider i {
  align-self: center;
  font-size: 1.5rem;
  cursor: pointer;
}


.image-slider img {
  border-radius: var(--radius-box);
  width: 300px;
}

.property-description h3 {
  margin: 2rem 0 0.7rem 0;
  color: var(--clr-primary-dark);
  text-align: start;
}
.property-information {
  display: grid;
  row-gap: 0.3rem;
}

.property-information h2 {
  grid-column: 1 / -1;
  margin-top: 3rem;
}

.property-information div span {
  font-weight: 300;
}

.property-information ul  {
  list-style-type: disc;
  padding-left: 1rem;
}

.contact-an-agent {
  display: grid;
  row-gap: 0.3rem;
  justify-content: center;
  color: var(--clr-primary-dark);
  font-weight: bold;
  margin-top: 2rem;
}
.contact-an-agent h4 {
  background-color: var(--clr-background-dark);
  color: var(--clr-primary-light);
  width: 11rem;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border-radius: var(--radius-btn);
}

.contact-an-agent a {
  color: var(--clr-primary-black);
}

.faq {
  background-color: var(--clr-background-medium);
}

.faq article {
  display: grid;
  row-gap: 1.3rem;
  justify-content: center;
  padding: 1rem 0 5rem 0;
  justify-items: center;
}

.faq h5 {
  font-size: 1.3rem;
  text-align: center;
  margin: 1.5rem 0 ;
  padding: 5rem 0 0 0;
}

.faq div {
  display: grid;
  grid-template-columns: 5fr 1fr;
  border-bottom: var(--border-thin) ;
  width: 90%;
}

.faq span button {
  text-align: end;
  cursor: pointer;
}

.faq button {
  background-color: transparent;
  border: none;
  color: var(--clr-primary-dark);
  cursor: pointer;
}

.faqs-box button .fa-xmark {
  display: none;
}

.faqs-box.active-faq button .fa-xmark {
  display: block;
}

.faqs-box.active-faq button .fa-angle-down {
  display: none;
}

.faqs-box p {
  color: var(--clr-primary-black);
  margin: 0;
  padding: 0;
  overflow: hidden;
  height: auto;
  max-height: 0px;
  transition: height 1s ease-in-out, max-height 0.2s ease-in-out, padding 0.2s ;
}


.faqs-box.active-faq p {
  display: block;
  margin: 1rem 0;
  max-height: 600px;
  transition: max-height 1s ease-in-out, padding 1s ease-in-out;
}

.property-contact-form .contact-form {
  margin: 1rem auto;
}

.property-contact-form span {
  width: 100%;
}

.property-contact-form .contact-form h6 {
  text-align: center;
  font-size: 1.5rem;
  margin: 2rem 0;
}

.fa-check {
  color: var(--clr-background-buttons-dark);
}

.image-slider video {
  width: 300px;
}

.property-video {
  width: 100px;
}



@media screen and (min-width: 768px) {
  .image-slider img {
    width: 500px;
  }

  .image-slider video {
    width: 280px;
  }

  .thank-you article {
    margin-top: 15rem;
  } 

  .thank-you article p {
    font-size: 1.7rem;
  } 
}

@media screen and (min-width: 912px) {

  .property-description{
    grid-column: 1 / -1;
  }

  .property-hero h1 {
    font-size: 2.4rem;
  }

  .image-slider img {
    width: 700px;
  }

  .image-slider video {
    width: 900px;
  }

  .faq {
    display: grid;
   grid-template-columns: 1fr 1fr;

  }

  .faq article {
    padding: 10rem 0;
    font-size: 1.3rem;
  }

  .faq  h5 {
    padding: 10rem 0;
    font-size: 2rem;
  }

  .faqs-box {
    grid-column: 2 / -1;
  }

  .section-property-information{
    grid-template-columns: repeat(3, 1fr);
  }

  .section-property-information .contact-an-agent {
    align-self: end;
    grid-column: 2 / -1;
  }

  .section-property-information article h4 {
    width: 13rem;
  }
  .property-contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .contact-form form .btn {
    font-size: 0.8rem;
  }

  .image-slider .property-video {
    width: 400px;
  }
}
.thank-you article h1 {
  font-size: 5rem;
} 

.thank-you article p {
  font-size: 1rem;
} 

.thank-you  {
  height: 70vh;
} 

.thank-you article {
  margin-top: 10rem;
} 

/*************** Footer *********************/
footer {
  background-color: var(--clr-background-black);
  display: grid;
  justify-items: center;
  row-gap: 3rem;
  padding: 2rem;
  grid-template-areas:
  "links"
  "social"
  "logo"
  "copyright"
  ;
}

.footer-links {
  grid-area: links;
  display: grid;
  text-align: center;
  font-size: var(--ff-size-default);
}

.footer-links ul {
  line-height: 2.5rem;
  text-transform: capitalize;
}

footer h4 {
  color: var(--clr-primary-medium);
}

.footer-links a {
  color: var(--clr-primary-medium);
  font-size: var(--ff-size-default);
  font-weight: 300;
  text-transform: capitalize;
}

.footer-links a:hover {
  color: var(--clr-primary-medium);
  transition: var(--transition);
}

.footer-contact-info {
  text-align: center;
  color: var(--clr-primary-medium);
  font-size: 1rem;
  font-weight: 300;
  display: grid;
  row-gap: 0.5rem;
}

.footer-contact-info a {
  color: var(--clr-primary-medium);
  font-weight: 300;
}

.footer-social-icons {
  grid-area: social;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  -moz-column-gap: 1rem;
       column-gap: 1rem;
  width: -webkit-min-content;
  width: -moz-min-content;
  margin: 1rem auto;
  font-size: 0.3rem;
}

.footer-logo {
  grid-area: logo;
  align-self: center;
}

.footer-logo a {
  color: var(--clr-primary-medium);
}

.copyright {
  grid-area: copyright;
  color: var(--clr-primary-light);
  text-align: center;
  font-size: var(--ff-size-small);
  margin-bottom: 0;
}

.copyright p {
  margin: 0;
  font-weight: 300;
}

.author {
  font-size: 0.6rem;
  font-weight: 300;
  margin: 0;
}

.author a {
  color: var(--clr-primary-light);
}

.whatsapp-icon{
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  width: 6.2rem;
  z-index: 1;
  padding: 0.9rem;
}

.whatsapp-icon img {
  width: 100%;
  height: 100%;
}

@media screen and (min-width: 768px) {
  footer {
    row-gap: 0rem;
    grid-template-areas:
      "links social logo"
      "copyright copyright copyright"
      ;
  }
}
/******************************************/
