body {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  margin: 0;
  height: 100vh;
  overflow: auto;
}

.main-content {
  padding: 20px;
  overflow-y: auto;
  margin-top: 60px; /* Add space for the header */
  padding-bottom: 60px;
}

header {
  width: 100%;
  background: #333;
  color: #fff;
  padding: 10px 0;
  position: fixed;
  top: 0;
  z-index: 1000;
}
header nav ul {
  list-style-type: none;
  padding: 0;
  display: flex;
  justify-content: center;
}
header nav ul li {
  margin-right: 20px;
}
header nav ul li a {
  text-decoration: none;
  color: #fff;
}
header nav ul li a:hover {
  text-decoration: underline;
}

.navbar {
  width: 100%;
  background: #333;
  color: #fff;
  padding: 10px 0;
  position: fixed;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: flex-start;

}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.navbar ul li {
  margin: 0 10px;
  position: relative;
}

.navbar ul li a {
  text-decoration: none;
  color: #fff;
  padding: 10px 15px;
  display: block;
}

.navbar ul li a:hover {
  text-decoration: underline;
}

.navbar ul li .dropdown-content {
  display: none;
  position: absolute;
  background-color: #333;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  min-width: 160px;
  z-index: 1;
}

.navbar ul li .dropdown-content a {
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  color: #fff;
}

.navbar ul li .dropdown-content a:hover {
  background-color: #4b4b4b;
}

.navbar ul li:hover .dropdown-content {
  display: block;
}

.navbar ul li .dropdown-icon {
  margin-left: 5px;
}

footer.footer {
  width: 100%;
  height: 40px;
  background: #333;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  bottom: 0;
  left: 0;
}

footer p {
  width: 100%;
  justify-content: center;
  font-size: 12px;
  padding-left: 150px;
  padding-right: 150px;
}

footer p a:visited { text-decoration: none; color:rgb(76, 129, 209); }
footer p a:hover { text-decoration: none; color:rgb(76, 129, 209);; }
footer p a:focus { text-decoration: none; color:yellow; }
footer p a:hover, a:active { text-decoration: none; color:yellow }


.graph_canvas {
  width: 400px;
  height: 250px;
  margin: 0 auto 20px auto; /* Center the div and add margin below */
  background-color: #f0f0f0; /* Optional: light gray background */
  border: 1px solid #ccc; /* Optional: border */
  position: relative;
}


.loading-icon {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
}
