#map {
    
    height: calc(100vh - 70px);
    z-index : 999;
}

#app {
  height: calc(100vh - 100px);        /* full viewport height */
  overflow: hidden;     /* disable scroll inside */
}

#loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999;
  background: rgba(255, 255, 255, 0.9);
  padding: 1em 2em;
  border-radius: 8px;
  font-weight: bold;
  font-size: 2em;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}


.model-loading-text {
  margin-left: 4px;
  font-size: 0.9em;
  color: #666;
}


.model-symbol {
  width: 0.8em;
  height: 0.8em;
  display: inline-block;
  border-radius: 50%;
  border: 1px solid #333;
  margin-left: auto;
  flex-shrink: 0;
}

#infoBox {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1001;
    background: white;
    padding: 8px 12px;
    border: 1px solid #666;
    border-radius: 4px;
    font-family: Arial, sans-serif;
    font-size: 1em;
    box-shadow: 0 0 6px rgba(0,0,0,0.3);
    text-align: left;
    width: 300px;
  }

.infoText{
    padding-bottom: -0.5em;
    font-size: 1.1em;
}

#sidebar {
    position: absolute;
    top: 10px;
    left: 18px;
    width: calc(100vw * 0.18 -10);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 15px;
    padding-left: 22px;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

#sidebar label {
    display: block;
    margin: 5px 5;
    text-align: left;
    font-size: 1.2em;
}

.sidebarmenu {
    font-size: 1.3em;
    font-weight: bold;
    text-align: left;
    margin-top: 0px;
    margin-bottom: 10px;
}

#legend {
  position: absolute;
  bottom: 30px;
  right: 10px;
  background: white;
  padding: 10px;
  font-size: 12px;
  color: #333;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  line-height: 1.5em;
  z-index: 1000;
}
#legend div {
  display: flex;
  align-items: center;
}
#legend span {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  opacity: 0.8;
}

.tooltip-wrapper {
  position: relative;
  display: inline-block;
  margin-left: 0px;
}

.tooltip-icon {
  display: inline-block;
  background: #41ce3e;
  color: #5f2903;
  border: 1px solid #000;
  border-radius: 50%;
  width: 0.7em;
  height: 0.7em;
  font-size: 1.4em;
  text-align: center;
  line-height: 22px;
  cursor: pointer;
  font-weight: bold;
}

.tooltip-bubble {
  position: absolute;
  top: 30px;
  left: -1.5em;
  background: #fff;
  color: #000;
  border: 1px solid #000;
  border-radius: 8px;
  padding: 8px 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 999;
  display: none;
  width: 200px;
}

/* Outer arrow (border) */
.tooltip-bubble::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 12px;
  border-width: 0 10px 12px 10px;
  border-style: solid;
  border-color: transparent transparent #000 transparent;
  z-index: 0;
}

/* Inner arrow (fill) */
.tooltip-bubble::after {
  content: "";
  position: absolute;
  top: -11px;
  left: 13px;
  border-width: 0 9px 13px 9px;
  border-style: solid;
  border-color: transparent transparent #fff transparent;
  z-index: 1;
}

.label-row {
  display: flex;
  align-items: center; /* aligns all items vertically centered */
  gap: 8px;
  padding: 4px 0;
}

.label-row > label {
  margin: 0;
  flex-shrink: 1;
}

.leaflet-top.leaflet-left .leaflet-control {
  margin-top: 10px;
  margin-left: 0px;
}

.circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(50, 79, 55, 0.4), rgba(1, 23, 12, 0.7));
  z-index: 0;
}

.background-layer {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}



#logo {
  position: fixed;       /* stays in place even when scrolling */
  top: 10px;             /* adjust distance from the top */
  left: 15px;            /* adjust distance from the left */
  width:80px;           /* optional: size of the logo */
  height: auto;
  z-index: 10000;        /* ensure it's on top */
  pointer-events: none;  /* optional: allow clicks to pass through */
  background-color: transparent;  /* example */
}

#logo.topPage {
  background-color: #fff;
  top:23px;
  left:7px;
  width:100px;
}

