
/*main css
////////////////////////////////////////////////////*/

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: whitesmoke;
}

body.no-scroll {
    overflow: hidden;
}

p {
    margin-left: 12vw;
    margin-right: 12vw;
    margin-top: 10px;
    color: rgb(43, 40, 40);
    font-size: 1.1em;
  line-height: 1.5;


}

.home-page-p {
  /* Add your specific styles for home page paragraphs here */
  font-size: 1.1em;
  line-height: 1.5;
  color: #2b2828;
  text-align: center;
}

ul {
  margin-left: 12vw;
    margin-right: 12vw;
    margin-top: 30px;
    font-size: 1.1em;
  line-height: 1.5;
  color: #2b2828;
}

hr {
    border: none;
    height: 2px;
    background-color: rgb(226, 21, 21);
    margin-top: 20px;
    margin-left: 12vw;
    margin-right: 12vw;
    margin-bottom: 20px;
}

h2 {
    font-size: 40px;
    text-align: center;
    margin-bottom: 0px;
    margin-top:50px;
    color: rgb(43, 40, 40);

}

.Research-h2 {
  font-size: 40px;
  text-align: center;
  margin-bottom: 0px;
  margin-top:50px;
  color: rgb(43, 40, 40);
  margin-left: 12vw;
  margin-right: 12vw;
}



h4 {
  font-size: 30px;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left:10vw;
  margin-right:10vw;
  color: rgb(43, 40, 40);

}


  h5{
    font-size: 20px;
    margin-top: 10px;
    margin-bottom: 0px;
    margin-left:12vw;
    margin-right:12vw;
    color:rgb(226, 21, 21);
  }

a{
  text-decoration: none;
  color:#2b2828;
}


.image-container {
  display: flex; /* Use Flexbox */
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  max-width: 500px; /* Ensure images don't overflow their container */
  height: auto; /* Adjust height based on content */
  margin: 0 auto; /* Center the container itself if it's a block-level element */
}

.image-container-projects {
  display: flex; /* Use Flexbox */

  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  height: auto; /* Adjust height based on content */
  margin: 0 auto; /* Center the container itself if it's a block-level element */
  margin-top: 200px;
}

.image-container-projects img {
  max-width: 60vw; /* Ensure images don't overflow their container */
  border-color: #2b2828;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Add shadow to the image */

}



.center-image {
  margin: 10px; /* Adjust margin between images */
}

.image-container img {
  height: 40vw; /* Allow the height to adjust proportionally */
 
  border-color: #2b2828;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Add shadow to the image */

}






.pdf-link {
  border: 2px solid rgb(226, 21, 21); /* Add a solid border with red color */
  padding: 5px 10px; /* Add some padding to make the link easier to click */
  text-decoration: none; /* Remove the default underline */
  display: inline-block; /* Ensure the link behaves as a block element */
  border-radius: 5px;
  color: #2b2828; /* Set initial text color */
  transition: background-color 0.5s ease;
  transition: color 0.5 ease;
}

.pdf-link:hover {
  background-color: rgb(226, 21, 21); /* Change background color to red on hover */
  color: white; /* Change text color to white on hover */
}



 
  



/*banner stuff 
/////////////////////////////////////////////////////*/
.background-container {
  position: relative;
  background-image: 
  linear-gradient(to bottom, rgba(48, 48, 48, .3) 50%, rgba(245, 245, 245, 1) 100%),
  url("/Images/red-dna.jpg");  background-size: cover;
  background-position: center;
  height: 110vh;
  overflow: hidden;
  width: 100%; 
  margin: 0;
  
}

.background-container-alumni {
  position: relative;
  background-image: 
  linear-gradient(to bottom, rgba(48, 48, 48, .3) 50%, rgba(245, 245, 245, 1) 100%),
    url("/Images/utampa_backround.jpg");
  background-size: cover;
  background-position: center center;
  height: 100vh;
  overflow: hidden;
  width: 100%;
  margin: 0;
}

