main {
  min-height: 380vh;
  background: #191919;
}
.main-container,
#section1,
#section2,
.pg {
  display: flex;
  flex-direction: column;
}
.main-container,
#section1 {
  align-items: center;
}
.root {
  position: relative;
  background: var(--blue-bg);
}
#section1 {
  background-image: url(/assets/img/science-hero.webp);
  background-repeat: no-repeat;
  background-size: cover;
  height: 20vh;
  min-height: 22rem;
  justify-content: space-evenly;
  text-align: center;
}
#section1 :first-child {
  font-size: 3.5rem;
}
#section1 :nth-child(2) {
  font-size: 1.15rem;
  width: 60%;
  min-width: 20rem;
  line-height: 1.5;
}
#section2 {
  align-items: flex-start;
  justify-content: space-evenly;
  width: 85%;
  height: 100%;
  padding: 3rem 0;
}
#section2 > * {
  margin: 1rem 0;
}
#section2 h2 {
  align-self: center;
  text-align: center;
}
.paragraphs {
  display: grid;
  grid-template-columns: repeat(auto-fill, 45%);
  grid-gap: 4rem;
  justify-content: center;
  align-items: center;
}
.pg {
  margin: 1.5rem 0;
  font-size: 1.9vw;
  min-width: 15rem;
}
.pg p {
  font-size: 1.5vw;
  margin-top: 0.5rem;
  line-height: 1.5;
}
.pg-ul {
  list-style: circle;
  width: 90%;
  margin-left: 1rem;
}

@media screen and (max-width: 880px) {
  #section1 :nth-child(2) {
    font-size: 1rem;
    width: 75%;
  }
  .paragraphs {
    grid-template-columns: repeat(auto-fill, 90%);
    grid-gap: 0;
  }
  .paragraphs .pg h3 {
    font-size: 2.5vw;
  }
  .paragraphs .pg p {
    font-size: 2vw;
  }
}
@media screen and (max-width: 767px) {
  /* .paragraphs > * {

  } */
}
@media screen and (max-width: 700px) {
  #section1 :first-child {
    font-size: 6vw;
    width: 80%;
  }
  .paragraphs .pg h3 {
    font-size: 3vw;
  }
  .paragraphs .pg p {
    font-size: 2.5vw;
  }
}
@media screen and (max-width: 545px) {
  #section1 :nth-child(2) {
    font-size: 3vw;
    width: 80%;
    line-height: 1.8;
  }
  #section2 h2 {
    font-size: 100%;
  }
  .paragraphs .pg h3 {
    font-size: 3.4vw;
  }
  .paragraphs .pg p {
    font-size: 2.9vw;
  }
}
@media screen and (max-width: 400px) {
  #section1 :nth-child(2) {
    font-size: 3.4vw;
    min-width: 16rem;
  }
  .paragraphs .pg h3 {
    font-size: 5vw;
  }
  .paragraphs .pg p {
    font-size: 3.5vw;
  }
}
@media screen and (max-width: 350px) {
  #section1 :nth-child(2) {
    font-size: 3.6vw;
  }
  .paragraphs .pg h3 {
    font-size: 5.3vw;
  }
  .paragraphs .pg p {
    font-size: 3.8vw;
  }
}
@media screen and (max-width: 330px) {
  #section1 :nth-child(2) {
    font-size: 3.8vw;
  }
}
