/* Global styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #F1F1E6;
  }
  
  /* Header */
  header {
    background-color: #06327D;
    color:#F1F1E6;
    padding: 15px;
    padding-left: 75px;
  }

  header h1 {
    font-size: 35px;
    text-transform: bold;
  }
  
  p {
    margin-left: 15px;
  }

  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
  }
  
  nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
  }
  
  nav li {
    margin: 0 10px;
  }
  
  nav a {
    color: #F1F1E6;
    text-decoration: none;
  }
  
  nav a:hover {
    text-decoration: underline;
  }
  
  nav h1 {
    margin: 0;
  }
  /* Main Content */
  main {
    background-color: #F1F1E6;
    color: #16162d;
    padding: 10px;
  }

  /* Table */
  table {
    margin-top: 50px;
    margin-left: 50px;
    border-collapse: collapse;
    max-width: 100%;
    width: 850px;
    box-shadow: 0px 2px 3px #707070;
  }

table th,
table td {
  padding: 8px;
  text-align: left;
  border-bottom: 1px solid #b8b6b6;
  border-right: 1px solid #b8b6b6; /* Add column divider */
  border-color:#06327d6b;
}

table th {
  background-color: #06327D;
  color: white;
}

table th:last-child,
table td:last-child {
  border-left: 1px solid =#b8b6b6; /* Remove column divider for last column */
}

table th:first-child,
table td:first-child {
  border-left: 1px solid #b8b6b6; /* Add column divider for first column */
}
  
  table tbody tr:nth-child(even) {
    background-color: #f2f2f2;
  }
  
  table tbody tr:hover {
    background-color: #b8b6b6;
  }
  
  /* Reset Table Button */
  button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #06327D;
    color: #fff;
    width: 175px;
    height: 40px;
    font-size: larger;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 75px;
    margin-bottom: 25px;
  }
  
  button:hover {
    background-color: #031636;
  }
  
  .title {
    order: 1;
    font-size: 18px;
  }
  
  .links {
    order: 2;
    display: flex;
  }
  
  .links a {
    margin-right: 45px;
    font-size: 20px;
  }

  .tool-container {
    margin-top: 50px;
    margin-left: 17px;
  }
  
  /* Animation Container */
#animation-container {
    margin-top: 50px;
    margin-left: 17px;
    width: 400px;
    height: 400px;
    background-color: #f2f2f2;
  }
  
  .container {
    display: flex;
    align-items: center;
  }

  #chart {
    margin-top:50px;
    margin-left: 10px;
    margin-right: 5px;
    background-color: #5050491c;
    border-radius: 15px;
    position: relative;
    padding-bottom: 10px;
    width: 750px;
    height: 410px;
  }

  #excessShortageDisplay {
    position: absolute;
    bottom: 0;
  }
.hidden {
    display: none;
}
  #valuesDescription {
    position: absolute;
    bottom: -55px; 
  }

  #hoverDescription {
    position: absolute;
    bottom: -80px; 
  }
  #output {
    margin-left: 70px;
    background-color: #5050491c;
    max-width: 100%;
    width: fit-content;
    height: fit-content;
  }


  .positive {
    color: green;
  }
  
  .negative {
    color: red;
  }

  .value:first-child {
    margin-left: 60px;
  }
  
  .value {
    font-size: 12px;
    width: calc(590px / 10);
    text-align: center;
    display: inline-block;
  }
  

  #valuesDescription {
    display: none;
  }
  
  #hoverDescription {
    display: none;
  }

  footer {
  background-color: #06327D;
  padding: 10px;
  color:#F1F1E6;
  margin-top: 42px;
}

footer a {
  justify-content: center;
  color: #F1F1E6;
  text-decoration: none;
  display:flex;
  align-content: center;
}

footer a:hover {
  text-decoration: underline;

}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.addCash {
  margin-top:50px;
  margin-left: 0px;
  margin-right: 5px;
  background-color: #5050491c;
  border-radius: 15px;
  position: relative;
  padding-bottom: 10px;
 
}

.containment {
  display: flex;
  flex-wrap: wrap;
}

.addcash {
  float: right;
  margin-left: 10px;
}
