.social-icons{
  font-size: 1.5rem;
  width: 200px;
}

.social-icon{
  color: #899ead;
}

.main {
  max-width: 1600px; /* Set maximum width for main content */
  margin-left: 250px; /* Same as the width of the sidenav */
  font-size: 18px; /* Increased text to enable scrolling */
  padding: 0px 10px; /* Optional: Add padding for better spacing */
  padding-top: 30px;
  /* Other styles for your main content */
}


.about {
    height: auto;
    padding: 10px;
    box-sizing: border-box;
    text-align: justify;
    text-justify: inter-word;
    align-items: flex-start;
    /*overflow: auto; /* Enables both vertical and horizontal scrolling if content is too large */
    /* white-space: pre-wrap; /* Preserves whitespace formatting exactly as written */
}



.research-item {
  display: flex;
  flex-direction: row;
  margin-bottom: 30px;
  width: 100%;
}

.research-item img {
  width: 500px; 
  height: auto;
  max-height: 200px;
  margin-right: 20px;
}
.research-item video {
  width: 500px;
  height: auto;
  max-height: 200px; 
  margin-right: 20px;
}

.research-details {
  flex: 1;
  max-width: 100%;
}

.title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  max-width: 100%;
}

.authors {
  margin-bottom: 10px;
}


.left-bar {
  background: #739a97;
  height: 100vh;
  max-width: 240px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
  outline: none;
  padding: 0; /* Reset padding */
  margin: 0; /* Reset margin */
}

.left-bar .avatar {
  background: rgba(0, 0, 0, 0.1);
  padding: 2em 0.5em;
  text-align: center;
}

.left-bar .avatar img {
  width: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.left-bar h2 {
  font-weight: normal;
  margin-bottom: 0;
}

.menu-items {
  width: 100%; /* Ensure the ul takes full width */
  padding: 0; /* Reset padding */
  margin: 0; /* Reset margin */
  list-style: none; /* Remove default list styling */
}

.menu-items li {
  padding: 0.5em 0; /* Maintain padding for clickable area */
  font-size: 1.5em;
  font-weight: regular;
  transition: background 0.2s ease-in-out;
  cursor: pointer;
  padding-left: 20px;
}

.top-bar {
  display: none;
}


.menu-items li:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.menu-items li a {
  display: block; /* Ensures the entire li is clickable */
  width: 100%;
  text-decoration: none;
  color: #000000;
  padding: 10px 0; /* Optional: Adds more clickable area */
}


@media (max-width: 900px) {
  .left-bar {
      display: none; /* Hide sidebar on small screens */
  }

  .top-bar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      background-color: #739a97;
      padding: 10px 20px;
      width: 100vw;
      position: fixed;
      top: 0;
      left: 0;
      z-index: 10;
      height: auto;
      flex-direction: column; /* Stack items */
  }

  .menu-toggle {
      cursor: pointer;
      font-size: 24px;
      align-self: flex-end; /* Keeps ☰ on the right */
  }

  /* Smooth expanding menu */
  .menu-items {
      max-height: 0;
      overflow: hidden;
      width: 100%;
      background-color: #739a97;
      text-align: left;
      list-style: none;
      margin: 0;
      padding-left: 0;
      transition: max-height 0.4s ease-in-out;
  }

  /* When menu is open */
  .menu-items.menu-open {
      max-height: 300px; /* Adjust to fit content */
  }

  .menu-items li {
    font-size: 1.1em;
    padding: 0;
  }

  .main {
      margin-left: 0;
      font-size: 18px;
      padding: 80px 10px 10px; /* Prevent overlap */
  }

}

@media (max-width: 1600px) { /* Adjust for smaller screens */
  .research-item {
      flex-direction: column; /* Stack items vertically */
      align-items: center; /* Center items */
  }

  .visual-container {
      margin-right: 0; /* Remove right margin */
      margin-bottom: 20px; /* Add space below the visual */
      width: 100%; /* Full width for visual container */
  }

  .resizeable-video,
  .resizeable-image {
    max-width: 100%;
    height: auto;
    max-height: 200px;
  }

  .research-details {
      width: 100%; /* Full width for details */
  }
}

.links a {
    margin-right: 10px;
}
.resume {
    margin-bottom: 10px;
}
.textContainer {
    max-height: 0;
    overflow: hidden;
    margin-top: 10px;
    transition: max-height 0.3s ease;
}
.textZone {
    height: auto;
    width: 100%;
    max-width: 1100px;
    font-size: 16px;
    padding: 10px;
    box-sizing: border-box;
    background-color: #f9f9f9;
    text-align: justify;
    text-justify: inter-word;
    /*overflow: auto; /* Enables both vertical and horizontal scrolling if content is too large */
    /* white-space: pre-wrap; /* Preserves whitespace formatting exactly as written */
}

.horizontal_line {
  width: 100%;
  margin-top: 5px;
  margin-bottom: 20px;
  border-top: 1px solid rgb(194, 194, 194);
  line-height: 100%;
}

.button-container {
  display: flex;
  gap: 10px; /* Adjust the gap between buttons */
  margin-bottom: 10px; /* Optional: Add margin to separate from text containers */
  margin-top: 10px;
}

.button-container button{
  background-color: #346e65; /* Button background color */
  color: white; /* Text color */
  border: none; /* Optional: Remove default border */
  padding: 5px 10px; /* Optional: Add padding to make the button look bigger */
  cursor: pointer; /* Optional: Change cursor to pointer on hover */
  border-radius: 5px; /* Optional: Add rounded corners */
  transition: background-color 0.3s;
}