#lab-photo {
  width: 100%;
  height: auto;
}

#mr-lightsheet {
  width: 100%;
  height: auto;
  max-width: 500px;
  margin: 0 auto;
  display: block;
}

.platform-title {
  font-family: "Lato", sans-serif;
  color: rgb(0, 0, 80);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.15vw;
  text-transform: uppercase;
  margin: 1rem 0;
  line-height: 1.2;
}

.d-flex {
  padding: 0;
}

.modal-body img {
  text-align: center;
}

.funding {
  width: auto;
  height: 5vh;
  margin: 1vh;
}

.news h3,
.research h3 {
  font-size: 14px;
}

.news img,
.research img {
  width: 80%;
  height: auto;
  margin-bottom: 1.5vh;
}

.research {
  text-align: center;
}

.research button {
  margin-bottom: 0.5vh;
}

.research-popup {
  text-align: center;
  font-size: 14px;
}

/* Mobile and small tablet styles */
@media only screen and (max-width: 768px) {
  #mr-lightsheet {
    width: 90%;
    max-width: 300px;
    margin: 1rem auto;
  }

  .platform-title {
    font-size: 20px;
    letter-spacing: 0.1vw;
    text-shadow: 0.1vw 0 #000;
    margin: 0.8rem 0;
    padding: 0 10px;
  }

  .funding {
    height: 4vh;
    margin: 0.5vh;
  }

  .news img {
    width: 100%;
    max-width: 250px;
  }

  .research img {
    width: 90%;
    max-width: 200px;
  }

  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Medium tablets */
@media only screen and (min-width: 769px) and (max-width: 1023px) {
  #mr-lightsheet {
    width: 80%;
    max-width: 400px;
  }

  .platform-title {
    font-size: 28px;
    letter-spacing: 0.12vw;
    text-shadow: 0.12vw 0 #000;
  }

  .funding {
    height: 6vh;
    margin: 0.8vh;
  }

  .news img {
    width: 60%;
  }

  .research img {
    width: 75%;
  }
}

/* Large screens */
@media only screen and (min-width: 1024px) {
  .platform-title {
    font-size: 36px;
    letter-spacing: 0.2vw;
    margin: 1.5rem 0;
  }

  .funding {
    width: auto;
    height: 75px;
    margin: 10px;
  }

  .research img {
    width: 85%;
  }

  .news img {
    width: 25%;
  }

  .news h3,
  .research h3 {
    font-size: 18px;
  }

  .research button {
    font-size: 95%;
  }

  .research-popup {
    font-size: 18px;
  }

  .research-popup img {
    height: 40%;
    width: auto;
  }

  .pub-link {
    font-size: 18px;
  }
}
