.wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* Align sections at the top */
  padding: 20px; /* Add some space around the sections */
  background-color: #fff;
}

.calculator {
  flex: 0 0 35%; /* Set width to 30% and disable flex-grow */
  margin: 0 15px;
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: left;
  min-height: 300px;
}
  
  .input-group {
    margin-bottom: 20px;
  }
  
  .input-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
  }
  
  .input-group input {
    width: 95%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
  }

  .input-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
  }
  
  #calculate {
    background-color: #008254;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  
  #calculate:hover {
    background-color: #005F42;
  }
  
.graph {
  flex: 0 0 60%; /* Set width to 70% and disable flex-grow */
  margin: 0 15px;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  min-height: 430px;
}

/* Media query for smaller screens */
@media (max-width: 768px) {
	  .wrapper {
    flex-direction: column; /* Stack sections vertically */
  }
  .calculator,
  .graph {
    flex: 40%; /* Full width for both sections on smaller screens */
    margin: 10px; /* Remove margin between sections */
  }
}