@import url('https://fonts.googleapis.com/css2?family=Allerta+Stencil&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@500&display=swap');

* {
  box-sizing: border-box;
}

body {
  margin: 0px auto;
  padding: 0px;
  line-height: 1.6em;
  font-size: 1em;
  display: flex;
  flex-direction: column;
  background: #DEE1E6;

}

a {
  text-decoration: none !important;
}



.nav-container {
  margin: 0 auto;
  background: #f8f9fa;
  width: 100%;
  position: fixed;
  font-family: 'Work Sans', sans-serif;
  z-index: 20;
}

.nav {
  display: flex;
  flex-direction: row;
  width: 75%;
  margin: 0 auto;
  height: 85px;
}

.list {
  display: flex;
  justify-self: center;
  list-style: none;
  justify-content: flex-end;
  width: 80%;
  color: black;
  margin-top: 2em;
  font-size: 1em;
}


.logobar {
  display: flexbox;
  margin: -8px auto;
  margin-bottom: 6px;
  width: auto;
  height: 80px;
  margin-top: 1px;
}

li {
  padding-left: 40px;
}

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

.banner {
  height: 98vh;
  flex-direction: column;
  text-align: center;
  width: 100%;
  color: white;
  background: url('../image/banner.min.jpg');
  background-size: cover;
  border-radius: 0px;
}

.banner h1 {
  font-family: 'Kanit', sans-serif;
  margin: auto;
  font-size: 5.1em;
  text-shadow: 0.2px 2px 22px #22222240;
  background: #000000cf;
  border-radius: 7px;
  padding: 10px;
}

.banner h4 {
  font-family: 'Kanit', sans-serif 'lighter';
  font-weight: 500;
  width: 52%;
  margin: 37px auto;
  padding: 15px;
  color: #000;
  border-top: 5px solid #fff;
  background: #ffde61d4;
  border-radius: 11px;
  font-size: 1.7em;
}

.process {
  margin: 0 auto;
  padding: 25px;
}

.banner-btn {
  font-size: 1.7em;
  margin-top: 1em;
  width: max-content;
  margin: 49px auto;
  border-radius: 6px;
  padding: 0.5em;
  background-color: #000;
}

.banner-btn:hover {
  color: black;
  background-color: #ffff;
  transition: width 1s, height 1s, ease 0.5s;

}

.banner-btn:hover a {
  color: black;
}


.content {
  padding: 65px 0;
  margin: 0 auto;
  border-top: 2px solid rgba(119, 136, 153, 0.493);
  border-bottom: 2px solid rgba(119, 136, 153, 0.493);
  margin-top: 5vw
}

.icon {
  align-self: center;
  padding-right: 10px;
  float: left;
  padding-bottom: 25px;
}

.col {
  padding: 10px;
  flex-basis: auto;
}

.content,
.icon,
.banner {
  display: flex;
}

.primary,
.secondary,
.tertiary {
  display: flex;
  width: 100%;
}

.primary p,
.secondary p,
.tertiary p {
  align-self: center;
  padding-left: 15px;
}

.main-footer {
  margin-top: auto;
  background: rgb(222, 225, 230);
  text-align: center;
  padding: 20px;
  font-size: 12px;
}

.form {
  width: 83%;
  padding: 4rem;
  background: white;
  display: block;
  box-shadow: .5em 0 2em rgba(41, 41, 41, 0.29);
  margin: auto;
  border-radius: 15px;
  margin-top: 4vh;
}


input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  margin-bottom: 20px;
  border-radius: 20px;
  background: #eaeceb;
  border-color: transparent;
  font-size: 0.95em;
  outline: 0;
  padding: 10px;
  color: #6e6b6be5;
}

.name-container,
.email-container {
  width: 50%;
}

.name-container {
  float: left;
  padding-right: 10px;
}

.email-container {
  float: right;
}

label {
  padding: 20px 0;
}

.cleanfix {
  width: 65%;
  margin: 0 auto;
  display: block;
}

legend {
  font-size: 1.2em;
  padding: 10px 0;
}

.form-container {
  background-color: #fbf2ac;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.27'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  padding: 1em;
  width: 100%;
  margin-top: 6em;
  border: none;
}



article {
  width: 60%;
  margin: auto;
}

.content-intro {
  text-align: center;
  width: 70%;
  margin: auto;

  margin-top: 2vw;
}

.content-intro .title::before {
  content: "";
  display: block;
  width: 100%;
  height: 5px;
  background: #a6a6a5;
  position: absolute;
  top: 23px;
  left: 0;
}

.content-intro .title,
.how h3,
.why h3,
.review h3 {
  background: #fff;
  position: relative;
  z-index: 10;
  margin: auto;
  font-weight: bolder;
}

.title.how h3 {
  width: 14vh;
  margin-bottom: 1em;
}

.title.why h3 {
  margin-bottom: 1em;
  width: 18vh;
}


@media (min-width: 768px) {
  .col-md-6 {
    max-width: 40%;
    margin: auto;
  }
}



