.container {
  display: flex;

  flex-direction: row;
  /* Makes children sit side by side */
  gap: 20px;
  /* Optional: Adds space between map and chart */
}

#maps {
  width: 100%;
  padding-right: 20px;
  max-width: 1000px;
  /* Adjust size as needed */
  height: 400px;
  /* Set a consistent height */
}


.chartsize {

  display: flex;
  /* Use flexbox for side-by-side arrangement */
  justify-content: space-around;
  /* Distribute space evenly */
  width: 80%;
  /* Adjust as needed */
  margin: 20px auto;
  /* Center the container */
  max-width: 1200px;
  flex-direction: row;
  gap: 50px;
}

.chartBox {
  width: 500%;
  /* Adjust width for each chart */
}

p {
  margin-bottom: 10px;
  /* Adjust the value as needed */
}


@media (max-width: 768px) {

  /* General styles */
  body {
    font-family: Arial, sans-serif;
    margin: 0;
    /* padding: 1em; */
     padding: 0;
    box-sizing: border-box;
        height: 100%;
    width: 100vw;
  }

  h2 {
    text-align: center;
  }

  label {
    margin-right: 1em;
    font-size: 1em;
  }

  input[type="radio"] {
    margin-right: 0.25em;
  }

  .container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 1200px;
    margin: auto;
    padding: 1em;
  }

  /* Map section */
  #maps {
    height: 100%;
    width: 100vw;
    background-color: #f2f2f2;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ccc;
  }

  /* Chart section */
  .chartsize {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }

  .chartBox {
    flex: 1 1 45%;
    min-width: 300px;
    max-width: 600px;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 1em;
    box-sizing: border-box;
  }

  /* Canvas inside chartBox */

  /* Button styling */
  button#myButton {
    display: block;
    margin: 2em auto;
    padding: 0.75em 1.5em;
    font-size: 1em;
    cursor: pointer;
  }

  /* Responsive tweaks */

.chartsize {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.chartBox {
  flex: 1 1 100%;
  min-width: 300px;
}

html{    height: 100%;
    width: 100vw;}
    
  #maps {
    height: 200px;
  }
}