@import url('https://fonts.googleapis.com/css2?family=Kodchasan&display=swap');

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Kodchasan', sans-serif;
  font-size: 16px;
  scroll-behavior: smooth;
}


.wrapper{
  width: 100%;
  background: black;
}

.hero{
  position: relative;
  background: #f6f8f9;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

nav{
  width: 100%;
  height: 80px;
  background: white;
  display: flex;
  justify-content: space-between;
  position: relative;


}

.logo img{
  width: 50px;
  height: 70px;
  float: left;
  margin-left: 100px;
  margin-top: 5px;
}

.logo h3{
  font-size: 2rem;
  color: grey;
  float: right;
  margin-top: 20px;
  margin-left: 30px;
  letter-spacing: 5px;
  text-transform: uppercase;
}

ul{
  list-style: none;
  margin-right: 70px;

}

ul li{
  display: inline-block;
  margin-top: 25px;
  margin-left: 30px;
  margin-right: 30px;

}

ul li a{
  position: relative;
  text-decoration: none;
  font-size: 1.3rem;
  padding: 5px;
  color: black;
  text-transform: uppercase;
}

ul li a:after{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0px;
  height: 100%;
  border-bottom: 1px solid powderblue;
  transition: 0.5s linear;
}

ul li:hover  a:after{
  width: 100%
}



.line{
  width: 25px;
  height: 2px;
  margin-bottom: 3px;
  background:  black;
  display: block;
}

.hero-image{
  width: 50%;
  height: 70%;
  position: absolute;
  top: 20%;
  right: 100px;

}


.hero-image img{
  width: 100%;
  height: 100%;
}

.hero-text{
  display: flex;
  flex-direction: column;
  width: 30%;
  height: 70%;
  position: absolute;
  top: 20%;
  left: -200px;
  text-align: center;
  transform: translateX(60%);
  transition: 1.2s linear;
  box-shadow: 2px 2px 7px #d5dee4,
              -4px -4px 6px #fff;

}


.hero-text p{
  font-size: 1.5rem;
  line-height: 3;
  margin-top: 80px;
  text-transform: uppercase;

}

.hero-link{
  width: 200px;
  height: 40px;
  text-decoration: none;
  position: absolute;
  bottom:-80px;
  left: 8rem;
  transform: translateY(-500%);
  transition: 1.2s linear;
  background: lightblue;
  text-align: center;
  padding-top: 5px;
}

.hero-link a{
  font-size: 1.3rem;
  text-transform: uppercase;
  text-decoration: none;
  color: white;


}

.bg1{
  background-image: url(img/bg2-min.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 500px;
  background-attachment: fixed;
}


.about{
  width: 100%;
  height: 100vh;
  text-align: center;
  background: #fff;

}

.about h2{
  padding-top: 50px;
  font-size: 2rem;
  letter-spacing: 5px;
  text-transform: uppercase;
}
.about-wrap{

  width: 100%;
  height: 80vh;
  display: flex;
  align-items: center;
}
.about-text1{
  position: relative;
  width: 30%;
  height: 400px;
  background-image: url(img/bg4.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 30px;
  cursor: pointer;
}
.about-text1:after{
  width: 70%;
  height: 70%;
  position: absolute;
  left: 10%;
  top: 10%;
  font-size: 1.3rem;
  line-height: 2rem;
  padding: 30px;
  background: white;
  opacity: 0.9;
  text-align: center;

  content: "Keeping your home clean and fresh can be a time consuming task.  We take the hassle out of everyday cleaning, so you have more time to do the things you love.";
  visibility: hidden;
  transition: 0.5s ease;

}

.about-text1:hover:after{

  visibility: visible;

}
.about-text2{
  position: relative;
  width: 30%;
  height: 400px;
  background-image: url(img/bg5.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 30px;
  cursor: pointer;
}

.about-text2:after{
  width: 70%;
  height: 70%;
  position: absolute;
  left: 10%;
  top: 10%;
  font-size: 1.3rem;
  line-height: 2rem;
  padding: 30px;
  background: white;
  opacity: 0.9;
  text-align: center;

  content: "Moving house can be exhausting in itself. We will prepare your house ready for the new occupants whether you have sold the house or be it a rental.";
  visibility: hidden;
  transition: 0.5s ease;

}

.about-text2:hover:after{

  visibility: visible;

}
.about-text3{
  position: relative;
  width: 30%;
  height: 400px;
  background-image: url(img/bg6.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 30px;
}

.about-text3:after{
  width: 70%;
  height: 70%;
  position: absolute;
  left: 10%;
  top: 10%;
  font-size: 1.3rem;
  line-height: 2rem;
  padding: 30px;
  background: white;
  opacity: 0.9;
  text-align: center;

  content: "We will ensure that your day to day working areas are free of allergens and dust, and left your office clean and fresh.";
  visibility: hidden;
  transition: 0.3s ease-in;

}

.about-text3:hover:after{

  visibility: visible;

}


.bg2{
  background-image: url(img/bg8-min.jpg);
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 500px;
  background-attachment: fixed;
}

.contact  {
  position: relative;
  width: 100%;
  height: calc(100vh - 5vh);
  display: flex;
  align-items: center;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
form{
  display: flex;
  flex-direction: column;
}

input, textarea{
  border: none;
  border-bottom: 2px solid lightblue;
  padding: 5px;
  margin: 20px;
}
.btn{
  width: 200px;
  height: 40px;
  background: lightblue;
  text-transform: uppercase;
  color: white;
  outline: none;
  border: none;
  margin-left: 20px;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 2px 2px 7px #d5dee4,
              -4px -4px 6px #fff;

}
.btn:active{

  box-shadow: inset -2px -2px 7px #fff,
              inset 4px 4px 6px #d5dee4;

}
h4{
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: center;
  text-transform: uppercase;
}

.contact-content{
  width: 40%;
  height: 65%;
  margin-right: 50px;
  box-shadow: 2px 2px 7px #d5dee4,
              -4px -4px 6px #fff;
}

.top {
  position: absolute;
  right: 20px;
  bottom: 20px;

}

.top a{
  color: black;

}

.footer{
  width: 100%;
  height: 5vh;
  text-align: center;
  background: darkgrey;
  color: white;
  font-size: 1rem;

}
.footer p{
  font-size: 1rem;
  padding-top: 10px;
}




@media all and (max-width: 1200px) {
  .logo h3{
    font-size: 1.5rem;
    margin-left: 10px;
  }
  .logo img{
    margin-left: 50px;
  }
  ul li a{
    font-size: 1.1rem;

  }
  ul li{

    margin-top: 25px;
    margin-left: 10px;
    margin-right: 10px;

  }



  iframe{
    width: 450px;
    height: 300px;
  }
  .hero-image{

    right: 50px;
    height: 60%;

  }
  .hero-text{
    width: 30%;
    height: 60%;
    position: absolute;
    top: 20%;
    left: 50px;
    transform: translateX(0%);
  }
  .hero-text p{
    font-size: 1.2rem;

  }

  .hero-link{
    width: 150px;
    height: 30px;

    text-decoration: none;
    position: absolute;
    bottom : 30%;
    left: 20%;
    transform: translateY(0%);

  }

  .hero-link a{
    padding-bottom: 5px;
    font-size: 1rem;


  }

  .about-text1:after{
    width: 80%;
    height: 80%;
    position: absolute;
    left: 5%;
    top: 5%;
    font-size: 1rem;
    padding: 10px;
  }
  .about-text2:after{
    width: 80%;
    height: 80%;
    position: absolute;
    left: 5%;
    top: 5%;
    font-size: 1rem;
    padding: 10px;
  }
  .about-text3:after{
    width: 80%;
    height: 80%;
    position: absolute;
    left: 5%;
    top: 5%;
    font-size: 1rem;
    padding: 10px;
  }
}


@media all and (max-width: 880px) {
  .logo h3{
    font-size: 1rem;
    margin-left: 15px;
    margin-top: 30px;
  }
  .logo img{
    width: 30px;
    height: 45px;
    margin-left: 5px;
    margin-top: 15px;
  }
  .hero-link {
    display: none;

  }


    .hero-image{
      width: 100%;
      height: 70%;
      position: absolute;
      top: 20%;
      left: 0;
    }



    .hero-text{

      width: 70%;
      height: 50%;
      position: absolute;
      margin: 20px auto;

      text-align: center;
      transform: translateX(0%);
      transition: 0s;
      background: rgba(255, 255, 255, 0.6);

    }



    .hero-text p{
      font-size: 1.2rem;
      font-weight: 600;
      line-height: 3;
      margin-top: 50px;
      }
      .about h2{
        padding-top: 40px;
        font-size: 1.5rem;

      }
  #home{
    display: none;
  }
  ul li a{
    font-size: 1rem;

  }
  ul li{

    margin-top: 30px;
    margin-left: 5px;
    margin-right: 0;

  }

  .about{
    width: 100%;
    height: 1200px;
    text-align: center;
  }
  .about-wrap{

    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .about-text1{
    position: relative;
    width: 70%;
    height: 100%;

    }
  .about-text2{
    position: relative;
    width: 70%;
    height: 100%;

  }
  .about-text3{
    position: relative;
    width: 70%;
    height: 100%;
  }
  .contact  {
    display: flex;
    flex-direction: column;
    padding-top: 50px;
    height: auto;
  }
  .bg1{
    height: 0px;
  }
  .bg2{
    height: 0px;
  }
  .contact-content{
    margin: 50px auto;
    width: 90%;
    height: 65%;
}
iframe{
  width: 400px;
  height: 350px;
  margin-bottom: 20px;

}

}


@media all and (max-width: 550px) {

  nav{
    flex-direction: column;
    align-items: center;

  }
  ul{
    margin-left: 20%;

  }
  ul li{

    margin-top: 0px;
    margin-left: 10px;
    margin-right: 0;


  }
  .logo h3{
    font-size: 1.1rem;
    float: right;
    margin-top: 10px;
    margin-left: 20px;


  }
  .hero-link {
  display: none;
  }

  .maps{
    display: none;
  }



  .hero-image{
    width: 100%;
    height: 70%;
    position: absolute;
    top: 20%;
    left: 0;
  }



  .hero-text{

    width: 70%;
    height: 50%;
    position: absolute;
    margin: 20px auto;

    text-align: center;
    transform: translateX(0%);
    transition: 0s;
    background: rgba(255, 255, 255, 0.6);

  }



  .hero-text p{
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 3;
    margin-top: 50px;
    }
    .about h2{
      padding-top: 40px;
      font-size: 1.5rem;

    }
    .btn{
      width: 90%;
    }

  }