.background-container-members {
  position: relative;
  background-image: 
  linear-gradient(to bottom, rgba(48, 48, 48, .3) 50%, rgba(245, 245, 245, 1) 100%),
    url("/Images/members.jpg");
  background-size: cover;
  background-position: center center;
  height: 100vh;
  overflow: hidden;
  width: 100%;
  margin: 0;
}

.background-container-research {
  position: relative;
  background-image: 
  linear-gradient(to bottom, rgba(48, 48, 48, .3) 50%, rgba(245, 245, 245, 1) 100%),
    url("/Images/publications_background.png");
  background-size: cover;
  background-position: center center;
  height: 100vh;
  overflow: hidden;
  width: 100%;
  margin: 0;
}


.background-container-publications {
  position: relative;
  background-image: 
  linear-gradient(to bottom, rgba(48, 48, 48, .3) 50%, rgba(245, 245, 245, 1) 100%),
    url("/Images/publications_background2.png");
  background-size: cover;
  background-position: center center;
  height: 100vh;
  overflow: hidden;
  width: 100%;
  margin: 0;
}

#header-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 160px; /* Adjust height to fit the desired layout */
  margin-top: -250px; /* Adjust if necessary */
  margin-bottom: 175px;
  position: relative;
  z-index: 5;
}

.header-logo {
  height: auto; /* Adjust the height as needed */
  width: 35vw; /* Maintain aspect ratio */
  
  margin-top: -400px;
  margin-bottom: 50px;
}


h1 {
    color: whitesmoke;
    text-shadow: 0 8px 16px rgba(0, 0, 0, 1);
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
    font-size: 60px;
    margin: 0; /* Remove margin to prevent unwanted spacing */
    z-index: 5;
}





.top-nav {
  background-color: rgb(43, 40, 40); /* Background color for the navigation bar */
  padding: 10px 0; /* Add padding to the top and bottom of the navigation bar */
  box-shadow: 0 4px 8px rgba(0, 0, 0, .5); /* Add shadow effect */
  z-index: 500;
  transition: height 0.8s, padding 0.8s;
  position: fixed; /* Fix the header at the top */
  top: 0; /* Position it at the top */
  width: 100%; /* Make it full width */

}

.top-nav.contracted {
  height: 50px; /* Reduced height when contracted */
  padding: 5px 0; /* Adjust padding when contracted */
  transition: height 0.3s ease;

}

.top-nav ul {
  margin-top: 30px;
  float: right;
  vertical-align: middle;
  margin-right: 50px;
  display: flex; /* Ensure it's a flex container */
  list-style-type: none; /* Remove default list styling */
  padding: 0;

}

.top-nav li {
  display: inline-block; /* Change display to inline-block */
}

.top-nav li a {
  text-decoration: none;
  font-size: 1.3em;
  color: whitesmoke;
  padding: 0 15px; /* Add padding to space out the links horizontally */
  opacity: 1; /* Fully visible by default */
  transition: color 0.2s ease-in-out; /* Smooth transition */
}

.top-nav.contracted li a {
  opacity: 0; /* Fully transparent when contracted */
  visibility: hidden; /* Ensure the elements are not focusable/clickable when invisible */
  transition: opacity 0.3s ease-in-out, visibility 0.3s 0.3s; /* Smooth transition with delay for visibility */
}



.top-nav li a:hover {
  color: rgb(140, 140, 140);
}
  
  .top-nav a img {
    height: 80px; /* Adjust the height of the image as needed */
    width: auto; /* Maintain aspect ratio */
    vertical-align: middle;
    margin-left: 3%;
    transition: height 0.8s, padding 0.8s;

    
  }

  .top-nav.contracted img {
    height: 45px; /* Reduced height when contracted */
    margin-top: -12px; /* Move the image up when contracted */
}

  




  /*footer stuff */
  body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

footer {
    background-color: #333;
    color: whitesmoke;
    padding: 20px 0;
    position: relative;
    bottom: 0;
    width: 100%;
    margin-top: 100px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin: 20px;
}

