.has-fade {
  visibility: hidden;
}

@keyframes fade-in {
  from {
    visibility: hidden;
    opacity: 0;
  }
  1% {
    visibility: visible;
    opacity: 0;
  }
  to {
    visibility: visible;
    opacity: 1;
  }
}
.fade-in {
  animation: fade-in 200ms ease-in-out forwards;
}

@keyframes fade-out {
  from {
    visibility: visible;
    opacity: 1;
  }
  99% {
    visibility: visible;
    opacity: 0;
  }
  to {
    visibility: hidden;
    opacity: 0;
  }
}
.fade-out {
  animation: fade-out 200ms ease-in-out forwards;
}

html {
  font-size: 100%;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Public Sans", sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  color: hsl(233, 8%, 62%);
  line-height: 1.3;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
@media (min-width: 64em) {
  body {
    font-size: 1.125rem;
  }
}
body.noscroll {
  overflow: hidden;
}

main {
  flex-grow: 1;
}

h1,
h2,
h3 {
  font-weight: 300;
  line-height: 1.15;
  color: hsl(233, 26%, 24%);
  margin-top: 0px;
}

h1 {
  font-size: 2.31rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 64em) {
  h1 {
    font-size: 3.25rem;
  }
}

h2 {
  font-size: 1.875rem;
  margin-bottom: 1.5625rem;
}
@media (min-width: 64em) {
  h2 {
    font-size: 2.25rem;
    margin-bottom: 2.25rem;
  }
}

p {
  line-height: 1.5;
  margin-bottom: 2.25rem;
}

a,
a:visited,
a:hover {
  text-decoration: none;
}

.container {
  max-width: 69.375rem;
  margin: 0 auto;
}
.container--pall {
  padding-top: 4.375rem;
  padding-right: 1.5rem;
  padding-bottom: 4.375rem;
  padding-left: 1.5rem;
}
@media (min-width: 64em) {
  .container--pall {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}
.container--py {
  padding-top: 4.375rem;
  padding-bottom: 4.375rem;
}
@media (min-width: 64em) {
  .container--py {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}
.container--px {
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}
.container--pt {
  padding-top: 4.375rem;
}
@media (min-width: 64em) {
  .container--pt {
    padding-top: 6rem;
  }
}
.container--pr {
  padding-right: 1.5rem;
}
.container--pb {
  padding-bottom: 4.375rem;
}
@media (min-width: 64em) {
  .container--pb {
    padding-bottom: 6rem;
  }
}
.container--pl {
  padding-left: 1.5rem;
}

.flex {
  display: flex;
}
.flex-jc-sb {
  justify-content: space-between;
}
.flex-jc-c {
  justify-content: center;
}
.flex-ai-c {
  align-items: center;
}

button,
.button {
  position: relative;
  display: inline-block;
  padding: 0.875rem 2.1875rem;
  background: hsl(233, 26%, 24%);
  border: 0;
  border-radius: 50px;
  cursor: pointer;
  color: hsl(0, 0%, 100%);
  font-weight: 400;
  font-size: 0.875rem;
  transition: opacity 300ms ease-in-out;
  overflow: hidden;
}
button::before,
.button::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.25);
  opacity: 0;
  transition: opacity 150ms ease-in-out;
}
button:hover::before,
.button:hover::before {
  opacity: 1;
}

@media (max-width: 63.9375em) {
  .hide-for-mobile {
    display: none;
  }
}

@media (min-width: 64em) {
  .hide-for-desktop {
    display: none;
  }
}

.header {
  background-color: hsl(220, 16%, 96%);
  position: relative;
  z-index: 1;
}
.header.open .header__toggle > span:first-child {
  transform: rotate(45deg);
}
.header.open .header__toggle > span:nth-child(2) {
  opacity: 0;
}
.header.open .header__toggle > span:last-child {
  transform: rotate(-45deg);
}
.header .overlay {
  opacity: 0;
  position: fixed;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  background-image: linear-gradient(hsl(233, 26%, 24%), transparent);
}
.header nav {
  position: relative;
  padding-top: 1.0625rem;
  padding-bottom: 1.0625rem;
}
.header__logo h1,
.header__logo .header__logo-text {
  display: block;
  padding: 1rem 2rem;
  font-size: 1.375rem;
  margin-bottom: 0;
  color: hsl(233, 26%, 24%);
  font-weight: 700;
}
.header__toggle > span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: hsl(233, 26%, 24%);
  transition: all 300ms ease-in-out;
  transform-origin: 3px 1px;
}
.header__toggle > span:not(:last-child) {
  margin-bottom: 5px;
}
.header__menu {
  position: absolute;
  width: calc(100% - 3rem);
  left: 50%;
  transform: translateX(-50%);
  background-color: hsl(0, 0%, 98%);
  margin-top: 1.5rem;
  padding: 1.625rem;
  border-radius: 5px;
}
.header__menu a {
  display: block;
  padding: 0.625rem;
  color: hsl(233, 26%, 24%);
  text-align: center;
}
.header__links a {
  position: relative;
  font-size: 0.875rem;
  color: hsl(233, 8%, 62%);
  transition: color 300ms ease-in-out;
}
.header__links a:not(:last-child) {
  margin-right: 32px;
}
.header__links a::before {
  content: "";
  display: block;
  position: absolute;
  height: 2px;
  left: 0;
  right: 0;
  bottom: -17px;
  background: hsl(233, 26%, 24%);
  opacity: 0;
  transition: opacity 300ms ease-in-out;
}
.header__links a:hover {
  color: hsl(233, 26%, 24%);
}
.header__links a:hover::before {
  opacity: 1;
}

