body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Ensure body takes at least full viewport height */
}

.header {
  background-color: #0a2240; /* Dark blue from technative.eu */
  color: white;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}

.header-logo {
  height: 40px;
}

.app-title a,
.app-title a:visited,
.app-title a:active,
.app-title {
  text-decoration: none;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
  color: white;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
}

.header-left {
  display: flex;
  align-items: center;
}

.header-right {
  margin-right: 20px;
}

.content-wrapper {
  display: flex;
  flex: 1;
  min-height: 0; /* Allows content to shrink if needed */
}
.sidebar {
  width: 200px;
  background-color: white;
  height: calc(100vh - 160px); /* Adjust for header height */
  padding: 20px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.sidebar-menu {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.sidebar-menu .category {
  padding: 15px 20px;
  font-weight: bold;
  background-color: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
  font-size: 0.9em;
  color: #333;
}
.sidebar-menu li {
  padding: 12px 20px 12px 30px;
  cursor: pointer;
  transition: background-color 0.3s;
  font-size: 0.8em;
}
.sidebar-menu li:hover {
  background-color: #f0f0f0;
}
.sidebar-menu li.active {
  background-color: #e0e0e0;
  font-weight: bold;
}

#intro-menu-item {
  padding: 12px 20px;
  background-color: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
  font-weight: bold;
  cursor: pointer;
}

#intro-menu-item.active {
  background-color: #e0e0e0;
}
.main-content {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  border-left: 1px solid #ccc;
}
.container {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  width: 100%;
}
h1 {
  text-align: center;
  color: #333;
}
.chart-container {
  position: relative;
  height: 400px;
  width: 100%;
  margin-top: 20px;
}

.footer {
  background-color: #f5f5f5;
  border-top: 1px solid #e0e0e0;
  padding: 15px 20px;
  font-size: 0.8em;
  color: #666;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  margin-top: auto; /* Push footer to bottom */
}

.footer-links {
  margin-bottom: 8px;
}

.footer-links a {
  color: #0a2240;
  text-decoration: none;
  margin: 0 15px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #2c82c9;
  text-decoration: underline;
}

.footer-copyright {
  font-size: 0.9em;
}

.intro-container {
  background-color: #0a2240;
  color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.intro-container h1 {
  color: white;
  margin-bottom: 20px;
}

.intro-content {
  line-height: 1.6;
}

.intro-content p {
  margin-bottom: 15px;
}

.image-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.centered-image {
  width: 50%;
  max-width: 400px;
}
