body {
  margin: 0;
  font-family: "Palatino", serif;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

.container {
  width: 980px;
  display: flex;
  margin: 0 auto;
}

#graphic {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding-top: 60px;
  width: 100%;
}

#sections {
  width: 35%;
  margin-right: 2%;
  padding-bottom: 300px;
  order: 2;
}

.step {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  padding-left: 10px;
  box-sizing: border-box;
  font-family: "Palatino", serif;
  font-size: 20px;
  line-height: 23px;
  color: black;
}

.step h2 {
  font-family: "Proxima Nova", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #262626;
  line-height: 1.4em;
}

.step p {
  font-family: "Palatino", serif;
  font-size: 16px;
  line-height: 1.6em;
  margin: 0;
  color: #444;
}

.step.active {
  color: black;
  font-weight: bold;
  opacity: 1;
}

#extra-space {
  height: 300px;
}

#vis {
  width: 100%;
  height: 100vh;
  position: sticky;
  top: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  order: 1;
  overflow: hidden;
}

svg {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
}

.state {
  fill: #C1E8FB;
  stroke: black;
  stroke-width: 0.5px;
}

.axis path,
.axis line {
  fill: none;
  stroke: #000;
  shape-rendering: crispEdges;
}

.axis text {
  font-size: 10px;
}

#tooltip {
  z-index: 9999;
}

.line {
  fill: none;
  stroke: #C1E8FB;
  stroke-width: 2px;
}
#dropdown-container {
  position: fixed;
  top: 10px;
  left: 20px;
  z-index: 10000;
  background: white;
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: "Helvetica Neue", sans-serif;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

#dropdown-container label {
  font-weight: bold;
  font-size: 14px;
  margin-right: 8px;
}

#state-select {
  font-size: 14px;
  padding: 4px 8px;
}


