@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;700;800&display=swap");

/* Box Model Hack */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* border: 1px solid red; */
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

/* Clear fix hack */
.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.clear {
  clear: both;
}

.btn {
  display: block;
  margin: 4rem auto;
  width: 240px;
  height: 80px;
  border: none;
  background-color: #00a8ff;
  color: #fff;
  font-size: 18px;
  border-radius: 6px;
  outline: none;
  cursor: pointer;
  transition: 0.3s linear;
}

.btn1:hover {
  transform: rotateX(15deg);
  box-shadow: 0 15px 15px #00a8ff;
}

/******************************************
/* BASE STYLES
/*******************************************/

body {
  background-color: #fff;
  font-family: "Open Sans", sans-serif;
  line-height: 1.4;
  color: #333;
  font-size: 1.6rem;
}

section {
  padding: 10rem 2rem;
}

/******************************************
/* LAYOUT
/*******************************************/
main {
  background-image: url("../img/construction-machine-3412240.jpg");
  background-position: 50% 50%;
  background-size: cover;
  height: 100vh;
  width: 100vw;
}

div.overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  height: 100vh;
  margin: 0;
  background: radial-gradient(#38798970, #000000);
  background-repeat: no-repeat;
  z-index: 1;
}

header {
  width: 90%;
  margin: 0 auto 2rem auto;
  text-align: center;
  position: relative;
  z-index: 999;
}

header a {
  transition: all 0.3s ease-in;
}

header a:hover {
  color: rgba(44, 95, 204, 0.8);
  cursor: pointer;
  transform: scale(1.1);
}

header .left-nav {
  float: left;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  margin: 1rem;
  padding: 1rem;
  font-weight: bold;
}

.right-nav {
  float: right;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  margin: 1rem;
  padding: 1rem;
  font-weight: bold;
}

header img {
  margin: 0 auto;
  text-align: center;
  width: 150px;
}

h1 {
  text-align: center;
  margin: 0 auto;
  margin-top: 12%;
  word-spacing: -2px;
  width: 80%;
  font-weight: 400;
  margin-bottom: 2%;
  font-size: 8rem;
  color: #fff;
  z-index: 999;
  position: relative;
}

.arrow-text {
  width: 60%;
  margin: 0 auto;
  text-align: center;
  cursor: pointer;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 999;
}

.arrow-text a {
  text-decoration: none;
}

.next-link p,
.next-link ion-icon {
  transition: all 0.3s ease-in;
}

.next-link:hover p,
.next-link:hover ion-icon {
  color: rgba(44, 95, 204, 0.8);
  cursor: pointer;
}

.arrow-text ion-icon {
  color: #fff;
  font-size: 64px;
}

main {
  width: 100%;
}

main p {
  text-align: center;
  color: #fff;
  margin: 2rem 5rem;
  width: 80%;
  margin: 0 auto;
  font-size: 3rem;
}

section.why {
  background-color: #f0f0f0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23fefefe' fill-opacity='0.79' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
  text-align: center;
}

section.why > * {
  width: 30%;
  margin: 0 auto;
}

h2 {
  font-size: 4rem;
  text-transform: uppercase;
  margin-bottom: 2rem;
  text-align: center;
}

section.why p {
  font-size: 1.9rem;
}

section.why img {
  width: 20%;
  margin: 4rem;
}

section.why h4 {
  margin: 0 auto;
  margin-bottom: 2rem;
  text-align: center;
}

section.services,
section.services3 {
  background-color: #dbdfe2;
}

#services,
#services3 {
  margin: 0;
  padding: 0;
  display: flex;
  height: 60vh;
}