.hero {
  background-color: white;
}
@media (min-width: 64em) {
  .hero .container {
    display: flex;
    align-items: center;
  }
}
.hero__image {
  position: relative;
  background-image: url("../images/hero-umap.jpg");
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  min-height: 17.5rem;
  margin-top: 2rem;
}
@media (min-width: 40em) {
  .hero__image {
    margin-top: 0;
    min-height: 25rem;
    background-position: center 70%;
  }
}
@media (min-width: 64em) {
  .hero__image {
    flex: 3;
    order: 2;
    height: 41rem;
  }
}
.hero__image .hero__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
@media (min-width: 40em) {
  .hero__image .hero__video {
    object-position: center 70%;
  }
}
.hero__image:hover .overlay-text {
  opacity: 1;
}
.hero__image .overlay-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.7);
  color: hsl(233, 26%, 24%);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.hero__image .overlay-text p {
  margin: 0;
  padding: 25%;
}
.hero__image .overlay-text p b {
  font-weight: 700;
}
.hero__text {
  padding-top: 3rem;
  text-align: center;
}
@media (min-width: 64em) {
  .hero__text {
    flex: 2;
    order: 1;
    text-align: left;
  }
}
.hero .caption-link {
  display: none;
}
@media (max-width: 39.9375em) {
  .hero .caption-link {
    margin-top: 1rem;
    display: block;
    text-align: center;
    color: hsl(233, 8%, 62%);
    font-size: 0.75rem;
  }
}

.feature {
  background-color: hsl(220, 16%, 96%);
  text-align: center;
}
@media (min-width: 40em) {
  .feature {
    text-align: left;
  }
}
.feature__intro {
  margin-bottom: 3.75rem;
}
@media (min-width: 64em) {
  .feature__intro {
    width: 60%;
  }
}
@media (min-width: 40em) {
  .feature__grid {
    display: flex;
    flex-wrap: wrap;
  }
}
.feature__item {
  padding: 0.9375rem;
}
@media (min-width: 40em) {
  .feature__item {
    flex: 0 0 50%;
  }
}
@media (min-width: 64em) {
  .feature__item {
    flex: 1;
  }
}
.feature__icon {
  margin-bottom: 1.875rem;
  text-align: center;
}
@media (min-width: 64em) {
  .feature__icon {
    margin-bottom: 2.75rem;
  }
}
.feature__title {
  color: hsl(233, 26%, 24%);
  text-align: center;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.15;
}
@media (min-width: 64em) {
  .feature__title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
}
.feature__subtitle {
  color: hsl(233, 26%, 24%);
  margin-top: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}
