#chart {
  /* Example gradient */
  border-radius: 10px;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.507);
  border-width: 1px;
  z-index: 1;
  margin-top: 5%;
  width: 100%;
  height: 800px;
}

.chartsimg {
  display: block;
  position: relative;
  width: 100%;
  /* Or any specific width */
  height: 500px;
  /* Or any specific height */
}

.background_image {
  position: absolute;
  /* Absolutely position the image inside the container */
  top: 0;
  /* Align to the top */
  left: 0;
  /* Align to the left */
  width: 1000px;
  /* Make the image take up 100% of the container's width */
  left: 0;
  right: 0;
  margin-inline: auto;
  margin-top: 10%;
  z-index: -1;
  opacity: 0.3;
  transform: rotate(0deg);
}