:root {
  --bold-purple: #461D76;
  --electric-purple: #461D76;
  --white: #ffffff;
  --pink: #D6B8D7;

  --lavender-bg: #FFFFFF;
  --light-purple: #EDEDED;
  --deep-indigo: #461D76;
  --grey-text: #69696D;
  --black: #231f20;

  --dark-indigo-bg: #1a162d;
  --midnight-purple: #2d274d;
  --light-lavender: #faf5ff;
  --soft-grey: #d1d5db;

  --purple-border: #E2B52F;

  --font: 'Roboto', sans-serif;

}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

}

li {
  list-style: none;

}

a,
img,
span,
input,
select,
button {
  display: block;

}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;

}

a:hover {
  text-decoration: underline;

}

img {
  height: auto;

}

input,
button,
select {
  background: none;
  border: none;
  font: inherit;

}

button {
  cursor: pointer;

}

input,
select,
textarea {
  width: 100%;
  outline: none;

}

address {
  font-style: normal;

}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

}

html {
  scroll-behavior: smooth;
  font-family: var(--font);
  font-size: 12px;

}

body {
  background-color: var(--lavender-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;

}

.no-js body {
  visibility: hidden;
  opacity: 0;

}

.js body {
  visibility: visible;
  opacity: 1;

}

/* REUSED STYLES */

.container {
  padding-inline: 5vw;

}

/* HEADER STYLES */

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;

}

.header {
  background-color: var(--bold-purple);
  padding-block: 5px;
  color: var(--pink);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 4;

}

.header .container > a {
  font-size: 1.5rem;
  font-weight: 700;
  z-index: 3;
  transition: color 0.3s ease;

}

.header .container .left-nav {
  font-size: 1.4rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 14px;

}

.header .container .left-nav .lsu-text {
  transition: color 0.3s ease;
  text-decoration: none;

}

.header .container .left-nav .lsu-text:hover {
  color: var(--white);

}

.header .container .act-lab-logo {
  height: 1rem;
  width: auto;
  display: block;

}

.header .container > a:hover {
  text-decoration: none;
  color: var(--white);

}

.header .container span {
  color: var(--pink);
  font-size: 2.2rem;
  z-index: 3;
  transition: color 0.3s ease;

}

.header .container span:hover {
  text-decoration: none;
  color: var(--white);

}

.navbar {
  background-color: var(--bold-purple);
  position: fixed;
  top: 35px;
  /* top: -353px; */
  left: 0;
  width: 100%;
  height: auto;
  overflow: hidden;
  max-height: 0;
  padding: 0px 30px;
  font-weight: 500;
  line-height: 4;
  display: flex;
  flex-direction: column;
  font-size: 1.1rem;
  z-index: 1;
  visibility: hidden;
  transition: 400ms ease-in-out;

}

.navbar.active {
  max-height: 500px;
  transition-duration: 500ms;
  visibility: visible;

}

.navbar-list .navbar-link {
  display: inline;
  transition: color 0.3s ease;
  text-decoration: none;

}

.navbar-list .navbar-link:hover {
  color: var(--white);

}

/* MAIN STYLES */

.main {
  flex: 1;

}

/* ARTICLE STYLES */

.article {
  transition: opacity 200ms ease-in-out;

}

/* HERO STYLES */

.hero {
  padding-block: 70px 40px;
  padding-block-end: 0px;
  color: var(--deep-indigo);
  background-color: var(--light-purple);

}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: wrap;
  gap: 80px;

}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;

}

.hero-title {
  font-size: 3rem;
  font-weight: 330;
  line-height: 1.15;
  margin-block-end: 10px;
  text-align: center;

}

.hero-text {
  font-size: 1.7rem;
  line-height: 1.4;
  color: var(--grey-text);

}

/* ABOUT STYLES */

.about {
  padding-block: 50px 40px;
  padding-block-start: 20px;
  background-color: var(--light-purple);

}

.about .container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  gap: 60px;

}

.about-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;

}

.about-logo img {
  width: 60vw;
  max-width: 230px;
  aspect-ratio: 1 / 1;

  border-radius: 50%;
  border: 6px solid var(--purple-border);
  object-fit: cover;
  object-position: center center;
  /* box-shadow: 0 0 0 6px var(--purple-border); */
  display: block;

}

.about-logo .title {
  font-size: 2.3rem;
  font-weight: 330;
  text-align: center;
  line-height: 1.3;
  max-width: 310px;
  width: 60vw;
  color: var(--deep-indigo);

}

.about-logo .subtitle {
  font-size: 1.3rem;
  color: var(--grey-text);

}