.footer-section h3 {
    margin-bottom: 15px;
}

.footer-section p, .footer-section ul, .footer-section li {
    margin: 0;
    padding: 0;
    list-style: none;
    color: whitesmoke
}

.footer-section a {
    color: whitesmoke;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: rgb(140, 140, 140);
}

.footer-bottom {
    background-color: #222;
    text-align: center;
    padding: 40px ;
    margin-top: 20px;
}

.footer-bottom p {
    margin: 0;
    color: whitesmoke;
}

.footer-section.image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-section img.footer-image {
  max-width: 100%;
  height: auto;
  transition: transform 0.2s ease; /* Smooth hover effect */
}





/* Alumni Images //////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////*/

.alumni-container {
    display: flex;
    flex-wrap: wrap; /* Allow the container to wrap its items */
    justify-content: center; /* Center the items horizontally */
    margin-top: 50px; /* Adjust margin as needed */
  }
  
  .alumni-item {
    margin: 10px; /* Adjust margin between items */
    width: 220px; /* Set a fixed width for the item */

  }
  
  .alumni-item img {
    display: block; /* Display the image as a block element */
    width: 100%; /* Fill the container width */
    height: 300px; /* Set a fixed height for the images */
    object-fit: cover; /* Maintain aspect ratio and fill the container */
    transition: filter 0.5s ease; /* Add transition to the filter property */
    border-color: #2b2828;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Add shadow to the image */


  }

  .alumni-item img:hover {
    filter: brightness(50%); /* Example filter effect */
  }

  .alumni-item p {
    margin-top: 5px; /* Add some space between the image and text */
    color:#2b2828;
    text-align: center;
    margin-left:0;
    margin-right:0;
    transition: color 0.5s ease; /* Add transition to the color property */

  }

  .alumni-item p:hover{
    margin-top: 5px; /* Add some space between the image and text */
    color:gray;
    text-align: center;
    margin-left:0;
    margin-right:0;

  }

  .alumni-item a {
    text-decoration: none;
  }

 
  
  

/* Lab Member Bio Container //////////////////////////////////////////
/////////////////////////////////////////////////////////////////////*/

.lab-member-bio-container {
  display: flex;
  flex-wrap: nowrap; /* Prevent wrapping */
  align-items: flex-start; /* Align items at the start */
  margin-bottom: 20px; /* Adjust margin as needed */
  margin-top: 150px;
  margin-right: 12vw;
}

.lab-member-bio-image {
  flex: 0 0 auto; /* Prevent the image from growing or shrinking */
  margin-left: 12vw;
}

.lab-member-bio-image img {
  width: 200px; /* Set width for the image */
  height: 300px; /* Set a fixed height for the image */
  object-fit: cover; /* Maintain aspect ratio and fill the container */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Add shadow to the image */
}

.lab-member-bio-info {
  display: flex;
  flex-direction: column;
  flex: 1; /* Take up the remaining space */
  margin-left: 50px;
  margin-top:100px;
}

.lab-member-bio-info h3 {
  margin-top: 10px; /* Remove default margin for consistency */
  color: #2b2828;
}

.lab-member-bio-info h2 {
  text-align: left;
  font-size: 45px;
  padding-bottom: 1vw;
}

.lab-member-bio-info p {
  margin-left: 0;
}

.position-info {
  display: block; /* Display as block to stay on the same line */
  margin-bottom: 10px; /* Add some space between position info blocks */
}

.position-info h3 {
  display: inline; /* Display the h3 inline */
  margin-right: 5px; /* Add some space between the h3 and p */
}

.position-info p {
  display: inline;
}



  .hamburger {
    display: none;
    cursor: pointer;
    position: absolute; /* Make it absolute */
    top: 35px; /* Adjust the top position as needed */
    right: 20px; /* Adjust the right position as needed */
    z-index: 1001; /* Ensure it's above the nav menu */
    transition: top 0.8s, transform 0.8s; /* Add transition for smooth movement */
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: white;
    transition: width 0.8s; /* Add transition for smooth resizing */
}

