html {
  box-sizing: border-box;
}
* {
  box-sizing: border-box;
}

.pure-g {
  letter-spacing: 0 !important;
}

.submit-btn.success {
  padding: 0 !important;
}

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

ul {
    padding: 0;
}

.img-contain img {
  object-fit: contain !important;
}

.text-b {
  font-weight: bold !important;
}

.text-u {
  text-transform: uppercase !important;
}

@media (max-width: 1024px) {
  .hero-sec {
    height: 900px !important;
  }

  .sec-2-text {
    align-items: center;
  }

  .sec-2-h {
    text-align: center !important;
  }

  .sec-2-p {
    text-align: center !important;
  }

  .hero-sec {
    height: 700px !important;
  }

  .nav ul a {
    justify-content: space-around !important;
    font-size: 13px !important;
  }

  .nav-logo img {
    display: block !important;
    margin: 0 auto !important;
  }

  .sec-7-logo-column {
    padding-left: 50px !important;
  }

  .sec-7-logo {
    width: 200px;
  }

  .sec-2>div {
    padding: 60px 30px;
  }

  .get-in-touch {
    text-align: center !important;
  }
}

@media (max-width: 768px) {

  #searchInput{
    width: 350px !important;
    height: 35px !important;
  }

  .nav ul {
    margin:1rem 0 2rem!important;
    gap: 0.5rem;
    justify-content: center !important;
  }

  .hero-sec {
    height: 520px !important;
  }

  .hero-text {
    margin-top: 200px !important;
    padding: 30px 16px!important;
  }

  .vertical-menu ul, .vertical-menu-search ul {
    width: 250px !important;
  }

  .sec-2>div {
    padding: 30px 20px;
  }

  .sec-3>.header {
    padding: 50px 10px;
  }

  .mySlides img {
    margin: 50px auto 12px !important;
  }

  .slideshow-container {
    height: 570px !important;
  }

  .sec-7-column {
    text-align: center !important;
    padding: 40px !important;
  }

}

@media (max-width: 568px) {
  .button-width {
    max-width: 90% !important;
  }

  .nav ul a {
    font-size: 12px !important;
  }

  .nav-logo .wide-logo {
      max-width: 140px !important;
  }

  .hero-h {
    font-size: 48px !important;
  }

  #searchInput{
    width: 280px !important;
    height: 30px !important;
  }

  .sec-listings {
    padding: 50px 0 0;
  }

  .agent-light {
    padding: 0 20px 35px;
  }

  .paragraf {
    margin: 22px auto;
  } 

  .sec-agent-bio .agent-photo {
    width: 270px !important;
    height: 270px !important;
  }

  .mySlides img {
    margin: 30px auto 12px !important;
  }

  .slideshow-container .txt div:first-child {
    max-height: 340px !important;
  }

  .mySlides-img {
    margin: 10px auto 16px !important;
  }
}

@media (max-width:480px) {
  .nav ul a {
    font-size: 11px !important;
  }
}

@media (max-width:320px) {

  .nav .nav-logo {
    padding: 0.2rem 0 0 !important;
  }

  .sec-agent-bio .agent-photo {
    width: 220px !important;
    height: 220px !important;
  }

  .paragraf {
    margin: 22px auto;
  } 
}

/* desktop styles */

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  width: 100vw !important;
  position: relative;
}

.header {
  font-size: var(--h1-font-size);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  margin: 30px 0;
  text-align: center;
}

.h2 {
  margin:40px 0;
  font-size: var(--h2-font-size);
  font-weight: 600;
  text-align: center;
}

.h3 {
  font-size: var(--h3-font-size);
  font-weight: 600;
  margin:10px 0;
}

.paragraf {
  font-size: var(--body-font-size);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
  text-align: center;
  margin: 32px auto;
}