.about-logo .location {
  font-size: 1.3rem;
  color: var(--electric-purple);

}

.about-text {
  /* display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--black);
  width: 100%; */
  width: 100%;
  margin-top: 30px;

}

.about-text .title {
  /* font-size: 2.7rem;
  font-weight: 340;
  text-align: center;*/
  color: var(--deep-indigo);
  font-size: 1.3rem;
  text-align: center;
  font-weight: 500;
  width: 180px;

}

.about-text .about-cards {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 80px;
  width: 100%;

}

.about-text .about-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* justify-content: space-between; */
  gap: 7px;
  padding: 35px;
  color: var(--black);
  border: 2px solid var(--purple-border);
  border-radius: 10px;
  /* width: 385px; */
  flex: 1 1 300px;

}

.about-text .text {
  font-size: 1.3rem;
  line-height: 1.6;

}

.about-text .text span {
  font-weight: bold;
  display: inline;

}

/* RESEARCH PROJECT STYLES */

.research-projects {
  padding-block: 50px 40px;

}

.research-projects .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;

}

.research-projects .title {
  font-size: 2.7rem;
  font-weight: 340;
  text-align: center;
  color: var(--deep-indigo);

}

.research-projects .cards {
  width: 100%;

}

.research-projects .card-list {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 120px;
  width: 100%;

}

.research-projects .card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  background-color: var(--white);
  padding: 35px;
  color: var(--bold-purple);
  border: 2px solid var(--purple-border);
  border-radius: 10px;

}

.research-projects .card span {
  font-size: 15rem;
  text-align: center;

}

.research-projects .card a {
  font-size: 1.3rem;
  text-align: center;
  font-weight: 500;
  width: 180px;

}

/* LATEST NEWS STYLES */ 

.news {
  padding-block: 50px 40px;
  background-color: var(--light-purple);

}

.news .container {
  display: flex;
  flex-direction: column;
  color: var(--deep-indigo);
  gap: 12px;

}

.news .title {
  font-size: 2.7rem;
  font-weight: 340;
  text-align: center;

}

.news .text {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--black);

}

.news .list {
  display: flex;
  flex-direction: column;
  gap: 12px;

}

.news .button {
  font-size: 1.3rem;
  color: var(--electric-purple);
  display: flex;
  align-items: center;
  justify-content: center;

}

/* SELECTED PUBLICATIONS STYLES */

.selected-publications {
  padding-block: 50px 40px;

}

.selected-publications .container {
  display: flex;
  flex-direction: column;
  color: var(--deep-indigo);
  gap: 12px;

}

.selected-publications .title {
  font-size: 2.7rem;
  text-align: center;
  font-weight: 340;

}

.selected-publications .list {
  display: flex;
  flex-direction: column;
  gap: 20px;

}

.selected-publications .list .see-more-button {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.3rem;
  color: var(--electric-purple);

}

.selected-publications .list .content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--black);

}

.selected-publications .list .title {
  font-size: 1.6rem;
  font-weight: 500;
  text-align: left;
  line-height: 1.6;

}

.selected-publications .list :is(.description, .authors, .buttons)  {
  font-size: 1.3rem;

}

.selected-publications .list .description {
  line-height: 1.5;

}

.selected-publications .list .authors {
  color: var(--grey-text);

}

.selected-publications .list .buttons {
  display: flex;
  gap: 10px;

}

.selected-publications .list .buttons .button a {
  color: var(--electric-purple);
  border: 1px solid var(--electric-purple);
  padding: 3px 6px;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;

}

.selected-publications .list .buttons .button a:hover {
  background-color: var(--bold-purple);
  color: var(--white);
  text-decoration: none;

}

.publication {
  display: flex;
  flex-direction: column;
  gap: 20px;

}

.publication .image-container {
  display: flex;
  justify-content: center;
  height: auto;

}

.publication .image {
  width: 70vw;
  background-color: rgba(128, 128, 128, 0.2);
  aspect-ratio: 3 / 1;

}

/* MEMBERS */

.members {
  padding-block: 50px 40px;
  background-color: var(--light-purple);
  color: var(--deep-indigo);

}

.members .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;

}

.members .title {
  font-size: 2.7rem;
  font-weight: 340;

}

.members .member {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 15px;

}

.members .member .title {
  font-size: 2rem;

}

.members .member .profile {
  border-radius: 50%;
  overflow: hidden;

}

.members .member .profile .image {
  width: 50vw;
  max-width: 200px;
  background-color: rgba(128, 128, 128, 0.2);
  aspect-ratio: 1 / 1;
  line-height: 10;
  object-fit: cover;
  object-position: center top;

}

