/* Basic styles for the header */
/* Prevent content from overlapping the fixed header */
body {
  margin-top: 100px; /* Adjust this value based on header height */
  padding-top: 0;    /* Ensure no extra space at the top of the body */
}
.background-color {
  background-color: gray;
}

header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.8); /* Optional: background color for the header */
  width: 100%;
  padding: 20px 20px;
  z-index: 1000; /* Ensures the header stays above other content */
  overflow: visible;
}



/* Style the navigation bar */
nav {
  display: flex;
  justify-content: flex-end; /* Aligns the items to the right */
  align-items: center;
}

/* Style the navigation menu */
ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

ul li {
  margin-left: 2px; /* Spacing between menu items */
}

ul li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  padding: 5px 10px;
}

ul li a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Main content (Home or other sections) */
#home {
  margin-top: 100px; /* Same value as the header height */
}

/* Add padding to the left of the container */
.container {
  padding-left: 30px; /* Adjust the padding as needed */
  padding-right: 30px; /* Optional: add padding on the right if needed */
}

.publication-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 20px 0;
}

.publication-list li {
  list-style-type: none;
}

.publication-list a {
  text-decoration: none;
  color: #007bff;
}


/* Mobile responsiveness */
@media (max-width: 768px) {
  nav {
    justify-content: center;
  }

  ul {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
  }

  ul li a {
    font-size: 10px;
  }

  .nav-text {
    font-size: 12px; /* Adjust text size for mobile */
  }
}

.blog-page {
  color: black; /* Sets the text color to black */
}


