body {
    display: flex;
    width:100%;
    height: 100%;
    justify-content:space-evenly;
    overflow: hidden;
}

#chart1, #chart2 {
    margin-top: 10px;
    width: calc(50% - 16px);
    height: calc(100% - 5px);
}