body {
  color: #333;
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(to bottom, #e8e8e8, #fffefe);
  display: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

h1 {
  text-align: center;
  margin-top: 20px;
  color: #787878;
  font-size: 24px;
  font-weight: bold;
}


.legend-svg {
  background-color: linear-gradient(to bottom, #3b3b3b, #fffefe);
}


#chart {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background: linear-gradient(to bottom, #ffffff, #bdbdbd);
  padding: 50px;
  margin: 150px 40px 0px 40px;
  border-radius: 10px;
  box-shadow: 0 0 25px rgb(0, 0, 0);
}

.dot {
  stroke:rgb(185, 185, 185);
  stroke-width: 1px;
  transition: fill 0.3s;
}

.dot:hover {
  fill: rgb(193, 245, 255);
  stroke-width: 3px;
}

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

.axis text {
  fill: #333;
  font-size: 12px;
}

.axis-label {
  fill: #333;
  font-size: 14px;
  font-weight: bold;
}


#chart-title {
  text-anchor: middle;
  fill: #333;
  font-size: 24px;
  font-weight: bold;
  transform: translate(400px, -20px);
}
