*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;  
  }
  body {
    padding: 20px;  
    font-family: sans-serif;
    display: flex;
    flex-direction: column;    
  }
  #graph {
    min-height: 500px;
  }
  #x-axis, #y-axis {
    font-size: 13px;  
  }
  .header {
    display: flex;
    flex-direction: column;
    align-items: center; 
    margin-bottom: -50px;
  }
  #title {
    font-size: 28px;
    text-align: center;
  }
  #description {
    font-size: 20px;
    text-align: center;
    padding: 6px 0;
  }
  .cell:hover {
    stroke: black !important;   
  }
  .legend-rect {  
    stroke: black;
  }
  #tooltip {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    border: none;
    padding: 10px;
    pointer-events: none;
    position: absolute;
    visibility: hidden;
    border-radius: 10px;
    min-width: 120px;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 17px;
  }
  .tooltip-text{
    padding: 4px 0;
  }
  #legend-container {
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    margin-top: 20px;
  }
  #legend {  
    margin-left: 110px;
    display: flex;
    justify-content: flex-start;
    width: 100%;
    align-items: center;   
  }
  #legend-title {
    margin-left: 210px;
    margin-bottom: 2px;
  }
  @media screen and (max-width: 600px) {
    #title {        
        font-size: 24px;        
    }
    #description {        
        font-size: 15px;        
    }    
    #legend-title {
        margin-left: 210px;
        margin-bottom: 2px;
        width: 250px;
        font-size: 15px;
      }
  }