@import url("https://fonts.googleapis.com/css?family=Barlow:300,400,500,700,800");

* {
  box-sizing: border-box;
}


h1 {
  margin: 0;
  font-size: 30px;
  font-weight: 500;
  color: #000000;
}
@media screen and (min-width: 600px) {
  h1 {
    font-size: 34px;
  }
}
@media screen and (min-width: 900px) {
  h1 {
    font-size: 38px;
  }
}

h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 135%;
  color: #000000;
}
@media screen and (min-width: 600px) {
  h2 {
    font-size: 22px;
  }
}
@media screen and (min-width: 900px) {
  h2 {
    font-size: 24px;
  }
}

.hero-left-content p {
  margin: 10px 0;
  font-size: 18px;
  font-weight: 100;
  letter-spacing: 0.7px;
  line-height: 135%;
  color: #333333;
}
@media screen and (min-width: 600px) {
.hero-left-content  p {
    font-size: 20px;
  }
}
@media screen and (min-width: 900px) {
.hero-left-content  p {
    font-size: 22px;
  }
}

/* ------------ Button Style ------------  */
.main-btn {
  display: block;
  padding: 20px;
  margin: 30px 0 20px 0;
  max-width: 250px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  letter-spacing: 3px;
  color: #333333;
  border: 2px solid #333333;
  transition: all 250ms cubic-bezier(0.645, 0.045, 0.355, 1);
}
.main-btn:hover {
  color: #50cb75;
  border: 2px solid #50cb75;
}

/* ------------ Text Link Style ------------  */
.text-link {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  color: #50cb75;
  transition: all 250ms cubic-bezier(0.645, 0.045, 0.355, 1);
}
.text-link:hover {
  color: #333333;
}

/* ------------ UNIQUE CONTENT STARTS HERE ------------  */
/* ------------ Hero Styles ------------  */
.hero-container {
  max-width: 1200px;
  margin: 0 auto;
}

.hero-left {
  background: white;
  padding: 30px;
}
@media screen and (min-width: 500px) {
  .hero-left {
    padding: 60px;
  }
}
@media screen and (min-width: 900px) {
  .hero-left {
    float: left;
    display: flex;
    width: 50%;
    height: 510px;
    padding: 120px 120px 120px 60px;
  }
}

.ip-hero-right {
  position: relative;
  padding: 160px 0;
  width: 100%;
  height: 300px;
  background: #333333;
}
@media screen and (min-width: 500px) {
  .ip-hero-right {
    padding: 160px 0;
  }
}
@media screen and (min-width: 900px) {
  .ip-hero-right {
    float: right;
    width: 50%;
    height: 510px;
  }
}

/* ------------ Hero Text ------------  */
.hero-big-white-text {
  font-size: 50px;
  font-weight: 800;
  line-height: 50px;
  color: white;
}
@media screen and (min-width: 760px) {
  .hero-big-white-text {
    font-size: 55px;
    line-height: 55px;
  }
}
@media screen and (min-width: 1200px) {
  .hero-big-white-text {
    font-size: 60px;
    line-height: 60px;
  }
}

.left-align {
  text-align: left;
}

/* ------ Hero Image ------  */
.ip-hero-img {
  z-index: 2;
  position: absolute;
  overflow: hidden;
  transform: rotate(45deg);
  background: url(../img/vaciado-fosas-septicas-valencia.jpg);
  background-size: cover;
  background-position: center;
}

.ip-hero-img img {
  margin: -25%;
  max-width: 150%;
  transform: rotate(-45deg);
}

/* ------------ Element Positioning ------------  */
.bottom-right {
  z-index: 5;
  position: absolute;
  letter-spacing: 2px;
  right: 1%;
  bottom: 6%;
}
@media screen and (min-width: 600px) {
  .bottom-right {
    right: 4%;
    bottom: 12%;
  }
}
@media screen and (min-width: 900px) {
  .bottom-right {
    bottom: 9%;
  }
}

.ip-hero-img {
  width: 200px;
  height: 200px;
  right: 20%;
  bottom: 8%;
}
@media screen and (min-width: 400px) {
  .ip-hero-img {
    width: 220px;
    height: 220px;
    right: 25%;
    bottom: 3%;
  }
}
@media screen and (min-width: 500px) {
  .ip-hero-img {
    width: 240px;
    height: 240px;
    right: 30%;
  }
}
@media screen and (min-width: 600px) {
  .ip-hero-img {
    width: 240px;
    height: 240px;
    right: 35%;
  }
}
@media screen and (min-width: 700px) {
  .ip-hero-img {
    width: 240px;
    height: 240px;
    right: 40%;
  }
}
@media screen and (min-width: 900px) {
  .ip-hero-img {
    width: 300px;
    height: 300px;
    right: 20%;
  }
}
@media screen and (min-width: 1100px) {
  .ip-hero-img {
    width: 320px;
    height: 320px;
    right: 30%;
  }
}

.green-outline-square,
.lightgrey-outline-square {
  transform: rotate(45deg);
}

.green-outline-square {
  z-index: 1;
  position: absolute;
  width: 125px;
  height: 125px;
  right: 65%;
  bottom: 19%;
  border: 7px solid #50cb75;
}
@media screen and (min-width: 500px) {
  .green-outline-square {
    width: 145px;
    height: 145px;
    right: 65%;
    bottom: 19%;
  }
}
@media screen and (min-width: 600px) {
  .green-outline-square {
    width: 165px;
    height: 165px;
    right: 60%;
    bottom: 16%;
  }
}
@media screen and (min-width: 900px) {
  .green-outline-square {
    width: 200px;
    height: 200px;
    bottom: 13%;
    left: 1%;
  }
}
@media screen and (min-width: 1100px) {
  .green-outline-square {
    bottom: 15%;
  }
}

.lightgrey-outline-square {
  z-index: 1;
  position: absolute;
  width: 100px;
  height: 100px;
  right: 20%;
  bottom: 38%;
  border: 7px solid #faf9fb;
}
@media screen and (min-width: 400px) {
  .lightgrey-outline-square {
    right: 25%;
    bottom: 40%;
  }
}
@media screen and (min-width: 500px) {
  .lightgrey-outline-square {
    right: 30%;
    bottom: 45%;
  }
}
@media screen and (min-width: 600px) {
  .lightgrey-outline-square {
    width: 110px;
    height: 110px;
    right: 34%;
    bottom: 43%;
  }
}
@media screen and (min-width: 700px) {
  .lightgrey-outline-square {
    right: 40%;
    bottom: 45%;
  }
}
@media screen and (min-width: 900px) {
  .lightgrey-outline-square {
    width: 140px;
    height: 140px;
    right: 20%;
    bottom: 35%;
  }
}
@media screen and (min-width: 1100px) {
  .lightgrey-outline-square {
    right: 29%;
    bottom: 45%;
  }
}
