:root {
  --footer-height: 50px;
  --sidebar-width: 280px;
  --content-max-width: 800px;
}

body {
  display: flex;
  margin: 0;

  font-family: "Gill Sans", "Gill Sans MT", "Calibri", "Trebuchet MS", "sans-serif", "Ubuntu";
  background-color: #001f31;
  color: #e8e6e2;
  padding-top: 40px;
  display: flex;
}

a {
  color: white;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #00bfff;
}

.project-card {
  margin-bottom: 24px;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 16px;
  transition: all 0.3s ease;
}

.project-inner {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.project-thumbnail {
  width: 160px;
  height: auto;
  margin: 5%;
  border-radius: 8px;
  object-fit: cover;
}

.project-content {
  flex: 1;
  min-width: 220px;
}

.experience-card {
  margin-bottom: 24px;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 16px;
  transition: all 0.3s ease;
}


.tool-bubbles {
  margin-top: 8px;
}

.tool-bubble {
  display: inline-block;
  background-color: #eee;
  color: #333;
  padding: 6px 10px;
  margin: 4px 4px 0 0;
  border-radius: 12px;
  font-size: 0.85rem;
}

.submit-button {
  display: inline-block;
  background-color: #05386b;
  color: white;
  padding: 6px 10px;
  margin: 4px 4px 0 0;
  border-radius: 20px;
  font-size: 0.85rem;
}

.submit-button:hover {
  background-color: #065aaf;
  transition: 0.2s;
}

.header-name {
  color: white;
  text-decoration: none;
  text-align: left;
  font-family: "Ubuntu", "Gill Sans";
  font-size: 32px;
  margin-bottom: 10px;
  display: block;
}


.hidden-project {
  display: none;
}

.section-header {
  font-family: "Ubuntu", "Calibri";
}

#toggle-projects-btn {
  background-color: #05386b;
  color: white;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
}

#toggle-projects-btn:hover {
  background-color: #065aaf;
}

.sidebar {
  position: fixed;
  margin-top: 10%;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background-color: #001f31;
  color: white;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 10;
}

.profile-pic {
  display: flex;
  justify-content: center;
  width: 100%;
}

.profile-pic-img {
  width: 120px;
  height: 120px;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 10px;
}


.social-icons {
  display: flex;
  justify-content: center;  /* centers items horizontally */
  gap: 16px;
}


.social-icons a {
  color: white;
  font-size: 1.5rem;
  transition: color 0.3s;
  margin-bottom: -10px;
}

.social-icons a:hover {
  color: #00bfff;
}

.footer {
  position: fixed;
  bottom: 0;
}



.content {
  flex-grow: 1;
  margin-left: var(--sidebar-width);
  max-width: 850px;
  padding: 20px;
}

.content {
  flex-grow: 1;
  margin-left: var(--sidebar-width);
  max-width: var(--content-max-width);
  padding: 20px;
  box-sizing: border-box;
  margin-right: auto;
  margin-left: calc(var(--sidebar-width) + ((100vw - var(--sidebar-width) - var(--content-max-width)) / 2));
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.email-form {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 16px;
  background-color: #05386b;
}

.main-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.main-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.text-input {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 4px;
  width: 100%;
  box-sizing: border-box;
  margin: 3px;
}


.content-section {
  text-decoration: none;
  color: white;
  transition: 0.2s;
  transition: all 0.2s ease;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  font-size: larger;
}

.content-section:hover {
  text-shadow:
    -0.25px -0.25px 0 #00bfff,
    0.25px -0.25px 0 #00bfff,
    -0.25px 0.25px 0 #00bfff,
    0.25px 0.25px 0 #00bfff;
}

.content-section.active {
  color: #00bfff;
  text-shadow:
    -0.25px -0.25px 0 #00bfff,
     0.25px -0.25px 0 #00bfff,
    -0.25px  0.25px 0 #00bfff,
     0.25px  0.25px 0 #00bfff;
}




#cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 700px;
  height: 700px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
  mix-blend-mode: overlay;
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: background 0.3s ease;
}

.site-footnote {
  text-align: center;
  font-size: 0.5rem;
  color: #ccc;
  margin: 40px 0 20px;
}

.site-footnote a {
  color: #00bfff;
  text-decoration: underline;
}

.site-footnote a:hover {
  color: #ffffff;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