/* Navbar */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    z-index: 22;
}

  .nav .nav-logo {
      display: flex;
      justify-content: center;
      padding: 0.5rem 0;
  }

  .nav .nav-logo .wide-logo {
      width: 220px;
      max-height: 130px;
      margin: 10px 0;
      object-fit: contain;
  }

  .nav .nav-logo .square-logo {
      max-width: 65px;
      max-height: 65px;
      margin: 10px 0;
      object-fit: contain;
  }

  .nav ul {
    margin:0 3rem 0 0;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    list-style: none;
  }

  .nav ul a {
      font-weight: bold;
      text-transform: uppercase;
      font-size: 14px;
  }

  .fade-active, .fade-active2 {
    background-color: #000 !important;
    opacity: 0.6 !important;
    z-index: 0 !important;
  }

  /*agent bio*/
  .sec-agent-bio {
    margin: auto;
    padding: 100px 10px;
    font-size: var(--body-font-size);
    font-weight: 300;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #000;
  }

  .sec-agent-bio > div[data-type='text'] {
      padding: 0 16px;
  }

  .sec-agent-bio > h1[data-type='headline'] {
      padding: 0 16px;
  }

  .sec-agent-bio > h2[data-type='headline'] {
      padding: 0 16px;
  }

  .sec-agent-bio > a[data-type='button'] {
      margin: 0 16px;
  }

  .sec-agent-bio .agent-photo {
    width: 380px;
    height: 380px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 40px;
  }

  .sec-agent-bio .links {
      display: flex;
      text-align: center;
      margin-top: 40px;
      color: #000;
  }

  .sec-agent-bio .links>div {
      width: 50%;
      padding: 20px 0;
  }

  .sec-agent-bio .links>div:first-child {
      border-right: 3px solid #ccc;
  }


/* hero section */
.hero-sec {
  background-color:  #fff;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 980px;
  width: 100vw;
  overflow: hidden;
}

.hero-text {
  width: fit-content;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  margin: 300px auto 20px;
  padding: 30px 50px;
  background-image:  radial-gradient(closest-side, rgba(0, 0, 0, 0.2) 0%,rgba(0, 0, 0, 0.1) 80%, transparent);
}

.hero-h {
  font-size: var(--h1-font-size);
  font-weight: 400;
  line-height: 1;
  text-align: center;
  margin: 0;
  text-transform: capitalize;
}

.link {
  transition: .3s ease;
  cursor: pointer;
  text-decoration: none;
}

.link:hover {
  transform: scale(1.1);
}

.hero-p {
  font-size: var(--h2-font-size);
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  margin: 0;
}