@media (min-width: 64em) {
  .feature__subtitle {
    margin-bottom: 1.5rem;
  }
}
.feature__description {
  color: hsl(233, 26%, 24%);
  font-size: 0.875rem;
  line-height: 1.5;
}
.feature__icon {
  /* your existing CSS */
  position: relative;
  /* add this line */
}
.feature__info-button {
  border: none;
  padding: 0.5em 1em;
  background-color: hsl(233, 26%, 24%);
  color: hsl(0, 0%, 100%);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  font-size: 1rem;
}
.feature__info-button--desktop {
  opacity: 0;
}
.feature__item:hover .feature__info-button--desktop {
  opacity: 1;
}
.feature__info-button--mobile {
  display: none;
}
.feature {
  /* For mobile layout */
}
@media (max-width: 39.9375em) {
  .feature__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .feature__info-button--mobile {
    position: relative;
    display: flex;
    margin-top: 3rem;
  }
  .feature__info-button--desktop {
    display: none;
  }
}
.feature {
  /* For larger than mobile layout */
}
@media (min-width: ) {
  .feature__info-button--desktop {
    display: block;
  }
  .feature__info-button--mobile {
    display: none;
  }
}

.about {
  background-color: white;
}

.team {
  background-color: hsl(220, 16%, 96%);
}

.about,
.team {
  text-align: center;
}
@media (min-width: 40em) {
  .about,
  .team {
    text-align: left;
  }
}
.about__intro,
.team__intro {
  margin-bottom: 3.75rem;
}
@media (min-width: 64em) {
  .about__intro,
  .team__intro {
    width: 60%;
  }
}
@media (min-width: 40em) {
  .about__grid,
  .team__grid {
    display: flex;
    flex-wrap: wrap;
  }
}
.about__item,
.team__item {
  padding: 0.9375rem;
}
@media (min-width: 40em) {
  .about__item,
  .team__item {
    flex: 0 0 50%;
  }
}
@media (min-width: 64em) {
  .about__item,
  .team__item {
    flex: 1;
  }
}
.about__icon,
.team__icon {
  margin-bottom: 1.875rem;
  text-align: center;
}
@media (min-width: 64em) {
  .about__icon,
  .team__icon {
    margin-bottom: 2.75rem;
  }
}
.about__title,
.team__title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.15;
  color: hsl(233, 26%, 24%);
}
@media (min-width: 64em) {
  .about__title,
  .team__title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
}
.about__subtitle,
.team__subtitle {
  text-align: center;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}
.about__subtitle a,
.team__subtitle a {
  color: hsl(233, 26%, 24%);
}
.about__subtitle a:hover,
.team__subtitle a:hover {
  text-decoration: underline;
}
@media (min-width: 64em) {
  .about__subtitle,
  .team__subtitle {
    margin-bottom: 1.5rem;
  }
}
.about__description,
.team__description {
  color: hsl(233, 26%, 24%);
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.5;
  width: 70%;
  margin-right: auto;
  margin-left: auto;
}
.about__biolink a,
.team__biolink a {
  color: hsl(233, 26%, 24%);
}
.about__biolink a:hover,
.team__biolink a:hover {
  text-decoration: underline;
}
.about__biolink,
.team__biolink {
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.5;
  margin-right: auto;
  margin-left: auto;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.about__summary,
.team__summary {
  color: hsl(233, 26%, 24%);
  text-align: center;
  font-size: 1.125rem;
  line-height: 1.5;
  margin-top: 0.5rem;
  margin-bottom: 4.5rem;
}
@media (min-width: 64em) {
  .about__summary,
  .team__summary {
    text-align: left;
  }
}

.image--cover {
  background-color: white;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center right;
}

.articles {
  background-color: hsl(0, 0%, 98%);
}

.article__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.875rem;
}
@media (min-width: 40em) {
  .article__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 64em) {
  .article__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.article__item {
  border-radius: 0.3125rem;
  overflow: hidden;
  background-color: hsl(0, 0%, 100%);
  box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.15);
  transition: all 150ms ease-in-out;
}
.article__item:hover {
  transform: scale(1.05);
}
.article__image {
  height: 12.5rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}
