main {
  min-height: 170vh;
}
#root {
  position: relative;
  background: var(--blue-bg);
  height: 100%;
}
#section1,
.images {
  display: flex;
  align-items: center;
}
#section1 {
  min-height: 100vh;
  flex-direction: column;
  position: relative;
}
#section1 > * {
  padding: 0.5rem 0 0.5rem 0;
  margin: 0.5rem;
  text-align: center;
}
#section1 h2 {
  margin-top: 2rem;
  width: 40%;
  min-width: 28rem;
  font-size: 2.5rem;
}
#section1 p {
  width: 30%;
  min-width: 24rem;
  line-height: 1.7;
}
.images {
  position: absolute;
  bottom: -10rem;
  width: 90%;
  justify-content: space-evenly;
}
.images img {
  width: 23%;
  min-width: 12rem;
  height: auto;
}
#img2 {
  margin-top: 5rem;
}
#section2 {
  min-height: 50vh;
  background: var(--text-color);
}

@media screen and (max-width: 740px) {
  #section2 {
    min-height: 260vh;
  }
  .images {
    flex-direction: column;
    justify-content: space-between;
    height: 130%;
    bottom: -100%;
  }
  .images img {
    width: 60%;
  }
  #img2,
  #img3 {
    margin-top: 4rem;
  }
}

@media screen and (max-width: 520px) {
  #section2 {
    min-height: 200vh;
  }
  #section1 h2 {
    min-width: 60%;
    font-size: 10vw;
  }
  #section1 p {
    min-width: 85%;
    font-size: 4vw;
  }
  .images {
    bottom: -125%;
  }
}
@media screen and (max-width: 455px) {
  .images {
    bottom: -112%;
  }
}
@media screen and (max-width: 420px) {
  #section2 {
    min-height: 180vh;
  }
}
@media screen and (max-width: 360px) {
  .images {
    bottom: -100%;
  }
  #section2 {
    min-height: 160vh;
  }
}
