body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f0f0f0;
}

.sidebar {
  position: fixed;
  left: 1px;
  top: 1px;
  height: 95%;
  width: 250px;
  background-color: #6b995f;
  color: white;
  padding: 10px;
  border-radius: 10px; 
}

.sidebar-header h2 {
  text-align: center;
}

.sidebar ul {
  list-style-type: none;
  padding: 0;
}

.sidebar ul li {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  cursor: pointer;
  border-radius: 20px; /* Adjust the border radius as needed */
  margin-bottom: 10px; /* Optional margin between items */
}

.sidebar ul li.active {
  background-color: #0056b3;
}

.active-button {
  background-color: #007BFF; /* Change to your preferred active color */
  color: white;
}

/* Main Content */
.main-content {
  margin-left: 255px; /* Adjust for sidebar width */
  padding: 20px;
  
  
}

.header {
  width: 98%; /* Ensure it spans the full width */
  background-color: #379cbb;
  /*background-color: #007bff;*/
  padding: 10px 20px; /* Adjust padding as needed */
  color: #ffffff;
  display: flex;
  justify-content: space-between; /* Align items from left to right end */
  align-items: center;
  border-radius: 10px; 
}

.header img {
  width: 50px; /* Adjust width of logo as needed */
  height: auto;
}

.header nav {
  display: flex;
}

.header nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.header nav ul li {
  margin-left: 20px; /* Adjust spacing between menu items */
}

.header nav ul li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
}

.header nav ul li a:hover {
  text-decoration: underline;
}

.aqi-section {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 5vh; /* Adjust height as needed */
  margin-bottom: 40px; /* Space below AQI section */
  margin-top: 95px;
}

.aqi-summary {
  text-align: center;
  background-color: #8ec0a8; /* White background for summary */
  padding: 1px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Shadow for depth */
  border-radius: 10px; /* Rounded corners */
  width: 300px; /* Adjust width as needed */
}

.aqi-summary .aqi-value {
  margin-bottom: 1px;
}

.aqi-summary .aqi-value h3 {
  font-size: 1rem;
}

.aqi-summary .aqi-value #param-value {
  font-size: 1rem;
  font-weight: bold;
}

.aqi-summary .aqi-stats {
  display: flex;
  justify-content: space-around;
}

.aqi-summary .aqi-stats > div {
  flex: 1;
  padding: 5px;
}

.aqi-summary .aqi-stats p {
  margin-bottom: 5px;
  font-size: 0.9rem; /* Adjust font size as needed */
}

.aqi-summary .minimum {
  color: green;
  font-weight: bold;
}

.aqi-summary .maximum {
  color: red;
  font-weight: bold;
}

.aqi-summary .average {
  color: yellow;
  font-weight: bold;
}


.time-intervals {
  display: flex;
  justify-content: flex-end; /* Align buttons to the right */
  gap: 5px; /* Space between buttons */
  margin-top: 20px; /* Space above time intervals */
}

.time-intervals button {
  padding: 10px 20px;
  border: 1px solid #007bff; /* Blue border */
  background-color: #fff; /* White background */
  color: #007bff; /* Blue text */
  cursor: pointer;
  transition: background-color 0.3s ease; /* Smooth background transition */
  border-radius: 10px; 
}

.time-intervals button:hover {
  background-color: #007bff; /* Blue background on hover */
  color: #fff; /* White text on hover */
}

.time-intervals button.active-time-interval {
  background-color: #007bff; /* Active button background color */
  color: #fff; /* Active button text color */
}

.hourly-report {
  background-color: #ffffff; /* White background */
  padding: 20px;
  margin-left: 18px;
  margin-top: 15px;
  
  max-height: 700px;
  border: 1px solid #e0e0e0; /* Light gray border */
  border-radius: 8px; /* Rounded corners */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Shadow for depth */
  margin-bottom: 56px; /* Ensures content above footer */
  max-width: 1000px; /* Limit width */
  width: 100%; /* Full width within container */
  
}

#hourlyChart {
  height: 100%; /* Make the canvas take the full height of its container */
  width: 100%; /* Make the canvas take the full width of its container */
}

.space-below-hourly-report {
  height: 500px; /* Space below hourly report */
}

/* Card Styles */
.card {
  border: 1px solid #ddd; /* Border style */
  border-radius: 8px; /* Rounded corners */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Box shadow for depth */
}

.card-header {
  background-color: #f8f9fa; /* Header background color */
  padding: 10px 15px; /* Padding inside the header */
  border-bottom: 1px solid #ddd; /* Border bottom for separation */
  margin-bottom: 10px; /* Space below header */
}

.card-title {
  margin-bottom: 0; /* Remove default margin bottom */
  color: #333; /* Title color */
  font-size: 1.25rem; /* Title font size */
}

.card-body {
  padding: 15px; /* Padding inside the card body */
}

.logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0px; /* Adjust margin as needed */
  background-color: #00b7ff; /* Blue background color */
  padding: 30px; /* Increased padding for more space */
  border-radius: 10px; /* Rounded corners */
}

.logo-section img {
  width: 150px; /* Adjust width as needed */
  height: auto;
  margin-bottom: 10px; /* Space between logo and text */
  
}

.logo-section p {
  text-align: center;
  font-size: 16px;
  color: #6c757d; /* Light color */
}

#compareButton {
  background-color: #379cbb; /* Match header color */
  color: #ffffff; /* White text to match header */
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

#compareButton.active {
  background-color: #4CAF50; /* Green background */
  color: white;
}


