* {
  font-family: atten-round-new, sans-serif;
  font-weight: 500;
  font-style: normal;
  color: #212121;
  cursor: normal;
}
html {
  overflow: hidden;
}
a {
  text-decoration: none;
}
h1 {
  text-align: center;
  font-size: 2.5em;
}
p {
  text-align: center;
}
h4 {
  text-align: center;
}
h2 {
  color: white;
}
p.white {
  text-align: left;
  color: white;
}
b {
  font-weight: 700;
}

/** NAVIGATION */
#top-bar-container {
  top: 4%;
  height: 6%;
  width: 90%;
  position: absolute;
  margin: 0 auto;
  left: 0;
  right: 0;
}
#top-bar-container h5 {
  font-size: 2vw;
}
.left-buttons {
  float: left;
  display: flex;
  align-items: center;
  width: 6.4vh;
  height: 105%;
  border-radius: 30px;
  background-color: #d9d9d9;
  margin-right: 1%;
  z-index: 3;
  position: relative;
}
.left-buttons img {
  margin: 0 auto;
}
.invisible-buttons{
opacity: 0 }

/** BOXES */
.container1 {
  position: relative;
  background-color: #D9D9D9;
  padding-left: 1.5vw;
  padding-right: 1.5vw;
  border-radius: 1vw;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.19), 0 3px 6px rgba(0, 0, 0, 0.23);
  background-size: contain;
  background-repeat: no-repeat;
  flex-grow: 1;
}
.container1:hover {
  cursor: pointer;
}
.container1 h2 {
  font-size: 2.3vw;
  margin-bottom: 0;
}
.container1 p {
  font-size: min(2.1vh, 1.3vw);
}
.maincontainer1, .maincontainer2 {
  text-align: center;
  margin: 0 auto;
  margin-top: 12vh;
  width: 50vw;
  text-align: left;
  display: flexbox;
  flex-direction: column;
}
.maincontainer2 {
  width: 70%;
}
.grid-container3-category h2 {
  font-size: 2.6vw;
}
.grid-container3 {
  position: relative;
  margin-top: 8vh;
  display: grid;
  grid-column-gap: 2vw;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
}
.grid-container3-category div {
  height: 48vh;
  max-height: min(30vw, 68vh);
}
.grid-container3-category {
  position: relative;
  margin-top: 8vh;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 2vw; 
  width: 100%;
}
.grid-container {
  position: relative;
  margin-top: 6vh;
  display: grid;
  grid-column-gap: 6vw;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
  height: 27vw;
}
.grid-container div {
  background-repeat: no-repeat;
  background-size: cover;
  padding-right: 40%;
  z-index: 2;
  background-position: bottom right;
}
/*.grid-container div:first-child {
  background-color: #4fbbca;
  background-image: url("../assets/images/prevent-a-disease/bacteria.svg");
  background-position: 100% -20%;
}
.grid-container div:last-child {
  background-color: #d3df45;
  background-image: url("../assets/images/prevent-a-disease//defense-01.svg");
  background-size: 97%;
}*/

.grid-container > div:hover {
  transform: scale(1.02, 1.02);
  transition: 0.5s ease;
  cursor: pointer;
}
.grid-container3-category > div:hover {
  transform: scale(1.02, 1.02);
  transition: 0.5s ease;
  cursor: pointer;
}
.grid-container3 > div:hover {
  transform: scale(1.02, 1.02);
  transition: 0.5s ease;
  cursor: pointer;
}
.description {
  width: 80%;
  margin: 0 auto;
}
.description h4 {
  font-size: 2.2vh;
}

/** STYLING */
.blue {
  background-color: #4fbbca;
}
.orange {
  background-color: #e6913a;
}
.green {
  background-color: #d3df45;
}

/** ORANGE TREE BACKGROUND */
#branch {
  background-image: url("https://lawrencehallofscience.org/apps/digital-cell-puzzles/assets/images/prevent-a-disease/branch.svg");
  height: 70vh;
  width: 35vw;
  position: absolute;
  z-index: 0;
  right: -10em;
  bottom: -1vh;
  background-repeat: no-repeat;
}
#tree {
  height: 80vh;
  width: 40vw;
  background-repeat: no-repeat;
  z-index: 0;
  left: 2vw;
  bottom: -1.5vw;
  position: absolute;
  background-size: contain;
  background-image: url("https://lawrencehallofscience.org/apps/digital-cell-puzzles/assets/images/prevent-a-disease/orange\ tree.png");
}

/* tablet */
@media only screen and (max-width: 1100px) {
  .maincontainer1 {
    width: 60vw;
    height: 65vh;
  }
  .grid-container h2 {
    font-size: 3vw;
  }
  .grid-container {
    height: 35vw;
  }
  /* .grid-container div:last-child {
    background-size: 80%;
  } */
  #branch {
    bottom: -12vw;
    right: -5em;
  }
}

/* desktop */
@media only screen and (min-width: 1100px) {
  .maincontainer1 {
    width: 50vw;
    height: 70vh;
  }
}

/* mobile */
@media only screen and (max-width: 768px) {
  html {
    overflow: scroll;
  }
  .grid-container3-category {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
    grid-row-gap: 6vw; 
  }
  .grid-container3-category div {
    height: 30vw;
    padding-top: 1em;
    padding-left: 1.5em;
    padding-right: 50%;
  }
  .grid-container3-category h2 {
    font-size: 4vw;
  }
  .grid-container3-category p {
    font-size: 2.8vw;
  }
  .maincontainer1 {
    width: 70vw;
  }
  .grid-container {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 1fr);
    grid-row-gap: 6vw;
  }
  .grid-container div {
    background-position: bottom right;
    background-size: contain;
    height: 30vw;
    padding-top: 1em;
    padding-left: 1.5em;
    padding-right: 50%;
  }
  .grid-container h2 {
    font-size: 4vw;
  }
  .grid-container p {
    font-size: 2.4vw;
  }

  /** BACKGROUND */
  #branch {
    display: none;
  }
  #tree {
    display: none;
  }
}
