/* styles.css */

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  margin: 0;
  padding: 0;
  background-color: white;
  color: #333;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: #007BFF;
  text-decoration: none;
}

a:focus,
a:hover {
  color: #0056b3;
  text-decoration: none;
}

.container {
  max-width: 850px;
  margin: 0 auto;
  padding: 10px;
}

.title {
  text-align: left;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-weight: 800;
  overflow: hidden;
  white-space: nowrap;
  letter-spacing: -0.02em;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.typing-animation {
  animation: typing 4s steps(40) 1s 1 normal both;
}

section {
  padding-top: 40px;
}

section:first-of-type {
  margin-top: 0;
}

.section-title {
  font-size: 28px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-weight: 700;
  margin-bottom: 3vh;
  letter-spacing: -0.01em;
}

p {
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  font-weight: 400;
}

footer {
  text-align: center;
  padding: 20px 0;
}

footer p {
  font-size: 14px;
  margin: 0;
}

.section-content {
  display: flex;
  align-items: flex-start;
}

.profile-section {
  display: flex;
  align-items: center;
}

.profile-photo {
  width: 210px;
  height: 210px;
  border-radius: 2%;
  overflow: hidden;
  margin-right: 50px; /* Adjust the margin as needed */
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15);
  
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.profile-icons {
  margin-top: 30px; 
  /* text-align: center; */
}

.profile-icons a {
  color: #333;
  font-size: 28px;
  margin-right: 15px;
}


.text-content {
  flex: 1;
}

.text-content h2 {
  text-align: left;
}

.text-content p {
  text-align: left;
}

.header-icon {
  width: 54px;
  height: 54px;
  margin-left: auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.publication-list {
  list-style-type: none;
  padding: 0px;
}

.publication-item {
  margin-bottom: 20px;
  padding: 20px;
  /* border-left: 1.5px solid rgb(51, 51, 51, 0.6); */
  position: relative;
  border-radius: 10px;
  background: white;
}

.publication-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 10px;
  background: linear-gradient(90deg, 
    rgba(157, 115, 230, 0.3) 0%, 
    rgba(100, 150, 255, 0.25) 30%, 
    rgba(64, 224, 208, 0.2) 70%, 
    rgba(64, 224, 208, 0.15) 100%);
  filter: blur(8px);
  z-index: -1;
  transform: translateY(1px);
}

.publication-content {
  display: flex;
  align-items: flex-start;
}

.publication-thumbnail {
  flex: 0 0 240px; /* Fixed width for thumbnail */
  margin-right: 15px; /* Space between thumbnail and publication details */
  background-color: white; /* Placeholder background color */
  border-radius: 5px; /* Rounded corners for the placeholder */
  /* border: 1px solid #333; Add a border around the placeholder */
  /* padding: 1px; Space between the image and the placeholder's edges */
  box-sizing: border-box; /* Ensure padding doesn't increase total size */
}

.publication-thumbnail img {
  width: 100%; /* Image fills the placeholder */
  height: auto; /* Maintain aspect ratio */
}

.publication-details {
  flex: 1; /* Take remaining space */
}

.publication-title {
  font-size: 1.2em;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
}

.publication-authors {
  font-size: 0.9em;
  font-weight: 400;
}

.author-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.author-link:hover {
  color: inherit;
  text-decoration: underline;
}

.author-link b {
  font-weight: 700;
}

.publication-conference {
  font-size: 0.9em;
  font-weight: 400;
  font-style: italic;
}

.publication-info {
  margin-top: 10px;
}

.publication-info p {
  margin-top: 0.5vh;
}

.publication-link {
  text-decoration: none;
  color: #1573e6;
  transition: color 0.3s ease;
}

.publication-link:hover {
  color: #0056b3;
}

.project-list {
  list-style-type: none;
  padding: 0px;
}

.project-item {
  /* padding: 2px; */
  margin-bottom: 20px;
  padding-left: 10px;
  /* border-left: 2px solid #333; */
}

.project-link {
  text-decoration: none;
  color: #1573e6;
  transition: color 0.3s ease;
}

.project-link:hover {
  color: #0056b3;
}

.project-title {
  font-size: 25px;
  font-family: 'Courier New', Courier, monospace;
  font-weight: normal;
}

.project-subtitle {
  font-size: 15px;
  color: #888;
  margin-left: 2px; /* Add an indent */
  margin-top: -15px; /* Adjust the top margin as needed */
  font-weight: 400;
}

.repo-info-container {
  background-color: #fff;
  border: 1px solid #e1e4e8;
  border-radius: 6px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 20px;
  overflow: hidden;
}
.repo-info-container h3 {
  font-size: 26px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-weight: 600;
  margin: 0;
  font-style: normal;
  letter-spacing: -0.01em;
  /* color: #0366d6; */
}
.repo-info-container p {
  font-size: 16px;
  color: #586069;
  margin: 5px 0;
}
.repo-info-container .description {
  font-size: 14px;
  color: #586069;
  margin-top: 10px;
}
.repo-info-container .repo-stats {
  margin-top: 15px;
  font-size: 14px;
  display: flex;
  gap: 20px;
}
.repo-info-container .repo-stats span {
  display: flex;
  gap: 5px;
  align-items: center;
}
.repo-info-container a {
  color: #0366d6;
  text-decoration: none;
}
.repo-info-container a:hover {
  text-decoration: underline;
}
.repo-info-container .btn {
  display: inline-block;
  padding: 5px 12px;
  background-color: #28a745;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 10px;
}
.repo-info-container .btn:hover {
  background-color: #218838;
}
.repo-info-container .repo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.link-button {
  display: inline-flex;
  /* justify-content: center; */
  margin-top: 2px;
  margin-right: 5px;
  padding: 2px 10px;
  background-color: #fff; /* Dark background */
  color: #333; /* White text */
  border: 2px solid #333; /* White border */
  border-radius: 50px; /* Rounded edges */
  font-size: 0.8em;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.link-icon { /* Space between icon and text */
  width: 20px; /* Icon size */
  height: 20px;
}

.star-span {
  padding-left: 8px;
}

.dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  padding: 0 5px;
  color: #333;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dropdown-toggle:hover {
  color: #0056b3;
}

.dropdown-toggle i {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.dropdown-content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  padding-top: 0;
  transform: translateY(-10px);
}

.dropdown-content.show {
  max-height: 1000px; /* Adjust this value based on your content */
  opacity: 1;
  padding-top: 20px;
  transform: translateY(0);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .container {
    padding: 15px;
  }

  .title {
    font-size: 24px;
  }

  .section-title {
    font-size: 22px;
  }

  p {
    font-size: 14px;
    line-height: 1.6;
  }

  .section-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-photo {
    width: 120px;
    height: 120px;
    margin-right: 0;
    margin-bottom: 20px;
    align-self: flex-start;
  }

  .text-content {
    width: 100%;
  }

  .profile-icons a {
    font-size: 24px;
    margin-right: 12px;
  }

  .header-icon {
    width: 40px;
    height: 40px;
  }

  .publication-content {
    flex-direction: column;
  }

  .publication-thumbnail {
    flex: 0 0 auto;
    width: 100%;
    max-width: 200px;
    margin: 0 auto 15px auto;
  }

  .publication-title {
    font-size: 1.1em;
  }

  .publication-authors,
  .publication-conference {
    font-size: 0.85em;
  }

  .project-title {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .title {
    font-size: 20px;
  }

  .section-title {
    font-size: 20px;
  }

  p {
    font-size: 13px;
    line-height: 1.55;
  }

  .profile-photo {
    width: 100px;
    height: 100px;
    margin-right: 0;
    margin-bottom: 15px;
  }

  .profile-icons a {
    font-size: 22px;
    margin-right: 10px;
  }

  .publication-title {
    font-size: 1em;
  }

  .project-title {
    font-size: 18px;
  }
}