.members .member .directors .director {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.3rem;
  gap: 15px;

}

.members .member .phd-students {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 15px;
  column-gap: 60px;

}

.members .member .phd-students .phd-student {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.3rem;
  gap: 15px;

}

.members .member .undergraduate-students .undergraduate-student {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.3rem;
  gap: 15px;

}

.members .member .masters-students .masters-student {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.3rem;
  gap: 15px;

}

.members .member .name {
  color: var(--electric-purple);

}

/* OUR SPONSORS STYLES */

.our-sponsors {
  padding-block: 50px 40px;

}

.our-sponsors .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;

}

.our-sponsors .title {
  font-size: 2.7rem;
  font-weight: 340;
  text-align: center;
  color: var(--deep-indigo);


}

.our-sponsors .sponsor-list {
  width: 100%;

}

.our-sponsors .sponsors-list {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 70px;
  width: 100%;

}

.our-sponsors .sponsors-list .sponsor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  background-color: var(--white);
  padding: 20px;
  color: var(--bold-purple);
  border: 2px solid var(--purple-border);
  border-radius: 10px;
  flex: 0 0 auto;

}

.our-sponsors .sponsors-list .sponsor img {
  width: 150px;
  aspect-ratio: 1 / 1;

}

.our-sponsors .sponsors-list .sponsor a {
  font-size: 1.3rem;
  text-align: center;
  font-weight: 500;
  width: 130px;

}

/* OPPORTUNITIES STYLES */

.opportunities {
  padding-block: 50px 40px;
  background-color: var(--light-purple);

}

.opportunities .container {
  display: flex;
  flex-direction: column;
  color: var(--deep-indigo);
  gap: 12px;

}

.opportunities .title {
  font-size: 2.7rem;
  text-align: center;
  font-weight: 340;

}

.opportunities .form {
  /* background-color: var(--white); */
  font-size: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;

}

.opportunities .form .title {
  font-size: 2rem;
  color: var(--black);

}

.opportunities .form .text {
  font-size: 1.3rem;
  color: var(--grey-text);
  text-align: left;
  line-height: 1.5;

}

.opportunities .form .opport-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;

}

.opportunities .form .opport-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1.3rem;
  width: 100%;

}

.opportunities .form .opport-form .form-group span {
  display: inline-block;
  color: #e74c3c;

}

.opportunities .form .opport-form .form-group :is(input, textarea) {
  border: 1px solid var(--deep-indigo);
  background-color: var(--white);
  padding: 10px;
  border-radius: 4px;

}

.opportunities .form .opport-form .form-group textarea {
  resize: none;
  height: 100px;
  font-family: var(--font);

}

.opportunities .form .opport-form .submit {
  color: var(--deep-indigo);
  background-color: var(--white);
  padding: 7px 14px;
  border: 1px solid var(--deep-indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  margin-block-start: 10px;

}

/* SEARCH PAGE STYLES */

.search-page {
  display: none;
  padding-block-start: 50px;

}

.search-page .container {
  display: flex;
  flex-direction: column;
  gap: 12px;

}

.search-page .search-header {
  display: flex;
  justify-content: space-between;
  align-items: center;

}

.search-page .title {
  font-size: 2.7rem;
  font-weight: 340;
  color: var(--deep-indigo);

}

.search-header .close span {
  font-size: 2.7rem;
  color: var(--deep-indigo);

}

.search-page .input-container {
  width: 100%;
  border: 1px solid var(--bold-purple);
  border-radius: 30px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  padding: 5px;
  margin-block-end: 8px;

}

.search-page .input-container .search-button {
  display: flex;
  justify-content: center;
  align-items: center;

}

.search-page .input-container .search-button span {
  font-size: 1.8rem;

}

.search-page .input-container span {
  color: var(--black);

}

.search-page .input {
  font-size: 1.3rem;
  width: 100%;
  color: var(--black);

}

.search-page .input-container:has(.input:focus) {
  border-color: var(--electric-purple);

}

.search-page .results-number {
  color: var(--black);
  font-size: 1.7rem;

}

.search-page .results-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-block-end: 60px;

}

.search-page .results-list .result-item {
  display: none;
  flex-direction: column;
  gap: 4px;

}

.search-page .results-list .title {
  font-size: 1.7rem;
  color: var(--bold-purple);
  font-weight: 370;
  display: inline-block;
  align-self: flex-start;

}

.search-page .results-list .title:hover {
  text-decoration: underline;

}

.search-page .results-list .category {
  font-size: 1.35rem;
  font-weight: 370;
  color: var(--grey-text);

}

