body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #FFF;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

header {
  text-align: left;
  padding: 0px;
  margin-left: 24px;
  margin-right: 24px;
}

/* WRITING */

/* // <weight>: Use a value from 100 to 900
// <uniquifier>: Use a unique and descriptive class name */
.roboto-unique {
  font-family: "Roboto", serif;
  font-optical-sizing: auto;
  font-weight: 400; /* Replace with the desired weight */
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

/* header {
 border-bottom: #000 solid 1px;
} */

h1 {
  font-size: 24px;
  font-weight: 500;
  color: #0f0f0f;
  margin-top: 32px;
  margin-bottom: px;
}

h2 {
  color: #000;

  font-family: Roboto;
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.44px;
}

h3 {
  font-size: 12px;
}

p {
  color: #6a6a6a;

  font-family: Roboto;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px; /* 110% */
  letter-spacing: 0.4px;
  /* margin-left: 12px; */
}

/* LAYOUT */

main {
  display: flex;
  flex-direction: row;
  align-items: top;
  margin-top: 12px;
  margin-left: 24px;
  margin-right: 24px;
  margin-bottom: 12px;
}

#visualization {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: right;
  align-items: center;
}

#sidebar {
  max-height: 565px;
  width: 22%; /* Adjust the width as needed */
  overflow-y: auto; /* Enables scrolling when content exceeds max height */
  background: #f6f6f6;
  padding-left: 12px;
  padding-right: 12px;
  padding-top: 0px;
  /* border: 1px solid #919F9D; */
  margin-bottom: 8px;
  margin-right: 8px;
  margin-left: 8px;
  background-color: #f6f6f6;
}

#sidebar h2 {
  color: #000;
  font-family: Roboto;
  font-size: 22px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.44px;
}

#sidebar h4 {
  color: #464646;

font-family: Roboto;
font-size: 18px;
font-style: normal;
font-weight: 500;
line-height: 24px; /* 133.333% */
letter-spacing: 0.36px;
}

#sidebar p {
  color: #5E5E5E;
font-family: Roboto;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 22px;
letter-spacing: 0.32px;
margin-left: 0px;
}

#sidebar ul {
  list-style-type: none;
  padding: 0;
  color: #5E5E5E;
  opacity: 0.8;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.32px;
  line-height: 20px;
  padding-bottom: 8px;
  margin-bottom: 20px;
}


#waste-list {
  padding-bottom: 12px;
  border-bottom: 1px solid #414a4e;
}

#district-details {
  font-size: 16px;
  margin-top: 10px;
}

/* FOOTER */
footer {
  background: #f6f6f6;;
  display: flexbox;
  padding: 0; /* Remove horizontal padding */
  color: #000;
  width: 100%;
  text-align: left; /* Align text to the left */
  position: relative;
  z-index: 10;
}

/* Footer Layout */
.footer-container {
  display: flex;
  justify-content: flex-start; /* Align items to the left */
  max-width: 1200px;
  margin: 12px;
  padding: 0;
}

.footer-column {
  flex: 1;
  padding: 0 15px;
}

.footer-column h3 {
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 125%; /* 20px */
}

.footer-column p {
  font-size: 12px;
  margin: 5px 0;
  color: #000;
}

.footer-column a {
  color: #000;
  text-decoration: underline;
}

/* PIXI */
canvas {
  max-width: 100%;
  max-height: 100%;
}

svg {
  width: 100%;
  height: 100%;
  background: #f5f5f5;
}

.district {
  stroke: white;
  stroke-width: 2px;
}

.dot {
  fill-opacity: 0.8;
  cursor: pointer;
}
.dot {
  transition: all 0.8s ease-in-out;
}

.dot.clustered {
  transition: all 0.8s ease-in-out;
}

/* Toggle switch */
.controls {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  color: #023047;
  margin-left: 12px;
  stroke: black;
}

.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 20px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  background-color: #00699E;
  box-shadow: 0px 6px 8px 3px rgba(239, 239, 239, 0.1) inset;

  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 2px;
  background-color: #efefef;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  box-shadow: 0px 6px 8px 3px rgba(0, 0, 0, 0.1) inset;
  background-color: #02283C;
  stroke: #efefef;
  stroke-width: 2px;
}

input:checked + .slider:before {
  transform: translateX(20px);
  background-color: #efefef;
}

.slider.round {
  border-radius: 12px;
}

.slider.round:before {
  border-radius: 50%;
}

#info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 0px;
  margin-left: 12px;
  margin-right: 12px;
}

img {
  align-self: left;
  margin-left: 24px;
  margin-right: 28px;
  height: 24px;
}

/* Responsive Design */
@media (max-width: 800px) {
  .footer-container {
    flex-direction: column;
    text-align: left; /* Keep text aligned to the left on smaller screens */
  }

  .footer-column {
    margin-bottom: 20px;
  }
}
