*{
    padding: 0px;
    margin: 0px;
}
    body { 
font-family: Arial, Helvetica, sans-serif;
background-color: rgb(175, 220, 220);

}
header h1 {
    font-size: 40px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    text-align: center;
   
    background-color: rgb(225, 172, 172);
    height: 60px;
    padding: 20px;
}
form {
font-size: 17px;
    padding: 30px;
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
}

input, button {
    padding: 10px;
    margin-bottom: 20px;

    width: 100%;
    max-width: 300px;
}


#summary {
    padding: 10px;
    display: flex;
   justify-content: space-between;
    /* justify-content: space-between; */
    margin-top: 17px;
    font-size: 20px;
}

canvas {
    max-width: 600px;
    height: 400px;
    margin-top: 50px;
    margin-left: 60px;
    float: left;
}

#reset-plan {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: rgb(198, 28, 28);
    color: white;
    border: none;
    cursor: pointer;
}

#reset-plan:hover {
    background-color: darkred;
    float: inline-end;
}

#main-container {

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#chart-saving-container {
    
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 20px;
}

#expense-chart {
    width: 300px;
    margin-right: 20px;
     /* Adds space between the chart and the saving info */
     }

form, p {
    margin-bottom: 10px;

}
.main{
    height: 450px;
}

.math{
float: right;
margin-top: 50px;
height: 350px;
width: 400px;
margin-right: 70px;
}
.report{
    text-align: center;
    /* display: flex; */
    width: 400px;
    height: 450px;
    border: 2px solid black;

    margin: 30px;
}
hr {
    border: 0;
    height: 2px;         /* Thickness of the line */
    background-color: rgb(7, 7, 11); /* Color of the line */
    width: 100%;          /* Length of the line (relative to container width) */
    margin: 20px auto;   /* Adds space around the line and centers it horizontally */
  }
.report h1{
  margin: 10px;
}

@media (max-width:900px){
    header h1{
        height: 40px;
        padding: 22px;
        font-size: 20px;
    }
    canvas{
       margin: 0px;
    }
    #summary{
        font-size: 12px;
        margin-top: 5px;
    }
    form{
        padding-bottom: 10px;
    }
    .math{
        margin:20px;
        width: 350px;
    }
    .report{
        width: 340px;
        margin: 5px;
    }

}