.maincontainer1 {
  width: 70%;
}
/* .grid-container div {
  height: 48vh;
  max-height: min(30vw, 68vh);
} */
.description {
  width: 60%;
}
html {
  background-image: url("https://lawrencehallofscience.org/apps/digital-cell-puzzles/assets/images/home/network2-01.svg");
  background-repeat: no-repeat;
  background-size: cover;
  overflow: scroll;
}
.grid-container div {
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 2;
  background-position: bottom right;
}
.grid-container {
  position: relative;
  margin-top: -5vh;
  display: grid;
  grid-column-gap: 6vw;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
  height: 27vw;
}
.container1 {
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: cover;
}
.container1.orange {
  background-image: url("https://lawrencehallofscience.org/apps/digital-cell-puzzles/assets/images/home/cell-factory.svg");
  background-size: cover;
}
.container1.green {
  background-image: url("https://lawrencehallofscience.org/apps/digital-cell-puzzles/assets/images/home/citrus-tree.svg");
}
.container1.blue {
  background-image: url("https://lawrencehallofscience.org/apps/digital-cell-puzzles/assets/images/home/antibiotic.svg");
  background-position: center;
  background-size: 99%;
}
.grid-container3 h2 {
  font-size: 2.6vw;
}

/* tablet */
@media only screen and (max-width: 1100px) {
  .maincontainer1 {
    width: 80%;
    /* height: 65vh; */
  }
  .container1 {
    height: min(50vw, 50vh);
  }
}

/* MOBILE */
@media only screen and (max-width: 768px) {
  .maincontainer1 {
    width: 90%;
  }
  html {
    background-size: 150%;
  }
  .description {
    width: 90%;
  }
  .grid-container {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 1fr);
    grid-row-gap: 6vw;
  }
  .grid-container3 {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
    grid-row-gap: 6vw; 
  }
  .grid-container3 div {
    height: 30vw;
    padding-top: 1em;
    padding-left: 1.5em;
    padding-right: 50%;
  }
  .grid-container3 h2 {
    font-size: 4vw;
  }
  .grid-container3 p {
    font-size: 2.8vw;
  }
  .container1 {
    /* background-size: contain; */
    background-position: bottom right;
  }
  .container1.green {
    background-size: 50%;
  }
  .container1.orange {
    background-image: url("https://lawrencehallofscience.org/apps/digital-cell-puzzles/assets/images/home/cell-factory-reflect.svg");
    background-size: 40%;
  }
  .container1.blue {
    background-image: url("https://lawrencehallofscience.org/apps/digital-cell-puzzles/assets/images/home/antibiotic.svg");
    background-position: bottom right;
    background-size: 50%;
  }

}
