body {
  font-family: Helvetica, sans-serif;
  font-size: 1.2rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: justify;
  max-width: 1000px;
  margin: auto;  
}

header {
  max-width: 1000px;
  min-height: 65px;
  background-color: #333;
  color: #fff;
  align-items: center;
  justify-content: space-around;
  display: flex;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
}

html {
  scroll-behavior: smooth;
}
.header-title {
  font-size: 2.5rem;
  font-family: Georgia, Serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  margin-right: 1.5rem;
}
.header-nav {
  text-align: center;

}

.header-nav li {
  display: inline-block;
}
.header-nav a {
  color: #fff;
  text-decoration: none;
}

h1 {  
  font-size: 2rem;
  font-family: Georgia, Serif;
  margin: 0;
} 

h2 {
  font-size: 1.25rem;
  margin: 0;
  padding: 0.5rem 0rem 0rem 0rem;
} 
h3 {
  font-size: 1.2rem;
  margin: 0;
  padding: 0.25rem 0rem 0rem 0rem;
} 

a:link, a:visited {
  color: darkslategray; /* Darker color on hover for contrast */
  background-color: transparent; /* Keeps the background transparent by default */
  text-decoration: none; /* Removes underlines from links in their default state */
  transition: color 0.3s ease, /* Smooth transition for color and background */
}

a:hover, a:active {
  color:darkslateblue; /* Darker color on hover for contrast */
  background-color: lavender; /* Adds a semi-transparent white background on hover */
  text-decoration: none; /* Ensures that underlines are not added on hover */
}

/* Specific styles to exclude .header-nav links from the general link styles */
.header-nav a:link, .header-nav a:visited {
  /* Reset or define specific styles for your nav links here */
  color: inherit; /* Example: inherit the color from the parent element */
  text-decoration: none; /* Removes underline */
}

.header-nav a:hover, .header-nav a:active {
  /* Specific hover and active styles for your nav links here */
  color: inherit; /* Keeps the color consistent on hover */
  background-color: transparent; /* Keeps background transparent */
  text-decoration: none; /* Ensures no underline on hover */
  box-shadow: none; /* Removes box-shadow if not needed */
}

nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}
nav a {  
  font-size: 1.5rem;
  font-family: Georgia, Serif;
  text-decoration: none;
  color: #fff;
  padding: 15px 1.1rem;
}

ul {
  list-style-type: none; 
  padding: 0; 
  margin: 0;  
}

li img{
    width: 16px;
    height: auto;
	padding-right: 1rem;
	background-repeat: no-repeat;
}


main {
  padding: 0.75rem;
}

section {
  padding-top: 80px;
  margin-top: -60px;
}
#about{
  padding-top: 130px;	
}


footer {
  background-color: lightgray;
  text-align: center;
}


.profile-picture {
  border-radius: 50%;
  width: 280px;
  height: auto;
  margin-right: 1em;
}

.about-content {
  display: flex;
  align-items: center;
  flex-direction: row;
  text-align: justify;
}
.table-content {
  font-family: Helvetica, sans-serif;
  font-size: 1rem;
  margin: 0;
  display: flex;
}

@media (max-width: 1000px) {
  header{
    flex-direction: column;
    align-items: center;
	text-align: center;
	padding: 0.2rem 0rem
  }
  .header-title {
    margin-right: 0rem;
  }
  nav a {
	padding: 0 1rem;   
  }
  section {
  padding-top: 120px;
  margin-top: -100px
  }
  .profile-picture {
  margin-right: 0em;
  }
  #about{
  padding-top: 210px;	
}

  .about-content {
	flex-direction: column;	
  }
  
  .projects-content .project-description .project-description-with-image {
  flex-direction: column;
  } 
}

@media (max-width: 680px) {
  nav a {
	padding: 0.5rem;   
  }
}

@media only screen and (max-width: 600px) {
  body {
    zoom: 0.8;
  }
}
@media only screen and (max-width: 500px) {
  body {
    zoom: 0.7;
  }
}
@media only screen and (max-width: 400px) {
  body {
    zoom: 0.6;
  }
}

.icon-container {
  display: inline-block;

}

.icon-container a {
  display: inline-block;
  margin: 0.5rem;
}
.icon {
  height: 42px;
  width: auto;
}



.projects-content {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  margin-bottom:10px;
}

.project-title {
  font-weight: bold;
  cursor: pointer;
  text-align: left;  
}


/* Initial state */
.project-description {
  opacity: 0;
  max-height: 0;
  margin: 0.25rem 0rem;
  visibility: hidden;
  overflow: hidden;
  transition: opacity 1s, max-height 0.6s ease-out, visibility 0s linear 0.5s; /* Adjust timing as needed */
}

/* State when visible */
.project-description.visible {
  opacity: 1;
  max-height: 2000px; /* Adjust this value to be greater than the content's actual max height */
  visibility: visible;
  transition: opacity 0.6s, max-height 0.6s ease-out;
}



table {
  width: 100%;
  margin: 1rem 0;
  border-collapse: collapse;
  
}

th{
  padding: 0.5rem 1rem 0.5rem 0rem;
  text-align: left;
  vertical-align: top;
  font-size: 1.2rem
}

td{
  padding: 0.5rem 0rem 0.5rem 0rem;
  text-align: left;
  font-size: 1.2rem
}

.roles-table{
  margin: auto;
  vertical-align:top;  
}
.role-text {
  width: 70%;
  padding: 0.5rem 0.5rem 0.25rem 0.75rem;
  font-size: 1rem;
}


.logo img {
  max-height: 70px;
  max-width: 120px;
  width: auto;

  @media (max-width: 900px) {

    max-height: 70px;
    max-width: 90px;
    width: auto;
  }
}

.education-table .logo {
  width: 15%;
  text-align: center;  
}
.education-table .role-details {
  width: 70%;
  padding: 0rem 0.5rem 0.25rem 0.75rem;
}

.education-table .dates {
  width: 15%;
  text-align: right;
}

.projects-content .role-details{
  font-family: Helvetica, sans-serif;
  font-size: 1rem;
  padding: 0rem;
}
.projects-content .project-description{
  font-family: Helvetica, sans-serif;
  font-size: 1rem;
  padding: 0rem;
}

.project-description-with-image {
  display: flex;
  flex-direction: row;
  text-align: justify;
  align-items: center;
}
.project-image {
  width: 450px;
  height: auto; 
  vertical-align: center;
  padding: 0.5rem 0rem 1rem 1.5rem;
}
.projects-content .roles-table th:first-child, td:first-child{
  width: 100px;
  text-align: left;
}

.projects-content .roles-table th:last-child, td:last-child{
  width: 600px;
  text-align: left;
}


.publication-table th:first-child, td:first-child {
  width: 15%;
}

.publication-table th:last-child, td:last-child {
  width: 82%;
}
.publication-table th{
  font-weight: normal;
  font-size: 1rem;
}
.publication-table td{
  font-weight: normal;
  text-align: justify;
  font-size: 1rem;
}