.article__text {
  padding: 1.875rem 1.875rem 2.5rem 1.875rem;
  color: hsl(233, 8%, 62%);
}
@media (min-width: 40em) {
  .article__text {
    padding: 1.875rem 1.5625rem;
  }
}
.article__author {
  font-size: 0.625rem;
  margin-bottom: 0.75rem;
}
.article__author b {
  color: black;
}
.article__title {
  font-size: 1.0625rem;
  line-height: 1.2;
  color: hsl(233, 26%, 24%);
  margin-bottom: 0.5rem;
}
.article__description {
  font-size: 0.8125rem;
}

legend {
  font-size: 1.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

fieldset {
  min-width: 0;
  min-inline-size: 0;
  width: 100%;
  box-sizing: border-box;
  border: 0px solid #A9A9A9;
  border-radius: 1rem;
  padding-top: 1.7rem;
  padding-left: 1.3rem;
  padding-right: 1.3rem;
  overflow: hidden;
  color: #FCFCFC;
  background-color: #e7e7e7;
  box-shadow: 0 10px 10px hsla(0, 0%, 0%, 0.17);
}

.invalid-feedback {
  position: relative;
  top: -15px;
  color: #FF3B3F;
  padding-bottom: 1rem;
}

.contact {
  position: relative;
  padding: 1rem;
  padding-top: 1rem;
}
.contact h2 {
  color: #565656;
  padding-bottom: 1rem;
}
.contact h4 {
  text-align: center;
}
.contact .btn-group {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}
.contact .g-recaptcha {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.contact-form-wrapper {
  text-align: center;
  width: 90vw;
  max-width: 800px;
}
@media (min-width: 40em) {
  .contact-form-wrapper {
    width: 70vw;
    max-width: 800px;
    margin: auto;
  }
}
.contact-form-wrapper .form-item {
  position: relative;
}
.contact-form-wrapper label {
  position: absolute;
  top: 10px;
  left: 2%;
  color: #565656;
  font-size: clamp(14px, 1.5vw, 18px);
  pointer-events: none;
  user-select: none;
  margin-top: 5px;
}
.contact-form-wrapper input,
.contact-form-wrapper textarea {
  box-sizing: border-box;
  margin-right: auto;
  width: 100%;
  outline: 0;
  border: 2px solid #A9A9A9;
  border-radius: 4px;
  margin-top: 5px;
  margin-bottom: 20px;
  padding: 12px;
  font-size: clamp(15px, 1.5vw, 18px);
  background-color: #FCFCFC;
}
.contact-form-wrapper textarea {
  resize: vertical;
  min-height: 200px;
}
.contact-form-wrapper input:focus + label,
.contact-form-wrapper input:valid + label,
.contact-form-wrapper textarea:focus + label,
.contact-form-wrapper textarea:valid + label {
  font-size: clamp(13px, 1.3vw, 16px);
  color: #565656;
  top: -20px;
  transition: all 0.225s ease;
}

.form-submit {
  justify-content: center;
  align-items: center;
}

.form-submit {
  padding: 1rem;
  margin: 0.5rem;
  border: 1px solid #A9A9A9;
  background-color: #e7e7e7;
  border-radius: 5px;
  color: #565656;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 0 3px #A9A9A9;
}

.form-submit:hover {
  color: #FCFCFC;
  background-color: #A9A9A9;
}

@media (max-width: 39.9375em) {
  #rc-imageselect,
  .g-recaptcha {
    transform: scale(0.77);
    -webkit-transform: scale(0.77);
  }
  #captcha {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
#message-box {
  max-width: 800px;
  margin-top: 0.5rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: opacity 2s;
  /* defines the duration of the fade-out effect */
}
#message-box.success {
  color: #155724;
  /* Bootstrap success text color */
  background-color: #d4edda;
  /* Bootstrap success background color */
  border-color: #c3e6cb;
  /* Bootstrap success border color */
}
#message-box.error {
  color: #721c24;
  /* Bootstrap danger text color */
  background-color: #f8d7da;
  /* Bootstrap danger background color */
  border-color: #f5c6cb;
  /* Bootstrap danger border color */
}
#message-box.blank {
  color: inherit;
  background-color: inherit;
  border-color: inherit;
}
#message-box.fade {
  opacity: 0;
}

