/* General reset and container styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  font-size: 16px;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  line-height: 1.8em;
  color: #666;
}

/* Parallax image sections */
.pimg1 {
  background-image: url(images/image1.png);
  min-height: 100%;
}

.pimg2 {
  background-image: url(images/image2.png);
  min-height: 400px;
}

.pimg3 {
  background-image: url(images/image3.png);
  min-height: 400px;
}

.pimg1,
.pimg2,
.pimg3 {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Text overlay for parallax images */
.ptext {
  position: absolute;
  top: 50%;
  width: 100%;
  text-align: center;
  color: black;
  font-size: 27px;
  letter-spacing: 8px;
  text-transform: uppercase;
}

.textBg {
  background: #313534;
  color: #fff;
  padding: 20px;
}

/* Section styles */
.section {
  padding: 50px 80px;
  text-align: center;
}

.section-light {
  background-color: #f4f4f4;
  color: #666;
}

.section-dark {
  background-color: #282e34;
  color: #ddd;
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
  .ptext {
    font-size: 20px;
    letter-spacing: 5px;
  }

  .section {
    padding: 40px 20px;
  }
}

@media (max-width: 480px) {
  .ptext {
    font-size: 16px;
    letter-spacing: 3px;
  }

  .section {
    padding: 30px 10px;
  }
}