/* section 2 */
.sec-2 {
  width: 100vw;
  background-color:  #339933;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.sec-2-img {
  padding:80px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sec-2-img img{
  width: 100%;
  max-width: 300px !important;
  height: 350px;
  object-fit: cover;
}

.sec-2-text {
  padding: 40px 40px 40px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
}

.sec-2-h {
  text-align: left;
  margin: 16px 0;
  color: #fff;
}

.sec-2-p {
  font-size: calc(var(--body-font-size) * 1.2);
  font-weight: 400;
  line-height: 1.4;
  color: #fff;
  letter-spacing: 0.5px;
  text-align: left;
  margin: 16px 0;
}

 .sec-2-button {
  text-align: center;
  max-width: 240px;
  color: #000;
  background-color: #fff;
  border: none;
  border-radius: 28px;
  padding: 18px 32px;
  text-decoration: none;
  font-size: var(--button-font-size);
}

/* section 5 slider */
  .txt .paragraf{
   font-size: calc(var(--body-font-size)*0.8);
  }

  .header .slider-h {
    padding: 0 30px;
  }

#searchInput{
  width: 500px;
  height: 40px;
  border-radius: 30px;
  border: none;
  padding: 10px 20px 10px 45px;
  color: #000;
  margin-top: 25px;
  box-sizing: border-box;
  background-image: url('../images/search-icon.png');
  background-position: 10px center;
  background-size: contain;
  background-repeat: no-repeat;
}

  .agent-light,
  .agent-light * {
    box-sizing: border-box;
  }

  .agent-light {
    padding: 20px 20px 64px;
    display: flex;
    flex-direction: column;
    gap: 64px;
    align-items: center;
    justify-content: flex-end;
    max-width: 2400px;
    position: relative;
    width: 100%;
  }
  .frame-2085664017 {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    max-width: 1280px;
    position: relative;
  }
  .listing-title {
    display: flex;
    flex-direction: column;
    gap: 19px;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    flex-shrink: 0;
    max-width: 1600px;
    position: relative;
  }
  .get-in-touch {
    text-align: left;
    font-size: 2.3em;
    letter-spacing: normal;
    font-weight: 800;
    position: relative;
    align-self: stretch;
    text-transform: uppercase;
  }
  .frame-2085664016 {
    display: flex;
    flex-direction: row;
    gap: 32px;
    align-items: flex-start;
    justify-content: center;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
    flex-wrap: wrap;
  }
  .frame-2085664027 {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    position: relative;
  }
  .slider3 {
    flex-shrink: 0;
    width: 396px;
    height: 420px;
    position: relative;
    object-fit: contain;
  }
  .frame-1171275523 {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-shrink: 0;
    position: relative;
  }

  .name-designation {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    justify-content: center;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
  }
  .frame-2085664023 {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
  }

  .sarah-sanders {
    text-align: left;
    font-size: 42px;
    letter-spacing: 0 !important;
    font-weight: 400;
    position: relative;
  }

  .sales-representative {
    text-align: left;
    font-size: var(--body-font-size);
    letter-spacing: 1px;
    font-weight: 400;
    position: relative;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .frame-2085664024 {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-shrink: 0;
    position: relative;
  }

  .frame-1171275508 {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    justify-content: center;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
  }

  .frame-2085664019 {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
  }

  .phone {
    text-align: left;
    font-size: var(--body-font-size);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  ._555-867-5309 {
    color: inherit;
    text-align: left;
    font-size: var(--body-font-size);
    font-weight: 400;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .frame-2085664020 {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
  }

  .emailEmail {
    text-align: left;
    font-size: var(--body-font-size);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .sarah-adler-associates-com {
    color: inherit;
    text-align: left;
    font-size: var(--body-font-size);
    font-weight: 400;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .frame-2085664025 {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-shrink: 0;
    position: relative;
  }

  .license {
    text-align: left;
    font-size: var(--body-font-size);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  ._01234567 {
    text-align: left;
    font-size: var(--body-font-size);
    font-weight: 400;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  .frame-2085664022 {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
  }
  .vector-148 {
    /*align-self: stretch;*/
    flex-shrink: 0;
    height: 1px;
    position: relative;
    overflow: visible;
  }

  .office {
    text-align: left;
    font-size: var(--body-font-size);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  ._555-367-2389 {
    color: inherit;
    text-align: left;
    font-size: var(--body-font-size);
    font-weight: 400;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .frame-2085664026 {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-shrink: 0;
    position: relative;
  }
  .address {
    text-align: left;
    font-size: var(--body-font-size);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  ._1234-maplewood-lane-springfield-ca-90210 {
    text-align: left;
    font-size: var(--body-font-size);
    font-weight: 400;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  .frame-20856640262 {
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-content: center;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
  }
  .instagram-line {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    position: relative;
    overflow: visible;
  }
  .tiktok-fill {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    position: relative;
    overflow: visible;
  }
  .facebook-circle-fill {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    position: relative;
    overflow: visible;
  }
  .twitter-x-fill {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    position: relative;
    overflow: visible;
  }
  .linkedin-fill {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    position: relative;
    overflow: visible;
  }
  .youtube-fill {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    position: relative;
    overflow: visible;
  }

  /* Footer */

  .footer {
      justify-content: center;
      text-align: center;
      font-size: 12px;
      padding: 1rem;
  }
  .rechat-logo {
      width: 63px;
      margin-left: 2px;
    }

@media (max-width: 480px) {
    .slider3 {
        width: 300px;
        height: 350px;
    }
    .get-in-touch {
        text-align: center;
    }
    .sec-listings {
      padding: 50px 0 0;
  }

    .frame-1171275523 {
        max-width: 90%;
    }
    .frame-20856640262 {
        gap: 15px;
    }

    .vector-148 {
        width: 280px;
    }
}

@media print {
    .agent-light,
    .meet-our-team {
        page-break-inside: avoid !important;
        padding: 0;
    }
    .slider3 {
        height: 350px;
        width: 300px;
    }

    .frame-20856640262 {
        display: none;
    }

    .get-in-touch {
        text-align: center;
    }

    .frame-2085664016 {
        flex-direction: column;
        align-items: center;
    }
}