.content-intro {
  font-family: 'Open Sans', sans-serif 'bolder';
  width: 89%;
  font-size: 1.1em;
  line-height: 33px;
}

.wave {
  position: absolute;
  top: -5.2vw;
  width: 100.7vw;
  left: -54px;
}


.wave-parent {
  position: sticky;
  left: 0;
  bottom: 5vw;
  width: 100%;
}

.banner-info {
  font-family: 'Open Sans', sans-serif;
  margin: auto;
  letter-spacing: 0.1em;
  top: 2rem;
  position: relative;
  font-size: 1em;
}

.container {
  max-width: 1440px;
  width: 100%;
  border-radius: 12px;
  margin-top: 14vh;
  z-index: 8;
  background: #F1F3F4;
  padding: 50px;
  font-family: 'Montserrat', sans-serif;
}


/* slick.css | http://127.0.0.1:5500/slick/slick.css */

.slick-slide img {
  max-width: 21vw;
}

/* slick-theme.css | http://127.0.0.1:5500/slick/slick-theme.css */

.slick-dotted.slick-slider {
  margin: auto;
}

.wave>path:nth-child(1) {
  fill: #dee1e6;
}

.features .feature_detail .wrap {
  display: table-cell;
  vertical-align: middle;
  padding: 0 100px;
}


img {
  border: 0;
  border-radius: 10px;
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

.row {
  margin-top: 2.5em;
  padding: 2em;
}

.content img {
  width: 50%;
}


.primary,
.secondary,
.tertiary {
  width: 20%;
  flex-direction: column;
  padding: 25px;
  border: 1px solid white;
  margin: 0 12px;
  border-radius: 15px;
  box-shadow: 1px 1px 5px #0006;
}


.content img {
  width: 25%;
}


.content {
  text-align: center;
}


.content>div:nth-child(1) {
  position: absolute;
  padding: 65px 0;
  width: 100%;
}


.content {
  position: relative;
}


.content>div:nth-child(1)>h3:nth-child(1) {
  background: #F1F3F4;
  width: 10em;
  margin: auto;
}



.content>div:nth-child(1) {
  /* display: none; */
  position: absolute;
  margin: -149px auto;
  width: 100%;
}


.wp {
  margin-top: -10px;
  height: 25px;
  width: auto;
}

.h3,
h3 {
  margin-bottom: 2em;
}

.wrap {
  padding: 10px;
  line-height: 31px;
}

.container a {
  border-bottom: #ffde61 6px solid;
}

.bg-light {
  width: 70%;
  margin: auto;
  padding: 0;
  border-bottom: 4px solid #ffde61;

}

header {
  background: #f8f9fa;
}

.navbar.navbar-expand-sm.bg-light.navbar-light {
  padding: 0;
}

.form-check-label {
  padding: 0;
}


.form-check {
  margin-bottom: 2em;
}

.description-container {
  margin-bottom: 1em;
}

#map {
  height: 400px;
  width: auto;
  margin: auto;
  border-radius: 15px;
  /* The width is the width of the web page */
}

.texture {
  background: url('../image/texture.jpg');
  background-size: auto;
  background-size: cover;
  border-radius: 0px;
}

.exterior {
  background: url('../image/livingroom2.jpg');
  background-size: auto;
  background-size: cover;
  border-radius: 0px;
}

.interior {
  background: url('../image/livingroom.jpg');
  background-size: auto;
  background-size: cover;
  border-radius: 0px;
}

.door {
  background: url('../image/house.jpg');
  background-size: auto;

  border-radius: 0px;
}


@media (max-width: 769px) {

  .banner h1 {
    /* font-size: 5.1em; */
    font-size: 3.1em;
  }

  .banner h4 {
    /* font-size: 1.7em; */
    font-size: 1em;
  }

  .wave {
    /* width: 101.5vw; */
    width: 100.5vh;
  }

  .content {
    display: flex;
    flex-direction: column;
  }

  .primary,
  .secondary,
  .tertiary {
    /* width: 20%; */
    width: 100%;
    margin-top: 1em;
  }

  .row {
    /* padding: 2em; */
    padding: 0em;
  }

  #map {
    /* width: 75%; */
    width: 100%;
  }


  /* styles.css | http://127.0.0.1:5500/css/styles.css */

  .form {
    /* width: 83%; */
    /* padding: 4rem; */
    width: auto;
    padding: 2rem;
  }

  .cleanfix {
    /* width: 65%; */
    width: 95%;
  }

  .jumbotron {
    padding: 0;
  }


  .wave-parent {
    overflow: hidden;
  }

  .container {

    margin-top: 2vh;

  }

  .logobar {
    height: 60px;
  }

  .bg-light {
    width: 85%;
  }

  .banner-btn {
    width: 75%;
  }

  p {
    font-size: 17px;
  }


  .container>h3:nth-child(5) {
    margin-bottom: 20px;
    border-top: 2px solid #00000078;
    border-top: 2px solid rgba(119, 136, 153, 0.493);
    padding-top: 2em;
  }

  .banner h1 {
    border-radius: 0;
  }

}