.left-services,
.left-services3 {
  width: 50%;
  background: url(../img/Foundations.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

.left-services3 {
  background: url(../img/basements.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

.right-services,
.right-services3 {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#services2 {
  margin: 0;
  padding: 0;
  display: flex;
  height: 60vh;
}

.left-services2 {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.right-services2 {
  width: 50%;
  background: url(../img/equipment.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

h3 {
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
  font-size: 4rem;
  text-align: center;
}

section.volunteer {
  text-align: center;
}

.volunteer p {
  width: 40%;
  margin: auto;
  text-align: center;
  margin-bottom: 6rem;
}

footer {
  background-color: #161f2a;
  color: #fff;
  padding: 6rem;
}

.social {
  width: 25%;
  float: left;
}

.social ul {
  margin-bottom: 3rem;
}
.social ul li {
  display: inline-block;
  padding: 0.4rem 1rem 1rem 0;
}

.social ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 1.5rem;
  transition: all 0.2s ease;
}

ion-icon {
  font-size: 3rem;
}

.form-box {
  width: 30%;
  margin: 0 auto;
  padding: 8rem 4rem;
  border-radius: 3px;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px,
    rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}

label {
  font-weight: bold;
  margin-top: 20px;
}
.form-box input,
.form-box label {
  vertical-align: middle;
  padding: 1rem;
  display: block;
  width: 100%;
}

input {
  border-top-style: hidden;
  border-right-style: hidden;
  border-left-style: hidden;
  border-bottom-style: hidden;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px,
    rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}

input:focus {
  outline: none !important;
  border-color: #719ece;
  box-shadow: 0 0 10px #719ece;
}

textarea:focus {
  outline: none !important;
  border-color: #719ece;
  box-shadow: 0 0 10px #719ece;
}
textarea {
  width: 100%;
  height: 250px;
  border-top-style: hidden;
  border-right-style: hidden;
  border-left-style: hidden;
  border-bottom-style: hidden;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px,
    rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
  padding: 1rem;
}

.social ul li a:hover {
  color: rgba(44, 95, 204, 0.8);
}

address {
  margin-top: 1.2rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.contact {
  float: right;
  margin-bottom: 3rem;
}

.contact a {
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease-in;
}

.contact a:hover {
  color: rgba(44, 95, 204, 0.8);
}

p.footer-bottom {
  padding-top: 3rem;
  float: left;
  vertical-align: middle;
}

.social,
.contact {
  display: inline-block;
}

.social {
  margin-top: 5%;
}

.logo {
  float: right;
  margin-top: 1.4rem;
  width: 50px;
}

.bottom {
  border-top: 1px solid white;
}

/******************************************
/* Media Queries
/*******************************************/

@media only screen and (max-width: 480px) {
  .left-nav,
  .right-nav {
    display: none;
  }

  .phone {
    display: block;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    font-size: 3rem;
  }
  .phone:visited {
    color: #fff;
  }
  .brand {
    margin-top: 25vh;
  }

  .next-link p {
    display: none;
  }
  h1 {
    display: none;
  }

  section#owner {
    padding: 4rem 1rem;
  }

  section.why > * {
    width: 100%;
  }

  section.why p {
    font-size: 1.9rem;
  }

  section.why img {
    width: 80%;
    margin: 4rem;
  }

  h2 {
    font-size: 3rem;
    text-decoration: underline;
    margin-bottom: 5rem;
  }

  #services,
  #services2,
  #services3 {
    flex-direction: column;
    background-color: #fff;
    width: 100%;
    padding: 4rem 1rem;
    height: 45vh;
  }

  .left-services,
  .left-services2,
  .left-services3 {
    width: 90%;
    margin: 2rem auto;
  }

  .right-services,
  .right-services2,
  .right-services3 {
    width: 90%;
    margin: 2rem auto;
  }

  .right-services,
  .left-services2,
  .right-services3 {
    padding-top: 0;
    padding-bottom: 0;
  }

  .right-services2 {
    order: -1;
  }

  h3 {
    font-size: 2rem;
  }

  .form-box {
    margin: 1rem 0;
    width: 100%;
  }

  footer {
    display: flex;
    flex-direction: column;
  }

  .social ul {
    display: flex;
  }

  .social ul li {
    margin-left: 1rem;
  }
}
