

/* Global */
html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

/* Layout helpers */
.project-section {
  padding: 6rem 0; /* generous vertical rhythm between sections */
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-left: 8rem;
  padding-right: 8rem;
}

/* Sidebar (left 20%) */
.project-nav .nav-link,
.project-nav .nav-sublink {
  text-decoration: none;
  color: #e6e6e6;
}

.nav-link:hover,
.nav-sublink:hover {
  color: #1E90FF;
}


/* Add space under each sublink in the Contents submenu */
.project-nav .nav-sublink{
  display: block;          /* allow margins to take effect */
  margin-bottom: 20px;  /* space under each sublink */
}
.project-nav .subsection li:last-child .nav-sublink{ margin-bottom: 0; }



.nav-link{
  font-size: clamp(1rem, 2.5vmin, 2.5rem);
  color: #1E90FF;
  font-family: 'Orbitron', sans-serif;
  font-weight: bolder;
  margin-bottom: 5vh;

  transition: color 0.3s ease;
}

.subsection{
  font-size: 16px;
  text-decoration: none;
  color: #1E90FF;
  font-family: 'Orbitron', sans-serif;
  font-weight: bolder;
  margin-top: -3vh;
  margin-bottom: 5vh;

  transition: color 0.3s ease;
}

.closeInfoBtn {
  cursor: pointer;
  background: none;
  border: none;
  color: #e6e6e6;
  font-family: 'Orbitron', sans-serif;
  font-weight: bold;
  font-size: clamp(1rem, 2.5vmin, 2.5rem);
  padding: 8px 0px;
  text-align: center;
  display: inline-block;
  transition: color 0.3s ease;
  text-decoration: none;
}

.closeInfoBtn:hover {
  color: #1E90FF;
}

.contents{
  font-size: clamp(1rem, 2.5vmin, 2.5rem);
  margin-bottom: 3vh;
  margin-top: 5vh;
}

.spaced li{
  font-size: 18px;
  font-weight: lighter;
  margin-bottom: 1.5rem;
}



.logo{
  width: 50%; 
  margin-bottom: 150px;
}


h2{
  font-size: clamp(2rem, 4vw + 1rem, 3rem);
}

.h5{
  font-style: italic;
  font-size: clamp(1rem, 4vw + 1rem, 2rem);
}

b{
  font-size: 22px;
}

p{
  font-size: 18px;
  font-weight: lighter;
}

/* Optional: make left column sticky inside its grid cell (not floating over layout) */
@media (min-width: 768px) {
  aside { position: sticky; top: 0; height: 100vh; overflow: auto; }
}


@media (max-width: 768px) {
  .project-section {
    padding-left: 0;
    padding-right: 0;
  }
  .project-section .row > div {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .logo{
    width: 100%;
  }
}

/* Improve readability of headings inside content */
.project-section h2 { font-weight: 700; }
.project-subsection h3 { font-weight: 600; }

/* Light theming if desired (remove if not needed) */
:root { color-scheme: dark; }
body { background: #1C1F26; color: #e6e6e6; }
.border-end { border-color: rgba(255,255,255,0.1) !important; }

/* Custom modal backdrop & content for image modal */
#imageModal ~ .modal-backdrop.show {
  background-color: rgba(0, 0, 0, 0.95) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

.seeProject {
  font-family: 'Orbitron', sans-serif;
  font-weight: bold;
  color: #000;
  background: #007bff;
  border: 2px solid #007bff;
  border-radius: 100px;
  font-size: 1.16rem;
  padding: 12px 28px;
  cursor: pointer;
  letter-spacing: 0.04em;
  box-shadow: none;
  outline: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  align-self: flex-end;
  text-decoration: none;
  position: relative;
  align-self: flex-start;
  display: inline-block;
  margin-left: 12px;
  margin-right: 12px;
}
.seeProject:hover,
.seeProject:focus {
  background: transparent;
  color: #007bff;
  border-color: #007bff;
}

@media (max-width: 991.98px) {
  .seeProject {display: block; width: 100%; text-align: center;}
}

.spacer{
  height: clamp(20px, 4vh, 60px);
}