.top-nav.contracted .hamburger {
    top: 15px; /* Move up when contracted */
}



@media only screen and (max-width: 1100px) {
/* Other CSS remains the same */

/* Base styles for the nav menu */
.top-nav ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  position: fixed; /* Position it fixed */
  top: -100vh; /* Start off the screen */
  left: 0;
  background-color: rgb(43, 40, 40);
  align-items: center; /* Center items horizontally */
  justify-content: center; /* Center items vertically */
  z-index: 10; /* Ensure it's above other elements */
  transition: top 0.8s ease; /* Smooth transition for the top property */
}

.top-nav ul.active {
  top: 0; /* Move into the viewport */
}

.top-nav li {
  margin: 30px 0; /* Add some margin for spacing */
  font-size: 25px;
}
.top-nav.contracted li a {
  opacity: 1; /* Fully visible when contracted */
  visibility: visible; /* Ensure visibility */
}


/* Ensure the hamburger menu is visible and has a transition */
.hamburger {
  display: block;
  cursor: pointer;
  position: absolute;
  top: 35px; /* Adjust the top position as needed */
  right: 20px; /* Adjust the right position as needed */
  z-index: 1001; /* Ensure it's above the nav menu */
  transition: top 0.8s, transform 0.8s; /* Add transition for smooth movement */
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: white;
  transition: width 0.8s; /* Add transition for smooth resizing */
}

}

.image-text-container {
  display: flex; /* Use Flexbox to align items horizontally */
  align-items: flex-start; /* Align items at the start of the container */
  gap: 20px; /* Space between the image and the text */
}

.image-text-container p {
  margin-left: 50px;
}

.image-text-container h2 {
  margin-left: 50px;
  margin-right: 12vw;
  transition: 0.3s ease;
  text-align: left;
}

.image-text-container h2:hover {
  margin-left: 50px;
  margin-right: 12vw;
  text-align: left;
  color:gray;


}

.image-text-container img {
  width: 400px; /* Set the width */
  height: 300px; /* Set the height */
  object-fit: cover; /* Maintain aspect ratio and cover the container */
  flex-shrink: 0; /* Prevent the image from shrinking */
  margin-left: 12vw;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Add shadow to the image */
  transition: 0.3s ease;

}

.image-text-container img:hover {

  object-fit: cover; /* Maintain aspect ratio and cover the container */
  flex-shrink: 0; /* Prevent the image from shrinking */
  margin-left: 12vw;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Add shadow to the image */
  filter: brightness(50%); /* Example filter effect */

}




@media (max-width: 1200px) {
  .lab-member-bio-image {
    flex: 0 0 auto; /* Allow the image to grow and shrink as needed */
    margin-left: 80px;
  }

  .lab-member-bio-info {
    display: flex;
    margin-left: 80px;
    flex-direction: column;
    margin-top: 0;
  }

  hr {
    border: none;
    height: 2px;
    background-color: rgb(226, 21, 21);
    margin-top: 20px;
    margin-left: 10vw;
    margin-right: 10vw;
    margin-bottom: 20px;
}
.image-text-container {
  display: flex; /* Use Flexbox to align items horizontally */
  align-items: flex-start; /* Align items at the start of the container */
  flex-direction: column;
  gap: 20px; /* Space between the image and the text */
}
.lab-member-bio-container {
  flex-direction: column; /* Stack items vertically */

}

.image-text-container img {
  width: 70vw; /* Set the width */
  height: 50%; /* Set the height */
  object-fit: cover; /* Maintain aspect ratio and cover the container */
  margin-left: 12vw;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Add shadow to the image */
  transition: 0.3s ease;

}

.image-container img {
  width: 80vw; /* Allow the height to adjust proportionally */
  height: auto;
  overflow: hidden;
  border-color: #2b2828;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Add shadow to the image */

}







}