.landing-text {
  display: flex;
  align-items: flex-end;
  /* Vertically centers the items */
  justify-content: center;
  /* Horizontally centers the items (optional) */
  height: 50vh;
  /* Example: container takes full viewport height */
  font-family: Arial, Helvetica, sans-serif;
}

*/

/* Sticky Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #111;
  border-bottom: 1px solid #222;
}

*/ .outer {
  border: solid 1px #000;
  height: 200px;
  overflow: hidden;
}


.tree-container {
  border: solid 1px rgb(0, 0, 0);
}


#map {
  width: 75vw;
  height: 94vh;
  position: fixed;
}

#heatmap-controls {
  position: absolute;
  bottom: 5%;
  left: 80%;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(6px);
  padding: 14px 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  z-index: 5;
  width: 200px;
}

/* --- LABEL TEXT --- */
#heatmap-controls label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin-bottom: 10px;
  font-weight: 600;
}

/* --- YEAR SLIDER --- */
#year-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 4px;
  background: #ffffff;
  outline: none;
}

/* slider handle */
#year-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
}

#reset-extent-btn {
  width: 100%;
  margin-top: 12px;
  background: #ffffff;
  border: none;
  padding: 4px 4px;
  color: rgb(0, 0, 0);
  font-weight: 600;
  cursor: pointer;
}

#reset-extent-btn:hover {
  background: #ffffff;
  transform: scale(1.03);
}

/* --- YEAR DISPLAY --- */
#year-value {
  font-weight: 600;
  float: right;
}

/* --- CHECKBOX TOGGLE STYLE --- */
#toggle-heatmap {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* Optional: scale marker a bit on hover */
#resume-points:hover {
  transform: scale(1.15);
}

.resume-popup {
  font-family: Arial, sans-serif;
  color: #111;
}

.resume-popup strong {
  font-size: 1.1em;
  display: block;
  margin-bottom: 6px;
}

.resume-popup .exp-type {
  margin-bottom: 4px;
  font-style: italic;
}

.resume-popup .year {
  margin-bottom: 8px;
}

.resume-popup ul {
  margin: 0;
  padding-left: 20px;
}

.resume-popup li {
  margin-bottom: 4px;
}


/* Tree Diagram Styles */
.tree,
.tree ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tree ul {
  margin-left: 1.5em;
  position: relative;
}

.tree ul::before {
  content: '';
  border-left: 1px solid white;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}

li:hover {
  cursor: pointer;
}

.tree li {
  margin: 0;
  padding: 0.5em 0 0.5em 1.5em;
  position: relative;
}

.tree li::before {
  content: '';
  border-top: 1px solid white;
  position: absolute;
  top: 1.2em;
  left: 0;
  width: 1.2em;
  height: 0;
}

.tree li span {
  display: inline-block;
  padding: 0.3em 0.6em;
  border-radius: 4px;
  color: white;
  word-break: break-word;
}

.zoom-node.highlight {
  background-color: #4e4d4c;
  border-radius: 0px;
  transition: background-color 0.3s ease;
}


/* Portfolio formatting */
body {
  background-color: #000;
  color: #fff;
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.portfolio-container {
  max-width: 85vw;
  /* Increased from ~10/12 to ~95% width for wider layout */
  margin: 0 auto;
  padding: 10vh 12vw 10vh 8vw;
  /* top, right, bottom, left */
}

/* Masonry grid using CSS columns */
/* Responsive adjustments */

@media (max-width: 767px) {
  .tree-container {
    min-height: auto;
  }

}

.masonry {
  display: grid;
  grid-template-columns: 2fr 1fr; /* Left column twice as wide as right */
  gap: 35px;
}

@media (max-width: 992px) {
  .masonry {
    grid-template-columns: 2fr 1fr;
  }
}

@media (max-width: 576px) {
  .masonry {
    grid-template-columns: 1fr; /* Single column on mobile */
  }
}

.masonry-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 35px;
  border-radius: 35px;
  overflow: hidden;
  padding: 10px;
}

.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  padding: 10px;
}

.masonry-item img:hover {
  transform: scale(1.03);
  opacity: 1;
}
