.maqs-banner {
  background-image: url(/img/created/nature-article/Nature-article-before-after.png);
  background-size: cover; /* Adjust to your liking */
  background-position: top; /* Adjust to your liking */
  height: calc(60vh - 2px); /* Adjust to your liking */
  display: flex;
  justify-content: center;
  align-items: center;
}

.maqs-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.maqs-banner h2 {
  color: #fff; /* Set the color of your title */
  font-size: 5.5rem; /* Adjust to your liking */
  text-align: center;
  text-shadow: 2px 2px #000; /* Add a shadow to your title */
}

.maqs-banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-shadow: 2px 2px 5px #000000;
}

.pp-linegraph {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px; /* This adds some space between the line graph and the image grid below it */
  margin-top: 20px;
}

/* Inside .pp-linegraph, you might have an <img> or another div that holds the graph image */
.pp-linegraph img {
  width: 100%; /* This will make the image responsive and fit the width of its container */
  max-width: 1200px; /* Adjust this value based on the maximum width you want */
  height: auto; /* This will maintain the aspect ratio of the image */
}

.maqs-text {
  border: 2px solid var(--site-color-01);
  padding: 3.5vh;
}

.image-container1 {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50vh;
}

.maqs-text h1 {
  text-align: center;
}

.image-container {
  position: relative;
  width: calc(50% - 10px);
  margin-bottom: 30px;
}

.image-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.image-container3 {
  position: relative;
  width: calc(33.33% - 10px);
  margin-bottom: 20px;
}

.image-container1 {
  position: relative;
  width: calc(50% - 10px);
  margin-bottom: 20px;
}

.image-container1 img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.image-container img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.learn-more p {
  font-size: 2rem;
}

/* Mobile Version */

@media only screen and (max-width: 600px) {
  .maqs-banner {
    height: 30vh;
    padding-top: 35px;
  }

  .maqs-banner h2 {
    font-size: 4.5rem;
  }

  .maqs-text {
    margin-top: 30px;
    padding-top: 25px;
  }

  .image-grid {
    flex-direction: column;
    align-items: center;
  }

  .image-container2 {
    width: 75%;
    height: 50vh;
  }

  .image-container1 {
    height: fit-content;
    width: 80%;
  }

  .image-container {
    height: fit-content;
    width: 80%;
    column-gap: 20px;
  }

  .learn-more p {
    font-size: 1.2rem;
  }

  .learn-more a {
    font-size: 1.3rem;
  }
}

/* Tablet Version */

@media only screen and (max-width: 900px) {
  .maqs-banner {
    height: 35vh;
  }
}
