
body, html {
    padding: 0;
    margin: 0;
    font-family: arial, sans-serif;
    font-size: 16px;
}
p {
    font-size: 16px;
    line-height: 1.2;
}
nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 10px solid #733716;
    padding: 0 15px;
}
ul.nav-links{
    display: flex;
    list-style: none;
    color: #3E4540;
    font-family: sans-serif;
    font-size: 16px;
    font-weight: bold;
}
.nav-links li {
    margin-right: 10px;
}
.nav-links li a,
.mobile-nav-links a {
    color:#3E4540;
    text-decoration: none;
}
.nav-links li a:hover {
    color:#733716;
}
ul.mobile-nav-links {
    display: none;
    overflow: hidden;
    grid-template-rows: 0fr;
    transition: grid-template-rows 1s;
    padding: 0;
}
.nav-items {
    visibility: hidden;
    min-height: 0;
    transition: visibility 1s;
}
ul.mobile-nav-links.show .nav-items {
    visibility: visible;
}
ul.mobile-nav-links li {
    padding-bottom: 15px;
    list-style: none;
}
ul.mobile-nav-links.show {
    grid-template-rows: 1fr;
}
mobile-nav-links a {
    transition-duration: .25s;
    transition-timing-function: ease-in-out;
}
.hamburger {
    display: none;
}
.hamburger.show .fa-bars {
    color: #733716;
}
.hamburger.show .fa-bars:before {
    content: "\f00d";
}
main {
    margin: 0 auto;
    max-width: 1200px;
    min-height:100%;
    position: relative;
}
h1 {
    text-align: center;
    font-size: 40px;
    color: #3E4540;
}
h2 {
    text-align: center;
    font-size: 32px;
    color: #3E4540;
}
.property-group {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-evenly;
    width: 80%;
    margin: 0 auto;
}
.property-card {
    width: 300px;
    margin-bottom: 15px;
    position: relative;
}
.property-card .gradient {
    height: 250px;
    width: 250px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: grey;
    opacity: .5;
    color: white;
    font-size: 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.property-card img {
    height: 250px;
    width: 250px;
    object-fit: cover;
}
footer {
    background-color: #3E4540;
    color: #FFFFFF;
    padding: 20px;
    font-family: arial, sans-serif;
}
i.fa-solid.fa-bars {
    font-size: 2em;
    color: #3E4540;
}
 div#slick-carousel-gallery {
    margin: 40px 0;
}
.carousel .slick-slide {
      height:  400px;
    width: 400px;

}
.carousel img {
    display: block;
    height:  400px;
    width: 400px;
    object-fit: cover;
}

.carousel .slick-prev,
.carousel .slick-next {
    padding: 10px;
    position: absolute;
    top: 50%;
    z-index: 1;
    cursor: pointer;
    zoom: 2;
}
.carousel .slick-prev {
    left: 0;
}
.carousel .slick-next {
    right: 0;
}
span.property-title {
    font-size: 20px;
    font-weight: 700;
    color: #733716;
}
.fa-chevron-circle-left:before, .fa-circle-chevron-left:before {
    content: "\f137";
    color: #fff;
    font-size: 1em;
}
.fa-chevron-circle-right:before, .fa-circle-chevron-right:before {
    content: "\f138";
    color: #fff;
    font-size: 1em;
}
.enlarge {text-align: center;}
.tax {
    font-size: 18px;
    color: #3E4540;
    font-weight: bold;
}
section.btn-container {
    display: flex;
    flex-direction: row;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
}
.btn-container .button {
    color: #FFFFFF;
    text-decoration: none;
    margin: 0 10px 20px 0;
    padding: 14px 30px;
    border-radius: 999px;
    font-weight: bold;
    background-color: #25810e;
    transition: all .1s;
}
.btn-container .button:hover {
    background: #2fa50e;
}
.property-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
section.sales-card {
    width: 400px;      
    box-shadow: 0px 4px 40px rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 20px;

}
section.sales-card p {
    font-size: 18px;
    line-height: 1.4;
}
.house {
    text-align: center;
}
i.fa-solid.fa-house {
    color: #733716;
    font-size: 2em;
}
.question {
    font-size: 28px;
    font-weight: bold;
    color: #733716;
}

/*form styles */
form { max-width:420px; margin:50px auto; }

.input {
  color:#333;
  font-family: Helvetica, Arial, sans-serif;
  font-weight:500;
  font-size: 18px;
  border-radius: 5px;
  line-height: 22px;
  background-color: transparent;
  border:2px solid #333;
  transition: all 0.3s;
  padding: 13px;
  margin-bottom: 15px;
  width:100%;
  box-sizing: border-box;
  outline:0;
}

.input:focus { border:2px solid #CC4949; }

textarea {
  height: 150px;
  line-height: 150%;
  resize:vertical;
}

[type="submit"] {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  width: 100%;
  background:#4F7942;
  border-radius:5px;
  border:0;
  cursor:pointer;
  color:white;
  font-size:24px;
  padding-top:10px;
  padding-bottom:10px;
  transition: all 0.3s;
  margin-top:-4px;
  font-weight:700;
}
[type="submit"]:hover { background:#25810e; }

section.info-card {
    margin: 10px auto;
    padding: 33px;
}

section.info-card .title {
    font-size: 20px;
    font-weight: bold;
    padding-bottom: 10px;
    color: #3E4540;
    margin-top: 10px;
}
.fa-phone, .fa-envelope {
    margin: 0 15px 10px 0;
    font-size: 1em;
}

.error-message, .success-message {
    color: #b20000;
    font-weight: bold;
    text-align: center;
    margin: 10px 0;
}
.success-message {
    color: #25810e;
}
@media (max-width: 450px) {
    section.btn-container {
        flex-direction: column;
    }
}
@media (max-width: 640px) {
    ul.nav-links {
        display: none;
    }
    .hamburger {
        display: block;
        position: absolute;
        top: 15px;
        right: 15px;
    }
    nav {
        flex-direction: column;
        align-items: flex-start;
    }
    ul.mobile-nav-links {
        display: grid;
    }
    h1 {font-size: 32px;}
    h2 {font-size: 28px;}
    .question {font-size: 24px;}
    .property-card,
    .property-container {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    .property-container section.sales-card {
        margin-bottom: 15px;
        width: fit-content;
    }
    .property-card .gradient {
        height: 100%;
        width: 100%;
        font-size: 50px;
    }
    .property-card img {
        height: 100%;
        width: 100%;
    }
    .carousel .slick-slide {
        height: 300px;
    }
    .carousel img {
        height: 300px;
        width: 100%;
    }
    .carousel .slick-prev, .carousel .slick-next {
        top: 40%;
    }
    .property-group {
        width: 100%;
    }
}
@media screen and (max-width: 800px) {
    .property-group {
        width: 100%;
    }
}
@media screen and (max-width: 1200px) {
    main {
        padding: 20px;
    }
}