#logo.shrunk {
  top: 0px;                    /* new position */
  left: 5px;                   /* move to corner */
  transform: none;              /* reset translate */
  width: 65px;                  /* smaller size */
}

.pageTitle{
  position: relative;
  top: 10px;
  padding: 0.5%;
  padding-left: 10%;
  width: 100%;
  height: 100%;
  z-index: 1;
  color: #fff;
  background:rgba(66, 89, 43, 0.8);
  font-size: 1.8em;
}

.section-block{
  display: flex;          /* side‑by‑side layout   */
  flex-wrap: wrap;        /* allow wrapping        */
  gap: 1rem;              /* space between items   */
  padding: 1rem;          /* optional inner space  */
  color:#fff;
  
}

.section-text{
  align-self: flex-start;
  flex: 1 1 200px;        /* grow, shrink, min‑width = 200 px */
  padding: 1rem;
  color:#f4f4f4;
  z-index:1;
  font-size: 1.2em;
  padding: 0.5%;
  padding-left: 10%;
  font-family: "freight-sans-pro", sans-serif;
}
.section-head{
  position: relative;
  top: 0;
  padding-left: 10%;
  width: 100%;
  height: 100%;
  z-index: 1;
  color: #fff;
  font-size: 1.9em;
}

.section-title{
  position: relative;
  top: 0;
  padding-left: 10%;
  width: 100%;
  height: 100%;
  z-index: 1;
  color: #fff;
  font-size: 1.5em;
}
.imgText{
  font-size:0.8em;
  align-content:center;
}

.verticleLine{
  position: absolute;
  background: #fff;
  height: 100%;
  width: 2px;
  z-index: 100;
  margin-left: 138px;
  top: 0;
}

.verticleBlock{
  position: absolute;
  background: #fff;
  width: 4px;
  z-index: 100;
  margin-left: calc(138px - 4px);
}

[class$="-section"] {
  position: relative;
  scroll-margin-top: -15px;
  /*background: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.9) 75%, rgba(0, 0, 0, 0.8) 100%);*/
  height: auto;
  min-height: calc(100vh);
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
  padding-top:1.5em;

}

.app-section{
  padding-top:0;
  scroll-margin-top: -0px;
  background: 
    linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 80%, #000 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 80%, #000 100%),
    url("../assets/img/background3.png");
}
.about-section {
 background: 
    linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 80%, #000 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 80%, #000 100%),
    url("../assets/img/background1.png");
}

.about2-section {
 background: 
    linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 80%, #000 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 80%, #000 100%),
    url("../assets/img/background4.png");
}

.about3-section {
 background: 
    linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 80%, #000 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 80%, #000 100%),
    url("../assets/img/background6.png");
}

.project-section {
  background: 
    linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 80%, #000 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 80%, #000 100%),
    url("../assets/img/background2.png");
}

.project2-section {
  background: 
    linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 80%, #000 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 80%, #000 100%),
    url("../assets/img/background9.png");
}

.project3-section {
  background: 
    linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 80%, #000 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 80%, #000 100%),
    url("../assets/img/background8.png");
}

.evaluation-section {
 background: 
    linear-gradient(to top, rgba(0, 0, 0, 0.1) 5%, rgba(0, 0, 0, 0.3) 80%, #000 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 5%, rgba(0, 0, 0, 0.3) 80%, #000 100%),
    url("../assets/img/background5.png");
}
.impact-section {
 background: 
    linear-gradient(to top, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.3) 80%, #000 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.3) 80%, #000 100%),
    url("../assets/img/background10.png");
}

.impact-section {
 background: 
    linear-gradient(to top, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.3) 80%, #000 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.3) 80%, #000 100%),
    url("../assets/img/background10.png");
}

.block-box{
  text-align: center; 
  width: 20vw; 
  margin: 0 auto; 
  left: 50px; 
  font-size:1.3em; 
}

.borderbox{
  width: 400px;
  border:1px solid;
  padding: 20px;
  padding-left: 30px;
  margin: 30px;
  margin-left: 100px;
  border-color: #ccc;
}

.tableCell {
  border: 1px solid rgb(255, 255, 255);
  padding: 6px;
}