@font-face {
  font-family: "FiraCode-Retina";
  src: url("fonts/FiraCode-Retina.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "FiraCode-Bold";
  src: url("fonts/FiraCode-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Basic Reset & Body Styling */
body {
  margin: 0;
  font-family:
    "FiraCode-Retina",
    "FiraCode-Bold",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  line-height: 1.6;
  color: #f8f8f2; /* Dracula Foreground */
  background-color: #282a36; /* Dracula Background */
  scroll-behavior: smooth;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px;
  background: none;
}

/* Header Styling */
header {
  background-color: #282a36;
  color: #f8f8f2;
  padding: 40px 0;
  text-align: center;
  border-bottom: 3px solid #bd93f9; /* Dracula Purple */
}

header h1 {
  margin-bottom: 10px;
  font-size: 2.8em;
  color: #ff79c6; /* Dracula Pink */
}

header p {
  font-size: 1.2em;
  margin-bottom: 5px;
}

.tagline {
  font-style: italic;
  font-size: 1.1em;
  color: #8be9fd; /* Dracula Cyan */
}

.highlight {
  color: #bd93f9; /* Dracula Purple */
  font-weight: bold;
}

/* Navigation Styling */
nav {
  background-color: #44475a; /* Dracula Current Line */
  padding: 4px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(40, 42, 54, 0.7);
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* Allow items to wrap on smaller screens */
}

nav ul li {
  margin: 0 8px;
}

nav ul li a {
  color: #bd93f9; /* Dracula Purple */
  text-decoration: none;
  font-weight: bold;
  padding: 2px 0;
  transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a:focus {
  color: #ff79c6; /* Dracula Pink */
}

/* Main Content Sections */
main section {
  padding: 40px 0;
  border-bottom: 1px solid #44475a; /* Dracula Current Line */
}

main section:last-of-type {
  border-bottom: none;
}

h2 {
  color: #50fa7b; /* Dracula Green */
  font-size: 2.2em;
  margin-bottom: 20px;
  text-align: center;
}

h3 {
  color: #ffb86c; /* Dracula Orange */
  font-size: 1.5em;
  margin-top: 30px;
  margin-bottom: 15px;
}

p {
  margin-bottom: 15px;
  text-align: justify;
  color: #f8f8f2;
}

.tldr {
  font-style: italic;
  text-align: center;
  color: #ffb86c; /* Dracula Orange */
  margin-top: 20px;
}

ul {
  list-style: disc;
  margin-left: 20px;
  padding-left: 0;
}

ul li {
  margin-bottom: 8px;
}

/* Publication List Styling */
.publication-item {
  background-color: #44475a;
  border-left: 5px solid #bd93f9;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(40, 42, 54, 0.2);
}

.publication-item .title {
  font-weight: bold;
  color: #ff79c6;
  margin-bottom: 5px;
  font-size: 1.1em;
}

.publication-item .authors {
  font-style: italic;
  color: #6272a4; /* Dracula Comment */
  font-size: 0.9em;
  margin-bottom: 5px;
}

.publication-item .details {
  color: #f1fa8c; /* Dracula Yellow */
  font-size: 0.9em;
  margin-bottom: 10px;
}

.publication-item .links a {
  color: #8be9fd; /* Dracula Cyan */
  text-decoration: none;
  margin-right: 10px;
}

.publication-item .links a:hover {
  text-decoration: underline;
  color: #ff79c6;
}

/* Footer Styling */
footer {
  background-color: #282a36;
  color: #6272a4;
  padding: 30px 0;
  text-align: center;
  border-top: 3px solid #bd93f9;
  font-size: 0.9em;
}

.contact-info p {
  margin: 5px 0;
  text-align: center;
}

.contact-info a {
  color: #8be9fd;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
  color: #ff79c6;
}

.social-hub {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 20px; /* Space between social icons */
}

.social-hub img {
  width: 30px;
  height: 30px;
  filter: none;
  transition:
    filter 0.3s ease,
    transform 0.3s ease;
}

.social-hub a {
  color: #bd93f9; /* Dracula Purple for base */
  text-decoration: none; /* Remove underline by default */
  margin: 0 0.3em;
  transition:
    color 0.2s,
    text-decoration 0.2s;
}
.social-hub a:hover,
.social-hub a:focus {
  color: #ff79c6 !important; /* Dracula Pink on hover */
  text-decoration: underline;
}

.copyright {
  margin-top: 20px;
  font-size: 0.8em;
  color: #6272a4;
}

/* General Link Styling */
a {
  color: #8be9fd;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover,
a:focus {
  color: #ff79c6;
  text-decoration: underline;
}

/* Hamburger menu base styles */
.hamburger-menu {
  display: none;
  color: #bd93f9;
  background: none;
  border: none;
  font-size: 2em;
  color: #bd93f9;
  cursor: pointer;
  padding: 0;
  margin: 0 0 0 auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  header {
    padding: 16px 0 8px 0;
  }
  header h1 {
    font-size: 1.5em;
  }
  header p,
  .tagline {
    font-size: 1em;
  }

  nav ul li {
    margin: 0 10px;
    margin-bottom: 5px;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  h2 {
    font-size: 1.8em;
  }

  main section {
    padding: 20px 0;
  }

  .publication-item {
    padding: 10px;
  }

  .social-hub {
    flex-wrap: wrap;
  }
  .hamburger-menu {
    display: block;
  }
  #main-nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #44475a;
    margin: 0;
    padding: 0;
  }
  .nav-toggle:checked + .hamburger-menu + #main-nav-list {
    display: flex;
  }
  nav ul li {
    margin: 0.3em 0;
    text-align: center;
  }
  nav ul {
    flex-direction: column;
    align-items: stretch;
  }
}