/* FOOTER STYLES */

.footer {
  padding-block: 50px 10px;
  color: var(--deep-indigo);

}

.footer .container {
  display: flex;
  flex-direction: column;
  gap: 12px;

}

.footer .container .title {
  font-size: 2.7rem;
  font-weight: 340;
  text-align: center;

}

.footer .info {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 10px;

}

.footer .info .email,
.footer .info .location {
  display: flex;
  align-items: center;
  gap: 12px;

}

.footer .info .email a {
  font-size: 1.3rem;
  color: var(--electric-purple);

}

.footer .info .location .address {
  font-size: 1.3rem;
  color: var(--black);

}

.footer .info span {
  font-size: 3rem;

}

.footer .map iframe {
  width: 100%;
  aspect-ratio: 2 / 1;

}

/* SUBFOOTER STYLES */

.subfooter {
  background-color: var(--light-purple);
  padding-block-start: 50px;
  padding-block-end: max(16px, env(safe-area-inset-bottom));
  color: var(--deep-indigo);
  font-size: 0.8rem;

}

.subfooter .container {
  display: flex;
  justify-content: center;
  align-items: end;

}

/* MEDIA QUERIES */

@media (min-width: 768px) {
  .publication {
    display: flex;
    flex-direction: row;
    gap: 20px;
  
  }
  
  .publication .image-container {
    display: flex;
    justify-content: center;
    height: auto;
  
  }
  
  .publication .image {
    width: 30vw;
    background-color: rgba(128, 128, 128, 0.2);
    aspect-ratio: 3 / 1;
  
  }


}

@media (min-width: 992px) {
  .header .container {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
  
  }
  
  .header {
    background-color: var(--bold-purple);
    padding-block: 5px;
    color: var(--pink);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 4;
  
  }
  
  .header .container > a {
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 3;
  
  }
  
  .header .container span {
    color: var(--pink);
    font-size: 2.2rem;
    z-index: 3;
  
  }

  .nav-toggle-btn {
    display: none;

  }

  .navbar-container {
    display: flex;
    align-items: center;
    gap: 30px;

  }
  
  .navbar {
    all: unset;
  
  }

  .navbar .navbar-list {
    display: flex;
    gap: 30px;

  }

  .hero-text {
    max-width: 800px;
  }
  
  .about .container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 60px;
  
  }
  
  .about-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  
  }
  
  /* .about-logo img {
    width: 60vw;
    max-width: 310px;
    aspect-ratio: 1 / 1;
  
  } */
  
  .about-logo .title {
    font-size: 2.3rem;
    font-weight: 330;
    text-align: center;
    line-height: 1.3;
    max-width: 310px;
    width: 60vw;
    color: var(--deep-indigo);
  
  }
  
  .about-logo .subtitle {
    font-size: 1.3rem;
    color: var(--grey-text);
  
  }
  
  .about-logo .location {
    font-size: 1.3rem;
    color: var(--electric-purple);
  
  }
  
  /* .about-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--black);
    width: 100%;
  
  }
  
  .about-text .title {
    font-weight: 340;
    text-align: center;
  
  }
  
  .about-text .text {
    font-size: 1.3rem;
    line-height: 1.6;
  
  } */

  .footer .map iframe {
    max-height: 430px;

  }

}

@media (min-width: 1440px) {
  .hero .container {
    flex-direction: row;

  }

  .hero-content {
    gap: 0;

  }

  .hero-title {
    text-align: left;

  }

  .about-logo img {
    max-width: 190px;

  }

  /* .about-text .title {
    text-align: left;
  
  } */

  .news .container {
    flex-direction: row;

  }

  /* .news .title {
    text-wrap: nowrap;
    text-align: left;
    flex: 0 0 30%;

  } */

  .news .button {
    justify-content: left;

  }

  .selected-publications .container {
    flex-direction: row;

  }

  /* .selected-publications .container > .title {
    text-wrap: nowrap;
    text-align: left;
    flex: 0 0 30%;

  } */

  .selected-publications .list .see-more-button {
    justify-content: left;

  }

  /* .opportunities .container {
    flex-direction: row;

  } */

  /* .opportunities .container > .title {
    text-wrap: nowrap;
    text-align: left;
    flex: 0 0 30%;

  } */

  .opportunities .form .title {
    text-align: left;

  }

  .opportunities .form .text {
    text-align: left;

  }

  .opportunities .form .opport-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;

  }

  /* .footer .container {
    flex-direction: row;

  } */

  /* .footer .container .title {
    text-wrap: nowrap;
    text-align: left;
    flex: 0 0 30%;

  } */

}