/******************************************/
/*************** Colors  ******************/
/******************************************/

body {
  --font-color: #000000;
  --active-color: #8e6f3e;
  --main-bg-color: white;
  --secondary-bg-color: #cfb991;
  margin: 0px;

  color: var(--font-color);
  background-color: var(--main-bg-color);
  /* Purdues Recommended Fonts */
  font-weight: 600;
  font-family: acumin-pro,"Franklin Gothic",sans-serif;
  font-size: 1rem;
  overflow-x: hidden;
}

h1 {
  font-size: 5rem;
  line-height: .9;
  text-align: center;
  font-weight: 700;
  font-family: "United Sans Condensed",Impact,"Arial Black","sans serif";
  text-transform: uppercase;
}

hr {
  width: 70%;
  margin: 25px auto;
}

footer {
  width: 100%;
  height: 25px;
  color: white;
  background-color: black;
  display: inline-block;
  text-align: center;
}

/******************************************/
/************ Lab Overview Styles *********/
/******************************************/
.tagline {
  width: 100%;
  padding: 20px;
  margin: auto;
  background-color: var(--secondary-bg-color);
}

/******************************************/
/************ Sections Styles *************/
/******************************************/

.section {
  height: 65vh;
  width: 70%;
  min-width: 500px;
  margin: 20px auto;
  display: flex;

  img {
    height: 60vh;
    margin: 16px;
  }
}

/******************************************/
/************ Navbar Styles ***************/
/******************************************/

.lab {
  font-size: 1.25rem;
  font-weight: bold;
}

.header {
  display: flex;
  justify-content: space-between;
  padding: 1.22rem 3.25rem;
  font-size: 1rem;
}

.purdue-logo {
  width: 223px;
}
.purdue-and-lab {
  display: flex;
  align-items: center;
}

.purdue-lab-divider {
  border-left: 2px solid var(--font-color);
  height: 100%;
  margin: 10px;
}

.navbar {
  display: flex;
}

.nav-link {
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  color: var(--font-color);
  padding: 20px 0px;
  margin: 0px 20px;
  display: inline-block;
  position: relative;
}

.nav-link::before {
  transition: 300ms;
  height: 4px;
  content: "";
  position: absolute;
  left: 50%;
  background-color: var(--active-color);
}

.nav-link-ltr::before {
  width: 0%;
  bottom: 10px;
}

.active-nav::before {
  width: 100%;
  left: 0;
}

.nav-link-ltr:hover::before {
  width: 100%;
  left: 0;
}

/******************************************/
/************ Banner Styles ***************/
/******************************************/
.banner-img {
  width: 100%;
}

.banner-container {
  margin: 0;
  display: flex;
  overflow-x: scroll;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 16px;
  list-style: none;
}

.banner { 
  width: 90%;
  flex-shrink: 0;
  height: 65vh;
  scroll-snap-align: center;
}

.banner-content {
  margin: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background-color: white;
  object-fit: contain;
  overflow: hidden;
}

/******************************************/
/************ Lab Members Styles **********/
/******************************************/

.lab-members-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  column-gap: 2em;
  row-gap: 5em;
}

.lab-members {
  display: flex;
  flex-direction: column;
  justify-content: center; 
  position: relative;

  padding: 2em;

  margin-block: 0.5em;
  margin-block-start: 0.5em;

  margin: 0 10%;
}

.past-members {
  display: grid;
  grid-template-columns: auto auto;

  padding: 2em;

  margin-block: 0.5em;
  margin-block-start: 0.5em;

  margin: 0 10%;
}

.lab-member-container {
}

.lab-member-img {
  height: 300px;
  width: 250px;
  object-fit: cover;
}

.lab-member-name {
  font-weight: bold
}

.lab-member-focus {
  margin-top: 5px;
}

.lab-member-specialty-tag {
  padding: 4px;
  margin: 5px;
  border-radius: 5px;
  text-align: center;
}

.scroll-container {
  position: relative;
  width: 500px;
  height: 25px;
  overflow: hidden;
}

.undergraduate-name {
  padding: 10px; /* Add some space around each name */
  margin-right: 10px; /* Add space between names */
}

.undergraduate-names {
  display: flex;
  white-space: nowrap; /* Prevent text wrapping */
  position: absolute; /* For positioning the animation */
  top: 0; /* Or adjust as needed */
  left: 100%; /* Start offscreen */
  animation: scrollLeft 15s linear infinite; /* Adjust duration as needed */
}
@keyframes scrollLeft {
  0% {
    left: 100%; /* Start offscreen */
  }
  100% {
    left: -100%; /* End offscreen */
  }
}

/******************************************/
/************ TKU BIO Styles **************/
/******************************************/

.tku-h2 {
  margin-top: 0px;

}

.tku-bio-container {
  background-color: var(--secondary-bg-color);
  width: 100%;
}

.tku-img {
  height: 300px;
  width: 250px;
  object-fit: cover;
  margin: 0 20px;

}

.tku-bio {
  background-color: var(--secondary-bg-color);
  display: flex;
  padding: 2em;

  margin-block: 0.5em;
  margin-block-start: 0.5em;

  margin: 0 10%;
}

.tku-bio-paragraph {
  text-indent: 25px;
  margin: 10px 0;
  font-weight: 400;
}

/******************************************/
/*********** TKU Research Styles **********/
/******************************************/
.research-figure-alt { 
  display: flex;
  width: 100%;
  margin-top: 24px;

  img { 
    width: 25%;
    content: object-fit;
  }
}

.research-header { 
  margin: auto;
  width: 60%;
}

.research-section-alt {
  width: 60%;
  min-width: 750px;
  margin: 40px auto;
}

.research-section {
  width: 60%;
  min-width: 750px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 24px;
}

.research-figure {
  max-width: 500px;

  img { 
    width: 100%;
    content: object-fit;
  }
}


