.slideshow_container {
  position: relative;
  width: 100%;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1.5s ease-in;
}

.slideshow_container.fade-in {
  opacity: 1;
}

.slides {
  display: flex;
}

.slide {
  position: relative;
  flex: 1 0 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide_caption {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, 50%);
  background-color: #0a497199;
  color: #f2f2f2;
  font-family: "Source Serif 4", serif;
  padding: 10px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.slide:hover .slide_caption {
  opacity: 1;
}

button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  font-size: 24px;
  padding: 10px;
  z-index: 2;
}

.next {
  right: 0;
}

.prev {
  left: 0;
}

.img_container {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.caption_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(-100%);
  border-radius: 5vw;
}

.img_container:hover .caption_overlay {
  opacity: 1;
  transform: translateY(0);
}

.research_objectives_container {
  max-width: 100vw;
  background-color: #0a4971;
  color: #f2f2f2;
  position: relative;
  text-align: center;
  overflow: hidden;
  position: relative;
  padding: 1.5vw 0vw 1.5vw 0vw;
}

.objectives {
  margin: auto;
  display: table;
  clear: both;
}

.technologies_container {
  max-width: 95vw;
  background-color: #f2f2f2;
  color: #0a4971;
  margin: auto;
  position: relative;
  text-align: center;
  overflow: hidden;
  position: relative;
  padding: 1.5vw 0vw 1.5vw 0vw;
}

.technologies_carousel {
  display: flex;
  transition: transform 0.5s ease;
}

.technology {
  min-width: 50%;
  box-sizing: border-box;
  padding: 20px;
  text-align: center;
}

.technology img {
  max-width: 85%;
  border-radius: 5vw;
  border-color: #0a4971;
  border-style: solid;
  border-width: 0.5vw;
}

.technology_button {
  background-color: rgba(255, 255, 255, 00);
}

table {
  margin-left: auto;
  margin-right: auto;
  width: 90%;
}

.publications_container {
  background-color: #0a4971;
  color: #f2f2f2;
  padding: 1.5vw 0vw 1.5vw 0vw;
  text-align: center;
}

.publications_link a,
.publications_link,
.publications_date p {
  color: #f2f2f2;
  font-family: "Source Serif 4", serif;
}

.publications_link {
  text-align: left;
}

.publications_date {
  text-align: right;
}

.publications_container td {
  width: 90%;
}

@media only screen and (max-width: 600px) {
  .slide_caption {
    font-size: 16px;
  }

  .main_description_container {
    position: relative;
    text-align: center;
    display: block;
    background-color: #f2f2f2;
    color: #0a4971;
    padding: 1.5vw 5vw 1.5vw 5vw;
  }

  .main_logo {
    height: 100px;
    align-self: center;
  }

  .caption_text {
    font-family: "Source Serif 4", serif;
    color: #f2f2f2;
    font-size: 16px;
    text-align: center;
    padding: 10px;
  }

  .objective {
    float: center;
    text-align: center;
    width: 95%;
    padding-right: 2.5%;
    padding-left: 2.5%;
  }

  .objective_img {
    width: 70vw;
    border-radius: 5vw;
    border-color: #f2f2f2;
    border-style: solid;
    border-width: 0.5vw;
  }

  .publication_icon {
    height: 50px;
    padding-bottom: 10px;
  }

  .technology {
    min-width: 100%;
  }
}

@media only screen and (min-width: 600px) {
  .slide_caption {
    font-size: 20px;
  }

  .main_description_container {
    position: relative;
    text-align: left;
    display: flex;
    background-color: #f2f2f2;
    color: #0a4971;
    padding: 1.5vw 0vw 1.5vw 0vw;
    margin-right: 50px;
  }

  .main_logo {
    height: 250px;
    margin-right: 20px;
    align-self: center;
  }

  .caption_text {
    font-family: "Source Serif 4", serif;
    color: #f2f2f2;
    font-size: 12px;
    text-align: center;
    padding: 10px;
  }

  .objective {
    float: left;
    text-align: center;
    width: 45%;
    padding-right: 2.5%;
    padding-left: 2.5%;
  }

  .objective_img {
    width: 35vw;
    max-width: 1000px; /*Necessary for viewports >=2560px*/
    border-radius: 5vw;
    border-color: #f2f2f2;
    border-style: solid;
    border-width: 0.5vw;
  }

  .publication_icon {
    height: 70px;
    padding-bottom: 10px;
  }
}

@media only screen and (min-width: 768px) {
  .slide_caption {
    font-size: 24px;
  }

  .main_description_container {
    position: relative;
    text-align: left;
    display: flex;
    background-color: #f2f2f2;
    color: #0a4971;
    padding: 1.5vw 0vw 1.5vw 0vw;
    margin-right: 50px;
  }

  .main_logo {
    height: 300px;
    margin-right: 20px;
    align-self: center;
  }

  .caption_text {
    font-family: "Source Serif 4", serif;
    color: #f2f2f2;
    font-size: 20px;
    text-align: center;
    padding: 10px;
  }

  .publication_icon {
    height: 100px;
    padding-bottom: 10px;
  }
}

@media only screen and (min-width: 992px) {
  .slide_caption {
    font-size: 32px;
  }

  .main_description_container {
    position: relative;
    text-align: left;
    display: flex;
    background-color: #f2f2f2;
    color: #0a4971;
    padding: 1.5vw 0vw 1.5vw 0vw;
    margin-right: 50px;
  }

  .main_logo {
    height: 300px;
    margin-right: 20px;
    align-self: center;
  }

  .caption_text {
    font-family: "Source Serif 4", serif;
    color: #f2f2f2;
    font-size: 24px;
    text-align: center;
    padding: 10px;
  }
}
