body {
  margin: 0;
  background-image: url('ghosts_black.png'); /* or .png/.gif */
  background-size: cover;        /* Fill the screen */
  background-repeat: no-repeat;  /* Don’t tile */
  background-position: center;   /* Center the image */
  background-attachment: fixed;  /* Optional: makes it "stick" during scroll */
  font-family: "Roboto", sans-serif;
  color: #ffffff;
}



.aliases {
  visibility: hidden;
  text-align: center;
  font-size: 0.9em;
  color: #cccccc;
  margin-top: -45px;
  margin-bottom: 30px;
  font-family: "Roboto", sans-serif;
  font-style: Normal; /* lowercase + semicolon */
  position: relative;
  z-index: 1;
}



.container {
  display: flex;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

.sidebar {
  width: 40%;
  padding: 60px 340px 60px 100px; /* top right bottom left */
  box-sizing: border-box;
}


.sidebar h1 img {
  width: 600px; /* or any width you want */
  height: auto;
  display: block;
}


.sidebar nav ul {
  list-style: none;
  padding-left: 0;
  margin: 0 auto;            /* centers the ul horizontally */
  width: fit-content;        /* shrink-wrap the width of the list */
}

.sidebar nav li {
  margin: 12px 0;
}

.sidebar nav a {
  display: inline-block;     /* shrink-wrap the link width */
  text-align: center;
}


nav a {
  display: block;
  font-size: 1.3em;
  margin: 5px 0;
  color: #ffffff;
  text-decoration: none;
  transition: 0.2s;
}

nav a:hover {
  text-decoration: underline;
  color: #6d2b70;
}

.main-image {
  width: 60%;
  display: flex;
  flex-direction: column; /* 👈 Add this to stack image and caption vertically */
  align-items: center;
  justify-content: center;
  text-align: center;
}

.main-image img {
  max-width: 100%;
  height: 80%; /* 👈 Use this instead of `max-height: 80%` to avoid zooming/cropping */
  object-fit: contain;
}

.image-caption {
  text-align: center;
  font-style: italic;
  font-size: 0.9em;
  color: #cccccc;
  margin-top: 10px;
}








.about-page .sidebar {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  z-index: 1;
  }

.about-page .about-content {
  margin-left: 40%;
  padding: 60px;
  box-sizing: border-box;
  width: 60%;
  overflow-y: auto;
  height: 100vh;
  padding-top: 160px;
}

.about-content {
  margin-left: 40%;
  padding: 60px;
  box-sizing: border-box;
  width: 60%;
  overflow-y: auto;
  height: 100vh;
  padding-top: 160px;

  text-align: left;       /* align all text left */
  color: #ffffff;
  font-family: "Roboto", sans-serif;
}

.about-content h2 {
  font-size: 2.2em;
  margin-bottom: 20px;
}

.about-content h3 {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 15px;
}

.about-content h4 {
  font-size: 1.4em;
  margin-top: 30px;
  margin-bottom: 10px;
  font-weight: bold;
  /* Optional: add left padding if you want some indent */
  /* padding-left: 10px; */
}

.about-content p {
  font-size: 1.1em;
  line-height: 1.6em;
  margin-bottom: 15px;
  /* Remove centering margins */
  margin-left: 0;
  margin-right: 0;
  max-width: none; /* or set max-width if you want */
}






.personalprojects-page .sidebar {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  z-index: 1;
  }

.personalprojects-page .personalprojects-content {
  margin-left: 40%;
  padding: 60px;
  box-sizing: border-box;
  width: 60%;
  overflow-y: auto;
  height: 100vh;
  padding-top: 160px;
}

.personalprojects-content {
  margin-left: 40%;
  padding: 60px;
  box-sizing: border-box;
  width: 60%;
  overflow-y: auto;
  height: 100vh;
  padding-top: 160px;

  text-align: left;       /* align all text left */
  color: #ffffff;
  font-family: "Roboto", sans-serif;
}

.personalprojects-content h2 {
  font-size: 2.2em;
  margin-bottom: 20px;
}

.personalprojects-content h1 {
  font-size: 3.2em;
  margin-bottom: 20px;
  margin-left: 25px;
}

.personalprojects-page .personalprojects-content img {
  width: 900px;
  height: auto;
  margin-left: 25px;
  border-radius: 12px;
}


.personalprojects-content .project-item {
  margin-bottom: 300px; /* space between projects */
}

.personalprojects-content .project-item img {
  border: 6px solid rgba(255, 255, 255, 0.8); /* soft white border with 20% opacity */
  border-radius: 44px; /* optional, already in your style */
}


.personalprojects-content .tags {
  margin-top: 8px;
  display: flex;
  gap: 8px;              /* space between tags */
  flex-wrap: wrap;       /* wrap if many tags */
  margin-left: 25px;
}

.personalprojects-content .tag {
  color: #fff;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 0.9em;
  font-weight: 600;
  user-select: none;
  white-space: nowrap;
  box-shadow: 0 0 4px rgba(0,0,0,0.3);
  transition: background-color 0.3s ease;
}

/* Specific color tags */
.personalprojects-content .tag-purple {
  background-color: #6d2b70;
}
.personalprojects-content .tag-orange {
  background-color: #ff8c00;
}
.personalprojects-content .tag-green {
  background-color: #2b7043;
}
.personalprojects-content .tag-red {
  background-color: #702b2b;
}

/* Specific hover effects */
.personalprojects-content .tag-purple:hover {
  background-color: rgba(145, 74, 148, 1); /* lighter purple */
}
.personalprojects-content .tag-orange:hover {
  background-color: rgba(255, 140, 0, 1); /* lighter orange */
}
.personalprojects-content .tag-green:hover {
  background-color: rgba(43, 112, 67, 1); /* lighter green */
}
.personalprojects-content .tag-red:hover {
  background-color: rgba(255, 48, 107, 1); /* lighter red */
}




.personalprojects-content h3 {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 15px;
}

.personalprojects-content h4 {
  font-size: 1.4em;
  margin-top: 30px;
  margin-bottom: 10px;
  font-weight: bold;
  /* Optional: add left padding if you want some indent */
  /* padding-left: 10px; */
}

.personalprojects-content .project-item p {
  font-size: 1.1em;
  line-height: 1.6em;
  margin-top: 12px;         /* gap from tags */
  margin-bottom: 30px;      /* space below */
  padding: 0;
  max-width: 900px;         /* match your image width */
  margin-left: 25px;        /* aligns with the image + tags */
}






.academicprojects-page .sidebar {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  z-index: 1;
}

.academicprojects-page .academicprojects-content {
  margin-left: 40%;
  padding: 60px;
  box-sizing: border-box;
  width: 60%;
  overflow-y: auto;
  height: 100vh;
  padding-top: 160px;
}

.academicprojects-content {
  margin-left: 40%;
  padding: 60px;
  box-sizing: border-box;
  width: 60%;
  overflow-y: auto;
  height: 100vh;
  padding-top: 160px;

  text-align: left;
  color: #ffffff;
  font-family: "Roboto", sans-serif;
}

.academicprojects-content h2 {
  font-size: 2.2em;
  margin-bottom: 20px;
}

.academicprojects-content h1 {
  font-size: 3.2em;
  margin-bottom: 20px;
  margin-left: 25px;
}

.academicprojects-page .academicprojects-content img {
  width: 900px;
  height: auto;
  margin-left: 25px;
  border-radius: 12px;
}

.academicprojects-content .project-item {
  margin-bottom: 300px;
}
.academicprojects-content .project-item img {
  border: 6px solid rgba(255, 255, 255, 0.8); /* soft white border with 20% opacity */
  border-radius: 44px; /* optional, already in your style */
}



.academicprojects-content .tags {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-left: 25px;
}

.academicprojects-content .tag {
  color: #fff;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 0.9em;
  font-weight: 600;
  user-select: none;
  white-space: nowrap;
  box-shadow: 0 0 4px rgba(0,0,0,0.3);
  transition: background-color 0.3s ease;
}

/* Specific color tags */
.academicprojects-content .tag-purple {
  background-color: #6d2b70;
}
.academicprojects-content .tag-orange {
  background-color: #ff8c00;
}
.academicprojects-content .tag-green {
  background-color: #2b7043;
}
.academicprojects-content .tag-red {
  background-color: #702b2b;
}  
.academicprojects-content .tag-blue {
  background-color: #00c0fa;
}

/* Specific hover effects */
.academicprojects-content .tag-purple:hover {
  background-color: rgba(145, 74, 148, 1); /* lighter purple */
}
.academicprojects-content .tag-orange:hover {
  background-color: rgba(255, 140, 0, 1); /* lighter orange */
}
.academicprojects-content .tag-green:hover {
  background-color: rgba(43, 112, 67, 1); /* lighter green */
}
.academicprojects-content .tag-red:hover {
  background-color: rgba(255, 48, 107, 1); /* lighter red */
}
.academicprojects-content .tag-blue:hover {
  background-color: rgba(117, 223, 255, 1); /* lighter blue */
}

.academicprojects-content h3 {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 15px;
}

.academicprojects-content h4 {
  font-size: 1.4em;
  margin-top: 10px;
  margin-left: 25px;
  margin-bottom: 10px;
  font-weight: bold;
}

.academicprojects-content .project-item p {
  font-size: 1.1em;
  line-height: 1.6em;
  margin-top: 12px;
  margin-bottom: 30px;
  padding: 0;
  max-width: 900px;
  margin-left: 25px;
}