.services-contact h2 {
  text-align: center;
}

.services-detail {
  background-color: hsl(220, 16%, 96%);
  border-radius: 0.3125rem;
  box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.05);
  transition: all 150ms ease-in-out;
  overflow: hidden;
  color: hsl(233, 26%, 24%);
}
.services-detail + .services-detail {
  margin-top: 3rem;
}
.services-detail h2 {
  padding: 1rem;
  margin: 0;
  color: hsl(233, 26%, 24%);
}
.services-detail p, .services-detail ul {
  padding: 1rem;
  margin: 0;
}
.services-detail ul {
  list-style-type: disc;
  list-style-position: inside;
}
.services-detail ul li {
  margin-bottom: 0.5rem;
}
.services-detail a {
  color: hsl(233, 26%, 24%);
  border-bottom: 1px dotted hsl(233, 26%, 24%);
  transition: color 0.2s ease;
}
.services-detail a:hover {
  color: hsl(233, 26%, 34%);
}

.main-container {
  padding: 2rem 1rem;
}
@media (min-width: 64em) {
  .main-container {
    padding: 4rem 2rem;
  }
}

.pubs__list {
  list-style: none;
  padding: 0 1rem 1rem;
  margin: 0;
}
.pubs__item {
  padding: 0.75rem 0;
  line-height: 1.5;
}
.pubs__item + .pubs__item {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.pubs__title {
  font-weight: 700;
  border-bottom: none !important;
}
.pubs__title:hover {
  text-decoration: underline;
}
.pubs__authors, .pubs__journal {
  font-size: 0.875rem;
}
.pubs__authors b {
  font-weight: 700;
}

.footer {
  background-color: hsl(233, 26%, 24%);
  color: hsl(0, 0%, 100%);
  padding: 2.5rem;
  text-align: center;
}
@media (min-width: 64em) {
  .footer .container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr auto;
    grid-template-areas: "logo links1 links2" "copyright links1 links2";
    gap: 1rem;
    justify-items: start;
  }
}
.footer a {
  color: hsl(0, 0%, 100%);
}
.footer__logo h3 {
  color: hsl(0, 0%, 100%);
}
.footer__logo {
  display: inline-block;
}
@media (max-width: 63.9375em) {
  .footer__logo {
    margin-bottom: 1rem;
  }
}
@media (min-width: 64em) {
  .footer__logo {
    grid-area: logo;
  }
}
.footer__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.9375rem;
}
@media (min-width: 64em) {
  .footer__links {
    justify-content: space-between;
    align-items: start;
  }
}
@media (min-width: 64em) {
  .footer__links.col1 {
    grid-area: links1;
  }
}
@media (max-width: 63.9375em) {
  .footer__links.col2 {
    margin-bottom: 1rem;
  }
}
@media (min-width: 64em) {
  .footer__links.col2 {
    grid-area: links2;
  }
}
.footer__links a {
  line-height: 2.25;
  transition: color 150ms ease-in-out;
}
.footer__links a:hover {
  color: hsl(233, 8%, 62%);
}
.footer__copyright {
  font-size: 0.8125rem;
  color: hsl(233, 8%, 62%);
}
@media (min-width: 64em) {
  .footer__copyright {
    grid-area: copyright;
    align-self: start;
    justify-self: start;
  }
}
